Searched refs:allocated_size (Results 1 – 12 of 12) sorted by relevance
| /xnu-11215/tests/ |
| H A D | proc_info_list_kthreads.c | 63 int allocated_size = expected_size + EXTRA_THREADS * (int)sizeof(uint64_t); variable 64 uint64_t *thread_list_tmp = malloc((size_t)allocated_size); 65 …QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(thread_list_tmp, "malloc(size = %d) failed", allocated_size); 67 buf_used = proc_pidinfo(0, PROC_PIDLISTTHREADIDS, 0, thread_list_tmp, (int)allocated_size); 83 if (buf_used < allocated_size) {
|
| /xnu-11215/tests/safe_allocation_src/ |
| H A D | test_utils.h | 47 allocated_size = 0; in reset() 52 static std::size_t allocated_size; member 61 allocated_size = n; in allocate() 82 std::size_t tracking_allocator::allocated_size = 0;
|
| H A D | ctor.allocate.cpp | 31 CHECK(tracking_allocator::allocated_size == 10 * sizeof(T)); in tests()
|
| /xnu-11215/bsd/kern/code_signing/ |
| H A D | xnu.c | 183 size_t *allocated_size) in xnu_image4_storage_data() argument 185 if (allocated_size) { in xnu_image4_storage_data() 186 *allocated_size = sizeof(_xnu_image4_storage); in xnu_image4_storage_data()
|
| H A D | ppl.c | 518 size_t *allocated_size) in ppl_image4_storage_data() argument 520 return pmap_image4_pmap_data(allocated_size); in ppl_image4_storage_data()
|
| H A D | txm.c | 1568 __unused size_t *allocated_size) in txm_image4_storage_data() argument
|
| /xnu-11215/bsd/sys/ |
| H A D | code_signing_internal.h | 96 size_t * allocated_size);
|
| H A D | code_signing.h | 342 size_t *allocated_size);
|
| /xnu-11215/osfmk/vm/ |
| H A D | pmap_cs.h | 782 size_t *allocated_size);
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_codesigning.c | 1396 size_t *allocated_size) in kernel_image4_storage_data() argument 1398 return CSM_PREFIX(image4_storage_data)(allocated_size); in kernel_image4_storage_data()
|
| /xnu-11215/osfmk/kern/ |
| H A D | debug.c | 561 size_t *allocated_size; in phys_carveout_init() member 589 *carveouts[i].allocated_size = temp_carveout_size; in phys_carveout_init()
|
| /xnu-11215/osfmk/tests/ |
| H A D | vm_parameter_validation.h | 3428 mach_vm_size_t allocated_size = result.size; in create_allocation() local 3429 if (__builtin_add_overflow(result.size, result.guard_size * 4, &allocated_size)) { in create_allocation() 3438 kr = allocate_away_from_zero(result.map, &allocated_base, allocated_size, in create_allocation() 3533 mach_vm_size_t allocated_size = result.size; in create_unallocation() local 3534 if (__builtin_add_overflow(result.size, result.guard_size * 2, &allocated_size)) { in create_unallocation() 3542 kr = allocate_away_from_zero(result.map, &allocated_base, allocated_size, 0, 0); in create_unallocation()
|