Home
last modified time | relevance | path

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

/xnu-8019.80.24/tests/
H A Dproc_info.c755 int proc_count = num_procs / (int)sizeof(pid_t); variable
757 if (proc_count > (CONF_PROC_COUNT + 1)) {
758 proc_count = CONF_PROC_COUNT + 1;
760 pid_t * proc_ids = malloc(sizeof(pid_t) * (unsigned long)proc_count);
762 (int32_t)(proc_count * (int)sizeof(pid_t)));
764 T_ASSERT_GE_INT(num_procs, proc_count, "Valid number of pids obtained for PROC_ALL_PIDS.");
818 int proc_count = CONF_PROC_COUNT + 2; variable
819 pid_t * proc_ids = malloc(sizeof(*proc_ids) * (unsigned long)proc_count);
821 (user_addr_t)proc_ids, (int32_t)(proc_count * (int)sizeof(*proc_ids)));
838 int proc_count = CONF_PROC_COUNT + 2; variable
[all …]
/xnu-8019.80.24/bsd/kern/
H A Dkern_memorystatus_freeze.c814 …uint32_t proc_count = 0, freeze_eligible_proc_considered = 0, band = 0, xpc_index = 0, … in memorystatus_freezer_get_status() local
859 proc_count++; in memorystatus_freezer_get_status()
861 while ((proc_count <= MAX_FREEZABLE_PROCESSES) && in memorystatus_freezer_get_status()
917 proc_count++; in memorystatus_freezer_get_status()
1005 proc_count++; in memorystatus_freezer_get_status()