/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | dm-zoned.rst | 25 host-managed disk with 256 MB zones, dm-zoned memory usage per disk 26 instance is at most 4.5 MB and as little as 5 zones will be used 38 write accesses to the sequential zones of a zoned block device. 39 Conventional zones are used for caching as well as for storing internal 42 in zones with the same size as the zoned block device. These zones will be 43 placed in front of the zones from the zoned block device and will be handled 44 just like conventional zones. 46 The zones of the device(s) are separated into 2 types: 48 1) Metadata zones: these are conventional zones used to store metadata. 49 Metadata zones are not reported as usable capacity to the user. [all …]
|
/openbmc/phosphor-pid-control/test/ |
H A D | dbus_util_unittest.cpp | 95 std::map<std::string, int64_t> zones = { in TEST() local 102 EXPECT_THAT(getZoneIndex("a", zones), Eq(0)); in TEST() 103 EXPECT_THAT(zones, ContainerEq(expected_zones)); in TEST() 109 std::map<std::string, int64_t> zones; in TEST() local 114 EXPECT_THAT(getZoneIndex("a", zones), Eq(0)); in TEST() 115 EXPECT_THAT(zones, ContainerEq(expected_zones)); in TEST() 120 std::map<std::string, int64_t> zones = { in TEST() local 127 EXPECT_THAT(setZoneIndex("a", zones, 0), Eq(0)); in TEST() 128 EXPECT_THAT(zones, ContainerEq(expected_zones)); in TEST() 134 std::map<std::string, int64_t> zones; in TEST() local [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | zonefs.rst | 14 write zones of the device must be written sequentially starting from the end 34 space that is divided into zones. A zone is a group of consecutive LBAs and all 35 zones are contiguous (there are no LBA gaps). Zones may have different types. 37 * Conventional zones: there are no access constraints to LBAs belonging to 38 conventional zones. Any read or write access can be executed, similarly to a 40 * Sequential zones: these zones accept random reads but must be written 44 cannot be overwritten. Sequential zones must first be erased using a special 60 Zonefs exposes the zones of a zoned block device as files. The files 61 representing zones are grouped by zone type, which are themselves represented 85 Files representing zones of the same type are grouped together under the same [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | alloc.c | 226 struct mlx4_zone_allocator *zones = kmalloc(sizeof(*zones), GFP_KERNEL); in mlx4_zone_allocator_create() local 228 if (NULL == zones) in mlx4_zone_allocator_create() 231 INIT_LIST_HEAD(&zones->entries); in mlx4_zone_allocator_create() 232 INIT_LIST_HEAD(&zones->prios); in mlx4_zone_allocator_create() 233 spin_lock_init(&zones->lock); in mlx4_zone_allocator_create() 234 zones->last_uid = 0; in mlx4_zone_allocator_create() 235 zones->mask = 0; in mlx4_zone_allocator_create() 236 zones->flags = flags; in mlx4_zone_allocator_create() 238 return zones; in mlx4_zone_allocator_create() 426 struct mlx4_zone_allocator *zones, u32 uid) in __mlx4_find_zone_by_uid() argument [all …]
|
/openbmc/entity-manager/configurations/ |
H A D | genesis3_chassis.json | 314 "Zones": [ array 341 "Zones": [ array 368 "Zones": [ array 395 "Zones": [ array 422 "Zones": [ array 449 "Zones": [ array 476 "Zones": [ array 503 "Zones": [ array 530 "Zones": [ array 557 "Zones": [ array [all …]
|
H A D | sbp1_chassis.json | 986 "Zones": [ array 1013 "Zones": [ array 1040 "Zones": [ array 1067 "Zones": [ array 1094 "Zones": [ array 1121 "Zones": [ array 1148 "Zones": [ array 1175 "Zones": [ array 1202 "Zones": [ array 1229 "Zones": [ array [all …]
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | action.hpp | 79 * @param[in] zones - Zones the action runs against 82 * sets the zones the action should run against. 87 std::vector<std::reference_wrapper<Zone>>& zones) in createAction() argument 89 // Create the action and set its list of zones in createAction() 91 action->setZones(zones); in createAction() 137 * @brief Set the zones the action is run against 139 * @param[in] zones - Zones the action runs against 141 * By default, the zones are set when the action object is created 143 virtual void setZones(std::vector<std::reference_wrapper<Zone>>& zones) in setZones() argument 145 _zones = zones; in setZones() [all …]
|
/openbmc/phosphor-fan-presence/control/example/ |
H A D | zones.yaml | 3 #List the properties of the fan zones that are possible in the system. 4 #The zones may be conditional based on certain conditions, such as 9 #The general structure is a list of groups of zones, where a group 10 #contains both the zones and the conditions required for the zones 29 # zones: 51 # zones: 64 # zones:
|
/openbmc/linux/block/ |
H A D | blk-zoned.c | 102 * bdev_nr_zones - Get number of zones 105 * Return the total number of zones of a zoned block device. For a block 106 * device without zone capabilities, the number of zones is always 0. 120 * blkdev_report_zones - Get zones information 122 * @sector: Sector from which to report zones 123 * @nr_zones: Maximum number of zones to report 130 * To report all zones in a device starting from @sector, the BLK_ALL_ZONES 132 * Returns the number of zones reported by the device, or a negative errno 165 * For an all-zones reset, ignore conventional, empty, read-only in blk_zone_need_reset_cb() 166 * and offline zones. in blk_zone_need_reset_cb() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | zoned.c | 23 /* Maximum number of zones to report per blkdev_report_zones() call */ 44 /* Number of superblock log zones */ 48 * Minimum of active zones we need: 50 * - BTRFS_SUPER_MIRROR_MAX zones for superblock mirrors 51 * - 3 zones to ensure at least one zone per SYSTEM, META and DATA block group 79 struct blk_zone *zones = data; in copy_zone_info_cb() local 81 memcpy(&zones[idx], zone, sizeof(*zone)); in copy_zone_info_cb() 86 static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones, in sb_write_pointer() argument 95 ASSERT(zones[i].type != BLK_ZONE_TYPE_CONVENTIONAL); in sb_write_pointer() 96 empty[i] = (zones[i].cond == BLK_ZONE_COND_EMPTY); in sb_write_pointer() [all …]
|
/openbmc/entity-manager/configurations/meta/ |
H A D | yosemite4_sentineldome_t2_retimer.json | 25 "Zones": [ array 63 "Zones": [ array 90 "Zones": [ array 117 "Zones": [ array 144 "Zones": [ array 175 "Zones": [ array 196 "Zones": [ array 230 "Zones": [ array 250 "Zones": [ array 308 "Zones": [ array [all …]
|
H A D | yosemite4_sentineldome_t1_retimer.json | 25 "Zones": [ array 61 "Zones": [ array 88 "Zones": [ array 115 "Zones": [ array 146 "Zones": [ array 167 "Zones": [ array 201 "Zones": [ array 221 "Zones": [ array 279 "Zones": [ array 318 "Zones": [ array [all …]
|
H A D | yosemite4_sentineldome_t2.json | 37 "Zones": [ array 64 "Zones": [ array 91 "Zones": [ array 118 "Zones": [ array 149 "Zones": [ array 170 "Zones": [ array 190 "Zones": [ array 248 "Zones": [ array 289 "Zones": [ array 325 "Zones": [ array [all …]
|
H A D | yosemite4_sentineldome_t1.json | 35 "Zones": [ array 62 "Zones": [ array 89 "Zones": [ array 120 "Zones": [ array 141 "Zones": [ array 161 "Zones": [ array 219 "Zones": [ array 258 "Zones": [ array 294 "Zones": [ array 324 "Zones": [ array [all …]
|
H A D | yosemite4_wailuafalls.json | 33 "Zones": [ array 67 "Zones": [ array 94 "Zones": [ array 122 "Zones": [ array 159 "Zones": [ array 196 "Zones": [ array 226 "Zones": [ array 257 "Zones": [ array 277 "Zones": [ array
|
/openbmc/phosphor-pid-control/dbus/ |
H A D | dbusutil.cpp | 25 std::map<std::string, int64_t>& zones, int64_t index) in setZoneIndex() argument 27 auto it = zones.find(name); in setZoneIndex() 28 if (it != zones.end()) in setZoneIndex() 40 for (const auto& zi : zones) in setZoneIndex() 60 zones[name] = index; in setZoneIndex() 65 std::map<std::string, int64_t>& zones) in getZoneIndex() argument 67 auto it = zones.find(name); in getZoneIndex() 68 if (it != zones.end()) in getZoneIndex() 74 return setZoneIndex(name, zones, 0); in getZoneIndex()
|
/openbmc/linux/drivers/block/null_blk/ |
H A D | zoned.c | 103 dev->zones = kvmalloc_array(dev->nr_zones, sizeof(struct nullb_zone), in null_init_zoned_dev() 105 if (!dev->zones) in null_init_zoned_dev() 112 pr_info("changed the number of conventional zones to %u", in null_init_zoned_dev() 116 /* Max active zones has to be < nbr of seq zones in order to be enforceable */ in null_init_zoned_dev() 122 /* Max open zones has to be <= max active zones */ in null_init_zoned_dev() 125 pr_info("changed the maximum number of open zones to %u\n", in null_init_zoned_dev() 135 zone = &dev->zones[i]; in null_init_zoned_dev() 149 zone = &dev->zones[i]; in null_init_zoned_dev() 190 kvfree(dev->zones); in null_free_zoned_dev() 191 dev->zones = NULL; in null_free_zoned_dev() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | blkzoned.h | 23 * enum blk_zone_type - Types of zones allowed in a zoned device. 44 * @BLK_ZONE_COND_EXP_OPEN: The zones was explicitly opened by an 125 * @zones: Space to hold @nr_zones @zones entries on reply. 133 struct blk_zone zones[]; member 141 * @nr_sectors: Total number of sectors of all zones to operate on. 154 * @BLKRESETZONE: Reset the write pointer of the zones in the specified 157 * @BLKGETNRZONES: Get the total number of zones of the device. 158 * @BLKOPENZONE: Open the zones in the specified sector range. 160 * @BLKCLOSEZONE: Close the zones in the specified sector range. 162 * @BLKFINISHZONE: Mark the zones as full in the specified sector range.
|
/openbmc/linux/Documentation/power/powercap/ |
H A D | powercap.rst | 19 Power zones represent different parts of the system, which can be controlled and 23 the system represented by different power zones are hierarchical (that is, one 25 controls), those power zones may also be organized in a hierarchy with one 150 control type called intel-rapl which contains two power zones, intel-rapl:0 and 151 intel-rapl:1, representing CPU packages. Each of these power zones contains 154 the zones and subzones contain energy monitoring attributes (energy_uj, 156 to be applied (the constraints in the 'package' power zones apply to the whole 170 Depending on different power zones, the Intel RAPL technology allows 173 All the zones contain attributes representing the constraint names, 245 enabled (rw): Enable/Disable controls at zone level or for all zones using
|
/openbmc/linux/Documentation/mm/ |
H A D | balance.rst | 41 zone size (and possibly of the size of lower class zones), we can decide 44 of lower class zones, the bad part is, we might do too frequent balancing 45 due to ignoring possibly lower usage in the lower class zones. Also, 50 of a zone _and_ all its lower class zones falls below 1/64th of the 51 total memory in the zone and its lower class zones. This fixes the 2.2 54 which have different numbers and types of zones. If we wanted to get 56 zones in the future. 72 kswapd also needs to know about the zones it should balance. kswapd is
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/fans/ |
H A D | phosphor-fan-control-zone-config.bb | 6 SRC_URI = "file://zones.yaml" 15 install -D zones.yaml ${D}${control_datadir}/zones.yaml 18 FILES:${PN} += "${control_datadir}/zones.yaml"
|
/openbmc/linux/drivers/powercap/ |
H A D | arm_scmi_powercap.c | 266 /* Un-register children zones first starting from the leaves */ in scmi_powercap_unregister_all_zones() 332 * scmi_zones_register- Register SCMI powercap zones starting from parent zones 335 * @pr: A reference to the root powercap zones descriptors 337 * When registering SCMI powercap zones with the powercap framework we should 338 * take care to always register zones starting from the root ones and to 342 * zones provided by the SCMI platform firmware is built to comply with such 345 * This function, given the set of SCMI powercap zones to register, takes care 346 * to walk the SCMI powercap zones trees up to the root registering any 347 * unregistered parent zone before registering the child zones; at the same 351 * the @registered_zones array backward and unregister all the zones starting [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/timezone/ |
H A D | timezone.inc | 4 HOMEPAGE = "http://www.iana.org/time-zones" 11 SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode;subdir… 12 … http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata;subdir=tz \ 17 UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones"
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config/witherspoon/ |
H A D | events.yaml | 427 zones: 460 zones: 613 zones: 622 zones: 649 zones: 658 zones: 722 zones: 736 zones: 745 zones: 769 zones: [all …]
|
/openbmc/qemu/docs/devel/ |
H A D | zoned-storage.rst | 5 Zoned Block Devices (ZBDs) divide the LBA space into block regions called zones 16 to zones. It supports ZBD-specific I/O commands that can be used by a host to 17 manage the zones of a device. 19 zones, making it backward compatible with regular block devices. 20 - BLK_Z_NONE: The non-zoned model has no zones support. It includes both 33 including report zones, four zone operations, and zone append.
|