Home
last modified time | relevance | path

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

/xnu-8020.140.41/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
858 p = memorystatus_get_first_proc_locked(&band, FALSE); in memorystatus_freezer_get_status()
916 p = memorystatus_get_next_proc_locked(&band, p, FALSE); in memorystatus_freezer_get_status()
1004 p = memorystatus_get_next_proc_locked(&band, p, FALSE); in memorystatus_freezer_get_status()
1080 uint32_t band = memorystatus_freeze_jetsam_band; in memorystatus_freezer_get_procs() local
1096 p = memorystatus_get_first_proc_locked(&band, FALSE); in memorystatus_freezer_get_procs()
1105 p = memorystatus_get_next_proc_locked(&band, p, FALSE); in memorystatus_freezer_get_procs()
1155 uint32_t band = JETSAM_PRIORITY_IDLE; in memorystatus_freezer_reset_state() local
1177 next_p = memorystatus_get_first_proc_locked(&band, TRUE); in memorystatus_freezer_reset_state()
1181 next_p = memorystatus_get_next_proc_locked(&band, p, TRUE); in memorystatus_freezer_reset_state()
[all …]
H A Dkern_memorystatus.c304 …kill_elevated_process(uint32_t cause, os_reason_t jetsam_reason, unsigned int band, int aggr_count,
3891 int elevated_bucket_count = 0, maximum_kills = 0, band = 0; in memorystatus_act_aggressive() local
4041 for (band = 0; band < jld_priority_band_max; band++) { in memorystatus_act_aggressive()
4042 maximum_kills += memstat_bucket[band].count; in memorystatus_act_aggressive()
6266 memorystatus_kill_elevated_process(uint32_t cause, os_reason_t jetsam_reason, unsigned int band, in… in memorystatus_kill_elevated_process() argument
6286 if (band == (unsigned int) memorystatus_freeze_jetsam_band) { in memorystatus_kill_elevated_process()
6293 next_p = memorystatus_get_first_proc_locked(&band, FALSE); in memorystatus_kill_elevated_process()
6296 next_p = memorystatus_get_next_proc_locked(&band, p, FALSE); in memorystatus_kill_elevated_process()
6391 next_p = memorystatus_get_first_proc_locked(&band, FALSE); in memorystatus_kill_elevated_process()
/xnu-8020.140.41/tests/vm/
H A Dmemorystatus_sort_test.c46 static void place_coalition_in_band(const coalition_info_t *, int band);
51 static void place_proc_in_band(pid_t pid, int band);
282 place_proc_in_band(pid_t pid, int band) in place_proc_in_band() argument
286 props.priority = band; in place_proc_in_band()
294 place_coalition_in_band(const coalition_info_t *coalition, int band) in place_coalition_in_band() argument
298 place_proc_in_band(curr, band); in place_coalition_in_band()
/xnu-8020.140.41/bsd/dev/vn/
H A Dshadow.c323 shadow_map_mapped_band(shadow_map_t * map, band_number_t band, in shadow_map_mapped_band() argument
328 if (band == map->zeroth_band) { in shadow_map_mapped_band()
332 *mapped_band = map->bands[band]; in shadow_map_mapped_band()
338 map->zeroth_band = band; in shadow_map_mapped_band()
340 *mapped_band = map->bands[band] = (band_number_t)map->next_band++; in shadow_map_mapped_band()
363 band_number_t band = shadow_map_block_to_band(map, start_block); in shadow_map_contiguous() local
370 is_mapped = shadow_map_mapped_band(map, band, is_write, &mapped_band); in shadow_map_contiguous()
385 band++; in shadow_map_contiguous()
386 is_mapped = shadow_map_mapped_band(map, band, is_write, in shadow_map_contiguous()
/xnu-8020.140.41/doc/
H A Dsched_clutch_edge.md8 … property could lead to a burst of activity at the same or lower priority band causing decay for t…