Home
last modified time | relevance | path

Searched refs:np (Results 1 – 16 of 16) sorted by relevance

/xnu-11215/bsd/net/
H A Dndrv.c268 np->nd_unit = 0; in ndrv_attach()
294 if (np == 0) { in ndrv_detach()
315 if (np == 0) { in ndrv_connect()
370 if (np == 0) { in ndrv_bind()
425 np->nd_if = ifp; in ndrv_bind()
437 if (np == 0) { in ndrv_disconnect()
488 if (np == 0) { in ndrv_abort()
502 if (np == 0) { in ndrv_sockaddr()
525 if (np == 0) { in ndrv_peeraddr()
882 return np; in ndrv_find_inbound()
[all …]
H A Dbpf_filter.c94 ((u_int32_t)np[0] << 16) | in get_word_from_buffers()
95 ((u_int32_t)np[1] << 8) | in get_word_from_buffers()
96 (u_int32_t)np[2]; in get_word_from_buffers()
102 ((u_int32_t)np[0] << 8) | in get_word_from_buffers()
103 (u_int32_t)np[1]; in get_word_from_buffers()
109 (u_int32_t)np[0]; in get_word_from_buffers()
157 u_char *cp, *np; in m_xword() local
171 np = mtod(m, u_char *); in m_xword()
287 u_char *np; in p_xword() local
317 u_char *np; in p_xhalf() local
[all …]
H A Dradix.c640 u_char *mp = m_arg, *np = n_arg, *lim; in rn_lexobetter() local
642 if (*mp > *np) { in rn_lexobetter()
645 if (*mp == *np) { in rn_lexobetter()
647 if (*mp++ > *np++) { in rn_lexobetter()
H A Dpf.c2504 struct pf_addr *na, u_int16_t np, u_int16_t *pc, u_int16_t *h2c, in pf_change_icmp() argument
2520 *ip = np; in pf_change_icmp()
/xnu-11215/osfmk/kern/
H A Dmach_node.h138 #define MACH_NODE_LOCK_INIT(np) lck_spin_init(&(np)->node_lock_data, \ argument
140 #define MACH_NODE_LOCK_DESTROY(np) lck_spin_destroy(&(np)->node_lock_data, \ argument
142 #define MACH_NODE_LOCK(np) lck_spin_lock(&(np)->node_lock_data) argument
143 #define MACH_NODE_UNLOCK(np) lck_spin_unlock(&(np)->node_lock_data) argument
H A Dmach_node.c228 mach_node_t np = mach_node_table[n]; in mach_node_port_changed() local
230 if (!MACH_NODE_VALID(np)) { in mach_node_port_changed()
233 np->published = 0; in mach_node_port_changed()
234 if (np->active == 1) { in mach_node_port_changed()
/xnu-11215/tools/tests/personas/
H A Dpersona_mgr.c102 int np = 0; in persona_op_lookup() local
110 np = kpersona_find(name, uid, personas, &npersonas); in persona_op_lookup()
111 if (np < 0) { in persona_op_lookup()
112 err("kpersona_find returned %d (errno:%d)", np, errno); in persona_op_lookup()
115 np = npersonas; in persona_op_lookup()
116 while (np--) { in persona_op_lookup()
117 info("\tpersona[%d]=%d...", np, personas[np]); in persona_op_lookup()
119 ret = kpersona_info(personas[np], ki); in persona_op_lookup()
121 err("kpersona_info failed (errno:%d) for persona[%d]", errno, personas[np]); in persona_op_lookup()
/xnu-11215/SETUP/config/
H A Dparser.y263 register struct device *np; in newdev() local
265 np = (struct device *) malloc(sizeof *np); in newdev()
266 *np = *dp; in newdev()
268 dtab = np; in newdev()
270 curp->d_next = np; in newdev()
271 curp = np; in newdev()
H A Dmkmakefile.c775 char *np, och; in do_rules() local
787 cp = (np = ftp->f_fn) + strlen(ftp->f_fn) - 1; in do_rules()
798 if ((np[0] == '.') && (np[1] == '/')) { in do_rules()
800 np += 2; in do_rules()
805 tp = tail(np); /* dvw: init tp before 'if' */ in do_rules()
835 fprintf(f, "%so: %s%s%c\n", tp, source_dir, np, och); in do_rules()
839 source_dir, (int)(tp - np), np, nl); in do_rules()
874 source_dir, (int)(tp - np), np, och_upper, extras, nl); in do_rules()
882 printf("Don't know rules for %s\n", np); in do_rules()
/xnu-11215/bsd/netinet/
H A Disakmp.h58 uint8_t np; /* Next Payload Type */ member
77 uint8_t np; /* Next Payload */ member
/xnu-11215/bsd/kern/
H A Duipc_mbuf.c5138 np = &top;
5209 *np = m;
5285 np = &top;
5412 *np = m;
5606 *np = m;
5719 np = &top;
5727 *np = m;
6234 np = &top;
6250 *np = n;
6423 *np = n;
[all …]
H A Dkern_proc.c2563 proc_t np = PROC_NULL; in enterpgrp() local
2573 if ((np = proc_find(savepid)) == NULL || np != p) { in enterpgrp()
2574 if (np != PROC_NULL) { in enterpgrp()
2575 proc_rele(np); in enterpgrp()
2580 proc_rele(np); in enterpgrp()
/xnu-11215/bsd/netinet6/
H A Dip6_input.c1936 struct mbuf **np; in ip6_savecontrol() local
1941 np = ip6_savecontrol_v4(in6p, m, mp, &v4only); in ip6_savecontrol()
1942 if (np == NULL) { in ip6_savecontrol()
1946 mp = np; in ip6_savecontrol()
/xnu-11215/bsd/vfs/
H A Dvfs_lookup.c1543 const char *name, *np; local
1582 for (np = name + len; len > 0; len--) { // Copy name backwards
1583 *--pp = *--np;
H A Dvfs_attrlist.c910 getattrlist_findnamecomp(const char *mn, const char **np, ssize_t *nl) in getattrlist_findnamecomp() argument
919 *np = NULL; in getattrlist_findnamecomp()
926 *np = cp; in getattrlist_findnamecomp()
932 *nl = cp - *np; in getattrlist_findnamecomp()
939 *nl = cp - *np; in getattrlist_findnamecomp()
/xnu-11215/bsd/dev/dtrace/
H A Ddtrace.c10550 int *np = (int *)NULL; in dtrace_difo_init() local
10584 np = &vstate->dtvs_nlocals; in dtrace_difo_init()
10596 np = &vstate->dtvs_nglobals; in dtrace_difo_init()
10609 while (id >= (uint_t)(oldsvars = *np)) { in dtrace_difo_init()
10627 *np = newsvars; in dtrace_difo_init()
10706 int *np = NULL; in dtrace_difo_destroy() local
10713 np = &vstate->dtvs_nlocals; in dtrace_difo_destroy()
10718 np = &vstate->dtvs_nglobals; in dtrace_difo_destroy()
10731 ASSERT(id < (uint_t)*np); in dtrace_difo_destroy()