/darwin-on-arm/xnu/bsd/netat/ |
H A D | adsp_misc.c | 106 * void* qfind_m(void *qhead, void NPTR match, ProcPtr compare_fnx) 115 * match 123 void* qfind_m(qhead, match, compare_fnx) 125 void *match; 131 if ((*compare_fnx)(queue_item,match))
|
H A D | adsp_Packet.c | 107 * What to match on (local socket, whole address, DestCID, SrcCID) 116 u_char match; /* Characteristics that have to match member in struct:__anon316 410 unsigned char match; local 420 match = m->t->match; /* Get match criteria */ 422 if (match & M_IGNORE) /* Ignore this combination */ 425 if (match & M_LSOC) { /* Match on Local socket */ 430 if (match [all...] |
H A D | adsp_internal.h | 331 void *qfind_m(CCBPtr qhead, void *match, ProcPtr compare_fnx);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_media.c | 197 struct ifmedia_entry *match; local 199 match = ifmedia_match(ifm, target, ifm->ifm_mask); 201 if (match == NULL) { 202 printf("ifmedia_set: no match for 0x%x/0x%x\n", 206 ifm->ifm_cur = match; 228 struct ifmedia_entry *match; local 246 match = ifmedia_match(ifm, newmedia, ifm->ifm_mask); 247 if (match == NULL) { 262 * Similarly, if best match changed (kernel debugger?). 266 (match 391 struct ifmedia_entry *match, *next; local [all...] |
H A D | ndrv.c | 110 * Verify these values match. 113 * match or a conversion function must be written. 116 #error NDRV_DEMUXTYPE_ETHERTYPE must match DLIL_DESC_ETYPE2 119 #error NDRV_DEMUXTYPE_SAP must match DLIL_DESC_SAP 122 #error NDRV_DEMUXTYPE_SNAP must match DLIL_DESC_SNAP 1022 // Found a match
|
H A D | pf.c | 2588 * Return 1 if the addresses a and b match (with mask m), otherwise return 0. 2589 * If n is 0, they match if they are equal. If n is != 0, they match if they 2596 int match = 0; local 2603 match++; 2616 match++; 2620 if (match) { 2798 struct pf_rule **r, struct pf_rule **a, int *match) 2802 (*r)->anchor->match = 0; 2803 if (match) 2797 pf_step_into_anchor(int *depth, struct pf_ruleset **rs, int n, struct pf_rule **r, struct pf_rule **a, int *match) argument 2832 pf_step_out_of_anchor(int *depth, struct pf_ruleset **rs, int n, struct pf_rule **r, struct pf_rule **a, int *match) argument 4021 int match = 0; local 5106 int match = 0; local 5361 int match = 0; local [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | kpi_ipfilter.c | 165 struct ipfilter *match = (struct ipfilter*)filter_ref; local 168 if (match == 0 || (match->ipf_head != &ipv4_filters && match->ipf_head != &ipv6_filters)) 171 head = match->ipf_head; 174 TAILQ_FOREACH(match, head, ipf_link) { 175 if (match == (struct ipfilter*)filter_ref) { 176 ipf_detach_func ipf_detach = match->ipf_filter.ipf_detach; 177 void* cookie = match->ipf_filter.cookie; 184 TAILQ_INSERT_TAIL(&tbr_filters, match, ipf_tb [all...] |
H A D | ip_encap.c | 82 * The code will let you match protocol via src/dst address pair. 165 struct encaptab *ep, *match; local 192 match = NULL; 203 * it's inbound traffic, we need to match in reverse 215 * 0 or negative return value means "it did not match". 225 * to get the best match - the search takes O(n) for 232 match = ep; 236 if (match) { 237 /* found a match, "match" ha 272 struct encaptab *ep, *match; local [all...] |
H A D | ip_fw2.c | 218 * obey the 'randomized match', and we do not do multiple 968 if (ifp == NULL) /* no iface with this packet, match fails */ 971 if (cmd->name[0] != '\0') { /* match by name */ 992 return(1); /* match */ 998 return(0); /* no match, fail ... */ 1860 * This never returns NULL -- in case we do not have an exact match, 2155 int match; local 2168 * The first match will set "skip_or", and cause 2177 match = 0; /* set to 1 if we succeed */ 2182 * fields with some pattern, setting 'match' i 2727 flush_pipe_ptrs(struct dn_flow_set *match) argument [all...] |
H A D | ip_fw2.h | 174 O_PROB, /* u32 = match probability */ 211 * F_NOT negates the match result of the instruction. 216 * instruction of the block. A match will cause the code 285 * This is used for interface match rules (recv xx, xmit xx). 386 u_int32_t timestamp; /* tv_sec of last match */ 437 u_int64_t pcnt; /* packet match counter */ 438 u_int64_t bcnt; /* byte match counter */ 458 u_int64_t pcnt; /* packet match counter */ 459 u_int64_t bcnt; /* byte match counter */ 520 u_int32_t timestamp; /* tv_sec of last match */ [all...] |
H A D | in_arp.c | 1141 goto match; 1156 goto match; 1183 goto match; 1191 * No match, use the first inet address on the receive interface 1207 goto match; 1218 match:
|
H A D | in.c | 1241 * EADDRNOTAVAIL on prefix match failed/specified address not found 1310 struct in_addr match = { 0 }; local 1320 match.s_addr = sin->sin_addr.s_addr; 1321 match.s_addr &= mask.s_addr; 1324 if (match.s_addr != sin->sin_addr.s_addr) 1330 /* on getting an address, take the 1st match */ 1333 /* on deleting an address, do exact match */ 1336 match.s_addr = sin->sin_addr.s_addr; 1356 if (candidate.s_addr == match.s_addr) 1765 * Look through the list of addresses for a match [all...] |
H A D | in_pcb.c | 369 /* Check if we found a match but it's waiting to be disposed */ 1095 * modified to match the pru_sockaddr() and pru_peeraddr() entry points 1305 struct inpcb *match = NULL; local 1341 match = inp; 1349 KERNEL_DEBUG(DBG_FNC_PCB_LOOKUP | DBG_FUNC_END, match,0,0,0,0); 1350 return (match); 1384 * First look for an exact match. 1516 * First look for an exact match. 1985 * exact match for the embedded interface scope.
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | mtrr.c | 195 boolean_t match = TRUE; local 200 match = range[0].types == rdmsr64(MSR_IA32_MTRR_FIX64K_00000) && 203 for (i = 0; match && i < 8; i++) { 204 match = range[3 + i].types == 208 return match; 215 boolean_t match = TRUE; local 219 for (i = 0; match && i < count; i++) { 220 match = range[i].base == rdmsr64(MSR_IA32_MTRR_PHYSBASE(i)) && 224 return match; 424 boolean_t match local [all...] |
H A D | cpu_threads.c | 607 x86_cpu_cache_t *match; local 644 * this level, we'll just skip looking for the match. 679 match = x86_match_cache(cur_lcpu->caches[level], cur); 680 if (match != NULL) { 682 x86_cache_add_lcpu(match, lcpu); 708 match = x86_match_cache(cur_lcpu->caches[level], cur); 709 if (match != NULL) { 711 x86_cache_add_lcpu(match, lcpu);
|
/darwin-on-arm/xnu/libkern/zlib/ |
H A D | deflate.c | 45 * string matches are performed only when the previous match ends. So it 49 * is used to find longer strings when a small match has been found. 124 local void check_match OF((deflate_state *s, IPos start, IPos match, 151 ush good_length; /* reduce lazy search above this match length */ 152 ush max_lazy; /* do not perform lazy search above this match length */ 153 ush nice_length; /* quit search above this match length */ 1013 * Initialize the "longest match" routines for a new zlib stream 1044 * Set match_start to the longest match starting at the given string and 1050 * OUT assertion: the match length is not greater than s->lookahead. 1053 /* For 80x86 and 680x0, an optimized version will be provided in match 1062 register Bytef *match; /* matched string */ local 1209 register Bytef *match; /* matched string */ local [all...] |
/darwin-on-arm/xnu/tools/ |
H A D | symbolify.py | 13 m = nm_re.match(str)
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOService.cpp | 2604 OSDictionary * match = 0; local 2642 } else if( !(match = OSDynamicCast( OSDictionary, nextMatch ))) { 2650 debugFlags = getDebugFlags( match ); 2655 match->getObject( gIOMatchCategoryKey )); 2662 LOG("%s: match category %s exists\n", getName(), 2675 props = OSDictionary::withDictionary( match, match->getCount()); 2685 needReloc = (false == gIOCatalogue->isModuleLoaded( match )); 2756 // give the driver the default match category if not specified 2793 // add to start list for the match categor 3529 bool match; local 4612 bool match = true; local 4765 bool match = true; local [all...] |
/darwin-on-arm/xnu/iokit/bsddev/ |
H A D | IOKitBSDInit.cpp | 75 IOService * match = 0; local 83 match = IOService::waitForMatchingService( dict, timeout ); 84 if ( match) 91 if( match) 92 match->release(); 366 // match the boot-args boot-uuid processing below
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6.c | 2210 * EADDRNOTAVAIL on prefix match failed/specified address not found 2365 struct in6_addr mask, candidate, match; local 2375 bcopy(&sin6->sin6_addr, &match, sizeof(match)); 2376 match.s6_addr32[0] &= mask.s6_addr32[0]; 2377 match.s6_addr32[1] &= mask.s6_addr32[1]; 2378 match.s6_addr32[2] &= mask.s6_addr32[2]; 2379 match.s6_addr32[3] &= mask.s6_addr32[3]; 2382 if (bcmp(&match, &sin6->sin6_addr, sizeof(match))) 2862 int match = 0; local [all...] |
H A D | in6_src.c | 1435 struct in6_addrpolicy *match = NULL; local 1438 match = match_addrsel_policy(key); 1440 if (match == NULL) 1441 match = &defaultaddrpolicy; 1443 match->use++; 1446 return (match); 1468 goto next; /* not match */
|
H A D | in6_pcb.c | 162 /* Check if we found a match but it's waiting to be disposed */ 678 * modified to match the pru_sockaddr() and pru_peeraddr() entry points 851 * local address match, notify the error. This is the case 926 struct inpcb *match = NULL; local 962 match = inp; 970 return (match); 1062 * First look for an exact match. 1163 * First look for an exact match.
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kpi_socketfilter.c | 1123 struct socket_filter *match = NULL; local 1166 TAILQ_FOREACH(match, &sock_filter_head, sf_global_next) { 1167 if (match->sf_filter.sf_handle == 1174 if (match == NULL) { 1185 if (match != NULL) {
|
H A D | kern_credential.c | 1795 /* Ignoring the first entry, scan for a match for the new egid */ 1798 * If we find a match, swap them so we don't lose overall 3501 * it. If there are no credentials that match the given 4677 * Found a match so we bump reference count on new 4766 * Found a match so we bump reference count on new 4831 * got the hash lock. If we find a match return an error and have the 4883 /* found a match, remove it from the hash table */ 4899 /* Did not find a match... this should not happen! XXX Make panic? */ 4900 printf("%s:%d - %s - %s - did not find a match for %p\n", __FILE__, __LINE__, __FUNCTION__, current_proc()->p_comm, cred); 4908 * Description: Using the given credential data, look for a match i 4943 boolean_t match; local [all...] |
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace.c | 439 * no way for a global variable key signature to match a thread-local key 1286 * invoking ECB match the target credentials 7566 * These functions are used to match groups of probes, given some elements of 7575 uint32_t match = priv & ppriv; 7585 * No matching bits, but there were bits to match... 7587 if (match == 0 && ppriv != 0) 7593 if (((ppriv & ~match) & DTRACE_PRIV_OWNER) != 0 && 7602 if (((ppriv & ~match) & DTRACE_PRIV_ZONEOWNER) != 0 && 7614 * This function returns >0 for match, 0 for no match, an [all...] |