Searched refs:ntasks (Results 1 – 5 of 5) sorted by relevance
| /xnu-8020.140.41/osfmk/kern/ |
| H A D | coalition.c | 64 uint64_t coalition_get_page_count(coalition_t coal, int *ntasks); 2206 int ntasks = 0; in coalition_get_task_count() local 2216 ntasks++; in coalition_get_task_count() 2220 ntasks++; in coalition_get_task_count() 2223 ntasks++; in coalition_get_task_count() 2225 ntasks++; in coalition_get_task_count() 2227 ntasks++; in coalition_get_task_count() 2234 return ntasks; in coalition_get_task_count() 2239 i_get_list_footprint(queue_t list, int type, int *ntasks) in i_get_list_footprint() argument 2247 *ntasks, task_pid(task), type, bytes); in i_get_list_footprint() [all …]
|
| /xnu-8020.140.41/bsd/sys/ |
| H A D | coalition.h | 153 extern uint64_t coalition_get_page_count(coalition_t coal, int *ntasks); 235 __unused int *ntasks)
|
| /xnu-8020.140.41/bsd/kern/ |
| H A D | kern_memorystatus_freeze.c | 513 int ntasks = 0; variable 662 ntasks = coalition_get_pid_list(coal, COALITION_ROLEMASK_XPC, 665 if (ntasks > MAX_XPC_SERVICE_PIDS) { 666 ntasks = MAX_XPC_SERVICE_PIDS; 673 while (ntasks) { 674 pid = pid_list[--ntasks]; 2157 unsigned int ntasks = 0; in memorystatus_freeze_top_process() local 2206 freeze_ret = memorystatus_freeze_process(p, refreeze_processes, &coal, pid_list, &ntasks); in memorystatus_freeze_top_process() 2218 if (ntasks > 0) { in memorystatus_freeze_top_process() 2219 coal_xpc_pid = pid_list[--ntasks]; in memorystatus_freeze_top_process()
|
| H A D | sys_coalition.c | 527 int ntasks = 0; variable 528 pgcount[t] = coalition_get_page_count(coal, &ntasks);
|
| H A D | kern_memorystatus.c | 8159 int ntasks = 0; local 8264 ntasks = coalition_get_pid_list(leaders[i].msi_coal, COALITION_ROLEMASK_XPC, 8267 if (ntasks > 0) { 8269 (ntasks <= MAX_SORT_PIDS ? ntasks : MAX_SORT_PIDS)); 8273 ntasks = coalition_get_pid_list(leaders[i].msi_coal, COALITION_ROLEMASK_EXT, 8276 if (ntasks > 0) { 8278 (ntasks <= MAX_SORT_PIDS ? ntasks : MAX_SORT_PIDS)); 8282 ntasks = coalition_get_pid_list(leaders[i].msi_coal, COALITION_ROLEMASK_UNDEF, 8285 if (ntasks > 0) { 8287 (ntasks <= MAX_SORT_PIDS ? ntasks : MAX_SORT_PIDS));
|