Home
last modified time | relevance | path

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

123456789

/openbmc/linux/drivers/block/null_blk/
H A Dzoned.c35 struct nullb_zone *zone) in null_init_zone_lock()
44 struct nullb_zone *zone) in null_lock_zone()
53 struct nullb_zone *zone) in null_unlock_zone()
64 struct nullb_zone *zone; in null_init_zoned_dev() local
200 struct nullb_zone *zone; in null_report_zones() local
245 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_zone()
290 struct nullb_zone *zone; in null_close_imp_open_zone() local
355 struct nullb_zone *zone) in null_check_zone_resources()
379 struct nullb_zone *zone = &dev->zones[zno]; in null_zone_write() local
[all …]
/openbmc/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 …]
/openbmc/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()
/openbmc/linux/include/linux/
H A Dmmzone.h815 struct zone { struct
827 * wasting several GB of ram we must reserve some of the lower zone argument
838 struct pglist_data *zone_pgdat; argument
840 struct per_cpu_zonestat __percpu *per_cpu_zonestats; argument
857 unsigned long zone_start_pfn; argument
860 * spanned_pages is the total pages spanned by the zone, including argument
917 * of pageblock. Protected by zone->lock. argument
940 /* zone flags, see below */ argument
941 unsigned long flags;
944 spinlock_t lock;
[all …]
H A Dmemory_hotplug.h132 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin()
136 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry()
140 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock()
144 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock()
148 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init()
237 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin()
241 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry()
245 static inline void zone_span_writelock(struct zone *zone) {} in zone_span_writelock()
246 static inline void zone_span_writeunlock(struct zone *zone) {} in zone_span_writeunlock()
247 static inline void zone_seqlock_init(struct zone *zone) {} in zone_seqlock_init()
[all …]
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier/
H A Dfans.json4 "zone": "0", string
10 "zone": "0", string
16 "zone": "0", string
22 "zone": "0", string
28 "zone": "0", string
34 "zone": "0", string
/openbmc/linux/mm/
H A Dpage_alloc.c331 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone()
441 static int page_outside_zone_boundaries(struct zone *zone, struct page *page) in page_outside_zone_boundaries()
466 static int __maybe_unused bad_range(struct zone *zone, struct page *page) in bad_range()
476 static inline int __maybe_unused bad_range(struct zone *zone, struct page *page) in bad_range()
615 static inline struct capture_control *task_capc(struct zone *zone) in task_capc()
651 static inline struct capture_control *task_capc(struct zone *zone) in task_capc()
665 static inline void add_to_free_list(struct page *page, struct zone *zone, in add_to_free_list()
675 static inline void add_to_free_list_tail(struct page *page, struct zone *zone, in add_to_free_list_tail()
689 static inline void move_to_free_list(struct page *page, struct zone *zone, in move_to_free_list()
697 static inline void del_page_from_free_list(struct page *page, struct zone *zone, in del_page_from_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 Dmm_init.c49 struct zone *zone; in mminit_verify_zonelist() local
565 unsigned long zone, int nid) in __init_single_page()
717 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()
819 int zone, int node) in init_unavailable_range()
848 void __meminit memmap_init_range(unsigned long size, int nid, unsigned long zone, in memmap_init_range()
909 static void __init memmap_init_zone_range(struct zone *zone, in memmap_init_zone_range()
943 struct zone *zone = node->node_zones + j; in memmap_init() local
1063 void __ref memmap_init_zone_device(struct zone *zone, in memmap_init_zone_device()
1275 struct zone *zone = pgdat->node_zones + i; in calculate_node_totalpages() local
[all …]
H A Dshow_mem.c26 static inline void show_node(struct zone *zone) in show_node()
39 struct zone *zone; in si_mem_available() local
107 struct zone *zone = &pgdat->node_zones[zone_type]; in si_meminfo_node() local
193 struct zone *zone; in show_free_areas() local
406 struct zone *zone; in __show_mem() local
H A Dcompaction.c153 static void defer_compaction(struct zone *zone, int order) in defer_compaction()
168 static bool compaction_deferred(struct zone *zone, int order) in compaction_deferred()
191 void compaction_defer_reset(struct zone *zone, int order, in compaction_defer_reset()
205 static bool compaction_restarting(struct zone *zone, int order) in compaction_restarting()
224 static void reset_cached_positions(struct zone *zone) in reset_cached_positions()
303 __reset_isolation_pfn(struct zone *zone, unsigned long pfn, bool check_source, in __reset_isolation_pfn()
376 static void __reset_isolation_suitable(struct zone *zone) in __reset_isolation_suitable()
433 struct zone *zone = &pgdat->node_zones[zoneid]; in reset_isolation_suitable() local
464 struct zone *zone = cc->zone; in update_cached_migrate() local
487 struct zone *zone = cc->zone; in update_pageblock_skip() local
[all …]
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/fans/phosphor-fan/
H A Dfans.json4 "zone": "0", string
11 "zone": "0", string
18 "zone": "0", string
25 "zone": "0", string
32 "zone": "0", string
39 "zone": "0", string
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan/
H A Dfans.json4 "zone": "0", string
11 "zone": "0", string
18 "zone": "0", string
25 "zone": "0", string
32 "zone": "0", string
39 "zone": "0", string
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/
H A Dfans.json4 "zone": "0", string
10 "zone": "0", string
16 "zone": "0", string
22 "zone": "0", string
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/
H A Dfans.json4 "zone": "0", string
10 "zone": "0", string
16 "zone": "0", string
22 "zone": "0", string
/openbmc/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()
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-phosphor/fans/phosphor-fan/
H A Dfans.json4 "zone": "0", string
11 "zone": "0", string
18 "zone": "0", string
25 "zone": "0", string
/openbmc/phosphor-fan-presence/control/
H A Dhandlers.hpp30 return [=, value = std::forward<T>(value)](auto& zone) { in setZoneProperty()
54 return [](auto& zone, auto& path, auto& intf, auto& prop, T&& arg) { in setProperty()
71 return [group = std::move(group)](auto& zone, auto& name, bool hasOwner) { in setService()
90 return [=](auto& zone) { zone.removeObjectInterface(path, interface); }; in removeInterface()
H A Dactions.hpp89 state = std::forward<T>(state)](auto& zone, auto& group) { in count_state_before_speed()
133 const Group& group) { in set_floor_from_average_sensor_value()
191 std::move(val_to_speed)](Zone& zone, const Group& group) { in set_ceiling_from_average_sensor_value()
308 state = std::forward<T>(state)](auto& zone, auto& group) { in set_net_increase_speed()
361 state = std::forward<T>(state)](auto& zone, auto& group) { in set_net_decrease_speed()
428 altEvents = std::move(altEvents)](auto& zone, auto& group) { in use_alternate_events_on_state()
488 const Group& group) { in set_floor_from_median_sensor_value()
558 return [speed, state = std::forward<T>(state)](auto& zone, auto& group) { in update_default_floor()
603 events = std::move(events)](auto& zone, auto& group) { in use_events_on_state()
H A Dactions.cpp18 control::Zone& zone, const Group& group) { in call_actions_based_on_timer()
54 void default_floor_on_missing_owner(Zone& zone, const Group& group) in default_floor_on_missing_owner()
72 return [speed](control::Zone& zone, const Group& group) { in set_speed_on_missing_owner()
89 void set_request_speed_base_with_max(control::Zone& zone, const Group& group) in set_request_speed_base_with_max()
/openbmc/linux/drivers/md/
H A Ddm-zoned-metadata.c137 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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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
/openbmc/phosphor-pid-control/pid/
H A Dbuilder.cpp43 static std::string getControlPath(int64_t zone) in getControlPath()
48 static std::string getPidControlPath(int64_t zone, std::string pidname) in getPidControlPath()
76 auto zone = std::make_shared<DbusPidZone>( in buildZones() local

123456789