Home
last modified time | relevance | path

Searched defs:zone (Results 1 – 25 of 126) sorted by relevance

123456

/Linux-v5.4/include/linux/
Dmmzone.h418 struct zone { struct
430 * wasting several GB of ram we must reserve some of the lower zone argument
441 struct pglist_data *zone_pgdat; argument
453 unsigned long zone_start_pfn; argument
456 * spanned_pages is the total pages spanned by the zone, including argument
500 * of pageblock. Protected by zone->lock. argument
518 /* zone flags, see below */ argument
519 unsigned long flags;
522 spinlock_t lock;
536 unsigned long compact_cached_free_pfn;
[all …]
Dmemory_hotplug.h73 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin()
77 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry()
81 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock()
85 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock()
89 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init()
244 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin()
248 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry()
252 static inline void zone_span_writelock(struct zone *zone) {} in zone_span_writelock()
253 static inline void zone_span_writeunlock(struct zone *zone) {} in zone_span_writeunlock()
254 static inline void zone_seqlock_init(struct zone *zone) {} in zone_seqlock_init()
Dvmstat.h136 static inline void zone_numa_state_add(long x, struct zone *zone, in zone_numa_state_add()
150 static inline unsigned long zone_numa_state_snapshot(struct zone *zone, in zone_numa_state_snapshot()
163 static inline void zone_page_state_add(long x, struct zone *zone, in zone_page_state_add()
197 static inline unsigned long zone_page_state(struct zone *zone, in zone_page_state()
214 static inline unsigned long zone_page_state_snapshot(struct zone *zone, in zone_page_state_snapshot()
286 static inline void __mod_zone_page_state(struct zone *zone, in __mod_zone_page_state()
298 static inline void __inc_zone_state(struct zone *zone, enum zone_stat_item item) in __inc_zone_state()
310 static inline void __dec_zone_state(struct zone *zone, enum zone_stat_item item) in __dec_zone_state()
370 static inline void drain_zonestat(struct zone *zone, in drain_zonestat()
374 static inline void __mod_zone_freepage_state(struct zone *zone, int nr_pages, in __mod_zone_freepage_state()
Dpage-isolation.h6 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()
Dcompaction.h192 static inline enum compact_result compaction_suitable(struct zone *zone, int order, in compaction_suitable()
198 static inline void defer_compaction(struct zone *zone, int order) in defer_compaction()
202 static inline bool compaction_deferred(struct zone *zone, int order) in compaction_deferred()
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_memory.c81 struct ttm_mem_zone *zone = in ttm_mem_zone_kobj_release() local
93 struct ttm_mem_zone *zone = in ttm_mem_zone_show() local
121 struct ttm_mem_zone *zone = in ttm_mem_zone_store() local
241 struct ttm_mem_zone *zone; in ttm_zones_above_swap_target() local
302 struct ttm_mem_zone *zone = kzalloc(sizeof(*zone), GFP_KERNEL); in ttm_mem_init_kernel_zone() local
334 struct ttm_mem_zone *zone; in ttm_mem_init_highmem_zone() local
370 struct ttm_mem_zone *zone = kzalloc(sizeof(*zone), GFP_KERNEL); in ttm_mem_init_dma32_zone() local
420 struct ttm_mem_zone *zone; in ttm_mem_global_init() local
464 struct ttm_mem_zone *zone; in ttm_mem_global_release() local
488 struct ttm_mem_zone *zone; in ttm_check_swapping() local
[all …]
/Linux-v5.4/mm/
Dpage_alloc.c103 struct zone *zone; member
561 static int page_outside_zone_boundaries(struct zone *zone, struct page *page) in page_outside_zone_boundaries()
584 static int page_is_consistent(struct zone *zone, struct page *page) in page_is_consistent()
596 static int __maybe_unused bad_range(struct zone *zone, struct page *page) in bad_range()
606 static inline int __maybe_unused bad_range(struct zone *zone, struct page *page) in bad_range()
745 static inline bool set_page_guard(struct zone *zone, struct page *page, in set_page_guard()
763 static inline void clear_page_guard(struct zone *zone, struct page *page, in clear_page_guard()
776 static inline bool set_page_guard(struct zone *zone, struct page *page, in set_page_guard()
778 static inline void clear_page_guard(struct zone *zone, struct page *page, in clear_page_guard()
830 static inline struct capture_control *task_capc(struct zone *zone) in task_capc()
[all …]
Dvmstat.c40 static void zero_zone_numa_counters(struct zone *zone) in zero_zone_numa_counters()
55 struct zone *zone; in zero_zones_numa_counters() local
172 int calculate_pressure_threshold(struct zone *zone) in calculate_pressure_threshold()
196 int calculate_normal_threshold(struct zone *zone) in calculate_normal_threshold()
249 struct zone *zone; in refresh_zone_stat_thresholds() local
292 int (*calculate_pressure)(struct zone *)) in set_pgdat_percpu_threshold()
294 struct zone *zone; in set_pgdat_percpu_threshold() local
316 void __mod_zone_page_state(struct zone *zone, enum zone_stat_item item, in __mod_zone_page_state()
379 void __inc_zone_state(struct zone *zone, enum zone_stat_item item) in __inc_zone_state()
423 void __dec_zone_state(struct zone *zone, enum zone_stat_item item) in __dec_zone_state()
[all …]
Dcompaction.c142 void defer_compaction(struct zone *zone, int order) in defer_compaction()
157 bool compaction_deferred(struct zone *zone, int order) in compaction_deferred()
181 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset()
195 bool compaction_restarting(struct zone *zone, int order) in compaction_restarting()
214 static void reset_cached_positions(struct zone *zone) in reset_cached_positions()
241 __reset_isolation_pfn(struct zone *zone, unsigned long pfn, bool check_source, in __reset_isolation_pfn()
317 static void __reset_isolation_suitable(struct zone *zone) in __reset_isolation_suitable()
374 struct zone *zone = &pgdat->node_zones[zoneid]; in reset_isolation_suitable() local
409 struct zone *zone = cc->zone; in update_cached_migrate() local
431 struct zone *zone = cc->zone; in update_pageblock_skip() local
[all …]
Dmemory_hotplug.c329 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn()
350 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn()
374 static void shrink_zone_span(struct zone *zone, unsigned long start_pfn, in shrink_zone_span()
442 struct zone *zone; in update_pgdat_span() local
468 static void __remove_zone(struct zone *zone, unsigned long start_pfn, in __remove_zone()
490 static void __remove_section(struct zone *zone, unsigned long pfn, in __remove_section()
515 void __remove_pages(struct zone *zone, unsigned long pfn, in __remove_pages()
640 struct zone *zone, struct memory_notify *arg) in node_states_check_changes_online()
670 static void __meminit resize_zone_range(struct zone *zone, unsigned long start_pfn, in resize_zone_range()
697 void __ref move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn, in move_pfn_range_to_zone()
[all …]
Dpage_isolation.c20 struct zone *zone; in set_migratetype_isolate() local
92 struct zone *zone; in unset_migratetype_isolate() local
293 struct zone *zone; in test_pages_isolated() local
/Linux-v5.4/include/net/netfilter/
Dnf_conntrack_zones.h19 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-v5.4/drivers/mtd/
Dsm_ftl.c192 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()
239 int zone, int block, int boffset, in sm_read_sector()
321 int zone, int block, int boffset, in sm_write_sector()
368 int zone, int block, int lba, in sm_write_block()
432 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone, int block) in sm_mark_block_bad()
462 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_erase_block() local
496 static int sm_check_block(struct sm_ftl *ftl, int zone, int block) in sm_check_block()
746 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_init_zone() local
869 struct ftl_zone *zone; in sm_get_zone() local
[all …]
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dbtf_dump_test_case_padding.c95 struct zone { struct
99 struct zone_padding __pad__; argument
107 struct zone _5; in f() argument
/Linux-v5.4/drivers/md/
Ddm-zoned-metadata.c189 unsigned int dmz_id(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_id()
194 sector_t dmz_start_sect(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_start_sect()
199 sector_t dmz_start_block(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_start_block()
1083 static int dmz_init_zone(struct dmz_metadata *zmd, struct dm_zone *zone, in dmz_init_zone()
1154 struct dm_zone *zone; in dmz_init_zones() local
1225 static int dmz_update_zone(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_update_zone()
1270 struct dm_zone *zone) in dmz_handle_seq_write_err()
1299 static int dmz_reset_zone(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_reset_zone()
1477 static void __dmz_lru_zone(struct dmz_metadata *zmd, struct dm_zone *zone) in __dmz_lru_zone()
1496 static void dmz_lru_zone(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_lru_zone()
[all …]
Ddm-zoned-target.c21 struct dm_zone *zone; member
85 struct dm_zone *zone = bioctx->zone; in dmz_bio_endio() local
115 static int dmz_submit_bio(struct dmz_target *dmz, struct dm_zone *zone, in dmz_submit_bio()
163 static int dmz_handle_read(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_read()
238 struct dm_zone *zone, struct bio *bio, in dmz_handle_direct_write()
271 struct dm_zone *zone, struct bio *bio, in dmz_handle_buffered_write()
306 static int dmz_handle_write(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_write()
340 static int dmz_handle_discard(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_discard()
381 struct dm_zone *zone; in dmz_handle_bio() local
/Linux-v5.4/drivers/thermal/intel/int340x_thermal/
Dint340x_thermal_zone.c13 static int int340x_thermal_get_zone_temp(struct thermal_zone_device *zone, in int340x_thermal_get_zone_temp()
42 static int int340x_thermal_get_trip_temp(struct thermal_zone_device *zone, in int340x_thermal_get_trip_temp()
74 static int int340x_thermal_get_trip_type(struct thermal_zone_device *zone, in int340x_thermal_get_trip_type()
107 static int int340x_thermal_set_trip_temp(struct thermal_zone_device *zone, in int340x_thermal_set_trip_temp()
129 static int int340x_thermal_get_trip_hyst(struct thermal_zone_device *zone, in int340x_thermal_get_trip_hyst()
/Linux-v5.4/drivers/block/
Dnull_blk_zoned.c39 struct blk_zone *zone = &dev->zones[i]; in null_zone_init() local
51 struct blk_zone *zone = &dev->zones[i]; in null_zone_init() local
92 struct blk_zone *zone = &dev->zones[zno]; in null_zone_write() local
125 struct blk_zone *zone = &dev->zones[zno]; in null_zone_reset() local
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c250 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-v5.4/fs/btrfs/
Dreada.c229 struct reada_zone *zone; in reada_find_zone() local
353 struct reada_zone *zone; in reada_find_extent() local
459 struct reada_zone *zone; in reada_find_extent() local
497 struct reada_zone *zone = re->zones[i]; in reada_extent_put() local
505 struct reada_zone *zone = re->zones[i]; in reada_extent_put() local
527 struct reada_zone *zone = container_of(kref, struct reada_zone, refcnt); in reada_zone_release() local
577 static void reada_peer_zones_set_lock(struct reada_zone *zone, int lock) in reada_peer_zones_set_lock()
609 struct reada_zone *zone; in reada_pick_zone() local
849 struct reada_zone *zone; in dump_devs() local
/Linux-v5.4/drivers/thermal/tegra/
Dtegra-bpmp-thermal.c35 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-v5.4/kernel/power/
Dsnapshot.c371 struct mem_zone_bm_rtree *zone; member
428 static int add_rtree_block(struct mem_zone_bm_rtree *zone, gfp_t gfp_mask, in add_rtree_block()
504 struct mem_zone_bm_rtree *zone; in create_zone_bm_rtree() local
536 static void free_zone_bm_rtree(struct mem_zone_bm_rtree *zone, in free_zone_bm_rtree()
589 struct zone *zone; in create_mem_extents() local
659 struct mem_zone_bm_rtree *zone; in memory_bm_create() local
688 struct mem_zone_bm_rtree *zone; in memory_bm_free() local
710 struct mem_zone_bm_rtree *curr, *zone; in memory_bm_find_bit() local
907 static void recycle_zone_bm_rtree(struct mem_zone_bm_rtree *zone) in recycle_zone_bm_rtree()
920 struct mem_zone_bm_rtree *zone; in memory_bm_recycle() local
[all …]
/Linux-v5.4/fs/xfs/
Dkmem.h103 kmem_zone_free(kmem_zone_t *zone, void *ptr) in kmem_zone_free()
109 kmem_zone_destroy(kmem_zone_t *zone) in kmem_zone_destroy()
117 kmem_zone_zalloc(kmem_zone_t *zone, xfs_km_flags_t flags) in kmem_zone_zalloc()
/Linux-v5.4/drivers/iio/light/
Dlm3533-als.c57 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
/Linux-v5.4/fs/adfs/
Dmap.c186 static int scan_map(struct adfs_sb_info *asb, unsigned int zone, in scan_map()
229 unsigned int zone; in adfs_map_free() local
244 unsigned int zone, mapoff; in adfs_map_lookup() local

123456