Home
last modified time | relevance | path

Searched refs:align_mask (Results 1 – 5 of 5) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dzalloc.h1150 vm_offset_t align_mask,
1152 __attribute__((__diagnose_if__((align_mask & (align_mask + 1)),
1322 vm_offset_t align_mask);
/xnu-11215/osfmk/tests/
H A Dvm_parameter_validation.h3357 mach_vm_size_t align_mask, in allocate_away_from_zero() argument
3361 return mach_vm_map(map, address, size, align_mask, in allocate_away_from_zero()
3378 #define SMART_ALLOCATE_ALIGNED_VM(map, size, align_mask, perm) \ argument
3379 …__attribute__((cleanup(cleanup_allocation))) = create_allocation(map, size, align_mask, perm, fals…
3400 create_allocation(MAP_T new_map, mach_vm_address_t new_size, mach_vm_size_t align_mask, in create_allocation() argument
3418 assert(align_mask == 0 || align_mask == KB4 - 1 || align_mask == KB16 - 1); in create_allocation()
3439 align_mask, additional_map_flags); in create_allocation()
4114 … allocation_t base SMART_ALLOCATE_ALIGNED_VM(map, TEST_ALLOC_SIZE, align_mask, VM_PROT_DEFAULT); \
4475 … allocation_t base SMART_ALLOCATE_ALIGNED_VM(map, TEST_ALLOC_SIZE, align_mask, VM_PROT_DEFAULT); \
4721 test_unix_with_allocated_aligned_start_size(unix_with_start_size_fn fn, mach_vm_size_t align_mask, … in test_unix_with_allocated_aligned_start_size() argument
[all …]
/xnu-11215/osfmk/vm/
H A Dvm_user.c1219 mach_vm_offset_t align_mask; in mach_vm_behavior_set_sanitize() local
1238 align_mask = PAGE_MASK; in mach_vm_behavior_set_sanitize()
1241 align_mask = VM_MAP_PAGE_MASK(map); in mach_vm_behavior_set_sanitize()
1246 align_mask, map, in mach_vm_behavior_set_sanitize()
/xnu-11215/tests/vm/
H A Dvm_parameter_validation.c2147 test_unix_with_allocated_aligned_vm_advise_t(unix_with_advise_fn fn, mach_vm_size_t align_mask, con… in test_unix_with_allocated_aligned_vm_advise_t() argument
2150 allocation_t base SMART_ALLOCATE_ALIGNED_VM(map, TEST_ALLOC_SIZE, align_mask, VM_PROT_DEFAULT); in test_unix_with_allocated_aligned_vm_advise_t()
/xnu-11215/osfmk/arm/pmap/
H A Dpmap.c14109 const vm_address_t align_mask = sizeof(void*) - 1; local
14110 size_t required_length_within_sig = required_length + align_mask;
14114 aligned_buf = (aligned_buf + align_mask) & ~align_mask;