Home
last modified time | relevance | path

Searched refs:entry_count (Results 1 – 10 of 10) sorted by relevance

/xnu-11215/bsd/kern/
H A Dkern_memorystatus.c5095 size_t i = snapshot->entry_count; in memorystatus_init_jetsam_snapshot_entry_with_kill_locked()
5102 snapshot->entry_count = i + 1; in memorystatus_init_jetsam_snapshot_entry_with_kill_locked()
5568 snapshot->entry_count = i; in memorystatus_init_jetsam_snapshot_locked()
7309 size_t entry_count = 0; local
7333 if (entry_count == 0) {
7361 for (i = 0; i < entry_count; i++) {
7409 for (i = 0; i < entry_count; i++) {
7467 size_t entry_count = 0, i = 0; local
7485 if (entry_count == 0) {
7512 for (i = 0; i < entry_count; i++) {
[all …]
H A Dkern_memorystatus_freeze.c823 size_t list_size = 0, entry_count = 0; in memorystatus_freezer_get_status() local
869entry_count = (memorystatus_global_probabilities_size / sizeof(memorystatus_internal_probabilities… in memorystatus_freezer_get_status()
992 if (entry_count) { in memorystatus_freezer_get_status()
994 for (j = 0; j < entry_count; j++) { in memorystatus_freezer_get_status()
1646 size_t entry_count = 0, i = 0; in memorystatus_freeze_process_is_recommended() local
1648 if (entry_count == 0) { in memorystatus_freeze_process_is_recommended()
1655 for (i = 0; i < entry_count; i++) { in memorystatus_freeze_process_is_recommended()
3131 size_t entry_count = 0, entries_size = 0, tmp_size = 0; in set_freezer_candidate_list() local
3145 entry_count = buffer_size / sizeof(memorystatus_properties_freeze_entry_v1); in set_freezer_candidate_list()
3158 for (size_t i = 0; i < entry_count; i++) { in set_freezer_candidate_list()
[all …]
/xnu-11215/osfmk/vm/
H A Dvm_shared_region_xnu.h57 uint32_t entry_count; member
H A Dvm_shared_region.c2812 if (entryIndex >= s_info->entry_count) { in vm_shared_region_slide_sanity_check_v1()
2813 …pageIndex: %d at entryIndex: %d amongst %d entries\n", pageIndex, entryIndex, s_info->entry_count); in vm_shared_region_slide_sanity_check_v1()
3011 if (entryIndex >= s_info->entry_count) { in vm_shared_region_slide_page_v1()
3012 …No sliding bitmap entry for entryIndex: %d amongst %d entries\n", entryIndex, s_info->entry_count); in vm_shared_region_slide_page_v1()
/xnu-11215/tests/vm/
H A Dmemorystatus_freeze_test.c851 …tus_jetsam_snapshot_t)) / sizeof(memorystatus_jetsam_snapshot_entry_t)) != snapshot->entry_count) {
853 …sizeof(memorystatus_jetsam_snapshot_t), snapshot->entry_count, sizeof(memorystatus_jetsam_snapshot…
854 …sizeof(memorystatus_jetsam_snapshot_t) + (snapshot->entry_count * sizeof(memorystatus_jetsam_snaps…
876 for (size_t i = 0; i < snapshot->entry_count; i++) {
1302 for (size_t i = 0; i < snapshot->entry_count; i++) {
/xnu-11215/bsd/sys/
H A Dkern_memorystatus.h227 size_t entry_count; member
/xnu-11215/bsd/net/
H A Dnecp.c10095 if (necp_drop_dest_policy.entry_count != 0 && in necp_socket_find_policy_match_with_info_locked()
11162 if (necp_drop_dest_policy.entry_count > 0 && in necp_ip_output_find_policy_match_locked()
11280 …E && necp_kernel_ip_output_policies_non_id_count == 0 && necp_drop_dest_policy.entry_count == 0)) { in necp_ip_output_find_policy_match()
13752 for (u_int32_t i = 0; i < necp_drop_dest_policy.entry_count; i++) { in necp_address_matches_drop_dest_policy()
13815 if (tmp_drop_dest_policy.entry_count >= MAX_NECP_DROP_DEST_LEVEL_ADDRS) {
13816 …ss %s:%u) bad entry_count %u", __func__, proc_best_name(p), pid, tmp_drop_dest_policy.entry_count);
13819 for (u_int32_t i = 0; i < tmp_drop_dest_policy.entry_count; i++) {
13825 if (tmp_drop_dest_policy.entry_count != 0) {
13841 if (tmp_drop_dest_policy.entry_count == 0) {
13903 necp_drop_dest_policy.entry_count = tmp_drop_dest_policy.entry_count;
[all …]
H A Dnecp.h1082 u_int32_t entry_count; member
/xnu-11215/osfmk/arm/pmap/
H A Dpmap.c10166 unsigned int entry_count = 0; local
10277 ++entry_count;
10278 if (__improbable(!(entry_count % PMAP_DEFAULT_PREEMPTION_CHECK_PAGE_INTERVAL) &&
10287 ++entry_count;
10288 if (__improbable(!(entry_count % PMAP_DEFAULT_PREEMPTION_CHECK_PAGE_INTERVAL) &&
10346 ++entry_count;
10347 if (__improbable(!(entry_count % PMAP_DEFAULT_PREEMPTION_CHECK_PAGE_INTERVAL) &&
/xnu-11215/bsd/skywalk/nexus/
H A Dnexus.c3213 nexus_channel_ring_entry *__counted_by(entry_count)entries, in populate_ring_entries()
3214 uint32_t NX_FB_ARG entry_count) in populate_ring_entries() argument