/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOService.h | 457 @param options The default zero options mask is recommended and should be used in most cases. The registration process is usually asynchronous, with possible driver probing and notification occurring some time later. <code>kIOServiceSynchronous</code> may be passed to carry out the matching and notification process for currently registered clients before returning to the caller. */ 1298 IOReturn waitForState( UInt32 mask, UInt32 value, 1301 IOReturn waitForState( UInt32 mask, UInt32 value, uint64_t timeout );
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | route.c | 560 * Copy a mask from src to a dst storage and set scope ID into dst. 572 * The length of the mask sockaddr would need to be adjusted 575 * the destination mask in addition to extending the length 578 * inserting or looking up the mask in the mask tree. 616 /* If we end up with all zeroes, then there's no mask */ 655 * If this is for a mask, we can't tell whether or not there 657 * sa_len and the beginning of the mask (offset of sin_addr in 662 * whether or not the mask is to be treated as one for AF_INET 691 * For AF_INET6 mask, se 1607 struct sockaddr_storage ss, mask; local 2565 struct sockaddr_storage ss, mask; local [all...] |
H A D | pf_if.c | 336 dyn->pfid_net = pfi_unmask(&aw->v.a.mask); 547 /* mask network address bits */
|
H A D | pfvar.h | 263 struct pf_addr mask; member in struct:pf_addr_wrap::__anon258::__anon259 306 int pfid_net; /* mask or 128 */ 477 &(aw)->v.a.mask, (x), (af))) || \ 479 !PF_AZERO(&(aw)->v.a.mask, (af)) && \ 481 &(aw)->v.a.mask, (x), (af))))) != \
|
H A D | if_bridge.c | 274 * List of capabilities to possibly mask on the member interface. 1482 int enabled, mask; local 1485 mask = BRIDGE_IFCAPS_MASK; 1489 mask &= bif->bif_savedcaps; 1495 /* strip off mask bits and enable them again if allowed */ 1497 enabled |= mask;
|
H A D | pf.c | 2047 if (PF_ANEQ(&aw1->v.a.mask, &aw2->v.a.mask, 0)) 2588 * Return 1 if the addresses a and b match (with mask m), otherwise return 0. 2991 struct pf_addr *rmask = &rpool->cur->addr.v.a.mask; 3049 rmask = &rpool->cur->addr.v.a.mask; 3143 rmask = &rpool->cur->addr.v.a.mask; 3511 &r->rpool.cur->addr.v.a.mask, 3548 &r->src.addr.v.a.mask, daddr, 3588 &r->dst.addr.v.a.mask, 3602 &r->rpool.cur->addr.v.a.mask, dadd [all...] |
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ip6_output.c | 806 int mask = 0; local 809 mask |= 0xfc; 811 mask |= 0x03; 812 if (mask != 0) 813 ip6->ip6_flow |= htonl((opt->ip6po_tclass & mask) << 20);
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_map.c | 253 vm_map_offset_t mask, 1201 vm_map_offset_t mask, 1256 end = ((start + mask) & ~mask); 1535 vm_map_offset_t mask, 1590 mask = SUPERPAGE_SIZE-1; 1775 end = ((start + mask) & ~mask); 1827 * the mask requirement. 1832 if ((start & mask) ! 1197 vm_map_find_space( register vm_map_t map, vm_map_offset_t *address, vm_map_size_t size, vm_map_offset_t mask, int flags, vm_map_entry_t *o_entry) argument 1531 vm_map_enter( vm_map_t map, vm_map_offset_t *address, vm_map_size_t size, vm_map_offset_t mask, int flags, vm_object_t object, vm_object_offset_t offset, boolean_t needs_copy, vm_prot_t cur_protection, vm_prot_t max_protection, vm_inherit_t inheritance) argument 2310 vm_map_enter_mem_object( vm_map_t target_map, vm_map_offset_t *address, vm_map_size_t initial_size, vm_map_offset_t mask, int flags, ipc_port_t port, vm_object_offset_t offset, boolean_t copy, vm_prot_t cur_protection, vm_prot_t max_protection, vm_inherit_t inheritance) argument 2656 vm_map_enter_mem_object_control( vm_map_t target_map, vm_map_offset_t *address, vm_map_size_t initial_size, vm_map_offset_t mask, int flags, memory_object_control_t control, vm_object_offset_t offset, boolean_t copy, vm_prot_t cur_protection, vm_prot_t max_protection, vm_inherit_t inheritance) argument 11420 vm_map_remap( vm_map_t target_map, vm_map_address_t *address, vm_map_size_t size, vm_map_offset_t mask, int flags, vm_map_t src_map, vm_map_offset_t memory_address, boolean_t copy, vm_prot_t *cur_protection, vm_prot_t *max_protection, vm_inherit_t inheritance) argument 11526 vm_map_remap_range_allocate( vm_map_t map, vm_map_address_t *address, vm_map_size_t size, vm_map_offset_t mask, int flags, vm_map_entry_t *map_entry) argument [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_fw2.c | 196 * with the mask defined for the rule, then hashed, then matched 721 externalize_flow_id(&dyn_rule_vers1->mask, &p->id); 756 externalize_flow_id(&dyn_rule_vers1->mask, &p->id); 2277 u_int32_t *mask = (u_int32_t *) local 2278 ((ipfw_insn_mac *)cmd)->mask; 2282 ( want[0] == (hdr[0] & mask[0]) && 2283 want[1] == (hdr[1] & mask[1]) && 2284 want[2] == (hdr[2] & mask[2]) );
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_exit.c | 1216 int mask = sigmask(SIGCHLD); local 1219 if ( (uth->uu_sigmask & mask) != 0 ) { 1225 uth->uu_siglist &= ~mask; /* clear pending signal */
|
H A D | kern_event.c | 238 #define KN_HASH(val, mask) (((val) ^ (val >> 8)) & (mask)) 547 * mask off extra data
|
H A D | kern_proc.c | 687 proc_issignal(int pid, sigset_t mask) argument 693 error = proc_pendingsignals(p, mask);
|
H A D | kern_exec.c | 1448 act->mask, port, act->behavior,
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | zalloc.c | 613 /* Size must be a power of two for the zhash to be able to just mask off bits instead of mod */ 1044 uintptr_t mask = max_size - 1; local 1050 hash = hash_mix(hash) & mask; 1065 uintptr_t mask = max_size - 1; local 1067 hash = hash_mix(pt) & mask;
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IODMACommand.cpp | 509 mach_vm_address_t mask = 0xFFFFF000; //state->fSourceAlignMask local 511 fMDSummary.fDirection, state->fPreparedLength, mask);
|
H A D | IOService.cpp | 3287 IOReturn IOService::waitForState( UInt32 mask, UInt32 value, argument 3294 IOReturn IOService::waitForState( UInt32 mask, UInt32 value, argument 3305 wait = (value != (__state[1] & mask));
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_subr.c | 2965 * as a reasonable approximation, only use the lowest bit of the mask 5769 int mask; local 5772 mask = IMMUTABLE | APPEND; 5776 mask &= ~APPEND; 5782 mask = 0; 5785 mask &= ~(UF_IMMUTABLE | UF_APPEND); 5788 KAUTH_DEBUG("IMMUTABLE - file flags 0x%x mask 0x%x append = %d ignore = %d", vap->va_flags, mask, append, ignore); 5789 if ((vap->va_flags & mask) != 0) 6338 * mask th [all...] |
H A D | kpi_vfs.c | 606 /* returns the cached throttle mask for the mount_t */ 1268 vfs_context_issignal(vfs_context_t ctx, sigset_t mask) argument 1272 return(proc_pendingsignals(p, mask));
|
H A D | vfs_syscalls.c | 7050 * Set the mode mask for creation of filesystem nodes. 7059 AUDIT_ARG(mask, newmask); 7069 * umask_extended: Set the mode mask for creation of filesystem nodes; with extended security (ACL). 7786 printf("nspace_type_for_op: invalid op mask %llx\n", op & NAMESPACE_HANDLER_EVENT_TYPE_MASK);
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace.c | 1216 uint64_t mask; local 1228 mask = 1LL << (64 - b); 1229 mask -= 1; 1230 a[0] |= ((a[1] & mask) << (64 - b)); 1239 mask = a[0] >> (64 - b); 1240 a[1] |= mask; 6079 uintptr_t mask = (0xf << (sizeof (uintptr_t) * NBBY / 4)); 6120 mask = (uintptr_t)0xf << shift; 6123 c[i++] = "0123456789abcdef"[(val & mask) >> shift]; 10764 uint32_t size = 0, align = sizeof (uint8_t), mask; [all...] |
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | pmap.c | 1668 * Clears the referenced and modified bits as specified by the mask 1671 void pmap_clear_refmod(ppnum_t pn, unsigned int mask) argument 1673 phys_attribute_clear(pn, mask);
|
/darwin-on-arm/xnu/bsd/netkey/ |
H A D | key.c | 4981 * compare two secindex structure with mask. 5134 * compare two buffers with mask. 5149 u_int8_t mask; local 5165 mask = ~((1<<(8-bits))-1); 5166 if ((*p1 & mask) != (*p2 & mask))
|