Searched refs:ni (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.41.6/bsd/nfs/ |
| H A D | nfs_serv.c | 668 struct nameidata ni; in nfsrv_lookup() local 690 NDINIT(&ni, LOOKUP, OP_LOOKUP, LOCKLEAF | CN_FIRMLINK_NOFOLLOW, UIO_SYSSPACE, 0, ctx); in nfsrv_lookup() 691 error = nfsm_chain_get_path_namei(nmreq, len, &ni); in nfsrv_lookup() 692 isdotdot = ((len == 2) && (ni.ni_cnd.cn_pnbuf[0] == '.') && (ni.ni_cnd.cn_pnbuf[1] == '.')); in nfsrv_lookup() 694 error = nfsrv_namei(nd, ctx, &ni, &dnfh, &dirp, &nx, &nxo); in nfsrv_lookup() 702 if (!error && mac_vnode_check_open(ctx, ni.ni_vp, FREAD)) { in nfsrv_lookup() 709 if (ni.ni_vp) { in nfsrv_lookup() 710 vnode_put(ni.ni_vp); in nfsrv_lookup() 711 ni.ni_vp = NULL; in nfsrv_lookup() 725 nameidone(&ni); in nfsrv_lookup() [all …]
|
| /xnu-12377.41.6/bsd/kern/ |
| H A D | sys_generic.c | 1284 u_int ni, nw; in select_internal() local 1301 ni = nw * sizeof(fd_mask); in select_internal() 1312 if (sel->nbytes >= (3 * ni)) { in select_internal() 1314 } else if (!select_grow_uthread_cache(sel, 3 * ni)) { in select_internal() 1322 (uap->name ? copyin(uap->name, &sel->ibits[(x) * nw], ni) : 0) in select_internal() 1479 uint32_t ni = nw * sizeof(fd_mask); in selprocess() local 1482 (uap->name ? copyout(&sel->obits[(x) * nw], uap->name, ni) : 0) in selprocess() 1702 size_t ni = nfds * sizeof(struct pollfd); in poll_nocancel() local 1722 fds = (struct pollfd *)kalloc_data(ni, Z_WAITOK); in poll_nocancel() 1847 kfree_data(fds, ni); in poll_nocancel()
|