Home
last modified time | relevance | path

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

123456789

/linux/drivers/md/dm-vdo/
H A Ddedupe.h83 void vdo_free_hash_zones(struct hash_zones *zones);
85 void vdo_drain_hash_zones(struct hash_zones *zones, struct vdo_completion *parent);
87 void vdo_get_dedupe_statistics(struct hash_zones *zones, struct vdo_statistics *stats);
89 struct hash_zone * __must_check vdo_select_hash_zone(struct hash_zones *zones,
92 void vdo_dump_hash_zones(struct hash_zones *zones);
94 const char *vdo_get_dedupe_index_state_name(struct hash_zones *zones);
96 u64 vdo_get_dedupe_index_timeout_count(struct hash_zones *zones);
98 int vdo_message_dedupe_index(struct hash_zones *zones, const char *name);
100 void vdo_set_dedupe_state_normal(struct hash_zones *zones);
102 void vdo_start_dedupe_index(struct hash_zones *zones, bool create_flag);
[all …]
H A Dphysical-zone.h75 struct physical_zone zones[]; member
97 void vdo_free_physical_zones(struct physical_zones *zones);
/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 …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c226 struct mlx4_zone_allocator *zones = kmalloc_obj(*zones); 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 …]
/linux/drivers/block/null_blk/
H A Dzoned.c100 dev->zones = kvmalloc_objs(struct nullb_zone, dev->nr_zones, in null_init_zoned_dev()
102 if (!dev->zones) in null_init_zoned_dev()
109 pr_info("changed the number of conventional zones to %u", in null_init_zoned_dev()
118 /* Max active zones has to be < nbr of seq zones in order to be enforceable */ in null_init_zoned_dev()
124 /* Max open zones has to be <= max active zones */ in null_init_zoned_dev()
127 pr_info("changed the maximum number of open zones to %u\n", in null_init_zoned_dev()
137 zone = &dev->zones[i]; in null_init_zoned_dev()
151 zone = &dev->zones[ in null_init_zoned_dev()
[all...]
/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 …]
/linux/fs/btrfs/
H A Dzoned.c22 /* Maximum number of zones to report per blkdev_report_zones() call */
43 /* Number of superblock log zones */
46 /* Default number of max active zones when the device has no limits. */
50 * Minimum of active zones we need:
52 * - BTRFS_SUPER_MIRROR_MAX zones for superblock mirrors
53 * - 3 zones to ensure at least one zone per SYSTEM, META and DATA block group
81 struct blk_zone *zones = data; in copy_zone_info_cb() local
83 memcpy(&zones[idx], zone, sizeof(*zone)); in copy_zone_info_cb()
88 static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones, in sb_write_pointer() argument
96 ASSERT(zones[ in sb_write_pointer()
202 emulate_report_zones(struct btrfs_device * device,u64 pos,struct blk_zone * zones,unsigned int nr_zones) emulate_report_zones() argument
227 btrfs_get_dev_zones(struct btrfs_device * device,u64 pos,struct blk_zone * zones,unsigned int * nr_zones) btrfs_get_dev_zones() argument
389 struct blk_zone *zones = NULL; btrfs_get_dev_zone_info() local
830 sb_log_location(struct block_device * bdev,struct blk_zone * zones,int rw,u64 * bytenr_ret) sb_log_location() argument
894 struct blk_zone zones[BTRFS_NR_SB_LOG_ZONES]; btrfs_sb_log_location_bdev() local
[all...]
/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
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_zones_many.sh8 zones=2000
9 [ "$KSFT_MACHINE_SLOW" = yes ] && zones=500
153 test_zones $zones
156 test_conntrack_tool $zones
/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()
1128 struct pstore_zone **zones = *pszones; in psz_free_zones() local
1130 if (!zones) in psz_free_zones()
1135 psz_free_zone(&(zones[*cnt])); in psz_free_zones()
1137 kfree(zones); in psz_free_zones()
[all …]
/linux/Documentation/admin-guide/blockdev/
H A Dzoned_loop.rst24 number of conventional zones can be created. The storage for each zone of the
39 machine. That is, zones can be empty, implicitly opened, explicitly opened,
41 maximum number of open and active zones.
81 conv_zones Total number of conventioanl zones starting from
84 max_open_zones Maximum number of open sequential write required zones
129 state of the device zones: the device zones are restored to their last state
136 base directory containing the backing files of the device zones must be deleted.
141 The following sequence of commands creates a 2GB zoned device with zones of 64
/linux/drivers/block/
H A Dzloop.c153 struct zloop_zone zones[] __counted_by(nr_zones);
179 * the list of open zones so that if we need to
211 * If we have reached the maximum open zones limit, attempt to close an
213 * zone without exceeding the maximum number of open zones.
245 * maximum open zones limit. in zloop_open_closed_or_empty_zone()
252 * Implicit open case: if we have reached the maximum open zones in zloop_open_closed_or_empty_zone()
312 struct zloop_zone *zone = &zlo->zones[zone_no]; in zloop_update_seq_zone()
359 struct zloop_zone *zone = &zlo->zones[zone_no]; in zloop_open_zone()
384 struct zloop_zone *zone = &zlo->zones[zone_no]; in zloop_close_zone()
426 struct zloop_zone *zone = &zlo->zones[zone_n in zloop_reset_zone()
[all...]
/linux/sound/synth/emux/
H A Dsoundfont.c244 sf->zones = NULL; in newsf()
315 zp->next = sf->zones; in sf_zone_new()
316 sf->zones = zp; in sf_zone_new()
394 for (zp = sf->zones; zp; prevp = zp, zp = zp->next) { in load_map()
406 zp->next = sf->zones; in load_map()
407 sf->zones = zp; in load_map()
446 /* stop voices before freeing the zones they might refer to */ in remove_info()
447 for (p = sf->zones; p; p = p->next) { in remove_info()
456 for (p = sf->zones; p; p = next) { in remove_info()
464 sf->zones in remove_info()
[all...]
/linux/drivers/thermal/tegra/
H A DKconfig9 Tegra systems-on-chip. The driver supports four thermal zones
11 zones to manage temperatures. This option is also required for the
/linux/drivers/md/dm-vdo/indexer/
H A Dvolume-index.h63 struct volume_sub_index_zone *zones; member
99 struct volume_index_zone *zones; member
/linux/tools/thermal/thermometer/
H A Dthermometer.conf2 thermal-zones = (
/linux/sound/soc/
H A Dsoc-jack.c80 * snd_soc_jack_add_zones - Associate voltage zones with jack
83 * @count: Number of zones
84 * @zones: Array of zones
86 * After this function has been called the zones specified in the
90 struct snd_soc_jack_zone *zones) in snd_soc_jack_add_zones() argument
95 INIT_LIST_HEAD(&zones[i].list); in snd_soc_jack_add_zones()
96 list_add(&(zones[i].list), &jack->jack_zones); in snd_soc_jack_add_zones()
104 * the type of jack from the zones declared in the jack type
110 * the type of jack from the already declared jack zones
[all...]
/linux/Documentation/hwmon/
H A Dasc7621.rst51 We offer flexible mapping of temperature readings to thermal zones. Any
56 a set of zones to control the PWM of an individual fan, but there is no
91 Using temperature information from these four zones, an automatic fan speed
97 temperature zones. Both high- and low-frequency PWM ranges are supported.
223 Only the following combination of zones (and their corresponding masks)
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234-p3701-0008.dtsi8 thermal-zones {
H A Dtegra234-p3701-0000.dtsi9 thermal-zones {
/linux/fs/zonefs/
H A DKconfig8 zonefs is a simple file system which exposes zones of a zoned block
H A Dsuper.c3 * Simple file system for zoned block devices exposing zones as files.
59 * For zones that transitioned to the offline or readonly condition, in zonefs_account_active()
108 * open operation on other zones if the drive active zone resources in zonefs_zone_mgmt()
202 * The write pointer of read-only zones is invalid, so we cannot in zonefs_check_zone_condition()
216 /* The write pointer of full zones is invalid. */ in zonefs_check_zone_condition()
227 * offline and readonly zones.
234 /* Offline zones cannot be read nor written */ in zonefs_inode_update_mode()
238 /* Readonly zones cannot be written */ in zonefs_inode_update_mode()
304 * First handle bad zones signaled by hardware. The mount options in zonefs_handle_io_error()
396 * may prevent IO forward progress. Executing the report zones unde in __zonefs_io_error()
854 struct blk_zone *zones; global() member
[all...]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-powercap17 controlled. A <control type> can contain multiple power zones.
42 Power zones may be organized in a hierarchy in which child
43 power zones provide monitoring and control for a subset of
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am64-thermal.dtsi8 thermal_zones: thermal-zones {

123456789