Lines Matching defs:alloc
1802 * If not found and "alloc" is set, then allocate a new one.
1805 nfs_open_owner_find(struct nfsmount *nmp, kauth_cred_t cred, int alloc)
1817 if (!noop && !newnoop && alloc) {
1971 * If not found and "alloc" is set, then allocate one.
1980 int alloc)
1983 return nfs_open_file_find_internal(np, noop, nofpp, accessMode, denyMode, alloc);
1998 int alloc)
2003 goto alloc;
2023 if (!nofp && !*nofpp && !newnofp && alloc) {
2025 alloc:
2053 if (alloc && newnofp && (nofp != newnofp))
2941 * If not found and "alloc" is set, then allocate a new one.
2944 nfs_lock_owner_find(nfsnode_t np, proc_t p, int alloc)
2969 if (!nlop && !newnlop && alloc) {
4317 /* find the lock owner, alloc if not unlock */