Searched refs:mask (Results 1 - 25 of 123) sorted by relevance

12345

/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dffs.c42 ffs(unsigned mask) argument
46 if (mask == 0)
50 while ((mask & 0xff) == 0) {
52 mask >>= 8;
54 while ((mask & 1) == 0) {
56 mask >>= 1;
H A Dsdt_ppc.c53 uint64_t mask = (_cpu_capabilities & k64Bit) ? 0xffffffffffffffffULL : 0x00000000ffffffffULL; local
62 dtrace_probe(sdt->sdp_id, regs->save_r3 & mask, regs->save_r4 & mask,
63 regs->save_r5 & mask, regs->save_r6 & mask, regs->save_r7 & mask);
/macosx-10.5.8/xnu-1228.15.4/bsd/libkern/
H A Dlocc.c71 register u_char *cp, *end, mask; local
73 mask = mask0;
75 for (end = &cp[size]; cp < end && *cp != mask; ++cp);
H A Dscanc.c69 u_char mask; local
71 mask = mask0;
72 for (end = &cp[size]; cp != end && (table[*cp] & mask) == 0; ++cp);
H A Dskpc.c68 register u_char *cp, *end, mask; local
70 mask = mask0;
72 for (end = &cp[size]; cp < end && *cp == mask; ++cp);
H A Drandom.c77 u_long mask = (u_long)-1 >> ((sizeof(u_long) * 8) - 31); local
78 return (mask & RandomULong());
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dbits.c113 int offset, mask; local
117 for (mask = 1; mask; mask <<= 1, ++offset)
118 if (mask & *s)
H A Dsimple_lock.h114 uint32_t mask);
118 uint32_t mask);
126 uint32_t mask);
134 uint32_t mask);
H A Dnorma_protos.h71 mach_vm_offset_t mask,
/macosx-10.5.8/xnu-1228.15.4/libkern/gen/
H A DOSAtomicOperations.c118 UInt32 OSBitAndAtomic(UInt32 mask, volatile UInt32 * value) argument
120 return OSBitwiseAtomic(mask, 0, 0, value);
123 UInt32 OSBitOrAtomic(UInt32 mask, volatile UInt32 * value) argument
125 return OSBitwiseAtomic((UInt32) -1, mask, 0, value);
128 UInt32 OSBitXorAtomic(UInt32 mask, volatile UInt32 * value) argument
130 return OSBitwiseAtomic((UInt32) -1, 0, mask, value);
135 UInt32 mask = 0x000000ff; local
143 mask <<= shift;
146 oldValue = (oldValue & ~mask) | (oldValue8 << shift);
147 newValue = (oldValue & ~mask) | (newValue
154 UInt8 mask = 1; local
222 OSBitAndAtomic8(UInt32 mask, volatile UInt8 * value) argument
227 OSBitOrAtomic8(UInt32 mask, volatile UInt8 * value) argument
232 OSBitXorAtomic8(UInt32 mask, volatile UInt8 * value) argument
239 UInt32 mask = 0x0000ffff; local
292 OSBitAndAtomic16(UInt32 mask, volatile UInt16 * value) argument
297 OSBitOrAtomic16(UInt32 mask, volatile UInt16 * value) argument
302 OSBitXorAtomic16(UInt32 mask, volatile UInt16 * value) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/
H A DOSAtomic.h187 @discussion The OSBitAndAtomic function logically ands the bits of the specified mask into the value at the specified address and returns the original value.
190 @param mask The mask to logically and with the value.
194 extern UInt32 OSBitAndAtomic(UInt32 mask, volatile UInt32 * address);
198 @discussion The OSBitAndAtomic16 function logically ands the bits of the specified mask into the value at the specified address and returns the original value.
201 @param mask The mask to logically and with the value.
205 extern UInt16 OSBitAndAtomic16(UInt32 mask, volatile UInt16 * address);
209 @discussion The OSBitAndAtomic8 function logically ands the bits of the specified mask into the value at the specified address and returns the original value.
212 @param mask Th
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSCollection.cpp69 unsigned OSCollection::setOptions(unsigned options, unsigned mask, void *) argument
73 if (mask)
74 fOptions = (old & ~mask) | (options & mask);
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Din_dhcp.h41 const struct in_addr * mask,
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/
H A Dffs_subr.c174 unsigned char mask; local
180 mask = 0x0f << ((h & 0x1) << 2);
181 return ((cp[h >> 1] & mask) == mask);
183 mask = 0x03 << ((h & 0x3) << 1);
184 return ((cp[h >> 2] & mask) == mask);
186 mask = 0x01 << (h & 0x7);
187 return ((cp[h >> 3] & mask) == mask);
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dradix.h82 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 Dif_media.c93 int flags, int mask);
384 ifmedia_match(ifm, target, mask)
387 int mask;
392 mask = ~mask;
395 if ((next->ifm_media & mask) == (target & mask)) {
399 "0x%x/0x%x\n", target, mask);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/
H A Ddb_examine.h108 db_expr_t mask,
H A Dmakedis.c371 int functionswitch(struct function *fp, bits mask, bits value);
630 bitpattern supplied. The mask and value fields describe the constant
631 bits in the bitpattern: mask indicates which bits they are and value
633 ((x & mask) == value). */
636 bits mask, value; member in struct:entry
678 $[...] bitsplice. The mask covers the bitfield and the shift says how
679 many 0 bits there are after the last 1 in the mask. */
683 bits mask; member in struct:bits
709 bits mask, value, entrymask; local
712 mask
1145 bits mask; member in union:bitsplicebits::__anon695
1862 functionswitch(struct function *fp, bits mask, bits value) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/uxkern/
H A Dux_exception.c288 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...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_sig.c617 int nc, mask; local
628 mask = sigmask(nc);
629 p->p_sigcatch &= ~mask;
632 p->p_sigignore |= mask;
634 ut->uu_siglist &= ~mask;
636 clear_procsiglist(p, mask);
654 * Manipulate signal mask.
655 * Note that we receive new mask, not pointer,
656 * and return old mask as return value;
670 if (uap->mask
1048 sigset_t mask; local
1436 int mask; local
1469 sigset_t mask = sigmask(signum); local
1526 int mask; local
1996 int signum, mask, prop, sigbits; local
2297 int signum, mask, prop, sigbits; local
2451 int mask, returnmask; local
2747 proc_pendingsignals(proc_t p, sigset_t mask) argument
2778 thread_issignal(proc_t p, thread_t th, sigset_t mask) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dquota.h217 #define dqhash1(id, shift, mask) \
218 ((((id) * 2654435761UL) >> (shift)) & (mask))
220 #define dqhash2(id, mask) \
221 (dqhash1((id), 11, (mask)>>1) | 1)
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/
H A DOSCollection.h152 @param options Set the (options & mask) bits.
153 @param mask The mask of bits which need to be set, 0 to get the current value.
157 virtual unsigned setOptions(unsigned options, unsigned mask, void * = 0);
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dadsp_Control.c175 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...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_kern.h79 vm_offset_t mask,
94 vm_offset_t mask,
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Dblist.c333 u_daddr_t mask; local
337 mask = (u_daddr_t)-1 >> (BLIST_BMAP_RADIX/2);
340 if ((orig & mask) == 0) {
345 mask >>= j;
360 u_daddr_t mask; local
362 mask = (u_daddr_t)-1 >> n;
365 if ((orig & mask) == mask) {
366 scan->u.bmu_bitmap &= ~mask;
369 mask
482 u_daddr_t mask; local
[all...]

Completed in 91 milliseconds

12345