/linux/drivers/block/null_blk/ |
A D | zoned.c | 32 struct nullb_zone *zone) in null_init_zone_lock() 41 struct nullb_zone *zone) in null_lock_zone() 50 struct nullb_zone *zone) in null_unlock_zone() 61 struct nullb_zone *zone; in null_init_zoned_dev() local 192 struct nullb_zone *zone; in null_report_zones() local 282 struct nullb_zone *zone; in null_close_imp_open_zone() local 458 struct nullb_zone *zone) in null_open_zone() 501 struct nullb_zone *zone) in null_close_zone() 561 struct nullb_zone *zone) in null_reset_zone() 605 struct nullb_zone *zone; in null_zone_mgmt() local [all …]
|
/linux/include/linux/ |
A D | mmzone.h | 499 struct zone { struct 511 * wasting several GB of ram we must reserve some of the lower zone argument 522 struct pglist_data *zone_pgdat; argument 541 unsigned long zone_start_pfn; argument 544 * spanned_pages is the total pages spanned by the zone, including argument 601 * of pageblock. Protected by zone->lock. argument 619 /* zone flags, see below */ argument 620 unsigned long flags; 623 spinlock_t lock; 653 int compact_order_failed; [all …]
|
A D | memory_hotplug.h | 81 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() 85 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() 89 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock() 93 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock() 97 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init() 232 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() 236 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() 240 static inline void zone_span_writelock(struct zone *zone) {} in zone_span_writelock() 241 static inline void zone_span_writeunlock(struct zone *zone) {} in zone_span_writeunlock() 242 static inline void zone_seqlock_init(struct zone *zone) {} in zone_seqlock_init()
|
A D | vmstat.h | 145 static inline void zone_numa_event_add(long x, struct zone *zone, in zone_numa_event_add() 152 static inline unsigned long zone_numa_event_state(struct zone *zone, in zone_numa_event_state() 165 static inline void zone_page_state_add(long x, struct zone *zone, in zone_page_state_add() 207 static inline unsigned long zone_page_state(struct zone *zone, in zone_page_state() 224 static inline unsigned long zone_page_state_snapshot(struct zone *zone, in zone_page_state_snapshot() 243 __count_numa_event(struct zone *zone, enum numa_stat_item item) in __count_numa_event() 251 __count_numa_events(struct zone *zone, enum numa_stat_item item, long delta) in __count_numa_events() 319 static inline void __mod_zone_page_state(struct zone *zone, in __mod_zone_page_state() 342 static inline void __inc_zone_state(struct zone *zone, enum zone_stat_item item) in __inc_zone_state() 414 static inline void drain_zonestat(struct zone *zone, in drain_zonestat() [all …]
|
A D | page-isolation.h | 6 static inline bool has_isolate_pageblock(struct zone *zone) in has_isolate_pageblock() 19 static inline bool has_isolate_pageblock(struct zone *zone) in has_isolate_pageblock()
|
/linux/fs/pstore/ |
A D | zone.c | 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 573 struct pstore_zone *zone; in psz_recover_zones() local 681 struct pstore_zone *zone) in psz_record_erase() 749 struct pstore_zone *zone; in psz_kmsg_write_record() local 908 struct pstore_zone *zone = NULL; in psz_read_next_zone() local 1061 struct pstore_zone *zone; in psz_pstore_read() local 1113 struct pstore_zone *zone = *pszone; in psz_free_zone() local 1154 struct pstore_zone *zone; in psz_init_zone() local [all …]
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | ttm_memory.c | 84 struct ttm_mem_zone *zone = in ttm_mem_zone_kobj_release() local 96 struct ttm_mem_zone *zone = in ttm_mem_zone_show() local 124 struct ttm_mem_zone *zone = in ttm_mem_zone_store() local 244 struct ttm_mem_zone *zone; in ttm_zones_above_swap_target() local 337 struct ttm_mem_zone *zone; in ttm_mem_init_highmem_zone() local 423 struct ttm_mem_zone *zone; in ttm_mem_global_init() local 468 struct ttm_mem_zone *zone; in ttm_mem_global_release() local 487 struct ttm_mem_zone *zone; in ttm_check_swapping() local 510 struct ttm_mem_zone *zone; in ttm_mem_global_free_zone() local 565 struct ttm_mem_zone *zone; in ttm_mem_global_reserve() local [all …]
|
/linux/mm/ |
A D | page_alloc.c | 152 struct zone *zone; member 2038 struct zone *zone; in deferred_init_memmap() local 2199 struct zone *zone; in page_alloc_init_late() local 2808 struct zone *zone; in unreserve_highatomic_pageblock() local 3108 struct zone *zone; in drain_pages() local 3498 struct zone *zone; in __isolate_free_page() local 4037 struct zone *zone; in get_page_from_freelist() local 4491 struct zone *zone; in should_compact_retry() local 4635 struct zone *zone; in wake_all_kswapds() local 4746 struct zone *zone; in should_reclaim_retry() local [all …]
|
A D | vmstat.c | 54 struct zone *zone; in zero_zones_numa_counters() local 189 struct zone *zone; in fold_vm_numa_events() local 275 struct zone *zone; in refresh_zone_stat_thresholds() local 320 struct zone *zone; in set_pgdat_percpu_threshold() local 716 struct zone *zone; in inc_zone_page_state() local 821 struct zone *zone; in refresh_cpu_vm_stats() local 907 struct zone *zone; in cpu_vm_stats_fold() local 1429 struct zone *zone; in walk_zones_in_node() local 1448 struct zone *zone) in frag_show_print() 1652 struct zone *zone) in zoneinfo_show_print() [all …]
|
A D | compaction.c | 388 struct zone *zone = &pgdat->node_zones[zoneid]; in reset_isolation_suitable() local 423 struct zone *zone = cc->zone; in update_cached_migrate() local 445 struct zone *zone = cc->zone; in update_pageblock_skip() local 1543 struct zone *zone = cc->zone; in isolate_freepages() local 1999 struct zone *zone; in fragmentation_score_node() local 2245 struct zone *zone; in compaction_zonelist_suitable() local 2562 struct zone *zone; in try_to_compact_pages() local 2636 struct zone *zone; in proactive_compact_node() local 2665 struct zone *zone; in compact_node() local 2784 struct zone *zone; in kcompactd_node_suitable() local [all …]
|
A D | memory_hotplug.c | 435 struct zone *zone; in update_pgdat_span() local 460 void __ref remove_pfn_range_from_zone(struct zone *zone, in remove_pfn_range_from_zone() 618 struct zone *zone, struct memory_notify *arg) in node_states_check_changes_online() 724 struct zone *zone) in auto_movable_stats_account_zone() 779 struct zone *zone; in auto_movable_can_online_movable() local 833 struct zone *zone = &pgdat->node_zones[zid]; in default_kernel_zone_for_pfn() local 1000 struct zone *zone = page_zone(page); in adjust_present_page_count() local 1019 struct zone *zone) in mhp_init_memmap_on_memory() 1600 struct zone *zone = NULL; in test_pages_in_a_zone() local 1791 struct zone *zone, struct memory_notify *arg) in node_states_check_changes_offline() [all …]
|
A D | page_isolation.c | 20 struct zone *zone = page_zone(page); in set_migratetype_isolate() local 69 struct zone *zone; in unset_migratetype_isolate() local 275 struct zone *zone; in test_pages_isolated() local
|
A D | page_reporting.c | 114 page_reporting_cycle(struct page_reporting_dev_info *prdev, struct zone *zone, in page_reporting_cycle() 229 struct scatterlist *sgl, struct zone *zone) in page_reporting_process_zone() 282 struct zone *zone; in page_reporting_process() local
|
/linux/drivers/thermal/intel/int340x_thermal/ |
A D | int340x_thermal_zone.c | 14 static int int340x_thermal_get_zone_temp(struct thermal_zone_device *zone, in int340x_thermal_get_zone_temp() 43 static int int340x_thermal_get_trip_temp(struct thermal_zone_device *zone, in int340x_thermal_get_trip_temp() 75 static int int340x_thermal_get_trip_type(struct thermal_zone_device *zone, in int340x_thermal_get_trip_type() 108 static int int340x_thermal_set_trip_temp(struct thermal_zone_device *zone, in int340x_thermal_set_trip_temp() 130 static int int340x_thermal_get_trip_hyst(struct thermal_zone_device *zone, in int340x_thermal_get_trip_hyst() 149 static void int340x_thermal_critical(struct thermal_zone_device *zone) in int340x_thermal_critical()
|
/linux/include/net/netfilter/ |
A 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/drivers/md/ |
A D | dm-zoned-metadata.c | 137 struct dm_zone *zone; member 1377 struct dm_zone *zone; in dmz_init_zone() local 1448 struct dm_zone *zone; in dmz_emulate_zones() local 1580 struct dm_zone *zone = data; in dmz_update_zone_cb() local 1636 struct dm_zone *zone) in dmz_handle_seq_write_err() 2018 struct dm_zone *zone; in dmz_get_seq_zone_for_reclaim() local 2036 struct dm_zone *zone = NULL; in dmz_get_zone_for_reclaim() local 2226 struct dm_zone *zone; in dmz_alloc_zone() local 2418 struct dm_zone *zone, in dmz_get_bitmap() 2888 struct dm_zone *zone; in dmz_ctr_metadata() local [all …]
|
A D | dm-zoned-target.c | 21 struct dm_zone *zone; member 86 struct dm_zone *zone = bioctx->zone; in dmz_bio_endio() local 116 static int dmz_submit_bio(struct dmz_target *dmz, struct dm_zone *zone, in dmz_submit_bio() 170 static int dmz_handle_read(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_read() 251 struct dm_zone *zone, struct bio *bio, in dmz_handle_direct_write() 284 struct dm_zone *zone, struct bio *bio, in dmz_handle_buffered_write() 319 static int dmz_handle_write(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_write() 358 static int dmz_handle_discard(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_discard() 402 struct dm_zone *zone; in dmz_handle_bio() local
|
/linux/drivers/mtd/ |
A D | sm_ftl.c | 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() 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 932 struct ftl_zone *zone; in sm_cache_flush() local 1017 struct ftl_zone *zone; in sm_read() local [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | btf_dump_test_case_padding.c | 99 struct zone { struct 102 struct zone_padding __pad__; argument 110 struct zone _5; in f() argument
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A 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/fs/adfs/ |
A 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/kernel/power/ |
A D | snapshot.c | 404 struct mem_zone_bm_rtree *zone; member 537 struct mem_zone_bm_rtree *zone; in create_zone_bm_rtree() local 622 struct zone *zone; in create_mem_extents() local 721 struct mem_zone_bm_rtree *zone; in memory_bm_free() local 960 struct mem_zone_bm_rtree *zone; in memory_bm_recycle() local 1242 struct zone *zone; in count_free_highmem_pages() local 1290 struct zone *zone; in count_highmem_pages() local 1358 struct zone *zone; in count_data_pages() local 1454 struct zone *zone; in copy_data_pages() local 1741 struct zone *zone; in hibernate_preallocate_memory() local [all …]
|
/linux/drivers/thermal/tegra/ |
A D | tegra-bpmp-thermal.c | 35 struct tegra_bpmp_thermal_zone *zone = data; in tegra_bpmp_thermal_get_temp() local 63 struct tegra_bpmp_thermal_zone *zone = data; in tegra_bpmp_thermal_set_trips() local 84 struct tegra_bpmp_thermal_zone *zone; in tz_device_update_work_fn() local 182 struct tegra_bpmp_thermal_zone *zone; in tegra_bpmp_thermal_probe() local
|
/linux/fs/btrfs/ |
A D | reada.c | 234 struct reada_zone *zone; in reada_find_zone() local 361 struct reada_zone *zone; in reada_find_extent() local 472 struct reada_zone *zone; in reada_find_extent() local 510 struct reada_zone *zone = re->zones[i]; in reada_extent_put() local 518 struct reada_zone *zone = re->zones[i]; in reada_extent_put() local 540 struct reada_zone *zone = container_of(kref, struct reada_zone, refcnt); in reada_zone_release() local 594 static void reada_peer_zones_set_lock(struct reada_zone *zone, int lock) in reada_peer_zones_set_lock() 626 struct reada_zone *zone; in reada_pick_zone() local 873 struct reada_zone *zone; in dump_devs() local
|
/linux/drivers/iio/light/ |
A D | lm3533-als.c | 57 atomic_t zone; member 86 static int _lm3533_als_get_zone(struct iio_dev *indio_dev, u8 *zone) in _lm3533_als_get_zone() 104 static int lm3533_als_get_zone(struct iio_dev *indio_dev, u8 *zone) in lm3533_als_get_zone() 124 static inline u8 lm3533_als_get_target_reg(unsigned channel, unsigned zone) in lm3533_als_get_target_reg() 130 unsigned zone, u8 *val) in lm3533_als_get_target() 151 unsigned zone, u8 val) in lm3533_als_set_target() 174 u8 zone; in lm3533_als_get_current() local 251 u8 zone; in lm3533_als_isr() local 431 u8 zone; in store_thresh_either_en() local 470 u8 zone; in show_zone() local
|