Searched refs:alloc_count (Results 1 – 4 of 4) sorted by relevance
| /xnu-12377.81.4/bsd/kern/ ! |
| H A D | sys_coalition.c | 349 size_t alloc_count = MIN(size_in / sizeof(pid_t), (user_size_t)COALITION_INFO_PID_LIST_MAX_PIDS); in coalition_info_pid_list() local 351 pid_t *pid_list = kalloc_type(pid_t, alloc_count, Z_WAITOK | Z_ZERO); in coalition_info_pid_list() 356 …get_pid_list(coal, COALITION_ROLEMASK_ALLROLES, COALITION_SORT_NOSORT, pid_list, (int)alloc_count); in coalition_info_pid_list() 364 user_size_t size_out = MIN(alloc_count * sizeof(pid_t), ntasks * sizeof(pid_t)); in coalition_info_pid_list() 365 assert(size_in >= alloc_count * sizeof(pid_t)); in coalition_info_pid_list() 366 assert(alloc_count * sizeof(pid_t) >= size_out); in coalition_info_pid_list() 372 kfree_type(pid_t, alloc_count, pid_list); in coalition_info_pid_list()
|
| /xnu-12377.81.4/bsd/vfs/ ! |
| H A D | vfs_exclave_fs.c | 221 uint16_t alloc_count; in get_graft_info() local 240 alloc_count = ggi.ggi_count; in get_graft_info() 242 graft_infos = kalloc_type(fsioc_graft_info_t, alloc_count, Z_WAITOK | Z_ZERO); in get_graft_info() 248 ggi.ggi_count = alloc_count; in get_graft_info() 261 if (ggi.ggi_graft_index >= alloc_count) { in get_graft_info() 271 kfree_type(fsioc_graft_info_t, alloc_count, graft_infos); in get_graft_info()
|
| /xnu-12377.81.4/bsd/netinet/ ! |
| H A D | in_tclass.c | 807 int n, alloc_count; in sogetopt_tcdbg() local 811 if ((alloc_count = tfp_count) == 0) { in sogetopt_tcdbg() 816 len = alloc_count * sizeof(struct so_tcdbg); in sogetopt_tcdbg() 829 if (++n > alloc_count) { in sogetopt_tcdbg()
|
| /xnu-12377.81.4/tools/lldbmacros/ ! |
| H A D | memory.py | 734 alloc_count = avail_count = 0 759 alloc_count = meta_sbv.xGetIntegerByName('zm_alloc_size') // zone.elem_outer_size 763 alloc_count=alloc_count, avail_count=avail_count,
|