Home
last modified time | relevance | path

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

/xnu-11215/osfmk/kern/
H A Dcoalition.c2484 ntasks++; in coalition_get_task_count()
2488 ntasks++; in coalition_get_task_count()
2491 ntasks++; in coalition_get_task_count()
2493 ntasks++; in coalition_get_task_count()
2495 ntasks++; in coalition_get_task_count()
2502 return ntasks; in coalition_get_task_count()
2516 *ntasks += 1; in i_get_list_footprint()
2528 if (ntasks) { in coalition_get_page_count()
2529 *ntasks = 0; in coalition_get_page_count()
2556 if (ntasks) { in coalition_get_page_count()
[all …]
/xnu-11215/bsd/sys/
H A Dcoalition.h157 extern uint64_t coalition_get_page_count(coalition_t coal, int *ntasks);
250 __unused int *ntasks)
/xnu-11215/bsd/kern/
H A Dkern_memorystatus_freeze.c518 int ntasks = 0; variable
668 ntasks = coalition_get_pid_list(coal, COALITION_ROLEMASK_XPC,
671 if (ntasks > MAX_XPC_SERVICE_PIDS) {
672 ntasks = MAX_XPC_SERVICE_PIDS;
679 while (ntasks) {
680 pid = pid_list[--ntasks];
2142 unsigned int ntasks = 0; in memorystatus_freeze_top_process() local
2156 freeze_ret = memorystatus_freeze_process(p, &coal, pid_list, &ntasks); in memorystatus_freeze_top_process()
2165 num_frozen += memorystatus_freeze_pid_list(pid_list, ntasks); in memorystatus_freeze_top_process()
H A Dsys_coalition.c704 int ntasks = 0; variable
705 pgcount[t] = coalition_get_page_count(coal, &ntasks);
H A Dkern_memorystatus.c8508 int ntasks = 0; local
8606 ntasks = coalition_get_pid_list(leaders[i].msi_coal, COALITION_ROLEMASK_XPC,
8609 if (ntasks > 0) {
8611 (ntasks <= MAX_SORT_PIDS ? ntasks : MAX_SORT_PIDS));
8615 ntasks = coalition_get_pid_list(leaders[i].msi_coal, COALITION_ROLEMASK_EXT,
8618 if (ntasks > 0) {
8620 (ntasks <= MAX_SORT_PIDS ? ntasks : MAX_SORT_PIDS));
8624 ntasks = coalition_get_pid_list(leaders[i].msi_coal, COALITION_ROLEMASK_UNDEF,
8627 if (ntasks > 0) {
8629 (ntasks <= MAX_SORT_PIDS ? ntasks : MAX_SORT_PIDS));