/linux-6.12.1/drivers/md/dm-vdo/ |
D | logical-zone.c | 55 struct logical_zone *zone = &zones->zones[zone_number]; in initialize_zone() local 91 zone_count_t zone; in vdo_make_logical_zones() local 143 static inline void assert_on_zone_thread(struct logical_zone *zone, const char *what) in assert_on_zone_thread() 153 static void check_for_drain_complete(struct logical_zone *zone) in check_for_drain_complete() 203 struct logical_zone *zone = &(((struct logical_zones *) context)->zones[zone_number]); in resume_logical_zone() local 225 static bool update_oldest_active_generation(struct logical_zone *zone) in update_oldest_active_generation() 246 void vdo_increment_logical_zone_flush_generation(struct logical_zone *zone, in vdo_increment_logical_zone_flush_generation() 267 struct logical_zone *zone = data_vio->logical.zone; in vdo_acquire_flush_generation_lock() local 287 struct logical_zone *zone = as_logical_zone(completion); in notify_flusher() local 302 struct logical_zone *zone = as_logical_zone(completion); in attempt_generation_complete_notification() local [all …]
|
D | block-map.c | 60 struct block_map_zone *zone; member 98 struct block_map_zone *zone; member 624 static void check_for_drain_complete(struct block_map_zone *zone) in check_for_drain_complete() 638 static void enter_zone_read_only_mode(struct block_map_zone *zone, int result) in enter_zone_read_only_mode() 1211 struct block_map_zone *zone, physical_block_number_t pbn, in vdo_get_page() 1377 static inline struct tree_page *get_tree_page(const struct block_map_zone *zone, in get_tree_page() 1439 static bool __must_check is_not_older(struct block_map_zone *zone, u8 a, u8 b) in is_not_older() 1455 static void release_generation(struct block_map_zone *zone, u8 generation) in release_generation() 1472 static void set_generation(struct block_map_zone *zone, struct tree_page *page, in set_generation() 1504 static void acquire_vio(struct vdo_waiter *waiter, struct block_map_zone *zone) in acquire_vio() [all …]
|
D | physical-zone.c | 329 struct physical_zone *zone = &zones->zones[zone_number]; in initialize_zone() local 399 struct physical_zone *zone = &zones->zones[index]; in vdo_free_physical_zones() local 415 struct pbn_lock *vdo_get_physical_zone_pbn_lock(struct physical_zone *zone, in vdo_get_physical_zone_pbn_lock() 436 int vdo_attempt_physical_zone_pbn_lock(struct physical_zone *zone, in vdo_attempt_physical_zone_pbn_lock() 542 struct physical_zone *zone = allocation->zone; in continue_allocating() local 611 void vdo_release_physical_zone_pbn_lock(struct physical_zone *zone, in vdo_release_physical_zone_pbn_lock() 641 void vdo_dump_physical_zone(const struct physical_zone *zone) in vdo_dump_physical_zone()
|
D | dedupe.c | 321 static inline void assert_in_hash_zone(struct hash_zone *zone, const char *name) in assert_in_hash_zone() 332 static inline bool change_timer_state(struct hash_zone *zone, int old, int new) in change_timer_state() 342 static void return_hash_lock_to_pool(struct hash_zone *zone, struct hash_lock *lock) in return_hash_lock_to_pool() 718 struct hash_zone *zone = context->zone; in release_context() local 863 static int __must_check acquire_lock(struct hash_zone *zone, in acquire_lock() 1313 struct physical_zone *zone = agent->duplicate.zone; in lock_duplicate_pbn() local 1789 struct hash_zone *zone; in is_hash_collision() local 1913 struct hash_zone *zone = data_vio->hash_zone; in vdo_release_hash_lock() local 2253 static void check_for_drain_complete(struct hash_zone *zone) in check_for_drain_complete() 2294 struct hash_zone *zone = as_hash_zone(completion); in timeout_index_operations_callback() local [all …]
|
/linux-6.12.1/drivers/block/null_blk/ |
D | zoned.c | 25 struct nullb_zone *zone) in null_init_zone_lock() 34 struct nullb_zone *zone) in null_lock_zone() 43 struct nullb_zone *zone) in null_unlock_zone() 55 struct nullb_zone *zone; in null_init_zoned_dev() local 199 struct nullb_zone *zone; in null_report_zones() local 244 struct nullb_zone *zone = &dev->zones[null_zone_no(dev, sector)]; in null_zone_valid_read_len() local 260 struct nullb_zone *zone; in null_close_imp_open_zone() local 331 struct nullb_zone *zone) in null_check_zone_resources() 355 struct nullb_zone *zone = &dev->zones[zno]; in null_zone_write() local 441 struct nullb_zone *zone) in null_open_zone() [all …]
|
/linux-6.12.1/fs/pstore/ |
D | zone.c | 160 static inline int buffer_datalen(struct pstore_zone *zone) in buffer_datalen() 165 static inline int buffer_start(struct pstore_zone *zone) in buffer_start() 175 static ssize_t psz_zone_read_buffer(struct pstore_zone *zone, char *buf, in psz_zone_read_buffer() 187 static int psz_zone_read_oldbuf(struct pstore_zone *zone, char *buf, in psz_zone_read_oldbuf() 199 static int psz_zone_write(struct pstore_zone *zone, in psz_zone_write() 262 static int psz_flush_dirty_zone(struct pstore_zone *zone) in psz_flush_dirty_zone() 284 struct pstore_zone *zone; in psz_flush_dirty_zones() local 335 struct pstore_zone *zone = NULL; in psz_kmsg_recover_data() local 374 struct pstore_zone *zone; in psz_kmsg_recover_meta() local 481 static int psz_recover_zone(struct psz_context *cxt, struct pstore_zone *zone) in psz_recover_zone() [all …]
|
/linux-6.12.1/tools/power/cpupower/lib/ |
D | powercap.c | 124 static int sysfs_powercap_get64_val(struct powercap_zone *zone, in sysfs_powercap_get64_val() 146 int powercap_get_max_energy_range_uj(struct powercap_zone *zone, uint64_t *val) in powercap_get_max_energy_range_uj() 151 int powercap_get_energy_uj(struct powercap_zone *zone, uint64_t *val) in powercap_get_energy_uj() 156 int powercap_get_max_power_range_uw(struct powercap_zone *zone, uint64_t *val) in powercap_get_max_power_range_uw() 161 int powercap_get_power_uw(struct powercap_zone *zone, uint64_t *val) in powercap_get_power_uw() 166 int powercap_zone_get_enabled(struct powercap_zone *zone, int *mode) in powercap_zone_get_enabled() 181 int powercap_zone_set_enabled(struct powercap_zone *zone, int mode) in powercap_zone_set_enabled() 188 int powercap_read_zone(struct powercap_zone *zone) in powercap_read_zone() 290 int powercap_walk_zones(struct powercap_zone *zone, in powercap_walk_zones() 291 int (*f)(struct powercap_zone *zone)) in powercap_walk_zones()
|
/linux-6.12.1/include/linux/ |
D | mmzone.h | 818 struct zone { struct 831 * wasting several GB of ram we must reserve some of the lower zone argument 842 struct pglist_data *zone_pgdat; argument 844 struct per_cpu_zonestat __percpu *per_cpu_zonestats; argument 862 unsigned long zone_start_pfn; argument 865 * spanned_pages is the total pages spanned by the zone, including argument 922 * of pageblock. Protected by zone->lock. argument 945 /* zone flags, see below */ argument 946 unsigned long flags; 949 spinlock_t lock; [all …]
|
D | memory_hotplug.h | 101 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() 105 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() 109 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock() 113 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock() 117 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init() 206 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() 210 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() 214 static inline void zone_span_writelock(struct zone *zone) {} in zone_span_writelock() 215 static inline void zone_span_writeunlock(struct zone *zone) {} in zone_span_writeunlock() 216 static inline void zone_seqlock_init(struct zone *zone) {} in zone_seqlock_init() [all …]
|
D | vmstat.h | 149 static inline void zone_numa_event_add(long x, struct zone *zone, in zone_numa_event_add() 156 static inline unsigned long zone_numa_event_state(struct zone *zone, in zone_numa_event_state() 169 static inline void zone_page_state_add(long x, struct zone *zone, in zone_page_state_add() 211 static inline unsigned long zone_page_state(struct zone *zone, in zone_page_state() 228 static inline unsigned long zone_page_state_snapshot(struct zone *zone, in zone_page_state_snapshot() 247 __count_numa_event(struct zone *zone, enum numa_stat_item item) in __count_numa_event() 255 __count_numa_events(struct zone *zone, enum numa_stat_item item, long delta) in __count_numa_events() 323 static inline void __mod_zone_page_state(struct zone *zone, in __mod_zone_page_state() 346 static inline void __inc_zone_state(struct zone *zone, enum zone_stat_item item) in __inc_zone_state() 358 static inline void __dec_zone_state(struct zone *zone, enum zone_stat_item item) in __dec_zone_state() [all …]
|
/linux-6.12.1/mm/ |
D | page_alloc.c | 314 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone() 324 static inline bool _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone() 429 static int page_outside_zone_boundaries(struct zone *zone, struct page *page) in page_outside_zone_boundaries() 454 static bool __maybe_unused bad_range(struct zone *zone, struct page *page) in bad_range() 464 static inline bool __maybe_unused bad_range(struct zone *zone, struct page *page) in bad_range() 584 static inline struct capture_control *task_capc(struct zone *zone) in task_capc() 622 static inline struct capture_control *task_capc(struct zone *zone) in task_capc() 635 static inline void account_freepages(struct zone *zone, int nr_pages, in account_freepages() 653 static inline void __add_to_free_list(struct page *page, struct zone *zone, in __add_to_free_list() 675 static inline void move_to_free_list(struct page *page, struct zone *zone, in move_to_free_list() [all …]
|
D | vmstat.c | 38 static void zero_zone_numa_counters(struct zone *zone) in zero_zone_numa_counters() 54 struct zone *zone; in zero_zones_numa_counters() local 169 static void fold_vm_zone_numa_events(struct zone *zone) in fold_vm_zone_numa_events() 189 struct zone *zone; in fold_vm_numa_events() local 198 int calculate_pressure_threshold(struct zone *zone) in calculate_pressure_threshold() 222 int calculate_normal_threshold(struct zone *zone) in calculate_normal_threshold() 275 struct zone *zone; in refresh_zone_stat_thresholds() local 318 int (*calculate_pressure)(struct zone *)) in set_pgdat_percpu_threshold() 320 struct zone *zone; in set_pgdat_percpu_threshold() local 342 void __mod_zone_page_state(struct zone *zone, enum zone_stat_item item, in __mod_zone_page_state() [all …]
|
D | mm_init.c | 52 struct zone *zone; in mminit_verify_zonelist() local 566 unsigned long zone, int nid) in __init_single_page() 720 struct zone *zone = &pgdat->node_zones[zid]; in init_reserved_page() local 775 overlap_memmap_init(unsigned long zone, unsigned long *pfn) in overlap_memmap_init() 820 int zone, int node) in init_unavailable_range() 849 void __meminit memmap_init_range(unsigned long size, int nid, unsigned long zone, in memmap_init_range() 916 static void __init memmap_init_zone_range(struct zone *zone, in memmap_init_zone_range() 950 struct zone *zone = node->node_zones + j; in memmap_init() local 1070 void __ref memmap_init_zone_device(struct zone *zone, in memmap_init_zone_device() 1306 struct zone *zone = pgdat->node_zones + i; in calculate_node_totalpages() local [all …]
|
D | compaction.c | 158 static void defer_compaction(struct zone *zone, int order) in defer_compaction() 173 static bool compaction_deferred(struct zone *zone, int order) in compaction_deferred() 196 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset() 210 static bool compaction_restarting(struct zone *zone, int order) in compaction_restarting() 229 static void reset_cached_positions(struct zone *zone) in reset_cached_positions() 308 __reset_isolation_pfn(struct zone *zone, unsigned long pfn, bool check_source, in __reset_isolation_pfn() 381 static void __reset_isolation_suitable(struct zone *zone) in __reset_isolation_suitable() 439 struct zone *zone = &pgdat->node_zones[zoneid]; in reset_isolation_suitable() local 468 struct zone *zone = cc->zone; in update_cached_migrate() local 491 struct zone *zone = cc->zone; in update_pageblock_skip() local [all …]
|
D | show_mem.c | 26 static inline void show_node(struct zone *zone) in show_node() 38 struct zone *zone; in si_mem_available() local 104 struct zone *zone = &pgdat->node_zones[zone_type]; in si_meminfo_node() local 190 struct zone *zone; in show_free_areas() local 403 struct zone *zone; in __show_mem() local
|
D | page_isolation.c | 37 struct zone *zone = page_zone(page); in has_unmovable_pages() local 150 struct zone *zone = page_zone(page); in set_migratetype_isolate() local 207 struct zone *zone; in unset_migratetype_isolate() local 315 struct zone *zone; in isolate_single_pageblock() local 611 struct zone *zone; in test_pages_isolated() local
|
/linux-6.12.1/drivers/md/dm-vdo/indexer/ |
D | index.c | 78 static bool is_zone_chapter_sparse(const struct index_zone *zone, u64 virtual_chapter) in is_zone_chapter_sparse() 85 static int launch_zone_message(struct uds_zone_message message, unsigned int zone, in launch_zone_message() 110 unsigned int zone; in enqueue_barrier_messages() local 127 struct index_zone *zone; in triage_index_request() local 151 static int simulate_index_zone_barrier_message(struct index_zone *zone, in simulate_index_zone_barrier_message() 197 static int swap_open_chapter(struct index_zone *zone) in swap_open_chapter() 229 static int announce_chapter_closed(struct index_zone *zone, u64 closed_chapter) in announce_chapter_closed() 250 static int open_next_chapter(struct index_zone *zone) in open_next_chapter() 294 static int handle_chapter_closed(struct index_zone *zone, u64 virtual_chapter) in handle_chapter_closed() 305 struct index_zone *zone = request->index->zones[request->zone_number]; in dispatch_index_zone_control_request() local [all …]
|
/linux-6.12.1/drivers/md/ |
D | dm-zoned-metadata.c | 137 struct dm_zone *zone; member 221 static unsigned int dmz_dev_zone_id(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_dev_zone_id() 229 sector_t dmz_start_sect(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_start_sect() 236 sector_t dmz_start_block(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_start_block() 311 struct dm_zone *zone = kzalloc(sizeof(struct dm_zone), GFP_KERNEL); in dmz_insert() local 1359 struct dm_zone *zone; in dmz_init_zone() local 1430 struct dm_zone *zone; in dmz_emulate_zones() local 1457 struct dm_zone *zone = xa_load(&zmd->zones, idx); in dmz_drop_zones() local 1562 struct dm_zone *zone = data; in dmz_update_zone_cb() local 1581 static int dmz_update_zone(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_update_zone() [all …]
|
/linux-6.12.1/drivers/mtd/ |
D | sm_ftl.c | 192 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset() 207 int *zone, int *block, int *boffset) in sm_break_offset() 238 int zone, int block, int boffset, in sm_read_sector() 323 int zone, int block, int boffset, in sm_write_sector() 370 int zone, int block, int lba, in sm_write_block() 436 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone, int block) in sm_mark_block_bad() 467 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_erase_block() local 501 static int sm_check_block(struct sm_ftl *ftl, int zone, int block) in sm_check_block() 754 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_init_zone() local 882 struct ftl_zone *zone; in sm_get_zone() local [all …]
|
/linux-6.12.1/include/net/netfilter/ |
D | nf_conntrack_zones.h | 19 nf_ct_zone_init(struct nf_conntrack_zone *zone, u16 id, u8 dir, u8 flags) in nf_ct_zone_init() 43 const struct nf_conntrack_zone *zone) in nf_ct_zone_add() 50 static inline bool nf_ct_zone_matches_dir(const struct nf_conntrack_zone *zone, in nf_ct_zone_matches_dir() 56 static inline u16 nf_ct_zone_id(const struct nf_conntrack_zone *zone, in nf_ct_zone_id()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | alloc.c | 250 struct mlx4_zone_entry *zone = kmalloc(sizeof(*zone), GFP_KERNEL); in mlx4_zone_add_one() local 321 struct mlx4_zone_entry *zone, *tmp; in mlx4_zone_allocator_destroy() local 336 static u32 __mlx4_alloc_from_zone(struct mlx4_zone_entry *zone, int count, in __mlx4_alloc_from_zone() 418 static void __mlx4_free_from_zone(struct mlx4_zone_entry *zone, u32 obj, in __mlx4_free_from_zone() 428 struct mlx4_zone_entry *zone; in __mlx4_find_zone_by_uid() local 440 struct mlx4_zone_entry *zone; in mlx4_zone_get_bitmap() local 456 struct mlx4_zone_entry *zone; in mlx4_zone_remove_one() local 481 struct mlx4_zone_entry *zone, *zone_candidate = NULL; in __mlx4_find_zone_by_uid_unique() local 511 struct mlx4_zone_entry *zone; in mlx4_zone_alloc_entries() local 531 struct mlx4_zone_entry *zone; in mlx4_zone_free_entries() local [all …]
|
/linux-6.12.1/fs/adfs/ |
D | map.c | 159 static int scan_map(struct adfs_sb_info *asb, unsigned int zone, in scan_map() 202 unsigned int zone; in adfs_map_statfs() local 220 unsigned int zone, mapoff; in adfs_map_lookup() local 312 unsigned int zone, zone_size; in adfs_map_layout() local 337 unsigned int zone; in adfs_map_read() local 350 unsigned int zone; in adfs_map_relse() local
|
/linux-6.12.1/drivers/thermal/tegra/ |
D | tegra-bpmp-thermal.c | 33 static int __tegra_bpmp_thermal_get_temp(struct tegra_bpmp_thermal_zone *zone, in __tegra_bpmp_thermal_get_temp() 67 struct tegra_bpmp_thermal_zone *zone = thermal_zone_device_priv(tz); in tegra_bpmp_thermal_get_temp() local 74 struct tegra_bpmp_thermal_zone *zone = thermal_zone_device_priv(tz); in tegra_bpmp_thermal_set_trips() local 102 struct tegra_bpmp_thermal_zone *zone; in tz_device_update_work_fn() local 253 struct tegra_bpmp_thermal_zone *zone; in tegra_bpmp_thermal_probe() local
|
/linux-6.12.1/kernel/power/ |
D | snapshot.c | 406 struct mem_zone_bm_rtree *zone; member 468 static int add_rtree_block(struct mem_zone_bm_rtree *zone, gfp_t gfp_mask, in add_rtree_block() 544 struct mem_zone_bm_rtree *zone; in create_zone_bm_rtree() local 576 static void free_zone_bm_rtree(struct mem_zone_bm_rtree *zone, in free_zone_bm_rtree() 630 struct zone *zone; in create_mem_extents() local 700 struct mem_zone_bm_rtree *zone; in memory_bm_create() local 729 struct mem_zone_bm_rtree *zone; in memory_bm_free() local 751 struct mem_zone_bm_rtree *curr, *zone; in memory_bm_find_bit() local 963 static void recycle_zone_bm_rtree(struct mem_zone_bm_rtree *zone) in recycle_zone_bm_rtree() 976 struct mem_zone_bm_rtree *zone; in memory_bm_recycle() local [all …]
|
/linux-6.12.1/tools/testing/selftests/net/netfilter/ |
D | conntrack_dump_flush.c | 96 uint16_t zone) in conntrack_data_insert() 140 uint32_t dst_ip, uint16_t zone) in conntrack_data_generate_v4() 174 uint16_t zone) in conntrack_data_generate_v6() 213 static int conntracK_count_zone(struct mnl_socket *sock, uint16_t zone) in conntracK_count_zone() 260 static int conntrack_flush_zone(struct mnl_socket *sock, uint16_t zone) in conntrack_flush_zone()
|