Searched refs:zone_idx (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/nvme/host/ |
| H A D | zns.c | 180 int ret, zone_idx = 0; in nvme_ns_report_zones() local 199 while (zone_idx < nr_zones && sector < get_capacity(ns->disk)) { in nvme_ns_report_zones() 214 for (i = 0; i < nz && zone_idx < nr_zones; i++) { in nvme_ns_report_zones() 216 zone_idx, args); in nvme_ns_report_zones() 219 zone_idx++; in nvme_ns_report_zones() 225 if (zone_idx > 0) in nvme_ns_report_zones() 226 ret = zone_idx; in nvme_ns_report_zones()
|
| /linux/include/trace/events/ |
| H A D | oom.h | 48 __field( int, zone_idx) 59 __entry->zone_idx = zonelist_zone_idx(zoneref); 69 __entry->node, __print_symbolic(__entry->zone_idx, ZONE_TYPE),
|
| H A D | compaction.h | 209 __entry->idx = zone_idx(zone); 256 __entry->idx = zone_idx(zone);
|
| /linux/mm/ |
| H A D | mm_init.c | 934 int nid = zone_to_nid(zone), zone_id = zone_idx(zone); in memmap_init_zone_range() 991 unsigned long zone_idx, int nid, in __init_zone_device_page() argument 995 __init_single_page(page, pfn, zone_idx, nid); in __init_zone_device_page() 1070 unsigned long zone_idx, int nid, in memmap_init_compound() argument 1087 __init_zone_device_page(page, pfn, zone_idx, nid, pgmap); in memmap_init_compound() 1103 unsigned long zone_idx = zone_idx(zone); in memmap_init_zone_device() local 1107 if (WARN_ON_ONCE(!pgmap || zone_idx != ZONE_DEVICE)) in memmap_init_zone_device() 1123 __init_zone_device_page(page, pfn, zone_idx, nid, pgmap); in memmap_init_zone_device() 1128 memmap_init_compound(page, pfn, zone_idx, nid, pgmap, in memmap_init_zone_device() 1437 int zone_idx = zone_idx(zone) + 1; in init_currently_empty_zone() local [all …]
|
| H A D | memory_hotplug.c | 774 memmap_init_range(nr_pages, nid, zone_idx(zone), start_pfn, 0, in move_pfn_range_to_zone() 789 if (zone_idx(zone) == ZONE_MOVABLE) { in auto_movable_stats_account_zone() 1065 const bool movable = zone_idx(zone) == ZONE_MOVABLE; in adjust_present_page_count() 1208 if (!node_state(nid, N_NORMAL_MEMORY) && zone_idx(zone) <= ZONE_NORMAL) in online_pages() 2069 if (zone_idx(zone) <= ZONE_NORMAL) { in offline_pages()
|
| H A D | page_alloc.c | 3416 wakeup_kswapd(zone, 0, 0, zone_idx(zone)); in rmqueue() 3759 if (zone_idx(zone) != ZONE_NORMAL) in alloc_flags_nofragment() 5173 __count_zid_vm_events(PGALLOC, zone_idx(zone), nr_account); in alloc_pages_bulk_noprof() 5519 zoneref->zone_idx = zone_idx(zone); in zoneref_set_zone() 5662 zonerefs->zone_idx = 0; in build_zonelists_in_node_order() 5677 zonerefs->zone_idx = 0; in build_thisnode_zonelists() 5746 zonerefs->zone_idx = 0; in build_zonelists() 6381 if (!is_highmem(zone) && zone_idx(zone) != ZONE_MOVABLE) in __setup_per_zone_wmarks() 6391 if (is_highmem(zone) || zone_idx(zone) == ZONE_MOVABLE) { in __setup_per_zone_wmarks()
|
| /linux/drivers/block/ |
| H A D | virtio_blk.c | 665 unsigned int zone_idx = 0; in virtblk_report_zones() local 682 while (zone_idx < nr_zones && sector < get_capacity(vblk->disk)) { in virtblk_report_zones() 695 for (i = 0; i < nz && zone_idx < nr_zones; i++) { in virtblk_report_zones() 697 zone_idx, args); in virtblk_report_zones() 704 zone_idx++; in virtblk_report_zones() 708 if (zone_idx > 0) in virtblk_report_zones() 709 ret = zone_idx; in virtblk_report_zones()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | tc.h | 253 u8 zone_idx; /* for TABLE_FIELD_ID_DOMAIN */ member
|
| /linux/fs/btrfs/ |
| H A D | zoned.c | 1308 static int btrfs_load_zone_info(struct btrfs_fs_info *fs_info, int zone_idx, in btrfs_load_zone_info() argument 1319 info->physical = map->stripes[zone_idx].physical; in btrfs_load_zone_info() 1322 device = map->stripes[zone_idx].dev; in btrfs_load_zone_info() 1332 __set_bit(zone_idx, active); in btrfs_load_zone_info() 1407 __set_bit(zone_idx, active); in btrfs_load_zone_info()
|