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

12

/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_node.c197 nfsnode_t np; local
219 for (np = nhpp->lh_first; np != 0; np = np->n_hash.le_next) {
220 mp2 = (np->n_hflag & NHINIT) ? np->n_mount : NFSTOMP(np);
221 if (mp != mp2 || np->n_fhsize != fhsize ||
222 bcmp(fhp, np
590 nfsnode_t np = VTONFS(ap->a_vp); local
836 nfsnode_t np = VTONFS(vp); local
1027 nfs_node_lock_internal(nfsnode_t np, int force) argument
1041 nfs_node_lock(nfsnode_t np) argument
1047 nfs_node_lock_force(nfsnode_t np) argument
1056 nfs_node_unlock(nfsnode_t np) argument
1098 nfs_node_set_busy(nfsnode_t np, thread_t thd) argument
1118 nfs_node_clear_busy(nfsnode_t np) argument
1216 nfs_data_lock(nfsnode_t np, int locktype) argument
1221 nfs_data_lock_noupdate(nfsnode_t np, int locktype) argument
1226 nfs_data_lock_internal(nfsnode_t np, int locktype, int updatesize) argument
1246 nfs_data_unlock(nfsnode_t np) argument
1251 nfs_data_unlock_noupdate(nfsnode_t np) argument
1256 nfs_data_unlock_internal(nfsnode_t np, int updatesize) argument
1274 nfs_data_update_size(nfsnode_t np, int datalocked) argument
1307 nfsnode_t np; local
[all...]
H A Dnfs_vnops.c455 nfs_node_access_slot(nfsnode_t np, uid_t uid, int add) argument
460 if (np->n_accessuid[slot] == uid)
465 slot = np->n_access[NFS_ACCESS_CACHE_SIZE];
466 np->n_access[NFS_ACCESS_CACHE_SIZE] = (slot + 1) % NFS_ACCESS_CACHE_SIZE;
472 nfs3_access_rpc(nfsnode_t np, u_int32_t *access, vfs_context_t ctx) argument
485 nfsm_chain_add_fh(error, &nmreq, NFS_VER3, np->n_fhp, np->n_fhsize);
489 error = nfs_request(np, NULL, &nmreq, NFSPROC_ACCESS, ctx, NULL, &nmrep, &xid, &status);
490 if ((lockerror = nfs_node_lock(np)))
492 nfsm_chain_postop_attr_update(error, &nmrep, np,
547 nfsnode_t np = VTONFS(vp); local
681 nfsnode_t np = VTONFS(vp); local
872 nfs_no_of_open_file_writers(nfsnode_t np) argument
921 nfsnode_t np = VTONFS(vp); local
1108 nfs_close( nfsnode_t np, struct nfs_open_file *nofp, uint32_t accessMode, uint32_t denyMode, vfs_context_t ctx) argument
1252 nfs3_getattr_rpc( nfsnode_t np, mount_t mp, u_char *fhp, size_t fhsize, int flags, vfs_context_t ctx, struct nfs_vattr *nvap, u_int64_t *xidp) argument
1297 nfs_getattr(nfsnode_t np, struct nfs_vattr *nvap, vfs_context_t ctx, int flags) argument
1528 nfsnode_t np = VTONFS(vp); local
1835 nfs3_setattr_rpc( nfsnode_t np, struct vnode_attr *vap, vfs_context_t ctx) argument
2013 nfsnode_t dnp, np; local
2210 nfsnode_t np = VTONFS(ap->a_vp); local
2265 nfs3_readlink_rpc(nfsnode_t np, char *buf, uint32_t *buflenp, vfs_context_t ctx) argument
2319 nfs_read_rpc(nfsnode_t np, uio_t uio, vfs_context_t ctx) argument
2389 nfs3_read_rpc_async( nfsnode_t np, off_t offset, size_t len, thread_t thd, kauth_cred_t cred, struct nfsreq_cbinfo *cb, struct nfsreq **reqp) argument
2427 nfs3_read_rpc_async_finish( nfsnode_t np, struct nfsreq *req, uio_t uio, size_t *lenp, int *eofp) argument
2503 nfsnode_t np = VTONFS(vp); local
3053 nfs_write_rpc( nfsnode_t np, uio_t uio, vfs_context_t ctx, int *iomodep, uint64_t *wverfp) argument
3064 nfs_write_rpc2( nfsnode_t np, uio_t uio, thread_t thd, kauth_cred_t cred, int *iomodep, uint64_t *wverfp) argument
3181 nfs3_write_rpc_async( nfsnode_t np, uio_t uio, size_t len, thread_t thd, kauth_cred_t cred, int iomode, struct nfsreq_cbinfo *cb, struct nfsreq **reqp) argument
3231 nfs3_write_rpc_async_finish( nfsnode_t np, struct nfsreq *req, int *iomodep, size_t *rlenp, uint64_t *wverfp) argument
3329 nfsnode_t np = NULL; local
3479 nfsnode_t np = NULL; local
3663 nfsnode_t np = VTONFS(vp); local
4155 nfsnode_t np = VTONFS(vp); local
4258 nfsnode_t np = NULL; local
4408 nfsnode_t np = NULL; local
4558 nfsnode_t np = VTONFS(vp); local
5334 nfs_name_cache_purge(nfsnode_t dnp, nfsnode_t np, struct componentname *cnp, vfs_context_t ctx) argument
5633 nfs_sillyrename( nfsnode_t dnp, nfsnode_t np, struct componentname *cnp, vfs_context_t ctx) argument
5817 nfsnode_t np, newnp = NULL; local
6010 nfs3_commit_rpc( nfsnode_t np, uint64_t offset, uint64_t count, kauth_cred_t cred, uint64_t wverf) argument
6109 nfs3_pathconf_rpc( nfsnode_t np, struct nfs_fsattr *nfsap, vfs_context_t ctx) argument
6203 nfsnode_t np = VTONFS(vp); local
6375 nfsnode_t np = VTONFS(ap->a_vp); local
6405 nfsnode_t np = VTONFS(ap->a_vp); local
6437 nfsnode_t np = VTONFS(vp); local
6483 nfsnode_t np = VTONFS(ap->a_vp); local
6513 nfsnode_t np = VTONFS(ap->a_vp); local
6545 nfsnode_t np = VTONFS(vp); local
6662 nfsnode_t np = VTONFS(vp); local
6971 nfsnode_t np = VTONFS(vp); local
7457 nfsnode_t np = VTONFS(ap->a_vp); local
7494 nfs_vnode_notify(nfsnode_t np, uint32_t events) argument
[all...]
H A Dnfs_bio.c102 #define NFSBUFHASH(np, lbn) \
103 (&nfsbufhashtbl[((long)(np) / sizeof(*(np)) + (int)(lbn)) & nfsbufhash])
304 nfs_buf_is_incore(nfsnode_t np, daddr64_t blkno) argument
308 if (nfs_buf_incore(np, blkno))
320 nfs_buf_incore(nfsnode_t np, daddr64_t blkno) argument
323 struct nfsbuf * bp = NFSBUFHASH(np, blkno)->lh_first;
325 if ((bp->nb_lblkno == blkno) && (bp->nb_np == np)) {
513 nfs_buf_normalize_valid_range(nfsnode_t np, struct nfsbuf *bp) argument
528 if (NBOFF(bp) + bp->nb_validend > (off_t)np
540 nfsnode_t np; local
637 nfs_buf_get( nfsnode_t np, daddr64_t blkno, uint32_t size, thread_t thd, int flags, struct nfsbuf **bpp) argument
986 nfsnode_t np = bp->nb_np; local
1226 nfsnode_t np = bp->nb_np; local
1286 nfs_buf_check_write_verifier(nfsnode_t np, struct nfsbuf *bp) argument
1392 nfs_buf_iterprepare(nfsnode_t np, struct nfsbuflists *iterheadp, int flags) argument
1429 nfs_buf_itercomplete(nfsnode_t np, struct nfsbuflists *iterheadp, int flags) argument
1460 nfsnode_t np; local
1497 nfsnode_t np = bp->nb_np; local
1540 nfsnode_t np = bp->nb_np; local
1654 nfsnode_t np; local
1838 nfs_buf_readahead(nfsnode_t np, int ioflag, daddr64_t *rabnp, daddr64_t lastrabn, thread_t thd, kauth_cred_t cred) argument
1895 nfs_bioread(nfsnode_t np, uio_t uio, int ioflag, vfs_context_t ctx) argument
2281 nfsnode_t np; local
2495 nfsnode_t np = bp->nb_np; local
2604 nfsnode_t np = bp->nb_np; local
2689 nfsnode_t np = bp->nb_np; local
2810 nfsnode_t np; local
3007 nfs_flushcommits(nfsnode_t np, int nowait) argument
3244 nfs_flush(nfsnode_t np, int waitfor, thread_t thd, int ignore_writeerr) argument
3457 nfs_vinvalbuf_internal( nfsnode_t np, int flags, thread_t thd, kauth_cred_t cred, int slpflag, int slptimeo) argument
3620 nfsnode_t np = VTONFS(vp); local
3690 nfs_wait_bufs(nfsnode_t np) argument
3832 nfsnode_t np = bp->nb_np; local
[all...]
H A Dnfs4_vnops.c83 nfs4_access_rpc(nfsnode_t np, u_int32_t *access, vfs_context_t ctx) argument
90 struct nfsmount *nmp = NFSTONMP(np);
95 if (np->n_vattr.nva_flags & NFS_FFLAG_TRIGGER_REFERRAL)
98 NFSREQ_SECINFO_SET(&si, np, NULL, 0, NULL, 0);
108 nfsm_chain_add_fh(error, &nmreq, nfsvers, np->n_fhp, np->n_fhsize);
114 nfsm_chain_add_bitmap_supported(error, &nmreq, nfs_getattr_bitmap, nmp, np);
118 error = nfs_request(np, NULL, &nmreq, NFSPROC4_COMPOUND, ctx, &si, &nmrep, &xid, &status);
120 if ((lockerror = nfs_node_lock(np)))
144 if (np
176 nfs4_getattr_rpc( nfsnode_t np, mount_t mp, u_char *fhp, size_t fhsize, int flags, vfs_context_t ctx, struct nfs_vattr *nvap, u_int64_t *xidp) argument
248 nfs4_readlink_rpc(nfsnode_t np, char *buf, uint32_t *buflenp, vfs_context_t ctx) argument
311 nfs4_read_rpc_async( nfsnode_t np, off_t offset, size_t len, thread_t thd, kauth_cred_t cred, struct nfsreq_cbinfo *cb, struct nfsreq **reqp) argument
362 nfs4_read_rpc_async_finish( nfsnode_t np, struct nfsreq *req, uio_t uio, size_t *lenp, int *eofp) argument
416 nfs4_write_rpc_async( nfsnode_t np, uio_t uio, size_t len, thread_t thd, kauth_cred_t cred, int iomode, struct nfsreq_cbinfo *cb, struct nfsreq **reqp) argument
478 nfs4_write_rpc_async_finish( nfsnode_t np, struct nfsreq *req, int *iomodep, size_t *rlenp, uint64_t *wverfp) argument
1217 nfs4_commit_rpc( nfsnode_t np, uint64_t offset, uint64_t count, kauth_cred_t cred, uint64_t wverf) argument
1295 nfs4_pathconf_rpc( nfsnode_t np, struct nfs_fsattr *nfsap, vfs_context_t ctx) argument
1472 nfs4_setattr_rpc( nfsnode_t np, struct vnode_attr *vap, vfs_context_t ctx) argument
1755 nfs_open_state_set_busy(nfsnode_t np, thread_t thd) argument
1786 nfs_open_state_clear_busy(nfsnode_t np) argument
1974 nfs_open_file_find( nfsnode_t np, struct nfs_open_owner *noop, struct nfs_open_file **nofpp, uint32_t accessMode, uint32_t denyMode, int alloc) argument
1992 nfs_open_file_find_internal( nfsnode_t np, struct nfs_open_owner *noop, struct nfs_open_file **nofpp, uint32_t accessMode, uint32_t denyMode, int alloc) argument
2416 nfs_get_stateid(nfsnode_t np, thread_t thd, kauth_cred_t cred, nfs_stateid *sid) argument
2468 nfs4_open_delegated( nfsnode_t np, struct nfs_open_file *nofp, uint32_t accessMode, uint32_t denyMode, vfs_context_t ctx) argument
2557 nfs4_open( nfsnode_t np, struct nfs_open_file *nofp, uint32_t accessMode, uint32_t denyMode, vfs_context_t ctx) argument
2665 nfsnode_t np = VTONFS(vp); local
2867 nfsnode_t np = VTONFS(vp); local
2944 nfs_lock_owner_find(nfsnode_t np, proc_t p, int alloc) argument
3200 nfs4_setlock_rpc( nfsnode_t np, struct nfs_open_file *nofp, struct nfs_file_lock *nflp, int reclaim, int flags, thread_t thd, kauth_cred_t cred) argument
3324 nfs4_unlock_rpc( nfsnode_t np, struct nfs_lock_owner *nlop, int type, uint64_t start, uint64_t end, int flags, thread_t thd, kauth_cred_t cred) argument
3402 nfs4_getlock_rpc( nfsnode_t np, struct nfs_lock_owner *nlop, struct flock *fl, uint64_t start, uint64_t end, vfs_context_t ctx) argument
3489 nfs_advlock_getlock( nfsnode_t np, struct nfs_lock_owner *nlop, struct flock *fl, uint64_t start, uint64_t end, vfs_context_t ctx) argument
3560 nfs_advlock_setlock( nfsnode_t np, struct nfs_open_file *nofp, struct nfs_lock_owner *nlop, int op, uint64_t start, uint64_t end, int style, short type, vfs_context_t ctx) argument
3976 nfs_advlock_unlock( nfsnode_t np, struct nfs_open_file *nofp, struct nfs_lock_owner *nlop, uint64_t start, uint64_t end, int style, vfs_context_t ctx) argument
4229 nfsnode_t np = VTONFS(ap->a_vp); local
4400 nfsnode_t np = nofp->nof_np; local
4638 nfsnode_t np, newnp = NULL; local
4975 nfsnode_t np = nofp->nof_np; local
5233 nfsnode_t np = nofp->nof_np; local
5419 nfs4_open_downgrade_rpc( nfsnode_t np, struct nfs_open_file *nofp, vfs_context_t ctx) argument
5487 nfs4_close_rpc( nfsnode_t np, struct nfs_open_file *nofp, thread_t thd, kauth_cred_t cred, int flags) argument
5751 nfs_release_open_state_for_node(nfsnode_t np, int force) argument
5808 nfs_revoke_open_state_for_node(nfsnode_t np) argument
5839 nfs4_claim_delegated_state_for_node(nfsnode_t np, int flags) argument
5872 nfs4_delegation_return_enqueue(nfsnode_t np) argument
5895 nfs4_delegation_return(nfsnode_t np, int flags, thread_t thd, kauth_cred_t cred) argument
6027 nfsnode_t np; local
6123 nfsnode_t np; local
6287 nfsnode_t np = NULL; local
6481 nfsnode_t np = NULL; local
6519 nfsnode_t np = NULL; local
6541 nfsnode_t np = NULL; local
6567 nfsnode_t np = VTONFS(vp); local
6686 nfsnode_t np = VTONFS(vp); local
6763 nfs4_named_attr_dir_get(nfsnode_t np, int fetch, vfs_context_t ctx) argument
6902 nfs4_named_attr_get( nfsnode_t np, struct componentname *cnp, uint32_t accessMode, int flags, vfs_context_t ctx, nfsnode_t *anpp, struct nfs_open_file **nofpp) argument
7622 nfs4_named_attr_remove(nfsnode_t np, nfsnode_t anp, const char *name, vfs_context_t ctx) argument
7924 nfsnode_t np = VTONFS(ap->a_vp); local
8164 nfsnode_t np = ap->a_vp ? VTONFS(ap->a_vp) : NULL; local
[all...]
H A Dnfs_lock.c404 nfsnode_t np,
419 nmp = NFSTONMP(np);
492 nmp = NFSTONMP(np);
515 nmp = NFSTONMP(np);
539 nmp = NFSTONMP(np);
646 nfs_up(NFSTONMP(np), thd, NFSSTA_LOCKTIMEO,
694 nmp = NFSTONMP(np);
739 nfsnode_t np,
753 nmp = NFSTONMP(np);
772 msg->lm_fh_len = (nmp->nm_vers == NFS_VER2) ? NFSX_V2FH : np
403 nfs3_lockd_request( nfsnode_t np, int type, LOCKD_MSG_REQUEST *msgreq, int flags, thread_t thd) argument
738 nfs3_setlock_rpc( nfsnode_t np, struct nfs_open_file *nofp, struct nfs_file_lock *nflp, int reclaim, int flags, thread_t thd, kauth_cred_t cred) argument
792 nfs3_unlock_rpc( nfsnode_t np, struct nfs_lock_owner *nlop, __unused int type, uint64_t start, uint64_t end, int flags, thread_t thd, kauth_cred_t cred) argument
831 nfs3_getlock_rpc( nfsnode_t np, struct nfs_lock_owner *nlop, struct flock *fl, uint64_t start, uint64_t end, vfs_context_t ctx) argument
[all...]
H A Dnfs_subs.c959 nfsnode_t np,
977 nfsm_chain_postop_attr_update_flag(error, nmc, np, *newpostattr, xidp);
1331 nfsnode_t np,
1340 int xattr = np->n_vattr.nva_flags & NFS_FFLAG_IS_ATTR;
1341 int referral = np->n_vattr.nva_flags & NFS_FFLAG_TRIGGER_REFERRAL;
1345 uint32_t events = np->n_events;
1347 if (np->n_hflag & NHINIT) {
1349 mp = np->n_mount;
1351 vp = NFSTOV(np);
1356 FSDBG_TOP(527, np, v
957 nfsm_chain_get_wcc_data_f( struct nfsm_chain *nmc, nfsnode_t np, struct timespec *premtime, int *newpostattr, u_int64_t *xidp) argument
1330 nfs_loadattrcache( nfsnode_t np, struct nfs_vattr *nvap, u_int64_t *xidp, int dontshrink) argument
1583 nfs_attrcachetimeout(nfsnode_t np) argument
1630 nfs_getattrcache(nfsnode_t np, struct nfs_vattr *nvaper, int flags) argument
[all...]
H A Dnfsnode.h643 #define CHECK_NEEDCOMMITCNT(np) \
645 if ((np)->n_needcommitcnt < 0) { \
647 (np)->n_needcommitcnt = 0; \
730 #define NATTRVALID(np) ((np)->n_attrstamp != ~0)
731 #define NATTRINVALIDATE(np) ((np)->n_attrstamp = ~0)
732 #define NACCESSVALID(np, slot) (((slot) >= 0) && ((slot) < NFS_ACCESS_CACHE_SIZE) && ((np)->n_accessstamp[(slot)] != ~0))
733 #define NACCESSINVALIDATE(np) \
[all...]
H A Dnfs_vfsops.c356 nfsnode_t np; local
363 np = nmp->nm_dnp;
364 if (!np)
366 if ((error = vnode_get(NFSTOV(np))))
373 nfsm_chain_add_fh(error, &nmreq, nfsvers, np->n_fhp, np->n_fhsize);
376 error = nfs_request(np, NULL, &nmreq, NFSPROC_FSSTAT, ctx, NULL, &nmrep, &xid, &status);
377 if ((lockerror = nfs_node_lock(np)))
380 nfsm_chain_postop_attr_update(error, &nmrep, np, &xid);
382 nfs_node_unlock(np);
429 nfsnode_t np; local
571 nfsnode_t np = nmp->nm_dnp; local
766 nfs3_fsinfo(struct nfsmount *nmp, nfsnode_t np, vfs_context_t ctx) argument
2634 nfsnode_t np; local
3250 nfsnode_t np = VTONFS(vp); local
3621 nfsnode_t np = VTONFS(vp); local
3722 nfsnode_t np = VTONFS(vp); local
3758 nfsnode_t np = VTONFS(vp); local
4202 nfsnode_t np; local
4524 nfsnode_t np; local
4669 nfsnode_t np = VTONFS(vp); local
[all...]
H A Dnfsmount.h414 #define NFSTONMP(np) VTONMP(NFSTOV(np))
415 #define NFSTOMP(np) (vnode_mount(NFSTOV(np)))
H A Dnfs4_subs.c455 nfsnode_t np, dnp; local
465 np = siap->rsia_np;
477 if (!np) /* use PUTROOTFH */
479 fhp = np->n_fhp;
480 fhsize = np->n_fhsize;
485 if (!np)
487 nfs_node_lock_force(np);
488 if ((vnode_vtype(NFSTOV(np)) != VDIR) && np->n_sillyrename) {
493 struct nfs_sillyrename *nsp = np
2376 nfs4_expired_check_delegation(nfsnode_t np, vfs_context_t ctx) argument
2446 nfsnode_t np, nextnp; local
[all...]
H A Dnfs_socket.c1656 nfsnode_t np; local
1693 ((np = TAILQ_FIRST(&nmp->nm_dreturnq)))) {
1695 nfs4_delegation_return(np, R_RECOVER, thd, nmp->nm_mcred);
1793 LIST_FOREACH(np, &nmp->nm_monlist, n_monlink) {
1796 np->n_mflag |= NMMONSCANINPROG;
1798 error = nfs_getattr(np, NULL, vfs_context_kernel(), (NGA_UNCACHED|NGA_MONITOR));
1799 if (!error && ISSET(np->n_flag, NUPDATESIZE)) /* update quickly to avoid multiple events */
1800 nfs_data_update_size(np, 0);
1802 np->n_mflag &= ~NMMONSCANINPROG;
1803 if (np
2298 nfsnode_t np; local
3415 nfs_request_create( nfsnode_t np, mount_t mp, struct nfsm_chain *nmrest, int procnum, thread_t thd, kauth_cred_t cred, struct nfsreq **reqp) argument
4127 nfs_request( nfsnode_t np, mount_t mp, struct nfsm_chain *nmrest, int procnum, vfs_context_t ctx, struct nfsreq_secinfo_args *si, struct nfsm_chain *nmrepp, u_int64_t *xidp, int *status) argument
4144 nfs_request2( nfsnode_t np, mount_t mp, struct nfsm_chain *nmrest, int procnum, thread_t thd, kauth_cred_t cred, struct nfsreq_secinfo_args *si, int flags, struct nfsm_chain *nmrepp, u_int64_t *xidp, int *status) argument
4241 nfs_request_async( nfsnode_t np, mount_t mp, struct nfsm_chain *nmrest, int procnum, thread_t thd, kauth_cred_t cred, struct nfsreq_secinfo_args *si, int flags, struct nfsreq_cbinfo *cb, struct nfsreq **reqp) argument
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dndrv.c90 static int ndrv_setspec(struct ndrv_cb *np, struct sockopt *sopt);
94 static int ndrv_do_add_multicast(struct ndrv_cb *np, struct sockopt *sopt);
95 static int ndrv_do_remove_multicast(struct ndrv_cb *np, struct sockopt *sopt);
96 static struct ndrv_multiaddr* ndrv_have_multicast(struct ndrv_cb *np, struct sockaddr* addr);
97 static void ndrv_remove_all_multicast(struct ndrv_cb *np);
132 struct ndrv_cb *np = sotondrvcb(so); local
133 struct ifnet *ifp = np->nd_if;
137 kprintf("NDRV output: %x, %x, %x\n", m, so, np);
153 result = ifnet_output_raw(ifp, np->nd_proto_family, m);
170 struct ndrv_cb *np; local
214 struct ndrv_cb *np = sotondrvcb(so); local
255 struct ndrv_cb *np = sotondrvcb(so); local
275 struct ndrv_cb *np = sotondrvcb(so); local
321 struct ndrv_cb *np; local
391 struct ndrv_cb *np = sotondrvcb(so); local
438 struct ndrv_cb *np = sotondrvcb(so); local
450 struct ndrv_cb *np = sotondrvcb(so); local
472 struct ndrv_cb *np = sotondrvcb(so); local
496 struct ndrv_cb *np = sotondrvcb(so); local
532 ndrv_do_detach(struct ndrv_cb *np) argument
583 ndrv_do_disconnect(struct ndrv_cb *np) argument
658 ndrv_setspec(struct ndrv_cb *np, struct sockopt *sopt) argument
803 ndrv_delspec(struct ndrv_cb *np) argument
821 struct ndrv_cb* np; local
847 struct ndrv_cb* np; local
886 ndrv_do_add_multicast(struct ndrv_cb *np, struct sockopt *sopt) argument
939 ndrv_do_remove_multicast(struct ndrv_cb *np, struct sockopt *sopt) argument
1013 ndrv_have_multicast(struct ndrv_cb *np, struct sockaddr* inAddr) argument
1031 ndrv_remove_all_multicast(struct ndrv_cb* np) argument
[all...]
H A Dbpf_filter.c125 register u_char *cp, *np; local
145 np = mtod(m0, u_char *);
151 ((u_int32_t)np[0] << 16) |
152 ((u_int32_t)np[1] << 8) |
153 (u_int32_t)np[2];
159 ((u_int32_t)np[0] << 8) |
160 (u_int32_t)np[1];
167 (u_int32_t)np[0];
H A Dkext_net.c138 nke_insert(struct socket *so, struct so_nke *np) argument
143 if (np->nke_where != NULL)
144 { if ((nf2 = find_nke(np->nke_where)) == NULL)
150 if ((nf1 = find_nke(np->nke_handle)) == NULL)
157 if (np->nke_flags & NFF_BEFORE)
H A Dradix.c561 u_char *mp = m_arg, *np = n_arg, *lim; local
563 if (*mp > *np)
565 if (*mp == *np)
567 if (*mp++ > *np++)
/darwin-on-arm/xnu/bsd/netinet6/
H A Dipcomp_core.c176 struct mbuf *n = NULL, *n0 = NULL, **np; local
188 *np = n; \
189 np = &n->m_next; \
209 if (*np == NULL) { \
241 np = &n0;
337 *np = n;
338 np = &n->m_next;
H A Dip6_input.c1560 struct mbuf **np; local
1565 np = ip6_savecontrol_v4(in6p, m, mp, &v4only);
1566 if (np == NULL)
1569 mp = np;
/darwin-on-arm/xnu/SETUP/config/
H A Dmkmakefile.c904 char *np, och; local
915 cp = (np = ftp->f_fn) + strlen(ftp->f_fn) - 1;
925 if ((np[0] == '.') && (np[1] == '/')) {
927 np += 2;
931 tp = tail(np); /* dvw: init tp before 'if' */
934 tp, np, source_dir, (int)(tp-np), np);
937 fprintf(f, "%so: %s%s%c\n", tp, source_dir, np, oc
[all...]
H A Dmkioconf.c75 register struct device *dp, *mp, *np; local
158 np = mp->d_conn;
159 if (np == 0 || np == TO_NEXUS ||
160 !eq(np->d_name, "mba"))
250 np = mp->d_conn;
251 if (np != 0 && np != TO_NEXUS && eq(np->d_name, "mba"))
253 np
1241 register struct device *dp, *mp, *np; local
[all...]
H A Dparser.y812 register struct device *np;
814 np = (struct device *) malloc(sizeof *np);
815 *np = *dp;
817 dtab = np;
819 curp->d_next = np;
820 curp = np;
/darwin-on-arm/xnu/bsd/netat/
H A Dadsp_Close.c265 register struct adspcmd *pb, *np; local
285 np = sp->opb; /* Get list of close/removes to complete */
288 while ((pb = np)) { /* Handle all of the close/remove param blks */
289 np = (struct adspcmd *)pb->qLink; /* Get next guy (if any) */
/darwin-on-arm/xnu/bsd/kern/
H A Duipc_mbuf.c3634 struct mbuf **np, *top; local
3654 np = &top;
3707 *np = m;
3709 np = &m->m_nextpkt;
3711 np = &m->m_next;
3754 struct mbuf **np, *top, *first = NULL; local
3767 np = &top;
3871 *np = m;
3872 np = &m->m_nextpkt;
4028 *np
4115 struct mbuf **np, *top; local
4394 struct mbuf *n, *mhdr = NULL, **np; local
4486 struct mbuf *n, **np = NULL; local
5446 struct mbuf *n, **np; local
[all...]
H A Dsys_generic.c2288 struct eventqelt *np = NULL; local
2341 np = ((struct socket *)fp->f_data)->so_evlist.tqh_first;
2345 np = ((struct pipe *)fp->f_data)->pipe_evlist.tqh_first;
2362 for ( ; np != NULL; np = np->ee_slist.tqe_next) {
2363 if (np->ee_proc == p) {
H A Dkern_proc.c1036 proc_t np = PROC_NULL; local
1048 if ((np = proc_find(savepid)) == NULL || np != p) {
1049 if (np != PROC_NULL)
1050 proc_rele(np);
1058 proc_rele(np);
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_mroute.c1785 struct mbuf **np; local
1790 np = &t->tbf_q;
1792 while ((m = *np) != NULL) {
1794 *np = m->m_act;
1806 np = &m->m_act;

Completed in 293 milliseconds

12