Searched refs:lookup (Results 1 - 16 of 16) sorted by relevance

/xnu-2422.115.4/bsd/net/
H A Dif_pflog.c319 if (rm->log & PF_LOG_SOCKET_LOOKUP && !pd->lookup.done)
320 pd->lookup.done = pf_socket_lookup(dir, pd);
321 if (pd->lookup.done > 0) {
322 hdr.uid = pd->lookup.uid;
323 hdr.pid = pd->lookup.pid;
H A Dpf.c3694 pd->lookup.uid = UID_MAX;
3695 pd->lookup.gid = GID_MAX;
3696 pd->lookup.pid = NO_PID;
3732 0, &pd->lookup.uid, &pd->lookup.gid, NULL);
3748 &d6, dport, 0, &pd->lookup.uid, &pd->lookup.gid, NULL);
3751 daddr->v4, dport, INPLOOKUP_WILDCARD, &pd->lookup.uid, &pd->lookup.gid, NULL);
3755 &pd->lookup
[all...]
H A Droute.c189 * RT_ADDREF after the lookup has returned an entry.
942 * have from lookup above will do. Return that;
951 * We cloned it; drop the original route found during lookup.
1048 * since it is possible that another thread doing a lookup wins
1380 * or the the lookup failed. This is necessary for hosts
2089 * a lookup from returning the newly-created route. Hence
2726 * Common routine to lookup/match a route. It invokes the lookup/matchaddr
2728 * between the two (at least for AF_INET/AF_INET6) is that a lookup does
2742 * When a scoped route lookup i
[all...]
H A Dpfvar.h1403 } lookup; member in struct:pf_pdesc
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_lookup.c143 #% lookup dvp L ? ?
144 #% lookup vpp - L -
270 * the name if their lookup is configured differently.
276 /* A reserved name for a pure lookup is the same as the path not being present */
363 * If this was a create/rename operation lookup, then by this point
380 * If this was a straight lookup operation, we may need to redrive the entire
381 * lookup starting from cat_lookup if the element was deleted as the result of
387 * we just re-try the lookup to ensure the caller gets the most recent element.
399 /* Also, re-drive the lookup if the item we looked up was a hardlink, and the number
405 * it needs to occur regardless of the type of lookup w
[all...]
H A Dhfs_cnode.c411 /* Initialize the rsrc descriptor for lookup if necessary*/
1066 * subject to a race where the calling thread invoked cat_lookup, got a valid lookup
1070 * not yet have been a hardlink when the lookup occurred.
1089 * force a re-drive in the lookup routine.
1119 * item. We are not susceptible to the lookup fastpath issue at this point.
1183 * lookup re-drive itself to get valid/consistent data with the same failure condition below.
1460 * go through lookup again, which will need to create a new vnode. Thus,
1511 int lookup = 0; local
1535 lookup = cat_lookup (hfsmp, &cndesc, 0, 0, NULL, &attr, &fork, NULL);
1537 if ((lookup
[all...]
/xnu-2422.115.4/tools/tests/libMicro/
H A Dpipe.c95 int lookup(char *x, char *names[]);
123 x = lookup(optarg, modes);
132 x = lookup(optarg, xports);
554 lookup(char *x, char *names[]) function
/xnu-2422.115.4/bsd/sys/
H A Dnamei.h95 * Arguments to namei/lookup.
103 * Arguments to lookup.
109 * Results: returned from/manipulated by lookup
114 * Shared between namei and lookup/commit routines.
126 #define NAMEI_CONTLOOKUP 0x002 /* Continue processing a lookup which was partially processed in a compound VNOP */
128 #define NAMEI_UNFINISHED 0x008 /* We broke off a lookup to do a compound op */
132 * supports in the decision to break off a lookup early.
157 * name in ni_startdir. It allows repeated calls to lookup for the
163 #define RDONLY 0x00000200 /* lookup with read-only semantics */
165 #define DONOTAUTH 0x00000800 /* do not authorize during lookup */
[all...]
H A Dkdebug.h353 #define DBG_FSLOOOKUP 4 /* namei and other lookup-related operations */
675 extern void kdebug_lookup_gen_events(long *dbg_parms, int dbg_namelen, void *dp, boolean_t lookup);
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_lookup.c145 * call lookup to search path.
155 * lookup:EBADF Bad file descriptor
156 * lookup:EROFS
157 * lookup:EACCES
158 * lookup:EPERM
159 * lookup:ERECYCLE vnode was recycled from underneath us in lookup.
160 * This means we should re-drive lookup from this point.
161 * lookup: ???
216 panic("We need to keep going on a continued lookup, bu
906 lookup(struct nameidata *ndp) function
1692 kdebug_lookup_gen_events(long *dbg_parms, int dbg_namelen, void *dp, boolean_t lookup) argument
[all...]
H A Dvfs_xattr.c830 * post-lookup. Retry from the beginning, 1x only, to
1104 * and it has an iocount from the lookup. Return the vp in the output argument.
2433 goto lookup;
2458 * Note that the lookup here does not authorize. Since we are looking
2465 lookup:
H A Dkpi_vfs.c1584 /* From lookup(): || *ndp->ni_next == '/') No need for this, we know we're NULL-terminated here */
2725 *#% lookup dvp L ? ?
2726 *#% lookup vpp - L -
2750 * Note: The return codes from the underlying VFS's lookup routine can't
2773 DTRACE_FSINFO(lookup, vnode_t, *vpp);
3802 * Either we got an invalid vnode type (not a regular file) or the namei lookup
/xnu-2422.115.4/bsd/dev/i386/
H A Ddis_tables.c3552 int (*lookup)(void *, uint64_t, char *, size_t);
3579 * unsignedness for symbol lookup.
3673 lookup = dis->d86_sym_lookup;
3676 lookup(dis->d86_data, tgt, NULL, 0) == 0) {
3679 lookup(dis->d86_data, tgt, buf + curlen,
3701 lookup(dis->d86_data, reltgt, buf + curlen,
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_serv.c587 * nfs lookup rpc
2024 while ((error = lookup(&ni)) == ERECYCLE) {
2285 while ((error = lookup(&ni)) == ERECYCLE) {
2836 * then finally start the lookup
3406 while ((error = lookup(&ni)) == ERECYCLE) {
4274 /* Got to get the vnode for lookup per entry. */
H A Dnfs_subs.c2056 * Extract a lookup path from the given mbufs and store it in
2104 * Set up nameidata for a lookup() call and do it.
2148 * And call lookup() to do the real work
2151 while ((error = lookup(nip)) == ERECYCLE) {
3062 while ((error = lookup(&xnd)) == ERECYCLE) {
/xnu-2422.115.4/bsd/netinet6/
H A Dnd6.c1766 log(LOG_DEBUG, "%s: failed to lookup %s "
2055 * during the lookup.
3292 goto lookup;
3308 lookup:

Completed in 149 milliseconds