Home
last modified time | relevance | path

Searched full:zone (Results 1 – 25 of 974) sorted by relevance

12345678910>>...39

/openbmc/linux/drivers/block/null_blk/
H A Dzoned.c35 struct nullb_zone *zone) in null_init_zone_lock() argument
38 spin_lock_init(&zone->spinlock); in null_init_zone_lock()
40 mutex_init(&zone->mutex); in null_init_zone_lock()
44 struct nullb_zone *zone) in null_lock_zone() argument
47 spin_lock_irq(&zone->spinlock); in null_lock_zone()
49 mutex_lock(&zone->mutex); in null_lock_zone()
53 struct nullb_zone *zone) in null_unlock_zone() argument
56 spin_unlock_irq(&zone->spinlock); in null_unlock_zone()
58 mutex_unlock(&zone->mutex); in null_unlock_zone()
64 struct nullb_zone *zone; in null_init_zoned_dev() local
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DZone_v1.xml4 <!--# Redfish Schema: Zone v1.6.3 -->
42 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Zone">
46 <EntityType Name="Zone" BaseType="Resource.v1_0_0.Resource" Abstract="true">
47 …<Annotation Term="OData.Description" String="The `Zone` schema describes a simple fabric zone for …
48 …ta.LongDescription" String="This resource shall represent a simple fabric zone for a Redfish imple…
73 <Annotation Term="OData.Description" String="This action adds an endpoint to a zone."/>
74 … <Annotation Term="OData.LongDescription" String="This action shall add an endpoint to a zone."/>
75 <Parameter Name="Zone" Type="Zone.v1_1_0.Actions"/>
77 <Annotation Term="OData.Description" String="The endpoint to add to the zone."/>
78 …ption" String="This parameter shall contain a link to the specified endpoint to add to the zone."/>
[all …]
/openbmc/linux/fs/pstore/
H A Dzone.c26 * struct psz_buffer - header of zone to flush to storage
31 * @data: zone data.
66 * @off: zone offset of storage
67 * @type: front-end type for this zone
68 * @name: front-end name for this zone
69 * @buffer: pointer to data buffer managed by this zone
72 * @should_recover: whether this zone should recover from storage
75 * zone structure in memory.
90 * struct psz_context - all about running state of pstore/zone
93 * @ppsz: pmsg storage zone
[all …]
/openbmc/linux/include/uapi/linux/
H A Dblkzoned.h25 * @BLK_ZONE_TYPE_CONVENTIONAL: The zone has no write pointer and can be writen
26 * randomly. Zone reset has no effect on the zone.
27 * @BLK_ZONE_TYPE_SEQWRITE_REQ: The zone must be written sequentially
28 * @BLK_ZONE_TYPE_SEQWRITE_PREF: The zone can be written non-sequentially
39 * enum blk_zone_cond - Condition [state] of a zone in a zoned device.
41 * @BLK_ZONE_COND_NOT_WP: The zone has no write pointer, it is conventional.
42 * @BLK_ZONE_COND_EMPTY: The zone is empty.
43 * @BLK_ZONE_COND_IMP_OPEN: The zone is open, but not explicitly opened.
45 * OPEN ZONE command.
46 * @BLK_ZONE_COND_CLOSED: The zone was [explicitly] closed after writing.
[all …]
/openbmc/phosphor-fan-presence/control/json/
H A Dzone.hpp44 * @class Zone - Represents a configured fan control zone
46 * A zone object contains the configured attributes for a zone that groups
49 * of the fans within the zone, a default floor, the delay between increases, a
50 * decrease interval, and any profiles(OPTIONAL) the zone should be included in.
52 * (When no profile for a zone is given, the zone defaults to always exist)
55 class Zone : public ConfigBase class
61 Zone() = delete;
62 Zone(const Zone&) = delete;
63 Zone(Zone&&) = delete;
64 Zone& operator=(const Zone&) = delete;
[all …]
/openbmc/linux/Documentation/filesystems/
H A Dzonefs.rst4 ZoneFS - Zone filesystem for Zoned block devices
10 zonefs is a very simple file system exposing each zone of a zoned block device
24 by allowing SSTables to be stored in a zone file similarly to a regular file
26 of the higher level construct "one file is one zone" can help reducing the
34 space that is divided into zones. A zone is a group of consecutive LBAs and all
41 sequentially. Each sequential zone has a write pointer maintained by the
43 to the device. As a result of this write constraint, LBAs in a sequential zone
45 command (zone reset) before rewriting.
61 representing zones are grouped by zone type, which are themselves represented
62 by sub-directories. This file structure is built entirely using zone information
[all …]
/openbmc/phosphor-pid-control/test/
H A Dpid_zone_unittest.cpp6 #include "pid/zone.hpp"
33 static std::string debugZoneInterface = "xyz.openbmc_project.Debug.Pid.Zone";
43 // Build a PID Zone. in TEST()
62 int64_t zone = 1; in TEST() local
83 DbusPidZone p(zone, minThermalOutput, failSafePercent, cycleTime, m, in TEST()
120 zone = std::make_unique<DbusPidZone>( in PidZoneTest()
150 std::unique_ptr<DbusPidZone> zone; member in pid_control::__anon416c5d230111::PidZoneTest
157 EXPECT_EQ(zoneId, zone->getZoneID()); in TEST_F()
162 // Verifies that the zone starts in manual mode. Verifies that one can set in TEST_F()
164 EXPECT_FALSE(zone->getManualMode()); in TEST_F()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-zoned-metadata.c33 * blocks indicating zone block validity.
39 * the first conventional zone found on disk.
87 * and give the zone ID (dzone_id) mapping the chunk on disk.
88 * This zone may be sequential or random. If it is a sequential
89 * zone, a second zone (bzone_id) used as a write buffer may
90 * also be specified. This second zone will always be a randomly
91 * writeable zone.
137 struct dm_zone *zone; member
174 /* Zone information array */
192 /* Zone allocation management */
[all …]
H A Ddm-zone.c14 #define DM_MSG_PREFIX "zone"
19 * For internal zone reports bypassing the top BIO submission path.
52 * User facing dm device block device report zone operation. This calls the
77 static int dm_report_zones_cb(struct blk_zone *zone, unsigned int idx, in dm_report_zones_cb() argument
86 if (zone->start >= args->start + args->tgt->len) in dm_report_zones_cb()
90 * Remap the start sector and write pointer position of the zone in dm_report_zones_cb()
93 zone->start += sector_diff; in dm_report_zones_cb()
94 if (zone->type != BLK_ZONE_TYPE_CONVENTIONAL) { in dm_report_zones_cb()
95 if (zone->cond == BLK_ZONE_COND_FULL) in dm_report_zones_cb()
96 zone->wp = zone->start + zone->len; in dm_report_zones_cb()
[all …]
H A Ddm-zoned.h93 * Zone descriptor.
96 /* For listing the zone depending on its state */
99 /* Device containing this zone */
102 /* Zone type and state */
105 /* Zone activation reference count */
108 /* Zone id */
111 /* Zone write pointer block (relative to the zone start block) */
114 /* Zone weight (number of valid blocks in the zone) */
117 /* The chunk that the zone maps */
121 * For a sequential data zone, pointer to the random zone
[all …]
H A Ddm-zoned-target.c17 * Zone BIO context.
21 struct dm_zone *zone; member
86 struct dm_zone *zone = bioctx->zone; in dmz_bio_endio() local
88 if (zone) { in dmz_bio_endio()
91 dmz_is_seq(zone)) in dmz_bio_endio()
92 set_bit(DMZ_SEQ_WRITE_ERR, &zone->flags); in dmz_bio_endio()
93 dmz_deactivate_zone(zone); in dmz_bio_endio()
116 static int dmz_submit_bio(struct dmz_target *dmz, struct dm_zone *zone, in dmz_submit_bio() argument
122 struct dmz_dev *dev = zone->dev; in dmz_submit_bio()
134 dmz_start_sect(dmz->metadata, zone) + dmz_blk2sect(chunk_block); in dmz_submit_bio()
[all …]
/openbmc/linux/mm/
H A Dshow_mem.c26 static inline void show_node(struct zone *zone) in show_node() argument
29 printk("Node %d ", zone_to_nid(zone)); in show_node()
39 struct zone *zone; in si_mem_available() local
45 for_each_zone(zone) in si_mem_available()
46 wmark_low += low_wmark_pages(zone); in si_mem_available()
107 struct zone *zone = &pgdat->node_zones[zone_type]; in si_meminfo_node() local
109 if (is_highmem(zone)) { in si_meminfo_node()
110 managed_highpages += zone_managed_pages(zone); in si_meminfo_node()
111 free_highpages += zone_page_state(zone, NR_FREE_PAGES); in si_meminfo_node()
193 struct zone *zone; in show_free_areas() local
[all …]
H A Dpage_alloc.c13 * Zone balancing, Kanoj Sarcar, SGI, Jan 2000
79 * shuffle the whole zone).
88 /* prevent >1 _updater_ of zone percpu pageset ->high and ->batch fields */
292 /* movable_zone is the "real" zone pages in ZONE_MOVABLE are taken from */
305 static bool cond_accept_memory(struct zone *zone, unsigned int order);
331 _deferred_grow_zone(struct zone *zone, unsigned int order) in _deferred_grow_zone() argument
333 return deferred_grow_zone(zone, order); in _deferred_grow_zone()
441 static int page_outside_zone_boundaries(struct zone *zon argument
466 bad_range(struct zone * zone,struct page * page) bad_range() argument
476 bad_range(struct zone * zone,struct page * page) bad_range() argument
615 task_capc(struct zone * zone) task_capc() argument
651 task_capc(struct zone * zone) task_capc() argument
665 add_to_free_list(struct page * page,struct zone * zone,unsigned int order,int migratetype) add_to_free_list() argument
675 add_to_free_list_tail(struct page * page,struct zone * zone,unsigned int order,int migratetype) add_to_free_list_tail() argument
689 move_to_free_list(struct page * page,struct zone * zone,unsigned int order,int migratetype) move_to_free_list() argument
697 del_page_from_free_list(struct page * page,struct zone * zone,unsigned int order) del_page_from_free_list() argument
768 __free_one_page(struct page * page,unsigned long pfn,struct zone * zone,unsigned int order,int migratetype,fpi_t fpi_flags) __free_one_page() argument
863 struct zone *zone = page_zone(free_page); split_free_page() local
1202 free_pcppages_bulk(struct zone * zone,int count,struct per_cpu_pages * pcp,int pindex) free_pcppages_bulk() argument
1261 free_one_page(struct zone * zone,struct page * page,unsigned long pfn,unsigned int order,int migratetype,fpi_t fpi_flags) free_one_page() argument
1283 struct zone *zone = page_zone(page); __free_pages_ok() local
1367 __pageblock_pfn_to_page(unsigned long start_pfn,unsigned long end_pfn,struct zone * zone) __pageblock_pfn_to_page() argument
1408 expand(struct zone * zone,struct page * page,int low,int high,int migratetype) expand() argument
1584 __rmqueue_smallest(struct zone * zone,unsigned int order,int migratetype) __rmqueue_smallest() argument
1623 __rmqueue_cma_fallback(struct zone * zone,unsigned int order) __rmqueue_cma_fallback() argument
1629 __rmqueue_cma_fallback(struct zone * zone,unsigned int order) __rmqueue_cma_fallback() argument
1638 move_freepages(struct zone * zone,unsigned long start_pfn,unsigned long end_pfn,int migratetype,int * num_movable) move_freepages() argument
1675 move_freepages_block(struct zone * zone,struct page * page,int migratetype,int * num_movable) move_freepages_block() argument
1741 boost_watermark(struct zone * zone) boost_watermark() argument
1786 steal_suitable_fallback(struct zone * zone,struct page * page,unsigned int alloc_flags,int start_type,bool whole_block) steal_suitable_fallback() argument
1899 reserve_highatomic_pageblock(struct page * page,struct zone * zone) reserve_highatomic_pageblock() argument
1946 struct zone *zone; unreserve_highatomic_pageblock() local
2023 __rmqueue_fallback(struct zone * zone,int order,int start_migratetype,unsigned int alloc_flags) __rmqueue_fallback() argument
2104 __rmqueue(struct zone * zone,unsigned int order,int migratetype,unsigned int alloc_flags) __rmqueue() argument
2141 rmqueue_bulk(struct zone * zone,unsigned int order,unsigned long count,struct list_head * list,int migratetype,unsigned int alloc_flags) rmqueue_bulk() argument
2183 drain_zone_pages(struct zone * zone,struct per_cpu_pages * pcp) drain_zone_pages() argument
2200 drain_pages_zone(unsigned int cpu,struct zone * zone) drain_pages_zone() argument
2224 struct zone *zone; drain_pages() local
2234 drain_local_pages(struct zone * zone) drain_local_pages() argument
2254 __drain_all_pages(struct zone * zone,bool force_all_cpus) __drain_all_pages() argument
2327 drain_all_pages(struct zone * zone) drain_all_pages() argument
2374 nr_pcp_high(struct per_cpu_pages * pcp,struct zone * zone,bool free_high) nr_pcp_high() argument
2392 free_unref_page_commit(struct zone * zone,struct per_cpu_pages * pcp,struct page * page,int migratetype,unsigned int order) free_unref_page_commit() argument
2426 struct zone *zone; free_unref_page() local
2494 struct zone *zone = page_zone(page); free_unref_page_list() local
2570 struct zone *zone = page_zone(page); __isolate_free_page() local
2622 struct zone *zone = page_zone(page); __putback_isolated_page() local
2659 rmqueue_buddy(struct zone * preferred_zone,struct zone * zone,unsigned int order,unsigned int alloc_flags,int migratetype) rmqueue_buddy() argument
2701 __rmqueue_pcplist(struct zone * zone,unsigned int order,int migratetype,unsigned int alloc_flags,struct per_cpu_pages * pcp,struct list_head * list) __rmqueue_pcplist() argument
2742 rmqueue_pcplist(struct zone * preferred_zone,struct zone * zone,unsigned int order,int migratetype,unsigned int alloc_flags) rmqueue_pcplist() argument
2789 rmqueue(struct zone * preferred_zone,struct zone * zone,unsigned int order,gfp_t gfp_flags,unsigned int alloc_flags,int migratetype) rmqueue() argument
3002 zone_allows_reclaim(struct zone * local_zone,struct zone * zone) zone_allows_reclaim() argument
3008 zone_allows_reclaim(struct zone * local_zone,struct zone * zone) zone_allows_reclaim() argument
3023 alloc_flags_nofragment(struct zone * zone,gfp_t gfp_mask) alloc_flags_nofragment() argument
3074 struct zone *zone; get_page_from_freelist() local
3427 struct zone *zone = page_zone(page); __alloc_pages_direct_compact() local
3527 struct zone *zone; should_compact_retry() local
3697 struct zone *zone; wake_all_kswapds() local
3818 struct zone *zone; should_reclaim_retry() local
4268 struct zone *zone; __alloc_pages_bulk() local
4787 struct zone *zone; nr_free_zone_pages() local
4819 zoneref_set_zone(struct zone * zone,struct zoneref * zoneref) zoneref_set_zone() argument
4832 struct zone *zone; build_zonerefs_node() local
5229 zone_batchsize(struct zone * zone) zone_batchsize() argument
5278 zone_highsize(struct zone * zone,int batch,int cpu_online) zone_highsize() argument
5371 __zone_set_pageset_high_and_batch(struct zone * zone,unsigned long high,unsigned long batch) __zone_set_pageset_high_and_batch() argument
5387 zone_set_pageset_high_and_batch(struct zone * zone,int cpu_online) zone_set_pageset_high_and_batch() argument
5404 setup_zone_pageset(struct zone * zone) setup_zone_pageset() argument
5429 zone_pcp_update(struct zone * zone,int cpu_online) zone_pcp_update() argument
5443 struct zone *zone; setup_per_cpu_pageset() local
5468 zone_pcp_init(struct zone * zone) zone_pcp_init() argument
5534 struct zone *zone; page_alloc_cpu_dead() local
5565 struct zone *zone; page_alloc_cpu_online() local
5598 struct zone *zone = pgdat->node_zones + i; calculate_totalreserve_pages() local
5635 struct zone *zone = &pgdat->node_zones[i]; setup_per_zone_lowmem_reserve() local
5661 struct zone *zone; __setup_per_zone_wmarks() local
5729 struct zone *zone; setup_per_zone_wmarks() local
5842 struct zone *zone; setup_min_unmapped_ratio() local
5870 struct zone *zone; setup_min_slab_ratio() local
5928 struct zone *zone; percpu_pagelist_high_fraction_sysctl_handler() local
6287 zone_spans_last_pfn(const struct zone * zone,unsigned long start_pfn,unsigned long nr_pages) zone_spans_last_pfn() argument
6321 struct zone *zone; alloc_contig_pages() local
6376 zone_pcp_disable(struct zone * zone) zone_pcp_disable() argument
6383 zone_pcp_enable(struct zone * zone) zone_pcp_enable() argument
6389 zone_pcp_reset(struct zone * zone) zone_pcp_reset() argument
6417 struct zone *zone; __offline_isolated_pages() local
6480 break_down_buddy_pages(struct zone * zone,struct page * page,struct page * target,int low,int high,int migratetype) break_down_buddy_pages() argument
6515 struct zone *zone = page_zone(page); take_page_off_buddy() local
6552 struct zone *zone = page_zone(page); put_page_back_buddy() local
6578 struct zone *zone = &pgdat->node_zones[ZONE_DMA]; has_managed_dma() local
6623 try_to_accept_memory_one(struct zone * zone) try_to_accept_memory_one() argument
6654 cond_accept_memory(struct zone * zone,unsigned int order) cond_accept_memory() argument
6688 struct zone *zone = page_zone(page); __free_unaccepted() local
6719 cond_accept_memory(struct zone * zone,unsigned int order) cond_accept_memory() argument
[all...]
H A Dvmstat.c37 /* zero numa counters within a zone */
38 static void zero_zone_numa_counters(struct zone *zone) in zero_zone_numa_counters() argument
43 atomic_long_set(&zone->vm_numa_event[item], 0); in zero_zone_numa_counters()
45 per_cpu_ptr(zone->per_cpu_zonestats, cpu)->vm_numa_event[item] in zero_zone_numa_counters()
54 struct zone *zone; in zero_zones_numa_counters() local
56 for_each_populated_zone(zone) in zero_zones_numa_counters()
57 zero_zone_numa_counters(zone); in zero_zones_numa_counters()
158 * Manage combined zone based / global counters
169 static void fold_vm_zone_numa_events(struct zone *zone) in fold_vm_zone_numa_events() argument
178 pzstats = per_cpu_ptr(zone->per_cpu_zonestats, cpu); in fold_vm_zone_numa_events()
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DZone.v1_6_3.json2 "$id": "http://redfish.dmtf.org/schemas/v1/Zone.v1_6_3.json",
3 "$ref": "#/definitions/Zone",
26 "#Zone.AddEndpoint": {
29 "#Zone.RemoveEndpoint": {
43 "description": "This action adds an endpoint to a zone.",
44 "longDescription": "This action shall add an endpoint to a zone.",
48 "description": "The endpoint to add to the zone.",
49 …gDescription": "This parameter shall contain a link to the specified endpoint to add to the zone.",
53 "description": "The current ETag of the endpoint to add to the zone.",
54 …is parameter shall contain the current ETag of the endpoint to add to the zone. If the client-pro…
[all …]
/openbmc/phosphor-fan-presence/control/
H A Dactions.cpp18 control::Zone& zone, const Group& group) { in call_actions_based_on_timer() argument
21 auto it = zone.getTimerEvents().find(__func__); in call_actions_based_on_timer()
22 if (it != zone.getTimerEvents().end()) in call_actions_based_on_timer()
25 auto timerIter = zone.findTimer(group, actions, timers); in call_actions_based_on_timer()
29 zone.addTimer(__func__, group, actions, tConf); in call_actions_based_on_timer()
37 zone.getTimerEvents().erase(it); in call_actions_based_on_timer()
44 zone.addTimer(__func__, group, actions, tConf); in call_actions_based_on_timer()
54 void default_floor_on_missing_owner(Zone& zone, const Group& group) in default_floor_on_missing_owner() argument
57 zone.setServices(&group); in default_floor_on_missing_owner()
58 auto services = zone.getGroupServices(&group); in default_floor_on_missing_owner()
[all …]
H A Dactions.hpp5 #include "zone.hpp"
40 * @param[in] zone - Zone containing fans
43 void default_floor_on_missing_owner(Zone& zone, const Group& group);
51 * @param[in] speed - Speed to set the zone to
54 * An Action function that sets the zone to the given speed if any service
67 * @param[in] zone - Zone containing fans
70 void set_request_speed_base_with_max(Zone& zone, const Group& group);
73 * @brief An action to set the speed on a zone
74 * @details The zone is held at the given speed when a defined number of
79 * @param[in] speed - Speed to set the zone to
[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() argument
132 strcat(file, zone->sys_name); 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() argument
148 return sysfs_powercap_get64_val(zone, GET_MAX_ENERGY_RANGE_UJ, 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() argument
153 return sysfs_powercap_get64_val(zone, GET_ENERGY_UJ, 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() argument
158 return sysfs_powercap_get64_val(zone, GET_MAX_POWER_RANGE_UW, 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() argument
163 return sysfs_powercap_get64_val(zone, GET_POWER_UW, val); in powercap_get_power_uw()
[all …]
/openbmc/linux/include/linux/
H A Dmemory_hotplug.h11 struct zone;
70 /* Types for control the zone type of onlined and offlined memory */
74 /* Online the memory. Zone depends, see default_zone_for_pfn(). */
126 * Zone resizing functions
128 * Note: any attempt to resize a zone should has pgdat_resize_lock()
129 * zone_span_writelock() both held. This ensure the size of a zone
132 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
134 return read_seqbegin(&zone->span_seqlock); in zone_span_seqbegin()
136 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
138 return read_seqretry(&zone->span_seqlock, iv); in zone_span_seqretry()
[all …]
H A Dmmzone.h125 NUMA_INTERLEAVE_HIT, /* interleaver preferred this zone */
764 * faulted, they come from the right zone right away. However, it is
768 * to a different zone. When migration fails - pinning fails.
789 * on different platforms may end up in a movable zone. ZERO_PAGE(0)
792 * memory to the MOVABLE zone, the vmemmap pages are also placed in
793 * such zone. Such pages cannot be really moved around as they are
815 struct zone { struct
818 /* zone watermarks, access with *_wmark_pages(zone) macros */
827 * wasting several GB of ram we must reserve some of the lower zone argument
860 * spanned_pages is the total pages spanned by the zone, including argument
[all …]
/openbmc/entity-manager/configurations/
H A Dr2000_chassis.json252 "Zone 1"
278 "Zone 2"
304 "Zone 3"
330 "Zone 4"
356 "Zone 5"
382 "Zone 6"
407 "Zone 1",
408 "Zone 2",
409 "Zone 3",
410 "Zone 4",
[all …]
/openbmc/linux/Documentation/driver-api/thermal/
H A Dsysfs-api.rst15 The generic thermal sysfs provides a set of interfaces for thermal zone
19 This how-to focuses on enabling new thermal zone and cooling devices to
21 This solution is platform independent and any type of thermal zone devices
24 The main task of the thermal sysfs driver is to expose thermal zone attributes
27 inputs from thermal zone attributes (the current temperature and trip point
36 1.1 thermal zone device interface
48 This interface function adds a new thermal zone device (sensor) to
53 the thermal zone type.
55 the total number of trip points this thermal zone supports.
61 thermal zone device call-backs.
[all …]
/openbmc/linux/fs/zonefs/
H A Dsuper.c31 * Get the name of a zone group directory.
47 * Manage the active zone count.
65 * If the zone is active, that is, if it is explicitly open or in zonefs_account_active()
78 /* The zone is not active. If it was, update the active count */ in zonefs_account_active()
86 * Manage the active zone count. Called with zi->i_truncate_mutex held.
96 * Execute a zone management operation.
104 * With ZNS drives, closing an explicitly open zone that has not been in zonefs_zone_mgmt()
105 * written will change the zone state to "closed", that is, the zone in zonefs_zone_mgmt()
107 * open operation on other zones if the drive active zone resources in zonefs_zone_mgmt()
108 * are exceeded, make sure that the zone does not remain active by in zonefs_zone_mgmt()
[all …]
/openbmc/phosphor-pid-control/pid/
H A Dbuilder.cpp24 #include "pid/zone.hpp"
41 static constexpr auto objectPath = "/xyz/openbmc_project/settings/fanctrl/zone";
43 static std::string getControlPath(int64_t zone) in getControlPath() argument
45 return std::string(objectPath) + std::to_string(zone); in getControlPath()
48 static std::string getPidControlPath(int64_t zone, std::string pidname) in getPidControlPath() argument
50 return std::string(objectPath) + std::to_string(zone) + "/" + pidname; in getPidControlPath()
69 /* The Zone doesn't have a configuration, bail. */ in buildZones()
71 "Bailing during load, missing Zone Configuration"; in buildZones()
76 auto zone = std::make_shared<DbusPidZone>( in buildZones() local
82 std::cerr << "Zone Id: " << zone->getZoneID() << "\n"; in buildZones()
[all …]
/openbmc/linux/fs/adfs/
H A Dmap.c14 * zone which contains a bitstream made up of variable sized fragments.
30 * large or fragmented files. The first map zone a fragment starts in
32 * from any zone on the disk.
63 * return the map bit offset of the fragment frag_id in the zone dm.
109 * Scan the free space map, for this zone, calculating the total
133 * exist in this zone. in scan_free_map()
159 static int scan_map(struct adfs_sb_info *asb, unsigned int zone, in scan_map() argument
166 dm = asb->s_map + zone; in scan_map()
167 zone = asb->s_map_size; in scan_map()
168 dm_end = asb->s_map + zone; in scan_map()
[all …]

12345678910>>...39