Searched refs:match (Results 1 - 25 of 29) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dadsp_misc.c106 * 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 Dadsp_Packet.c107 * What to match on (local socket, whole address, DestCID, SrcCID)
116 u_char match; /* Characteristics that have to match member in struct:__anon240
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 Dadsp_internal.h331 void *qfind_m(CCBPtr qhead, void *match, ProcPtr compare_fnx);
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dif_media.c197 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
389 struct ifmedia_entry *match, *next; local
[all...]
H A Dndrv.c105 * Verify these values match.
108 * match or a conversion function must be written.
111 #error NDRV_DEMUXTYPE_ETHERTYPE must match DLIL_DESC_ETYPE2
114 #error NDRV_DEMUXTYPE_SAP must match DLIL_DESC_SAP
117 #error NDRV_DEMUXTYPE_SNAP must match DLIL_DESC_SNAP
1007 // Found a match
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dkpi_ipfilter.c164 struct ipfilter *match = (struct ipfilter*)filter_ref; local
167 if (match == 0 || (match->ipf_head != &ipv4_filters && match->ipf_head != &ipv6_filters))
170 head = match->ipf_head;
173 TAILQ_FOREACH(match, head, ipf_link) {
174 if (match == (struct ipfilter*)filter_ref) {
175 ipf_detach_func ipf_detach = match->ipf_filter.ipf_detach;
176 void* cookie = match->ipf_filter.cookie;
183 TAILQ_INSERT_TAIL(&tbr_filters, match, ipf_tb
[all...]
H A Dip_encap.c82 * The code will let you match protocol via src/dst address pair.
164 struct encaptab *ep, *match; local
188 match = NULL;
199 * it's inbound traffic, we need to match in reverse
211 * 0 or negative return value means "it did not match".
221 * to get the best match - the search takes O(n) for
228 match = ep;
232 if (match) {
233 /* found a match, "match" ha
270 struct encaptab *ep, *match; local
[all...]
H A Dip_fw2.c187 * obey the 'randomized match', and we do not do multiple
478 if (ifp == NULL) /* no iface with this packet, match fails */
481 if (cmd->name[0] != '\0') { /* match by name */
500 return(1); /* match */
505 return(0); /* no match, fail ... */
1358 * This never returns NULL -- in case we do not have an exact match,
1653 int match; local
1666 * The first match will set "skip_or", and cause
1675 match = 0; /* set to 1 if we succeed */
1680 * fields with some pattern, setting 'match' i
2223 flush_pipe_ptrs(struct dn_flow_set *match) argument
[all...]
H A Din.c946 * EADDRNOTAVAIL on prefix match failed/specified address not found
1024 struct in_addr match = { 0 }; local
1034 match.s_addr = sin->sin_addr.s_addr;
1035 match.s_addr &= mask.s_addr;
1038 if (match.s_addr != sin->sin_addr.s_addr)
1044 /* on getting an address, take the 1st match */
1047 /* on deleting an address, do exact match */
1050 match.s_addr = sin->sin_addr.s_addr;
1064 if (candidate.s_addr == match.s_addr)
1273 * Look through the list of addresses for a match
[all...]
H A Dip_fw2.h147 O_PROB, /* u32 = match probability */
184 * F_NOT negates the match result of the instruction.
189 * instruction of the block. A match will cause the code
258 * This is used for interface match rules (recv xx, xmit xx).
359 u_int32_t timestamp; /* tv_sec of last match */
397 u_int64_t pcnt; /* packet match counter */
398 u_int64_t bcnt; /* byte match counter */
472 void flush_pipe_ptrs(struct dn_flow_set *match); /* used by dummynet */
H A Din_pcb.c297 /* Check if we found a match but it's waiting to be disposed */
909 * modified to match the pru_sockaddr() and pru_peeraddr() entry points
1153 struct inpcb *match = NULL; local
1189 match = inp;
1197 KERNEL_DEBUG(DBG_FNC_PCB_LOOKUP | DBG_FUNC_END, match,0,0,0,0);
1198 return (match);
1226 * First look for an exact match.
1640 * First look for an exact match.
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkpi_socketfilter.c447 struct socket_filter *match = NULL; local
487 TAILQ_FOREACH(match, &sock_filter_head, sf_global_next) {
488 if (match->sf_filter.sf_handle ==
495 if (match == NULL) {
505 if (match != NULL) {
H A Dkern_credential.c1332 /* Ignoring the first entry, scan for a match for the new egid */
1335 * If we find a match, swap them so we don't lose overall
2681 * it. If there are no credentials that match the given
3762 * Found a match so we bump reference count on new
3847 * Found a match so we bump reference count on new
3910 * got the hash lock. If we find a match return an error and have the
3962 /* found a match, remove it from the hash table */
3976 /* Did not find a match... this should not happen! XXX Make panic? */
3977 printf("%s:%d - %s - %s - did not find a match for %p\n", __FILE__, __LINE__, __FUNCTION__, current_proc()->p_comm, cred);
3985 * Description: Using the given credential data, look for a match i
4019 boolean_t match; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Din6.c1556 * EADDRNOTAVAIL on prefix match failed/specified address not found
1687 struct in6_addr mask, candidate, match; local
1697 bcopy(&sin6->sin6_addr, &match, sizeof(match));
1698 match.s6_addr32[0] &= mask.s6_addr32[0];
1699 match.s6_addr32[1] &= mask.s6_addr32[1];
1700 match.s6_addr32[2] &= mask.s6_addr32[2];
1701 match.s6_addr32[3] &= mask.s6_addr32[3];
1704 if (bcmp(&match, &sin6->sin6_addr, sizeof(match)))
2174 int match = 0; local
[all...]
H A Din6_pcb.c159 /* Check if we found a match but it's waiting to be disposed */
820 * modified to match the pru_sockaddr() and pru_peeraddr() entry points
974 * local address match, notify the error. This is the case
1049 struct inpcb *match = NULL; local
1085 match = inp;
1093 return (match);
1220 * First look for an exact match.
/macosx-10.5.8/xnu-1228.15.4/libkern/
H A Dzlib.c144 /* The minimum and maximum match lengths */
435 uInt match_length; /* length of best match */
436 IPos prev_match; /* previous match */
437 int match_available; /* set if previous match exists */
443 /* Length of the best match at previous step. Matches not greater than this
444 * are discarded. This is used in the lazy match evaluation.
454 /* Attempt to find a better match only when the current match is strictly
459 /* Insert new strings in the hash table only if the match length is not
468 /* Use a faster search when the previous match i
1333 Bytef *match; /* matched string */ local
1473 Bytef *match; /* matched string */ local
1528 check_match(deflate_state *s, IPos start, IPos match, int length) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOService.cpp2394 OSDictionary * match = 0; local
2434 } else if( !(match = OSDynamicCast( OSDictionary, nextMatch ))) {
2442 debugFlags = getDebugFlags( match );
2447 match->getObject( gIOMatchCategoryKey ));
2454 LOG("%s: match category %s exists\n", getName(),
2463 props = OSDictionary::withDictionary( match, match->getCount());
2473 needReloc = (false == gIOCatalogue->isModuleLoaded( match ));
2544 // give the driver the default match category if not specified
2600 // add to start list for the match categor
3965 bool match = true; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dcpu_threads.c641 x86_cpu_cache_t *match; local
678 * this level, we'll just skip looking for the match.
713 match = x86_match_cache(cur_lcpu->caches[level], cur);
714 if (match != NULL) {
716 x86_cache_add_lcpu(match, lcpu);
742 match = x86_match_cache(cur_lcpu->caches[level], cur);
743 if (match != NULL) {
745 x86_cache_add_lcpu(match, lcpu);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dhw_vm.s1523 or r0,r11,r7 ; r0 <- !(free && space match)
1525 or. r0,r0,r8 ; cr0_eq <- !free && space match && virtual addr match
1535 or r0,r11,r4 ; r0 <- !(free && space match)
1537 or. r0,r0,r5 ; cr0_eq <- !free && space match && virtual addr match
1560 or r0,r11,r7 ; r0 <- !(free && space match)
1562 or. r0,r0,r8 ; cr0_eq <- !free && space match && virtual addr match
1572 or r0,r11,r4 ; r0 <- !(free && space match)
[all...]
H A Dstart.s231 crandc cr0_eq,cr1_eq,cr0_eq ; Do we have a match
236 crand cr0_eq,cr1_eq,cr0_eq ; Do we have a match
869 rldimi r14,r13,54,9 ; Set force icbi match mode
1039 .long 0xFFFFFFFF ; Exact match
H A Dvmachmon_asm.s1193 rlwinm r7,r7,0,1,4 ; Save the bits that match the DSISR
1632 rlwinm r7,r7,0,1,4 ; Save the bits that match the DSISR
1639 rlwinm r7,r7,0,1,4 ; Save the bits that match the DSISR
1970 rlwinm r6,r6,0,1,4 ; Save the bits that match the DSISR
2020 rlwinm r6,r6,0,1,4 ; Save the bits that match the DSISR
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dkmod.c266 int match; local
286 match = !strncmp(kmod_info->name, prefix, strnlen(prefix, KMOD_MAX_NAME));
287 if ((match && invertFlag) || (!match && !invertFlag)) {
1267 * does not match the live kernel, as c can occur during net-booting where the
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace.c375 * no way for a global variable key signature to match a thread-local key
921 * invoking ECB match the target credentials
6339 * These functions are used to match groups of probes, given some elements of
6348 uint32_t match = priv & ppriv;
6358 * No matching bits, but there were bits to match...
6360 if (match == 0 && ppriv != 0)
6366 if (((ppriv & ~match) & DTRACE_PRIV_OWNER) != 0 &&
6375 if (((ppriv & ~match) & DTRACE_PRIV_ZONEOWNER) != 0 &&
6387 * This function returns >0 for match, 0 for no match, an
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/
H A Dkey.c883 continue; /* skip this one - not a match - or not UDP */
1038 struct secasvar *sav, *match; local
1073 match = NULL;
1167 match = sav;
1170 if (match)
1178 match->refcnt++;
1182 match->refcnt, match));
1183 return match;
3308 struct secasvar *sav, *match; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/panic_ui/
H A Dgenimage.c404 printf("Adjusted %d grays to best match...\n", neargrey);
774 // start of a new pattern match begine with depth = 1
865 int i, match, depth; local
1286 if ( debug) printf("closest match for %06X is at index %d %06X\n", color24, ri, panic_clut[ri]);

Completed in 260 milliseconds

12