HomeSort by: relevance | last modified time | path
    Searched refs:LOOKUP (Results 1 - 25 of 56) sorted by relevancy

1 2 3

  /src/usr.bin/rdist/
lookup.c 1 /* $NetBSD: lookup.c,v 1.9 2009/04/13 04:35:36 lukem Exp $ */
35 static char sccsid[] = "@(#)lookup.c 8.1 (Berkeley) 6/9/93";
37 __RCSID("$NetBSD: lookup.c,v 1.9 2009/04/13 04:35:36 lukem Exp $");
114 (void) lookup(name, REPLACE, value);
118 * Lookup name in the table and return a pointer to it.
119 * LOOKUP - just do lookup, return NULL if not found.
125 lookup(char *name, int action, struct namelist *value) function in typeref:struct:namelist *
133 printf("lookup(%s, %d, %lx)\n", name, action, (long)value);
143 if (action != LOOKUP) {
    [all...]
defs.h 96 /* actions for lookup() */
97 #define LOOKUP 0
169 lookup(char *, int, struct namelist *);
  /src/sys/kern/
subr_emul.c 132 NDINIT(&nd, LOOKUP, flags, pb);
tty_bsdpty.c 135 NDINIT(&nd, LOOKUP, NOFOLLOW|LOCKLEAF, pb);
vfs_lookup.c 409 * call lookup to search path.
424 * The flag argument is LOOKUP, CREATE, RENAME, or DELETE depending on
435 * Overall outline of lookup:
462 int rdonly; /* lookup read-only flag bit */
667 * directory for lookup, and lock it. Also calls ktrace when
1033 * Determine the desired locking mode for the directory of a lookup.
1041 * we are not making any modifications (nameiop LOOKUP) or this is
1047 (cnp->cn_nameiop == LOOKUP || (cnp->cn_flags & ISLASTCN) == 0)) {
1055 * Call VOP_LOOKUP for a single lookup; return a new search directory
1175 * If ENOLCK, the file system needs us to retry the lookup
    [all...]
vfs_getcwd.c 130 * Next, get parent vnode using lookup of ..
132 cn.cn_nameiop = LOOKUP;
307 * - getdirentries or lookup fails
vfs_cache.c 84 * can trivially be made to support lockless lookup.
103 * minimal in the lookup path; no hash table buckets to cache.
151 * From a performance perspective, cache_lookup(nameiop == LOOKUP) is
155 * therefore want to make everything simplest in the lookup path.
176 * used during forward lookup)
179 * used during reverse lookup)
322 SDT_PROBE_DEFINE3(vfs, namecache, lookup, hit, "struct vnode *",
324 SDT_PROBE_DEFINE3(vfs, namecache, lookup, miss, "struct vnode *",
326 SDT_PROBE_DEFINE3(vfs, namecache, lookup, toolong, "struct vnode *",
441 * Search the RB tree for the key. This is an inlined lookup
    [all...]
vfs_syscalls.c 688 NDINIT(&nd, LOOKUP, NOFOLLOW | LOCKLEAF | TRYEMULROOT, pb);
1729 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | LOCKSHARED | TRYEMULROOT, pb);
2006 * vfs_fhtovp: lookup a vnode by a filehandle.
2115 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb);
3186 NDINIT(&nd, LOOKUP, nd_flag, pb);
3265 NDINIT(&nd, LOOKUP, nd_flag | LOCKLEAF | TRYEMULROOT, pb);
3357 NDINIT(&nd, LOOKUP, flag | LOCKLEAF | TRYEMULROOT, pb);
3432 NDINIT(&nd, LOOKUP, NOFOLLOW | LOCKLEAF | LOCKSHARED | TRYEMULROOT,
4456 * Lookup from.
4467 * Pull out the important results of the lookup, fdvp and fvp
    [all...]
  /src/sys/fs/filecorefs/
filecore_lookup.c 89 * The flag argument is LOOKUP, CREATE, RENAME, or DELETE depending on
94 * exists, lookup returns both the target and its parent directory locked.
116 * NOTE: (LOOKUP | LOCKPARENT) currently returns the parent inode unlocked.
185 if (nameiop != LOOKUP || dp->i_diroff == 0 ||
257 if ((flags & ISLASTCN) && nameiop == LOOKUP)
  /src/sys/compat/netbsd32/
netbsd32_fd.c 77 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb);
  /src/sys/fs/nilfs/
nilfs_vnops.c 399 * asynchronously from the nilfs device. Note that this lookup may
627 DPRINTF(LOOKUP, ("nilfs_lookup called\n"));
639 DPRINTF(LOOKUP, ("\taccess ok\n"));
643 * filingsystem, reject lookup; XXX why is this repeated in every FS ?
648 DPRINTF(LOOKUP, ("\tlooking up cnp->cn_nameptr '%s'\n",
656 DPRINTF(LOOKUP, ("\tNOT found in cache\n"));
666 DPRINTF(LOOKUP, ("\tlookup '.'\n"));
673 DPRINTF(LOOKUP, ("\tlookup '..'\n"));
686 DPRINTF(LOOKUP, ("\tfound '..'\n"));
691 DPRINTF(LOOKUP,
    [all...]
  /src/sys/fs/unionfs/
unionfs_vfsops.c 176 NDINIT(ndp, LOOKUP, FOLLOW | LOCKLEAF, pb);
228 fakecn.cn_nameiop = LOOKUP;
229 error = VOP_WHITEOUT(ump->um_uppervp, &fakecn, LOOKUP);
unionfs_vnops.c 141 * If read-only and op is not LOOKUP, will return EROFS.
145 LOOKUP != nameiop)
149 * lookup dotdot
152 if (LOOKUP != nameiop && udvp == NULLVP)
196 * lookup upper layer
216 iswhiteout = 1; /* don't lookup lower */
220 iswhiteout = 1; /* don't lookup lower */
227 * lookup lower layer
230 /* always op is LOOKUP */
231 cnp->cn_nameiop = LOOKUP;
    [all...]
  /src/sys/miscfs/nullfs/
null_vfsops.c 130 NDINIT(&nd, LOOKUP, FOLLOW|LOCKLEAF, pb);
  /src/sys/fs/udf/
udf_vnops.c 676 DPRINTF(LOOKUP, ("udf_lookup called, lookup `%s`\n",
689 DPRINTF(LOOKUP, ("\taccess ok\n"));
693 * filingsystem, reject lookup; XXX why is this repeated in every FS ?
698 DPRINTF(LOOKUP, ("\tlooking up cnp->cn_nameptr '%s'\n",
706 DPRINTF(LOOKUP, ("\tNOT found in cache\n"));
716 DPRINTF(LOOKUP, ("\tlookup '.'\n"));
728 DPRINTF(LOOKUP, ("\tlookup '..'\n"));
749 DPRINTF(LOOKUP, ("\tfound '..'\n"));
755 DPRINTF(LOOKUP,
    [all...]
  /src/sys/fs/cd9660/
cd9660_lookup.c 66 * The flag argument is LOOKUP, CREATE, RENAME, or DELETE depending on
70 * If the target of the pathname exists, lookup returns both the target
155 /* May need to restart the lookup with an exclusive lock. */
182 if (nameiop != LOOKUP || dp->i_diroff == 0 ||
354 if ((flags & ISLASTCN) && nameiop == LOOKUP)
  /src/usr.bin/nfsstat/
nfsstat.c 79 (MASK(GETATTR) | MASK(SETATTR) | MASK(LOOKUP) | MASK(READ) | \
89 {MASK(LOOKUP), "Lookup"},
224 "null", "getattr", "setattr", "lookup", "access");
311 "null", "getattr", "setattr", "lookup", "access");
  /src/sys/fs/union/
union_vfsops.c 215 .cn_nameiop = LOOKUP,
220 error = VOP_WHITEOUT(um->um_uppervp, &nullcn, LOOKUP);
248 * of lookup() which explicitly checks the flag, rather than asking
  /src/sys/sys/
namei.h 89 * Lookup parameters: this structure describes the subset of
95 * Arguments to lookup.
101 * Shared between lookup and commit routines.
112 * Arguments to namei/lookup.
118 * Arguments to lookup.
123 * Results: returned from/manipulated by lookup
128 * Shared between namei and lookup/commit routines.
134 * Lookup parameters: this structure describes the subset of
144 #define LOOKUP 0 /* perform name lookup only *
    [all...]
namei.src 81 * Lookup parameters: this structure describes the subset of
87 * Arguments to lookup.
93 * Shared between lookup and commit routines.
104 * Arguments to namei/lookup.
110 * Arguments to lookup.
115 * Results: returned from/manipulated by lookup
120 * Shared between namei and lookup/commit routines.
126 * Lookup parameters: this structure describes the subset of
136 NAMEIFL LOOKUP 0 /* perform name lookup only *
    [all...]
  /src/sys/miscfs/umapfs/
umap_vfsops.c 127 NDINIT(&nd, LOOKUP, FOLLOW|LOCKLEAF, pb);
  /src/sys/compat/common/
vfs_syscalls_30.c 363 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb);
  /src/sys/fs/efs/
efs_vfsops.c 204 NDINIT(&devnd, LOOKUP, FOLLOW | LOCKLEAF, pb);
  /src/sys/ufs/ext2fs/
ext2fs_lookup.c 247 * The cnp->cn_nameiop argument is LOOKUP, CREATE, RENAME, or DELETE depending
252 * exists, lookup returns both the target and its parent directory locked.
337 /* May need to restart the lookup with an exclusive lock. */
342 * Produce the auxiliary lookup results into i_crap. Increment
375 if (nameiop != LOOKUP || results->ulr_diroff == 0 ||
392 * Try to lookup dir entry using htree directory index.
621 if ((flags & ISLASTCN) && nameiop == LOOKUP)
  /src/sys/ufs/lfs/
ulfs_lookup.c 86 * The cnp->cn_nameiop argument is LOOKUP, CREATE, RENAME, or DELETE depending
91 * exists, lookup returns both the target and its parent directory locked.
189 /* May need to restart the lookup with an exclusive lock. */
194 * Produce the auxiliary lookup results into i_crap. Increment
206 * been invalidated by the lookup. It is not clear if
280 if (nameiop != LOOKUP || results->ulr_diroff == 0 ||
533 if ((flags & ISLASTCN) && nameiop == LOOKUP)
731 * ULR is the ulfs_lookup_results structure from the final lookup step.
733 * CNP is the componentname from the final lookup step.
963 * ULR is the ulfs_lookup_results structure from the final lookup step
    [all...]

Completed in 53 milliseconds

1 2 3