Home
last modified time | relevance | path

Searched refs:cnflags (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/kern/
H A Dvfs_cache.c532 uint32_t nameiop, uint32_t cnflags, in cache_lookup()
562 if ((cnflags & ISLASTCN) != 0 && in cache_lookup()
563 ((cnflags & MAKEENTRY) == 0 || nameiop == CREATE)) { in cache_lookup()
579 if (__predict_false((cnflags & MAKEENTRY) == 0)) { in cache_lookup()
585 KASSERT((cnflags & ISLASTCN) != 0); in cache_lookup()
600 if (nameiop == CREATE && (cnflags & ISLASTCN) != 0) { in cache_lookup()
643 uint32_t cnflags, in cache_lookup_raw()
647 return cache_lookup(dvp, name, namelen, LOOKUP, cnflags | MAKEENTRY, in cache_lookup_raw()
916 const char *name, size_t namelen, uint32_t cnflags) in cache_enter()
925 if ((cnflags in cache_enter()
530 cache_lookup(struct vnode * dvp,const char * name,size_t namelen,uint32_t nameiop,uint32_t cnflags,int * iswht_ret,struct vnode ** vn_ret) cache_lookup() argument
641 cache_lookup_raw(struct vnode * dvp,const char * name,size_t namelen,uint32_t cnflags,int * iswht_ret,struct vnode ** vn_ret) cache_lookup_raw() argument
911 cache_enter(struct vnode * dvp,struct vnode * vp,const char * name,size_t namelen,uint32_t cnflags) cache_enter() argument
[all...]
/netbsd-src/sys/fs/unionfs/
H A Dunionfs_vnops.c117 u_long cnflags, cnflagsbk; in unionfs_lookup() local
127 cnflags = cnp->cn_flags; in unionfs_lookup()
135 …BUG("unionfs_lookup: enter: nameiop=%ld, flags=%lx, path=%s\n", nameiop, cnflags, cnp->cn_nameptr); in unionfs_lookup()
143 if ((cnflags & ISLASTCN) && in unionfs_lookup()
151 if (cnflags & ISDOTDOT) { in unionfs_lookup()
229 if (ldvp != NULLVP && !(cnflags & DOWHITEOUT) && iswhiteout == 0) { in unionfs_lookup()
233 cnp->cn_flags = cnflags; in unionfs_lookup()
/netbsd-src/sys/fs/nfs/server/
H A Dnfs_nfsdserv.c1160 u_long *hashp, cnflags; in nfsrvd_mknod() local
1164 cnflags = (LOCKPARENT | SAVESTART); in nfsrvd_mknod()
1199 cnflags = (LOCKPARENT | SAVENAME); in nfsrvd_mknod()
1210 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, CREATE, cnflags | NOCACHE); in nfsrvd_mknod()