Home
last modified time | relevance | path

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

123456

/linux/drivers/md/dm-vdo/
H A Dlogical-zone.c55 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 …]
H A Dblock-map.c60 struct block_map_zone *zone; member
98 struct block_map_zone *zone; member
622 static void check_for_drain_complete(struct block_map_zone *zone) in check_for_drain_complete()
636 static void enter_zone_read_only_mode(struct block_map_zone *zone, int result) in enter_zone_read_only_mode()
1209 struct block_map_zone *zone, physical_block_number_t pbn, in vdo_get_page()
1375 static inline struct tree_page *get_tree_page(const struct block_map_zone *zone, in get_tree_page()
1437 static bool __must_check is_not_older(struct block_map_zone *zone, u8 a, u8 b) in is_not_older()
1453 static void release_generation(struct block_map_zone *zone, u8 generation) in release_generation()
1470 static void set_generation(struct block_map_zone *zone, struct tree_page *page, in set_generation()
1502 static void acquire_vio(struct vdo_waiter *waiter, struct block_map_zone *zone) in acquire_vio()
[all …]
H A Ddedupe.c321 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
2254 static void check_for_drain_complete(struct hash_zone *zone) in check_for_drain_complete()
2295 struct hash_zone *zone = as_hash_zone(completion); in timeout_index_operations_callback() local
[all …]
/linux/drivers/block/null_blk/
H A Dzoned.c25 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
453 struct nullb_zone *zone) in null_open_zone()
[all …]
/linux/fs/pstore/
H A Dzone.c160 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/tools/power/cpupower/lib/
H A Dpowercap.c124 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/include/linux/
H A Dmmzone.h879 struct zone { struct
892 * wasting several GB of ram we must reserve some of the lower zone argument
903 struct pglist_data *zone_pgdat; argument
905 struct per_cpu_zonestat __percpu *per_cpu_zonestats; argument
923 unsigned long zone_start_pfn; argument
926 * spanned_pages is the total pages spanned by the zone, including argument
983 * of pageblock. Protected by zone->lock. argument
1005 /* To be called once the last page in the zone is accepted */ argument
1009 /* zone flags, see below */ argument
1010 unsigned long flags;
[all …]
/linux/mm/
H A Dpage_alloc.c319 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone()
329 static inline bool _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone()
577 static int page_outside_zone_boundaries(struct zone *zone, struct page *page) in page_outside_zone_boundaries()
602 static bool __maybe_unused bad_range(struct zone *zone, struct page *page) in bad_range()
612 static inline bool __maybe_unused bad_range(struct zone *zone, struct page *page) in bad_range()
732 static inline struct capture_control *task_capc(struct zone *zone) in task_capc()
774 static inline struct capture_control *task_capc(struct zone *zone) in task_capc()
787 static inline void account_freepages(struct zone *zone, int nr_pages, in account_freepages()
805 static inline void __add_to_free_list(struct page *page, struct zone *zone, in __add_to_free_list()
831 static inline void move_to_free_list(struct page *page, struct zone *zone, in move_to_free_list()
[all …]
H A Dvmstat.c40 static void zero_zone_numa_counters(struct zone *zone) in zero_zone_numa_counters()
56 struct zone *zone; in zero_zones_numa_counters() local
172 static void fold_vm_zone_numa_events(struct zone *zone) in fold_vm_zone_numa_events()
192 struct zone *zone; in fold_vm_numa_events() local
201 int calculate_pressure_threshold(struct zone *zone) in calculate_pressure_threshold()
225 int calculate_normal_threshold(struct zone *zone) in calculate_normal_threshold()
278 struct zone *zone; in refresh_zone_stat_thresholds() local
321 int (*calculate_pressure)(struct zone *)) in set_pgdat_percpu_threshold()
323 struct zone *zone; in set_pgdat_percpu_threshold() local
345 void __mod_zone_page_state(struct zone *zone, enum zone_stat_item item, in __mod_zone_page_state()
[all …]
H A Dmm_init.c69 struct zone *zone; in mminit_verify_zonelist() local
582 __init_single_page(struct page * page,unsigned long pfn,unsigned long zone,int nid) __init_single_page() argument
680 struct zone *zone = &pgdat->node_zones[zid]; __init_page_from_nid() local
805 overlap_memmap_init(unsigned long zone,unsigned long * pfn) overlap_memmap_init() argument
850 init_unavailable_range(unsigned long spfn,unsigned long epfn,int zone,int node) init_unavailable_range() argument
875 memmap_init_range(unsigned long size,int nid,unsigned long zone,unsigned long start_pfn,unsigned long zone_end_pfn,enum meminit_context context,struct vmem_altmap * altmap,int migratetype,bool isolate_pageblock) memmap_init_range() argument
944 memmap_init_zone_range(struct zone * zone,unsigned long start_pfn,unsigned long end_pfn,unsigned long * hole_pfn) memmap_init_zone_range() argument
979 struct zone *zone = node->node_zones + j; memmap_init() local
1111 memmap_init_zone_device(struct zone * zone,unsigned long start_pfn,unsigned long nr_pages,struct dev_pagemap * pgmap) memmap_init_zone_device() argument
1347 struct zone *zone = pgdat->node_zones + i; calculate_node_totalpages() local
1424 zone_init_internals(struct zone * zone,enum zone_type idx,int nid,unsigned long remaining_pages) zone_init_internals() argument
1436 zone_init_free_lists(struct zone * zone) zone_init_free_lists() argument
1449 init_currently_empty_zone(struct zone * zone,unsigned long zone_start_pfn,unsigned long size) init_currently_empty_zone() argument
1492 setup_usemap(struct zone * zone) setup_usemap() argument
1507 setup_usemap(struct zone * zone) setup_usemap() argument
1588 struct zone *zone = pgdat->node_zones + z; free_area_init_core_hotplug() local
1605 struct zone *zone = pgdat->node_zones + j; free_area_init_core() local
1757 struct zone *zone = &pgdat->node_zones[zone_type]; check_for_memory() local
1827 int i, nid, zone; free_area_init() local
2034 deferred_init_pages(struct zone * zone,unsigned long pfn,unsigned long end_pfn) deferred_init_pages() argument
2056 deferred_init_mem_pfn_range_in_zone(u64 * i,struct zone * zone,unsigned long * spfn,unsigned long * epfn,unsigned long first_init_pfn) deferred_init_mem_pfn_range_in_zone() argument
2093 deferred_init_maxorder(u64 * i,struct zone * zone,unsigned long * start_pfn,unsigned long * end_pfn) deferred_init_maxorder() argument
2141 struct zone *zone = arg; deferred_init_memmap_chunk() local
2170 struct zone *zone; deferred_init_memmap() local
2240 deferred_grow_zone(struct zone * zone,unsigned int order) deferred_grow_zone() argument
2333 set_zone_contiguous(struct zone * zone) set_zone_contiguous() argument
2363 struct zone *zone, *izone = NULL; pfn_range_intersects_zones() local
2383 struct zone *zone; page_alloc_init_late() local
[all...]
H A Dcompaction.c126 static void defer_compaction(struct zone *zone, int order) in defer_compaction()
141 static bool compaction_deferred(struct zone *zone, int order) in compaction_deferred()
164 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset()
178 static bool compaction_restarting(struct zone *zone, int order) in compaction_restarting()
197 static void reset_cached_positions(struct zone *zone) in reset_cached_positions()
276 __reset_isolation_pfn(struct zone *zone, unsigned long pfn, bool check_source, in __reset_isolation_pfn()
349 static void __reset_isolation_suitable(struct zone *zone) in __reset_isolation_suitable()
407 struct zone *zone = &pgdat->node_zones[zoneid]; in reset_isolation_suitable() local
436 struct zone *zone = cc->zone; in update_cached_migrate() local
459 struct zone *zone = cc->zone; in update_pageblock_skip() local
[all …]
H A Dshow_mem.c26 static inline void show_node(struct zone *zone) in show_node()
38 struct zone *zone; in si_mem_available() local
98 struct zone *zone = &pgdat->node_zones[zone_type]; in si_meminfo_node() local
184 struct zone *zone; in show_free_areas() local
405 struct zone *zone; in __show_mem() local
H A Dpage_isolation.c37 struct zone *zone = page_zone(page); in has_unmovable_pages() local
157 struct zone *zone = page_zone(page); in set_migratetype_isolate() local
214 struct zone *zone; unset_migratetype_isolate() local
320 struct zone *zone; isolate_single_pageblock() local
614 struct zone *zone; test_pages_isolated() local
[all...]
H A Dmemory_hotplug.c434 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn()
455 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn()
479 static void shrink_zone_span(struct zone *zone, unsigned long start_pfn, in shrink_zone_span()
522 struct zone *zone; in update_pgdat_span() local
547 void remove_pfn_range_from_zone(struct zone *zone, in remove_pfn_range_from_zone()
703 static void __meminit resize_zone_range(struct zone *zone, unsigned long start_pfn, in resize_zone_range()
748 void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn, in move_pfn_range_to_zone()
795 struct zone *zone) in auto_movable_stats_account_zone()
849 struct zone *zone; in auto_movable_can_online_movable() local
905 struct zone *zone = &pgdat->node_zones[zid]; in default_kernel_zone_for_pfn() local
[all …]
H A Ddebug_page_alloc.c35 bool __set_page_guard(struct zone *zone, struct page *page, unsigned int order) in __set_page_guard()
47 void __clear_page_guard(struct zone *zone, struct page *page, unsigned int order) in __clear_page_guard()
/linux/fs/xfs/libxfs/
H A Dxfs_zones.c19 struct blk_zone *zone, in xfs_zone_validate_empty()
37 struct blk_zone *zone, in xfs_zone_validate_wp()
68 struct blk_zone *zone, in xfs_zone_validate_full()
86 struct blk_zone *zone, in xfs_zone_validate_seq()
116 struct blk_zone *zone, in xfs_zone_validate_conv()
134 struct blk_zone *zone, in xfs_zone_validate()
/linux/drivers/md/dm-vdo/indexer/
H A Dindex.c78 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/drivers/mtd/
H A 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()
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/include/net/netfilter/
H A 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/drivers/net/ethernet/mellanox/mlx4/
H A 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_unique() local
/linux/fs/adfs/
H A Dmap.c159 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/drivers/block/
H A Dzloop.c147 struct zloop_zone *zone = &zlo->zones[zone_no]; in zloop_update_seq_zone() local
191 struct zloop_zone *zone = &zlo->zones[zone_no]; in zloop_open_zone() local
227 struct zloop_zone *zone = &zlo->zones[zone_no]; in zloop_close_zone() local
266 struct zloop_zone *zone = &zlo->zones[zone_no]; in zloop_reset_zone() local
310 struct zloop_zone *zone = &zlo->zones[zone_no]; in zloop_finish_zone() local
369 struct zloop_zone *zone; in zloop_rw() local
558 struct zloop_zone *zone = &zlo->zones[zone_no]; in zloop_complete_rq() local
664 struct zloop_zone *zone = &zlo->zones[zone_no]; in zloop_report_zones() local
706 struct zloop_zone *zone = &zlo->zones[i]; in zloop_free_disk() local
746 struct zloop_zone *zone) in zloop_get_block_size()
[all …]
/linux/kernel/power/
H A Dsnapshot.c406 struct mem_zone_bm_rtree *zone; member
468 add_rtree_block(struct mem_zone_bm_rtree * zone,gfp_t gfp_mask,int safe_needed,struct chain_allocator * ca) add_rtree_block() argument
544 struct mem_zone_bm_rtree *zone; create_zone_bm_rtree() local
576 free_zone_bm_rtree(struct mem_zone_bm_rtree * zone,int clear_nosave_free) free_zone_bm_rtree() argument
630 struct zone *zone; create_mem_extents() local
700 struct mem_zone_bm_rtree *zone; memory_bm_create() local
729 struct mem_zone_bm_rtree *zone; memory_bm_free() local
751 struct mem_zone_bm_rtree *curr, *zone; memory_bm_find_bit() local
963 recycle_zone_bm_rtree(struct mem_zone_bm_rtree * zone) recycle_zone_bm_rtree() argument
976 struct mem_zone_bm_rtree *zone; memory_bm_recycle() local
1224 snapshot_additional_pages(struct zone * zone) snapshot_additional_pages() argument
1244 mark_free_pages(struct zone * zone) mark_free_pages() argument
1298 struct zone *zone; count_free_highmem_pages() local
1316 saveable_highmem_page(struct zone * zone,unsigned long pfn) saveable_highmem_page() argument
1346 struct zone *zone; count_highmem_pages() local
1375 saveable_page(struct zone * zone,unsigned long pfn) saveable_page() argument
1409 struct zone *zone; count_data_pages() local
1467 page_is_saveable(struct zone * zone,unsigned long pfn) page_is_saveable() argument
1504 page_is_saveable(zone,pfn) global() argument
1524 struct zone *zone; copy_data_pages() local
1826 struct zone *zone; hibernate_preallocate_memory() local
2011 struct zone *zone; enough_free_mem() local
[all...]
/linux/drivers/md/
H A Ddm-zoned-target.c21 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()
169 static int dmz_handle_read(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_read()
250 struct dm_zone *zone, struct bio *bio, in dmz_handle_direct_write()
283 struct dm_zone *zone, struct bio *bio, in dmz_handle_buffered_write()
318 static int dmz_handle_write(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_write()
357 static int dmz_handle_discard(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_discard()
401 struct dm_zone *zone; in dmz_handle_bio() local
/linux/net/netfilter/
H A Dnf_conncount.c44 struct nf_conntrack_zone zone; member
128 const struct nf_conntrack_zone *zone) in __nf_conncount_add()
204 const struct nf_conntrack_zone *zone) in nf_conncount_add()
317 const struct nf_conntrack_zone *zone) in insert_tree()
401 const struct nf_conntrack_zone *zone) in count_tree()
521 const struct nf_conntrack_zone *zone) in nf_conncount_count()

123456