Home
last modified time | relevance | path

Searched refs:obj_size (Results 1 – 4 of 4) sorted by relevance

/xnu-8796.141.3/tests/vm/
H A Dvm_unaligned_copy_switch_race.c14 vm_size_t obj_size; member
41 ctx->obj_size, in switcheroo_thread()
56 ctx->obj_size, in switcheroo_thread()
90 ctx->obj_size = 256 * 1024;
103 ctx->obj_size,
107 memset((char *)ro_addr, 'A', ctx->obj_size);
111 ctx->obj_size,
116 mo_size = ctx->obj_size;
125 mo_size = ctx->obj_size;
133 T_QUIET; T_ASSERT_EQ(mo_size, (memory_object_size_t)ctx->obj_size, "wrong mem_entry size");
[all …]
H A Dvm_unaligned_copy_protection_race.c13 vm_size_t obj_size; member
38 ctx->obj_size, in protect_thread()
47 ctx->obj_size, in protect_thread()
73 ctx->obj_size = 256 * 1024;
99 2 * ctx->obj_size,
106 ctx->obj_size,
110 memset((char *)e2, 'B', ctx->obj_size);
113 ctx->e0 = e2 + ctx->obj_size;
116 ctx->obj_size,
119 memset((char *)ctx->e0, 'A', ctx->obj_size);
[all …]
/xnu-8796.141.3/osfmk/vm/
H A Dvm_shared_region.c1429 vm_object_size_t obj_size; in vm_shared_region_map_file_setup() local
1546 obj_size = vm_object_round_page(mappings->sms_size); in vm_shared_region_map_file_setup()
1547 object = vm_object_allocate(obj_size); in vm_shared_region_map_file_setup()
1564 obj_size, in vm_shared_region_map_file_setup()
1589 bzero((void *)kaddr, obj_size); in vm_shared_region_map_file_setup()
1597 vm_map_remove(kernel_map, kaddr, kaddr + obj_size); in vm_shared_region_map_file_setup()
1769 obj_size = vm_map_round_page(mappings[i].sms_size, VM_MAP_PAGE_MASK(sr_map)); in vm_shared_region_map_file_setup()
1770 object = vm_object_allocate(obj_size); in vm_shared_region_map_file_setup()
/xnu-8796.141.3/bsd/net/
H A Dnecp_client.c741 static int necp_arena_create(struct necp_fd_data *fd_data, size_t obj_size, size_t obj_cnt, struct …
9294 necp_arena_create(struct necp_fd_data *fd_data, size_t obj_size, size_t obj_cnt, struct proc *p) in necp_arena_create() argument
9317 srp_ustats.srp_r_obj_size = srp_kstats.srp_r_obj_size = obj_size; in necp_arena_create()