Home
last modified time | relevance | path

Searched refs:zones (Results 1 – 25 of 425) sorted by relevance

12345678910>>...17

/openbmc/phosphor-pid-control/test/
H A Ddbus_util_unittest.cpp95 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 …]
H A Djson_parse_unittest.cpp22 "zones": [{ in TEST()
57 "zones": [{ in TEST()
109 "zones": [{ in TEST()
149 "zones": [{ in TEST()
H A Dpid_json_unittest.cpp21 "zones": [] in TEST()
41 "zones" : [{ in TEST()
88 "zones" : [{ in TEST()
151 "zones" : [{ in TEST()
201 "zones" : [{ in TEST()
286 "zones" : [{ in TEST()
/openbmc/phosphor-pid-control/dbus/
H A Ddbusutil.cpp25 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()
H A Ddbusutil.hpp42 std::map<std::string, int64_t>& zones, int64_t index);
46 std::map<std::string, int64_t>& zones);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c226 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 …]
H A Dqp.c244 *base = mlx4_zone_alloc_entries(qp_table->zones, uid, cnt, align, in __mlx4_qp_reserve_range()
287 mlx4_zone_free_entries_unique(qp_table->zones, base_qpn, cnt); in __mlx4_qp_release_range()
562 qp_table->zones = mlx4_zone_allocator_create(MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP); in mlx4_create_zones()
564 if (NULL == qp_table->zones) in mlx4_create_zones()
583 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_GENERAL, in mlx4_create_zones()
602 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_RSS, in mlx4_create_zones()
713 err = mlx4_zone_add_one(qp_table->zones, *bitmap + k, in mlx4_create_zones()
735 mlx4_zone_allocator_destroy(qp_table->zones); in mlx4_create_zones()
743 if (qp_table->zones) { in mlx4_cleanup_qp_zones()
750 mlx4_zone_get_bitmap(qp_table->zones, in mlx4_cleanup_qp_zones()
[all …]
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Ddm-zoned.rst25 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/openbmc/meta-phosphor/recipes-phosphor/fans/
H A Dphosphor-fan-control-zone-config.bb6 SRC_URI = "file://zones.yaml"
15 install -D zones.yaml ${D}${control_datadir}/zones.yaml
18 FILES:${PN} += "${control_datadir}/zones.yaml"
/openbmc/linux/fs/btrfs/
H A Dzoned.c79 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()
97 full[i] = sb_zone_is_full(&zones[i]); in sb_write_pointer()
119 *wp_ret = zones[0].start << SECTOR_SHIFT; in sb_write_pointer()
129 u64 zone_end = (zones[i].start + zones[i].capacity) << SECTOR_SHIFT; in sb_write_pointer()
145 sector = zones[1].start; in sb_write_pointer()
147 sector = zones[0].start; in sb_write_pointer()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/timezone/
H A Dtimezone.inc4 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/linux/drivers/block/null_blk/
H A Dzoned.c103 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()
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()
212 zone = &dev->zones[first_zone]; in null_report_zones()
245 struct nullb_zone *zone = &dev->zones[null_zone_no(dev, sector)]; in null_zone_valid_read_len()
298 zone = &dev->zones[zno]; in null_close_imp_open_zone()
379 struct nullb_zone *zone = &dev->zones[zno]; in null_zone_write()
[all …]
/openbmc/phosphor-fan-presence/control/json/actions/
H A Daction.hpp87 std::vector<std::reference_wrapper<Zone>>& zones) in createAction() argument
91 action->setZones(zones); in createAction()
143 virtual void setZones(std::vector<std::reference_wrapper<Zone>>& zones) in setZones() argument
145 _zones = zones; in setZones()
325 std::vector<std::reference_wrapper<Zone>>&& zones) in getAction() argument
330 return it->second(jsonObj, groups, zones); in getAction()
/openbmc/linux/Documentation/filesystems/
H A Dzonefs.rst14 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/phosphor-pid-control/
H A Dmain.cpp67 /* The zones build from configuration */ variable
68 static std::unordered_map<int64_t, std::shared_ptr<ZoneInterface>> zones;
121 if (state::zones.size() > 0 && state::zones.begin()->second.use_count() > 1) in stopControlLoops()
126 state::zones.clear(); in stopControlLoops()
167 state::zones = in restartControlLoops()
171 // larger than 100 per sec for most platforms as the number of zones are in restartControlLoops()
173 buildFailsafeLoggers(state::zones, /* logMaxCountPerSecond = */ 20); in restartControlLoops()
175 if (0 == state::zones.size()) in restartControlLoops()
177 std::cerr << "No zones define in restartControlLoops()
[all...]
/openbmc/linux/drivers/thermal/intel/
H A Dx86_pkg_temp_thermal.c67 static struct zone_device **zones; variable
104 return zones[id]; in pkg_temp_thermal_get_dev()
365 zones[id] = zonedev; in pkg_temp_thermal_device_add()
429 zones[topology_logical_die_id(cpu)] = NULL; in pkg_thermal_cpu_offline()
498 zones = kcalloc(max_id, sizeof(struct zone_device *), in pkg_temp_thermal_init()
500 if (!zones) in pkg_temp_thermal_init()
519 kfree(zones); in pkg_temp_thermal_init()
531 kfree(zones); in module_init()
/openbmc/linux/drivers/thermal/tegra/
H A Dtegra-bpmp-thermal.c30 struct tegra_bpmp_thermal_zone **zones; member
128 if (tegra->zones[i]->idx != req.host_trip_reached.zone) in bpmp_mrq_thermal()
131 schedule_work(&tegra->zones[i]->tz_device_update_work); in bpmp_mrq_thermal()
247 tegra->zones = devm_kcalloc(&pdev->dev, max_num_zones, in tegra_bpmp_thermal_probe()
248 sizeof(*tegra->zones), GFP_KERNEL); in tegra_bpmp_thermal_probe()
249 if (!tegra->zones) in tegra_bpmp_thermal_probe()
287 tegra->zones[tegra->num_zones++] = zone; in tegra_bpmp_thermal_probe()
/openbmc/linux/Documentation/power/powercap/
H A Dpowercap.rst19 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/qemu/docs/devel/
H A Dzoned-storage.rst5 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.
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend11 file://zones.json \
28 cp ${UNPACKDIR}/zones.json ${S}/control/config_files/${MACHINE}/zones.json
/openbmc/linux/fs/pstore/
H A Dzone.c281 static int psz_flush_dirty_zones(struct pstore_zone **zones, unsigned int cnt) in psz_flush_dirty_zones() argument
286 if (!zones) in psz_flush_dirty_zones()
290 zone = zones[i]; in psz_flush_dirty_zones()
569 struct pstore_zone **zones, unsigned int cnt) in psz_recover_zones() argument
575 if (!zones) in psz_recover_zones()
579 zone = zones[i]; in psz_recover_zones()
1127 struct pstore_zone **zones = *pszones; in psz_free_zones() local
1129 if (!zones) in psz_free_zones()
1134 psz_free_zone(&(zones[*cnt])); in psz_free_zones()
1136 kfree(zones); in psz_free_zones()
[all …]
/openbmc/linux/Documentation/mm/
H A Dbalance.rst41 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/linux/drivers/leds/
H A Dleds-lm3530.c124 u8 zones[LM3530_ALS_ZB_MAX]; member
176 als->zones[i] = (((als_vmin + LM3530_ALS_OFFSET_mV) + in lm3530_als_configure()
271 reg_val[5] = als.zones[0]; /* LM3530_ALS_ZB0_REG */ in lm3530_init_registers()
272 reg_val[6] = als.zones[1]; /* LM3530_ALS_ZB1_REG */ in lm3530_init_registers()
273 reg_val[7] = als.zones[2]; /* LM3530_ALS_ZB2_REG */ in lm3530_init_registers()
274 reg_val[8] = als.zones[3]; /* LM3530_ALS_ZB3_REG */ in lm3530_init_registers()
/openbmc/openbmc/poky/meta/recipes-connectivity/bind/bind/
H A Dconf.patch46 +; DO NOT EDIT THIS FILE - it is used for multiple zones.
146 +// If you are just adding zones, please do that in /etc/bind/named.conf.local
156 +// be authoritative for the localhost forward and reverse zones, and for
157 +// broadcast zones as per RFC 1912
201 +// Consider adding the 1918 zones here, if they are not used in your
203 +//include "/etc/bind/zones.rfc1918";
233 diff -urN bind-9.3.1.orig/conf/zones.rfc1918 bind-9.3.1/conf/zones.rfc1918
234 --- bind-9.3.1.orig/conf/zones.rfc1918 1970-01-01 01:00:00.000000000 +0100
235 +++ bind-9.3.1/conf/zones.rfc1918 2005-07-10 22:14:10.000000000 +0200
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dnft_zones_many.sh12 zones=2000
152 test_zones $zones
155 test_conntrack_tool $zones

12345678910>>...17