Searched refs:np (Results 1 - 25 of 334) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintnat.c24 printnat(np, opts)
25 ipnat_t *np;
33 if (np->in_v[0] == 4)
36 else if (np->in_v[0] == 6)
42 if (np->in_flags & IPN_NO)
45 switch (np->in_redir)
49 proto = np->in_pr[0];
53 proto = np->in_pr[1];
57 proto = np->in_pr[0];
61 proto = np
[all...]
H A Dprintpoolnode.c13 printpoolnode(np, opts, fields)
14 ip_pool_node_t *np;
22 printpoolfield(np, IPLT_POOL, i);
29 if (np->ipn_info == 1)
31 printip(np->ipn_addr.adf_family,
32 (u_32_t *)&np->ipn_addr.adf_addr.in4);
33 printmask(np->ipn_addr.adf_family,
34 (u_32_t *)&np->ipn_mask.adf_addr);
36 PRINTF("\tAddress: %s%s", np->ipn_info ? "! " : "",
37 inet_ntoa(np
[all...]
H A Dprintproto.c16 printproto(pr, p, np)
19 ipnat_t *np;
21 if (np != NULL) {
22 if ((np->in_flags & IPN_TCPUDP) == IPN_TCPUDP)
24 else if (np->in_flags & IPN_TCP)
26 else if (np->in_flags & IPN_UDP)
28 else if (np->in_flags & IPN_ICMPQUERY)
30 else if (np->in_pr[0] == 0)
35 PRINTF("%d", np->in_pr[0]);
H A Dprintdstlistnode.c17 ipf_dstnode_t node, *np; local
27 np = calloc(1, node.ipfd_size);
28 if (np == NULL)
30 if ((*copyfunc)(inp, np, node.ipfd_size))
35 printpoolfield(np, IPLT_DSTLIST, i);
42 if (np->ipfd_dest.fd_name >= 0)
43 PRINTF("%s:", np->ipfd_names);
44 if (np->ipfd_dest.fd_addr.adf_family == AF_INET) {
45 printip(AF_INET, (u_32_t *)&np->ipfd_dest.fd_ip);
48 str = inet_ntop(AF_INET6, &np
[all...]
H A Dhostname.c20 struct netent *np; local
40 np = getnetbyaddr(ipa.s_addr, AF_INET);
41 if (np != NULL && np->n_name != NULL &&
42 *np->n_name != '\0') {
43 strncpy(hostbuf, np->n_name, sizeof(hostbuf));
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dunsetenv.c52 const char *np; local
58 for (np = name; *np && *np != '='; np++)
60 len = np - name;
/freebsd-11-stable/sys/dev/sym/
H A Dsym_hipd.c331 #define sym_verbose (np->verbose)
758 #define _sym_calloc_dma(np, s, n) __sym_calloc_dma(np->bus_dmat, s, n)
759 #define _sym_mfree_dma(np, p, s, n) \
760 __sym_mfree_dma(np->bus_dmat, _uvptv_(p), s, n)
761 #define sym_calloc_dma(s, n) _sym_calloc_dma(np, s, n)
762 #define sym_mfree_dma(p, s, n) _sym_mfree_dma(np, p, s, n)
763 #define _vtobus(np, p) __vtobus(np->bus_dmat, _uvptv_(p))
764 #define vtobus(p) _vtobus(np,
1710 sym_name(hcb_p np) argument
1776 sym_fw1_patch(hcb_p np) argument
1817 sym_fw2_patch(hcb_p np) argument
1910 sym_fw_setup_bus_addresses(hcb_p np, const struct sym_fw *fw) argument
1939 sym_fw1_setup(hcb_p np, const struct sym_fw *fw) argument
1961 sym_fw2_setup(hcb_p np, const struct sym_fw *fw) argument
2005 sym_fw_bind_script(hcb_p np, u32 *start, int len) argument
2276 PRINT_TARGET(hcb_p np, int target) argument
2281 PRINT_LUN(hcb_p np, int target, int lun) argument
2327 hcb_p np; local
2348 sym_xpt_done(hcb_p np, union ccb *ccb, ccb_p cp) argument
2362 sym_xpt_done2(hcb_p np, union ccb *ccb, int cam_status) argument
2410 sym_init_burst(hcb_p np, u_char bc) argument
2429 sym_print_targets_flag(hcb_p np, int mask, char *msg) argument
2457 sym_save_initial_setting(hcb_p np) argument
2481 sym_prepare_setting(hcb_p np, struct sym_nvram *nvram) argument
2820 sym_prepare_nego(hcb_p np, ccb_p cp, int nego, u_char *msgptr) argument
2891 sym_put_start_queue(hcb_p np, ccb_p cp) argument
2945 sym_chip_reset(hcb_p np) argument
2962 sym_soft_reset(hcb_p np) argument
2991 sym_start_reset(hcb_p np) argument
2996 sym_reset_scsi_bus(hcb_p np, int enab_int) argument
3055 sym_wakeup_done(hcb_p np) argument
3092 sym_flush_busy_queue(hcb_p np, int cam_status) argument
3111 sym_init(hcb_p np, int reason) argument
3335 sym_getsync(hcb_p np, u_char dt, u_char sfac, u_char *divp, u_char *fakp) argument
3428 sym_xpt_async_transfer_neg(hcb_p np, int target, u_int spi_valid) argument
3484 sym_setwide(hcb_p np, ccb_p cp, u_char wide) argument
3506 sym_setsync(hcb_p np, ccb_p cp, u_char ofs, u_char per, u_char div, u_char fak) argument
3527 sym_setpprot(hcb_p np, ccb_p cp, u_char dt, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) argument
3548 sym_settrans(hcb_p np, ccb_p cp, u_char dt, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) argument
3686 sym_log_hard_error(hcb_p np, u_short sist, u_char dstat) argument
3811 sym_intr1(hcb_p np) argument
3956 hcb_p np = arg; local
3998 sym_recover_scsi_int(hcb_p np, u_char hsts) argument
4049 sym_int_sto(hcb_p np) argument
4064 sym_int_udc(hcb_p np) argument
4080 sym_int_sbmc(hcb_p np) argument
4122 sym_int_par(hcb_p np, u_short sist) argument
4203 sym_int_ma(hcb_p np) argument
4559 sym_dequeue_from_squeue(hcb_p np, int i, int target, int lun, int task) argument
4617 sym_flush_comp_queue(hcb_p np, int cam_status) argument
4656 sym_sir_bad_scsi_status(hcb_p np, ccb_p cp) argument
4828 sym_clear_tasks(hcb_p np, int cam_status, int target, int lun, int task) argument
4911 sym_sir_task_recovery(hcb_p np, int num) argument
5259 sym_evaluate_dp(hcb_p np, ccb_p cp, u32 scr, int *ofs) argument
5376 sym_modify_dp(hcb_p np, ccb_p cp, int ofs) argument
5473 sym_compute_residual(hcb_p np, ccb_p cp) argument
5602 sym_sync_nego(hcb_p np, tcb_p tp, ccb_p cp) argument
5703 sym_ppr_nego(hcb_p np, tcb_p tp, ccb_p cp) argument
5842 sym_wide_nego(hcb_p np, tcb_p tp, ccb_p cp) argument
5953 sym_nego_default(hcb_p np, tcb_p tp, ccb_p cp) argument
5987 sym_nego_rejected(hcb_p np, tcb_p tp, ccb_p cp) argument
5996 sym_int_sir(hcb_p np) argument
6260 sym_get_ccb(hcb_p np, u_char tn, u_char ln, u_char tag_order) argument
6386 sym_free_ccb(hcb_p np, ccb_p cp) argument
6475 sym_alloc_ccb(hcb_p np) argument
6557 sym_ccb_from_dsa(hcb_p np, u32 dsa) argument
6576 sym_alloc_lcb(hcb_p np, u_char tn, u_char ln) argument
6654 sym_alloc_lcb_tags(hcb_p np, u_char tn, u_char ln) argument
6705 sym_regtest(hcb_p np) argument
6729 sym_snooptest(hcb_p np) argument
6850 sym_selectclock(hcb_p np, u_char scntl3) argument
6886 getfreq(hcb_p np, int gen) argument
6935 sym_getfreq(hcb_p np) argument
6950 sym_getclock(hcb_p np, int mult) argument
7016 sym_getpciclock(hcb_p np) argument
7093 sym_complete_error(hcb_p np, ccb_p cp) argument
7247 sym_complete_ok(hcb_p np, ccb_p cp) argument
7314 hcb_p np = ccb->ccb_h.sym_hcb_ptr; local
7338 sym_abort_scsiio(hcb_p np, union ccb *ccb, int timed_out) argument
7385 sym_reset_dev(hcb_p np, union ccb *ccb) argument
7413 hcb_p np; local
7626 sym_setup_cdb(hcb_p np, struct ccb_scsiio *csio, ccb_p cp) argument
7676 sym_setup_data_pointers(hcb_p np, ccb_p cp, int dir) argument
7722 hcb_p np; local
7819 sym_setup_data_and_start(hcb_p np, struct ccb_scsiio *csio, ccb_p cp) argument
7857 sym_fast_scatter_sg_physical(hcb_p np, ccb_p cp, bus_dma_segment_t *psegs, int nsegs) argument
7894 sym_scatter_sg_physical(hcb_p np, ccb_p cp, bus_dma_segment_t *psegs, int nsegs) argument
7944 hcb_p np; local
8106 hcb_p np; local
8143 sym_update_trans(hcb_p np, struct sym_trans *tip, struct ccb_trans_settings *cts) argument
8221 sym_update_dflags(hcb_p np, u_char *flags, struct ccb_trans_settings *cts) argument
8403 struct sym_hcb *np = NULL; local
8763 sym_pci_free(hcb_p np) argument
8850 sym_cam_attach(hcb_p np) argument
8933 sym_cam_free(hcb_p np) argument
8963 sym_nvram_setup_host(hcb_p np, struct sym_nvram *nvram) argument
9000 sym_nvram_setup_target(hcb_p np, int target, struct sym_nvram *nvp) argument
9021 sym_Symbios_setup_target(hcb_p np, int target, Symbios_nvram *nvram) argument
9043 sym_Tekram_setup_target(hcb_p np, int target, Tekram_nvram *nvram) argument
9073 sym_display_Symbios_nvram(hcb_p np, Symbios_nvram *nvram) argument
9106 sym_display_Tekram_nvram(hcb_p np, Tekram_nvram *nvram) argument
9163 sym_read_nvram(hcb_p np, struct sym_nvram *nvp) argument
9209 S24C16_set_bit(hcb_p np, u_char write_bit, u_char *gpreg, int bit_mode) argument
9235 S24C16_start(hcb_p np, u_char *gpreg) argument
9246 S24C16_stop(hcb_p np, u_char *gpreg) argument
9256 S24C16_do_bit(hcb_p np, u_char *read_bit, u_char write_bit, u_char *gpreg) argument
9271 S24C16_write_ack(hcb_p np, u_char write_bit, u_char *gpreg, u_char *gpcntl) argument
9283 S24C16_read_ack(hcb_p np, u_char *read_bit, u_char *gpreg, u_char *gpcntl) argument
9295 S24C16_write_byte(hcb_p np, u_char *ack_data, u_char write_data, u_char *gpreg, u_char *gpcntl) argument
9310 S24C16_read_byte(hcb_p np, u_char *read_data, u_char ack_data, u_char *gpreg, u_char *gpcntl) argument
9328 sym_read_S24C16_nvram(hcb_p np, int offset, u_char *data, int len) argument
9407 sym_read_Symbios_nvram(hcb_p np, Symbios_nvram *nvram) argument
9448 T93C46_Clk(hcb_p np, u_char *gpreg) argument
9458 T93C46_Read_Bit(hcb_p np, u_char *read_bit, u_char *gpreg) argument
9468 T93C46_Write_Bit(hcb_p np, u_char write_bit, u_char *gpreg) argument
9486 T93C46_Stop(hcb_p np, u_char *gpreg) argument
9498 T93C46_Send_Command(hcb_p np, u_short write_data, u_char *read_bit, u_char *gpreg) argument
9513 T93C46_Read_Word(hcb_p np, u_short *nvram_data, u_char *gpreg) argument
9532 T93C46_Read_Data(hcb_p np, u_short *data,int len,u_char *gpreg) argument
9553 sym_read_T93C46_nvram(hcb_p np, Tekram_nvram *nvram) argument
9585 sym_read_Tekram_nvram(hcb_p np, Tekram_nvram *nvram) argument
[all...]
/freebsd-11-stable/usr.bin/mail/
H A Dv7.local.c85 char *np; local
88 if ((np = getenv("USER")) != NULL)
89 return (np);
90 if ((np = getenv("LOGNAME")) != NULL)
91 return (np);
92 if ((np = getname(uid = getuid())) != NULL)
93 return (np);
H A Dnames.c56 struct name *np; local
58 np = (struct name *)salloc(sizeof(*np));
59 np->n_flink = NULL;
60 np->n_blink = NULL;
61 np->n_type = ntype;
62 np->n_name = savestr(str);
63 return (np);
72 struct name *np; local
74 np
91 struct name *top, *np, *t; local
117 detract(struct name *np, int ntype) argument
284 struct name *np, *top; local
456 struct name *new, *np, *cp; local
492 struct name *np; local
551 unpack(struct name *np) argument
597 struct name *np, *t, *new; local
707 count(struct name *np) argument
721 delname(struct name *np, char name[]) argument
[all...]
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clsubs.c120 ncl_dircookie_lock(struct nfsnode *np) argument
122 mtx_lock(&np->n_mtx);
123 while (np->n_flag & NDIRCOOKIELK)
124 (void) msleep(&np->n_flag, &np->n_mtx, PZERO, "nfsdirlk", 0);
125 np->n_flag |= NDIRCOOKIELK;
126 mtx_unlock(&np->n_mtx);
130 ncl_dircookie_unlock(struct nfsnode *np) argument
132 mtx_lock(&np->n_mtx);
133 np
141 struct nfsnode *np; local
159 struct nfsnode *np; local
182 struct nfsnode *np; local
264 ncl_getcookie(struct nfsnode *np, off_t off, int add) argument
321 struct nfsnode *np = VTONFS(vp); local
[all...]
H A Dnfs_clnode.c99 struct nfsnode *np; local
125 np = uma_zalloc(newnfsnode_zone, M_WAITOK | M_ZERO);
129 uma_zfree(newnfsnode_zone, np);
135 vp->v_data = np;
136 np->n_vnode = vp;
143 mtx_init(&np->n_mtx, "NEWNFSnode lock", NULL, MTX_DEF | MTX_DUPOK);
144 lockinit(&np->n_excl, PVFS, "nfsupg", VLKTIMEOUT, LK_NOSHARE |
164 MALLOC(np->n_fhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
166 bcopy(fhp, np->n_fhp->nfh_fh, fhsize);
167 np
208 struct nfsnode *np; local
237 struct nfsnode *np; local
283 struct nfsnode *np = VTONFS(vp); local
351 struct nfsnode *np = VTONFS(vp); local
[all...]
/freebsd-11-stable/sys/dev/nmdm/
H A Dnmdm.c104 struct nmdmpart *np; local
108 np = tty_softc(tp);
109 onp = np->np_other;
121 onp = np->np_other;
132 struct nmdmpart *np = (struct nmdmpart *)softc; local
133 struct nmdmsoftc *ns = np->np_pair;
135 callout_drain(&np->np_callout);
136 taskqueue_drain(taskqueue_swi, &np->np_task);
144 if (np->np_other != NULL) {
145 np
231 struct nmdmpart *np = arg; local
252 struct nmdmpart *np = arg; local
320 struct nmdmpart *np = tty_softc(tp); local
378 struct nmdmpart *np = tty_softc(tp); local
403 struct nmdmpart *np = tty_softc(tp); local
412 struct nmdmpart *np = tty_softc(tp); local
[all...]
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_node.c89 struct smbnode *np; local
92 np = (struct smbnode *) vp->v_data;
94 if (np->n_parent != sc->n_parent || np->n_nmlen != sc->n_nmlen ||
95 bcmp(sc->n_name, np->n_name, sc->n_nmlen) != 0)
108 struct smbnode *np, *dnp; local
143 np = VTOSMB(*vpp);
153 (np->n_dosattr & SMB_FA_DIR) == 0) ||
155 (np->n_dosattr & SMB_FA_DIR) != 0)) {
175 np
231 struct smbnode *dnp, *np; local
266 struct smbnode *np = VTOSMB(vp); local
311 struct smbnode *np = VTOSMB(vp); local
345 struct smbnode *np = VTOSMB(vp); local
365 struct smbnode *np = VTOSMB(vp); local
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_list.c135 uu_list_node_impl_t *np = (uu_list_node_impl_t *)np_arg; local
138 uintptr_t offset = (uintptr_t)np - (uintptr_t)base;
139 if (offset + sizeof (*np) > pp->ulp_objsize) {
142 base, (void *)np, (void *)pp, pp->ulp_name,
148 base, (void *)np, (void *)pp, pp->ulp_name,
152 np->uln_next = POOL_TO_MARKER(pp);
153 np->uln_prev = NULL;
159 uu_list_node_impl_t *np = (uu_list_node_impl_t *)np_arg; local
162 if (np->uln_next == NULL &&
163 np
263 list_insert(uu_list_t *lp, uu_list_node_impl_t *np, uu_list_node_impl_t *prev, uu_list_node_impl_t *next) argument
294 uu_list_node_impl_t *np; local
319 uu_list_node_impl_t *np; local
350 uu_list_node_impl_t *np = INDEX_TO_NODE(idx); local
375 uu_list_node_impl_t *np = INDEX_TO_NODE(idx); local
429 uu_list_node_impl_t *np = wp->ulw_next_result; local
479 uu_list_node_impl_t *np = list_walk_advance(wp, lp); local
497 uu_list_node_impl_t *np; local
542 uu_list_node_impl_t *np = ELEM_TO_NODE(lp, elem); local
600 uu_list_node_impl_t *np = ELEM_TO_NODE(lp, target); local
626 uu_list_node_impl_t *np = ELEM_TO_NODE(lp, target); local
[all...]
/freebsd-11-stable/sys/dev/ncr/
H A Dncr.c272 #define INB(r) bus_read_1(np->reg_res, offsetof(struct ncr_reg, r))
273 #define INW(r) bus_read_2(np->reg_res, offsetof(struct ncr_reg, r))
274 #define INL(r) bus_read_4(np->reg_res, offsetof(struct ncr_reg, r))
276 #define OUTB(r, val) bus_write_1(np->reg_res, offsetof(struct ncr_reg, r), val)
277 #define OUTW(r, val) bus_write_2(np->reg_res, offsetof(struct ncr_reg, r), val)
278 #define OUTL(r, val) bus_write_4(np->reg_res, offsetof(struct ncr_reg, r), val)
279 #define OUTL_OFF(o, val) bus_write_4(np->reg_res, o, val)
281 #define INB_OFF(o) bus_read_1(np->reg_res, o)
282 #define INW_OFF(o) bus_read_2(np->reg_res, o)
283 #define INL_OFF(o) bus_read_4(np
2973 ncr_script_copy_and_bind(ncb_p np, ncrcmd *src, ncrcmd *dst, int len) argument
3308 ncr_init_burst(ncb_p np, u_char bc) argument
3337 ncb_p np = (struct ncb*) device_get_softc(dev); local
3798 ncb_p np = vnp; local
3806 ncr_intr_locked(ncb_p np) argument
3838 ncb_p np; local
4376 ncr_complete(ncb_p np, nccb_p cp) argument
4546 ncr_wakeup(ncb_p np, u_long code) argument
4584 ncr_freeze_devq(ncb_p np, struct cam_path *path) argument
4676 ncr_init(ncb_p np, char * msg, u_long code) argument
4802 ncr_getsync(ncb_p np, u_char sfac, u_char *fakp, u_char *scntl3p) argument
4870 ncr_setsync(ncb_p np, nccb_p cp, u_char scntl3, u_char sxfer, u_char period) argument
4971 ncr_setwide(ncb_p np, nccb_p cp, u_char wide, u_char ack) argument
5057 ncb_p np = arg; local
5182 ncr_log_hard_error(ncb_p np, u_short sist, u_char dstat) argument
5241 ncr_exception(ncb_p np) argument
5537 ncr_int_sto(ncb_p np) argument
5588 ncr_int_ma(ncb_p np, u_char dstat) argument
5807 ncr_int_sir(ncb_p np) argument
6361 ncr_get_nccb(ncb_p np, u_long target, u_long lun) argument
6410 ncr_free_nccb(ncb_p np, nccb_p cp) argument
6432 ncr_alloc_nccb(ncb_p np, u_long target, u_long lun) argument
6677 ncr_regtest(struct ncb* np) argument
6701 ncr_snooptest(struct ncb* np) argument
6805 ncb_profile(ncb_p np, nccb_p cp) argument
6874 ncr_selectclock(ncb_p np, u_char scntl3) argument
6904 ncrgetfreq(ncb_p np, int gen) argument
6949 ncr_getclock(ncb_p np, u_char multiplier) argument
7018 tekram_write_bit(ncb_p np, int bit) argument
7032 tekram_read_bit(ncb_p np) argument
7042 read_tekram_eeprom_reg(ncb_p np, int reg) argument
7067 read_tekram_eeprom(ncb_p np, struct tekram_eeprom *buffer) argument
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dgenopinit.c228 const char *np, *pp, *p, *q; local
247 for (pp += 2, np = name; matches && ! (pp[0] == '$' && pp[1] == ')');
252 if (*pp != *np++)
275 for (p = GET_RTX_NAME(op), q = np; *p; p++, q++)
291 np += strlen (GET_RTX_NAME(op));
301 for (p = GET_MODE_NAME(i), q = np; *p; p++, q++)
323 m1 = i, np += strlen (GET_MODE_NAME(i));
325 m2 = i, np += strlen (GET_MODE_NAME(i));
336 && *np == 0
368 for (np
[all...]
/freebsd-11-stable/sbin/restore/
H A Dsymtab.c99 addino(ino_t inum, struct entry *np) argument
106 np->e_ino = inum;
107 np->e_next = *epp;
108 *epp = np;
110 for (np = np->e_next; np != NULL; np = np->e_next)
111 if (np
145 char *np, *cp; local
222 struct entry *np, *ep; local
270 struct entry *np; local
313 struct entry *np; local
341 struct entry *np; local
386 struct strhdr *np; local
413 struct strhdr *tp, *np; local
[all...]
/freebsd-11-stable/tools/regression/geom/ConfCmp/
H A DConfCmp.c82 struct node *np; local
84 np = calloc(1, sizeof *np);
85 np->cont = sbuf_new_auto();
86 sbuf_clear(np->cont);
87 np->key = sbuf_new_auto();
88 sbuf_clear(np->key);
89 LIST_INIT(&np->children);
90 return (np);
104 struct node *np; local
133 struct node *np; local
210 print_node(struct node *np) argument
221 print_tree(struct node *np, int n) argument
231 sort_node(struct node *np) argument
[all...]
/freebsd-11-stable/lib/libc/nls/
H A Dmsgcat.c80 #define SAVEFAIL(n, l, e) { np = calloc(1, sizeof(struct catentry)); \
81 if (np != NULL) { \
82 np->name = strdup(n); \
83 np->catd = NLERR; \
84 np->lang = (l == NULL) ? NULL : \
86 np->caterrno = e; \
87 if (np->name == NULL || \
88 (l != NULL && np->lang == NULL)) { \
89 free(np->name); \
90 free(np
123 struct catentry *np; local
336 catfree(struct catentry *np) argument
353 struct catentry *np; local
383 struct catentry *np; local
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dsetenv.c60 const char *np; local
66 for (np = name, i = len; i && *cp; i--)
67 if (*cp++ != *np++)
135 const char *np; local
138 for (np = name; *np && *np != '='; ++np)
141 if (*np) {
148 if ((C = __findenv(name, (int)(np
201 const char *np; local
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dnameser.h225 #define DNS_QR(np) ((np)->flags1 & 0x80) /* response flag */
226 #define DNS_OPCODE(np) ((((np)->flags1) >> 3) & 0xF) /* purpose of message */
227 #define DNS_AA(np) ((np)->flags1 & 0x04) /* authoritative answer */
228 #define DNS_TC(np) ((np)->flags1 & 0x02) /* truncated message */
229 #define DNS_RD(np) ((np)
[all...]
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_gem_names.c44 struct drm_gem_name *np);
59 struct drm_gem_name *np; local
64 while ((np = LIST_FIRST(&names->names_hash[i])) != NULL) {
65 drm_gem_names_delete_name(names, np);
151 struct drm_gem_name *np; local
157 np = malloc(sizeof(struct drm_gem_name), M_GEM_NAMES, M_WAITOK);
159 np->name = alloc_unr(names->unr);
160 if (np->name == -1) {
162 free(np, M_GEM_NAMES);
165 *name = np
173 drm_gem_names_delete_name(struct drm_gem_names *names, struct drm_gem_name *np) argument
205 struct drm_gem_name *np; local
[all...]
/freebsd-11-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_nametbl.c36 Dwarf_NamePair np, tnp; local
43 STAILQ_FOREACH_SAFE(np, &nt->nt_nplist, np_next, tnp) {
44 STAILQ_REMOVE(&nt->nt_nplist, np, _Dwarf_NamePair,
46 free(np);
64 Dwarf_NamePair np; local
123 if ((np = malloc(sizeof(struct _Dwarf_NamePair))) ==
129 np->np_nt = nt;
130 np->np_offset = cuoff;
132 np->np_name = &p[offset];
135 STAILQ_INSERT_TAIL(&nt->nt_nplist, np, np_nex
174 Dwarf_NamePair np; local
239 Dwarf_NamePair np, tnp; local
[all...]
/freebsd-11-stable/lib/libc/tests/sys/
H A Dqueue_test.c49 } *n1, *n2, *n3, *np; local
60 SLIST_FOREACH(np, &head, entries) {
77 SLIST_FOREACH(np, &head, entries) {
78 ATF_REQUIRE_EQ_MSG(np->i, j,
79 "%d (entry counter) != %d (counter)", np->i, j);
100 SLIST_FOREACH(np, &head, entries) {
101 ATF_REQUIRE_EQ_MSG(np->i, j,
102 "%d (entry counter) != %d (counter)", np->i, j);
120 SLIST_FOREACH(np, &head, entries) {
121 ATF_REQUIRE_EQ_MSG(np
160 } *n1, *n2, *n3, *np; local
[all...]
/freebsd-11-stable/usr.bin/ctags/
H A Dtree.c57 NODE *np; local
62 if (!(np = (NODE *)malloc(sizeof(NODE)))) {
67 if (!(head = np = (NODE *)malloc(sizeof(NODE))))
81 if (!(np->entry = strdup(name)))
83 np->file = curfile;
84 np->lno = ln;
85 np->left = np->right = 0;
86 if (!(np->pat = strdup(lbuf)))
89 head = np;
[all...]

Completed in 217 milliseconds

1234567891011>>