/darwin-on-arm/xnu/libsyscall/wrappers/ |
H A D | sigsuspend-base.c | 33 sigset_t mask; local 36 mask = *sigmask_p; 38 sigemptyset(&mask); 39 return __SIGSUSPEND(mask);
|
/darwin-on-arm/xnu/bsd/libkern/ |
H A D | locc.c | 71 register u_char *cp, *end, mask; local 73 mask = mask0; 75 for (end = &cp[size]; cp < end && *cp != mask; ++cp);
|
H A D | scanc.c | 69 u_char mask; local 71 mask = mask0; 72 for (end = &cp[size]; cp != end && (table[*cp] & mask) == 0; ++cp);
|
H A D | skpc.c | 68 register u_char *cp, *end, mask; local 70 mask = mask0; 72 for (end = &cp[size]; cp < end && *cp == mask; ++cp);
|
H A D | random.c | 77 u_int32_t mask = (u_int32_t)-1 >> ((sizeof(u_int32_t) * 8) - 31); local 78 return (mask & RandomULong());
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | bits.c | 113 int offset, mask; local 117 for (mask = 1; mask; mask <<= 1, ++offset) 118 if (mask & *s)
|
H A D | simple_lock.h | 116 uint32_t mask); 120 uint32_t mask); 128 uint32_t mask); 133 uint32_t mask); 148 uint32_t mask);
|
H A D | debug.h | 207 #define DEBUG_KPRINT_SYSCALL_PREDICATE_INTERNAL(mask, namep) \ 208 ( (debug_kprint_syscall & (mask)) && debug_kprint_current_process(namep) ) 209 #define DEBUG_KPRINT_SYSCALL_MASK(mask, fmt, args...) do { \ 211 if (DEBUG_KPRINT_SYSCALL_PREDICATE_INTERNAL(mask, &dks_name)) { \ 217 #define DEBUG_KPRINT_SYSCALL_PREDICATE_INTERNAL(mask, namep) (0) 218 #define DEBUG_KPRINT_SYSCALL_MASK(mask, fmt, args...) do { } while (0) /* kprintf(fmt, args) */ 228 #define DEBUG_KPRINT_SYSCALL_PREDICATE(mask) \ 229 DEBUG_KPRINT_SYSCALL_PREDICATE_INTERNAL(mask, NULL)
|
H A D | norma_protos.h | 71 mach_vm_offset_t mask,
|
/darwin-on-arm/xnu/libkern/gen/ |
H A D | OSAtomicOperations.c | 83 UInt32 OSBitAndAtomic(UInt32 mask, volatile UInt32 * value) argument 85 return OSBitwiseAtomic(mask, 0, 0, value); 89 UInt32 OSBitOrAtomic(UInt32 mask, volatile UInt32 * value) argument 91 return OSBitwiseAtomic((UInt32) -1, mask, 0, value); 95 UInt32 OSBitXorAtomic(UInt32 mask, volatile UInt32 * value) argument 97 return OSBitwiseAtomic((UInt32) -1, 0, mask, value); 102 UInt32 mask = 0x000000ff; local 110 mask <<= shift; 113 oldValue = (oldValue & ~mask) | (oldValue8 << shift); 114 newValue = (oldValue & ~mask) | (newValue 121 UInt8 mask = 1; local 203 OSBitAndAtomic8(UInt32 mask, volatile UInt8 * value) argument 208 OSBitOrAtomic8(UInt32 mask, volatile UInt8 * value) argument 213 OSBitXorAtomic8(UInt32 mask, volatile UInt8 * value) argument 220 UInt32 mask = 0x0000ffff; local 273 OSBitAndAtomic16(UInt32 mask, volatile UInt16 * value) argument 278 OSBitOrAtomic16(UInt32 mask, volatile UInt16 * value) argument 283 OSBitXorAtomic16(UInt32 mask, volatile UInt16 * value) argument [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_lro.h | 77 #define LRO_HASH(faddr, laddr, fport, lport, mask) \ 78 (((faddr) ^ ((laddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask))
|
H A D | in_dhcp.h | 41 const struct in_addr * mask,
|
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSCollection.cpp | 81 unsigned OSCollection::setOptions(unsigned options, unsigned mask, void *) argument 85 if (mask) 86 fOptions = (old & ~mask) | (options & mask);
|
/darwin-on-arm/xnu/libkern/libkern/ |
H A D | OSAtomic.h | 379 * The OSBitAndAtomic function logically ands the bits of the specified mask into the value at the specified address and returns the original value. 382 * @param mask The mask to logically and with the value. 387 UInt32 mask, 399 * The OSBitAndAtomic16 function logically ands the bits of the specified mask into the value at the specified address and returns the original value. 402 * @param mask The mask to logically and with the value. 407 UInt32 mask, 417 * The OSBitAndAtomic8 function logically ands the bits of the specified mask into the value at the specified address and returns the original value. 420 * @param mask Th [all...] |
/darwin-on-arm/xnu/osfmk/arm64/ |
H A D | memcmp.s | 55 #define mask x13 define 90 mov mask, #~0 92 lsr mask, mask, limit 94 lsl mask, mask, limit 96 bic data1, data1, mask 97 bic data2, data2, mask 99 orr diff, diff, mask 122 alignment boundary. Round down the addresses and then mask of [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | radix.h | 82 char rn_bmask; /* node: mask for bit test*/ 123 caddr_t rmu_mask; /* the mask */ 150 (void *v, void *mask, 153 (void *v, void *mask, 156 (void *v, void *mask, struct radix_node_head *head); 158 (void *v, void *mask, struct radix_node_head *head); 166 (void *v, void *mask, struct radix_node_head *head); 167 /* locate based on sockaddr, mask and rn_matchf_t() */ 169 (void *v, void *mask, struct radix_node_head *head,
|
H A D | if_media.c | 93 int flags, int mask); 386 ifmedia_match(ifm, target, mask) 389 int mask; 394 mask = ~mask; 397 if ((next->ifm_media & mask) == (target & mask)) { 401 "0x%x/0x%x\n", target, mask);
|
/darwin-on-arm/xnu/bsd/uxkern/ |
H A D | ux_exception.c | 294 int mask; local 314 mask = sigmask(ux_signal); 316 if ((p->p_sigignore & mask) || 317 (ut->uu_sigwait & mask) || 318 (ut->uu_sigmask & mask) || 320 (! (ps->ps_sigonstack & mask))) { 321 p->p_sigignore &= ~mask; 322 p->p_sigcatch &= ~mask; 324 ut->uu_sigwait &= ~mask; 325 ut->uu_sigmask &= ~mask; [all...] |
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_sig.c | 669 int nc, mask; local 693 mask = sigmask(nc); 694 p->p_sigcatch &= ~mask; 697 p->p_sigignore |= mask; 698 ut->uu_siglist &= ~mask; 717 * Manipulate signal mask. 718 * Note that we receive new mask, not pointer, 719 * and return old mask as return value; 733 if (uap->mask == USER_ADDR_NULL) { 734 /* just want old mask */ 1231 sigset_t mask; local 1627 int mask; local 1660 sigset_t mask = sigmask(signum); local 1717 int mask; local 2210 int signum, mask, prop, sigbits; local 2511 int signum, mask, prop, sigbits; local 2659 int mask, returnmask; local 3020 proc_pendingsignals(proc_t p, sigset_t mask) argument 3051 thread_issignal(proc_t p, thread_t th, sigset_t mask) argument [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | quota.h | 217 #define dqhash1(id, shift, mask) \ 218 ((((id) * 2654435761U) >> (shift)) & (mask)) 220 #define dqhash2(id, mask) \ 221 (dqhash1((id), 11, (mask)>>1) | 1)
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | adsp_Control.c | 175 short mask = 0; local 196 mask = B_CTL_OREQ; 200 mask = B_CTL_OACK; 204 mask = B_CTL_OREQACK; 209 mask = B_CTL_ODENY; 233 mask = B_CTL_CLOSE; 236 mask = B_CTL_PROBE; 240 mask = B_CTL_FRESET; 245 mask = B_CTL_FRESETACK; 249 mask [all...] |
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_kern.h | 79 vm_offset_t mask, 97 vm_offset_t mask,
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | blist.c | 335 u_daddr_t mask; local 339 mask = (u_daddr_t)-1 >> (BLIST_BMAP_RADIX/2); 342 if ((orig & mask) == 0) { 347 mask >>= j; 366 u_daddr_t mask; local 368 mask = (u_daddr_t)-1 >> n; 371 if ((orig & mask) == mask) { 372 scan->u.bmu_bitmap &= ~mask; 375 mask 488 u_daddr_t mask; local [all...] |
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeAllocate.c | 127 u_int16_t mask; local 170 mask = 0x8000; 173 if ( (freeWord & mask) == 0) 175 mask >>= 1; 193 *pos |= SWAP_BE16 (mask); // set the map bit for the node 635 u_int16_t mask; local 670 for (bitNumber = 0, mask = 0x8000; 672 ++bitNumber, mask >>= 1) 674 if (word & mask)
|
/darwin-on-arm/xnu/libkern/zlib/ |
H A D | inftrees.c | 79 unsigned mask; /* mask for low root bits */ local 236 mask = used - 1; /* mask for comparing low */ 287 if (len > root && (huff & mask) != low) { 311 low = huff & mask; 330 if (drop != 0 && (huff & mask) != low) {
|