Home
last modified time | relevance | path

Searched refs:proc_count (Results 1 – 2 of 2) sorted by relevance

/xnu-11215.1.10/tests/
H A Dproc_info.c757 int proc_count = num_procs / (int)sizeof(pid_t); variable
759 if (proc_count > (CONF_PROC_COUNT + 1)) {
760 proc_count = CONF_PROC_COUNT + 1;
762 pid_t * proc_ids = malloc(sizeof(pid_t) * (unsigned long)proc_count);
764 (int32_t)(proc_count * (int)sizeof(pid_t)));
766 T_ASSERT_GE_INT(num_procs, proc_count, "Valid number of pids obtained for PROC_ALL_PIDS.");
820 int proc_count = CONF_PROC_COUNT + 2; variable
821 pid_t * proc_ids = malloc(sizeof(*proc_ids) * (unsigned long)proc_count);
823 (user_addr_t)proc_ids, (int32_t)(proc_count * (int)sizeof(*proc_ids)));
840 int proc_count = CONF_PROC_COUNT + 2; variable
[all …]
/xnu-11215.1.10/bsd/kern/
H A Dkern_memorystatus_freeze.c836 …uint32_t proc_count = 0, freeze_eligible_proc_considered = 0, band = 0, xpc_index = 0, … in memorystatus_freezer_get_status() local
901 proc_count++; in memorystatus_freezer_get_status()
903 while ((proc_count <= MAX_FREEZABLE_PROCESSES) && in memorystatus_freezer_get_status()
959 proc_count++; in memorystatus_freezer_get_status()
1061 proc_count++; in memorystatus_freezer_get_status()