Home
last modified time | relevance | path

Searched full:zone (Results 1 – 25 of 972) 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/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/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/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 *zone, struct page *page) in page_outside_zone_boundaries() argument
449 seq = zone_span_seqbegin(zone); in page_outside_zone_boundaries()
450 start_pfn = zone->zone_start_pfn; in page_outside_zone_boundaries()
[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