Home
last modified time | relevance | path

Searched defs:zone (Results 1 – 25 of 129) 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 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/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/mm/
H A Dpage_alloc.c314 _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 …]
H A Dvmstat.c38 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 …]
H A Dcompaction.c159 static void defer_compaction(struct zone *zone, int order) in defer_compaction()
174 static bool compaction_deferred(struct zone *zone, int order) in compaction_deferred()
197 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset()
211 static bool compaction_restarting(struct zone *zone, int order) in compaction_restarting()
230 static void reset_cached_positions(struct zone *zone) in reset_cached_positions()
309 __reset_isolation_pfn(struct zone *zone, unsigned long pfn, bool check_source, in __reset_isolation_pfn()
382 static void __reset_isolation_suitable(struct zone *zone) in __reset_isolation_suitable()
440 struct zone *zone = &pgdat->node_zones[zoneid]; in reset_isolation_suitable() local
469 struct zone *zone = cc->zone; in update_cached_migrate() local
492 struct zone *zone = cc->zone; in update_pageblock_skip() local
[all …]
H A Dpage_isolation.c37 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
313 struct zone *zone; in isolate_single_pageblock() local
607 struct zone *zone; in test_pages_isolated() local
H A Dmemory_hotplug.c433 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn()
454 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn()
478 static void shrink_zone_span(struct zone *zone, unsigned long start_pfn, in shrink_zone_span()
521 struct zone *zone; in update_pgdat_span() local
546 void remove_pfn_range_from_zone(struct zone *zone, in remove_pfn_range_from_zone()
704 struct zone *zone, struct memory_notify *arg) in node_states_check_changes_online()
726 static void __meminit resize_zone_range(struct zone *zone, unsigned long start_pfn, in resize_zone_range()
771 void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn, in move_pfn_range_to_zone()
816 struct zone *zone) in auto_movable_stats_account_zone()
870 struct zone *zone; in auto_movable_can_online_movable() 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() argument
51 __clear_page_guard(struct zone * zone,struct page * page,unsigned int order,int migratetype) __clear_page_guard() argument
H A Dpage_reporting.c146 page_reporting_cycle(struct page_reporting_dev_info *prdev, struct zone *zone, in page_reporting_cycle()
261 struct scatterlist *sgl, struct zone *zone) in page_reporting_process_zone()
314 struct zone *zone; in page_reporting_process() local
H A Dvmscan.c368 unsigned long zone_reclaimable_pages(struct zone *zone) in zone_reclaimable_pages()
401 struct zone *zone = &lruvec_pgdat(lruvec)->node_zones[zid]; in lruvec_lru_size() local
512 struct zone *zone = pgdat->node_zones + i; in skip_throttle_noprogress() local
1597 unsigned int reclaim_clean_pages_from_list(struct zone *zone, in reclaim_clean_pages_from_list()
2381 struct zone *zone = &pgdat->node_zones[z]; in prepare_scan_control() local
2658 #define for_each_gen_type_zone(gen, type, zone) \ argument
3247 int zone = folio_zonenum(folio); in update_batch_size() local
3261 int gen, type, zone; in reset_batch_size() local
3809 int zone; in inc_min_seq() local
3857 int gen, type, zone; in try_to_inc_min_seq() local
[all …]
/linux/include/linux/
H A Dmemory_hotplug.h101 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
105 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
109 zone_span_writelock(struct zone * zone) zone_span_writelock() argument
113 zone_span_writeunlock(struct zone * zone) zone_span_writeunlock() argument
117 zone_seqlock_init(struct zone * zone) zone_seqlock_init() argument
206 zone_span_seqbegin(struct zone * zone) zone_span_seqbegin() argument
210 zone_span_seqretry(struct zone * zone,unsigned iv) zone_span_seqretry() argument
214 zone_span_writelock(struct zone * zone) zone_span_writelock() argument
215 zone_span_writeunlock(struct zone * zone) zone_span_writeunlock() argument
216 zone_seqlock_init(struct zone * zone) zone_seqlock_init() argument
292 offline_pages(unsigned long start_pfn,unsigned long nr_pages,struct zone * zone,struct memory_group * group) offline_pages() argument
[all...]
H A Dvmstat.h149 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/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() local
[all …]
/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/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
1228 snapshot_additional_pages(struct zone * zone) snapshot_additional_pages() argument
1248 mark_free_pages(struct zone * zone) mark_free_pages() argument
1303 struct zone *zone; count_free_highmem_pages() local
1321 saveable_highmem_page(struct zone * zone,unsigned long pfn) saveable_highmem_page() argument
1351 struct zone *zone; count_highmem_pages() local
1380 saveable_page(struct zone * zone,unsigned long pfn) saveable_page() argument
1414 struct zone *zone; count_data_pages() local
1472 page_is_saveable(struct zone * zone,unsigned long pfn) page_is_saveable() argument
1509 page_is_saveable(zone,pfn) global() argument
1529 struct zone *zone; copy_data_pages() local
1831 struct zone *zone; hibernate_preallocate_memory() local
2016 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()
/linux/net/openvswitch/
H A Dconntrack.c63 struct nf_conntrack_zone zone; member
90 u16 zone; member
199 const struct nf_conntrack_zone *zone, in __ovs_ct_update_key()
247 const struct nf_conntrack_zone *zone = &nf_ct_zone_dflt; in ovs_ct_update_key() local
445 u16 zone, int family, struct sk_buff *skb) in ovs_ct_handle_fragments()
490 ovs_ct_find_existing(struct net *net, const struct nf_conntrack_zone *zone, in ovs_ct_find_existing()
873 const struct ovs_ct_limit_info *info, u16 zone) in ct_limit_hash_bucket()
899 static void ct_limit_del(const struct ovs_ct_limit_info *info, u16 zone) in ct_limit_del()
916 static u32 ct_limit_get(const struct ovs_ct_limit_info *info, u16 zone) in ct_limit_get()
1674 u16 zone; in ovs_ct_limit_set_zone_limit() local
[all …]
/linux/tools/testing/vma/linux/
H A Dmmzone.h29 struct zone { struct
34 struct zone node_zones[MAX_NR_ZONES]; argument
/linux/tools/testing/memblock/linux/
H A Dmmzone.h29 struct zone { struct
34 struct zone node_zones[MAX_NR_ZONES]; argument

123456