/xnu-2422.115.4/bsd/net/ |
H A D | if_pflog.c | 319 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 D | pf.c | 3694 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 D | route.c | 189 * 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 D | pfvar.h | 1403 } lookup; member in struct:pf_pdesc
|
/xnu-2422.115.4/bsd/hfs/ |
H A D | hfs_lookup.c | 143 #% 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 D | hfs_cnode.c | 411 /* 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 D | pipe.c | 95 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 D | namei.h | 95 * 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 D | kdebug.h | 353 #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 D | vfs_lookup.c | 145 * 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 D | vfs_xattr.c | 830 * 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 D | kpi_vfs.c | 1584 /* 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 D | dis_tables.c | 3552 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 D | nfs_serv.c | 587 * 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 D | nfs_subs.c | 2056 * 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 D | nd6.c | 1766 log(LOG_DEBUG, "%s: failed to lookup %s " 2055 * during the lookup. 3292 goto lookup; 3308 lookup:
|