Home
last modified time | relevance | path

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

12345678910>>...16

/linux/drivers/md/dm-vdo/
A Dlogical-zone.c43 return zones->zones[zone_number].thread_id; in get_thread_id_for_zone()
55 struct logical_zone *zone = &zones->zones[zone_number]; in initialize_zone()
63 zone->next = &zones->zones[zone_number + 1]; in initialize_zone()
67 zone->zones = zones; in initialize_zone()
102 zones->vdo = vdo; in vdo_make_logical_zones()
114 vdo, &zones->manager); in vdo_make_logical_zones()
120 *zones_ptr = zones; in vdo_make_logical_zones()
132 if (zones == NULL) in vdo_free_logical_zones()
138 vdo_int_map_free(vdo_forget(zones->zones[index].lbn_operations)); in vdo_free_logical_zones()
140 vdo_free(zones); in vdo_free_logical_zones()
[all …]
A Ddedupe.c2078 &zones->parameters, zones->index_session); in open_index()
2121 ((zones->index_state != zones->index_target) || zones->create_flag)) { in change_dedupe_state()
2351 struct hash_zone *zone = &zones->zones[zone_number]; in initialize_zone()
2397 return zones->zones[zone_number].thread_id; in get_thread_id_for_zone()
2474 struct hash_zone *zone = &zones->zones[i]; in vdo_free_hash_zones()
2543 vdo_start_draining(&zones->zones[zone_number].state, in drain_hash_zone()
2563 if (zones->create_flag || (zones->index_state != zones->index_target)) { in launch_dedupe_state_change()
2729 return &zones->zones[hash]; in vdo_select_hash_zone()
2805 state = index_state_to_string(zones, zones->index_state); in vdo_dump_hash_zones()
2806 target = (zones->changing ? index_state_to_string(zones, zones->index_target) : NULL); in vdo_dump_hash_zones()
[all …]
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);
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);
104 void vdo_resume_hash_zones(struct hash_zones *zones, struct vdo_completion *parent);
[all …]
A Dphysical-zone.c328 zone_count_t zone_number = zones->zone_count; in initialize_zone()
329 struct physical_zone *zone = &zones->zones[zone_number]; in initialize_zone()
344 zone->next = &zones->zones[(zone_number + 1) % vdo->thread_config.physical_zone_count]; in initialize_zone()
363 struct physical_zones *zones; in vdo_make_physical_zones() local
375 for (zones->zone_count = 0; zones->zone_count < zone_count; zones->zone_count++) { in vdo_make_physical_zones()
376 result = initialize_zone(vdo, zones); in vdo_make_physical_zones()
378 vdo_free_physical_zones(zones); in vdo_make_physical_zones()
383 *zones_ptr = zones; in vdo_make_physical_zones()
395 if (zones == NULL) in vdo_free_physical_zones()
399 struct physical_zone *zone = &zones->zones[index]; in vdo_free_physical_zones()
[all …]
A Dlogical-zone.h21 struct logical_zones *zones; member
63 struct logical_zone zones[]; member
69 void vdo_free_logical_zones(struct logical_zones *zones);
71 void vdo_drain_logical_zones(struct logical_zones *zones,
75 void vdo_resume_logical_zones(struct logical_zones *zones,
A Daction-manager.c58 zone_count_t zones; member
103 int vdo_make_action_manager(zone_count_t zones, in vdo_make_action_manager() argument
116 .zones = zones, in vdo_make_action_manager()
184 if (manager->acting_zone == manager->zones) { in apply_to_zone()
A Dphysical-zone.h75 struct physical_zone zones[]; member
97 void vdo_free_physical_zones(struct physical_zones *zones);
/linux/drivers/net/ethernet/mellanox/mlx4/
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()
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()
443 spin_lock(&zones->lock); in mlx4_zone_get_bitmap()
459 spin_lock(&zones->lock); in mlx4_zone_remove_one()
514 spin_lock(&zones->lock); in mlx4_zone_alloc_entries()
534 spin_lock(&zones->lock); in mlx4_zone_free_entries()
[all …]
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()
564 if (NULL == qp_table->zones) 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()
753 mlx4_zone_remove_one(qp_table->zones, qp_table->zones_uids[i]); in mlx4_cleanup_qp_zones()
759 mlx4_zone_allocator_destroy(qp_table->zones); in mlx4_cleanup_qp_zones()
[all …]
/linux/Documentation/admin-guide/device-mapper/
A Ddm-zoned.rst26 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.
42 in zones with the same size as the zoned block device. These zones will be
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.
51 2) Data zones: all remaining zones, the vast majority of which will be
180 of unmapped (ie free) random zones, <nr_rnd> the total number of zones,
182 total number of sequential zones.
[all …]
/linux/fs/btrfs/
A Dzoned.c125 u64 zone_end = (zones[i].start + zones[i].capacity) << SECTOR_SHIFT; in sb_write_pointer()
148 sector = zones[0].wp; in sb_write_pointer()
150 sector = zones[1].wp; in sb_write_pointer()
206 zones[i].wp = zones[i].start + zone_sectors; in emulate_report_zones()
449 if (!zones) { in btrfs_get_dev_zone_info()
496 sector = zones[nr_zones - 1].start + zones[nr_zones - 1].len; in btrfs_get_dev_zone_info()
568 kvfree(zones); in btrfs_get_dev_zone_info()
586 kvfree(zones); in btrfs_get_dev_zone_info()
838 zone_end = zones[1].start + zones[1].capacity; in sb_log_location()
840 zone_end = zones[0].start + zones[0].capacity; in sb_log_location()
[all …]
/linux/drivers/block/null_blk/
A Dzoned.c96 if (!dev->zones) in null_init_zoned_dev()
131 zone = &dev->zones[i]; in null_init_zoned_dev()
145 zone = &dev->zones[i]; in null_init_zoned_dev()
189 kvfree(dev->zones); in null_free_zoned_dev()
190 dev->zones = NULL; in null_free_zoned_dev()
211 zone = &dev->zones[first_zone]; in null_report_zones()
268 zone = &dev->zones[zno]; in null_close_imp_open_zone()
355 struct nullb_zone *zone = &dev->zones[zno]; in null_zone_write()
645 zone = &dev->zones[i]; in null_zone_mgmt()
659 zone = &dev->zones[zone_no]; in null_zone_mgmt()
[all …]
/linux/Documentation/filesystems/
A Dzonefs.rst14 write zones of the device must be written sequentially starting from the end
37 * Conventional zones: there are no access constraints to LBAs belonging to
40 * Sequential zones: these zones accept random reads but must be written
60 Zonefs exposes the zones of a zoned block device as files. The files
94 For sequential write zones, the sub-directory "seq" is used.
195 on an HDD causing all zones on the platter under the broken head to be
340 the number of zones that can be active, that is, zones that are in the
406 The following formats a 15TB host-managed SMR HDD with 256 MB zones
407 with the conventional zones aggregation feature enabled::
417 existing for each type of zones. In this example, there is only one
[all …]
/linux/drivers/thermal/intel/
A Dx86_pkg_temp_thermal.c66 static struct zone_device **zones; variable
103 return zones[id]; in pkg_temp_thermal_get_dev()
360 zones[id] = zonedev; in pkg_temp_thermal_device_add()
422 zones[topology_logical_die_id(cpu)] = NULL; in pkg_thermal_cpu_offline()
490 zones = kcalloc(max_id, sizeof(struct zone_device *), in pkg_temp_thermal_init()
492 if (!zones) in pkg_temp_thermal_init()
511 kfree(zones); in pkg_temp_thermal_init()
523 kfree(zones); in module_init()
/linux/drivers/thermal/tegra/
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()
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/Documentation/power/powercap/
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/
A Dnft_zones_many.sh8 zones=2000
9 [ "$KSFT_MACHINE_SLOW" = yes ] && zones=500
153 test_zones $zones
156 test_conntrack_tool $zones
/linux/drivers/md/dm-vdo/indexer/
A Dvolume-index.c134 return &record->sub_index->zones[record->zone_number]; in get_zone_for_record()
283 vdo_free(vdo_forget(sub_index->zones)); in uninitialize_volume_sub_index()
292 if (volume_index->zones != NULL) in uds_free_volume_index()
293 vdo_free(vdo_forget(volume_index->zones)); in uds_free_volume_index()
545 struct mutex *mutex = &volume_index->zones[zone].hook_mutex; in uds_get_volume_index_record()
887 sub_index->zones[z].virtual_chapter_low = virtual_chapter_low; in start_restoring_volume_sub_index()
888 sub_index->zones[z].virtual_chapter_high = virtual_chapter_high; in start_restoring_volume_sub_index()
1150 stats->early_flushes += sub_index->zones[z].early_flushes; in get_volume_sub_index_stats()
1220 "volume index zones", &sub_index->zones); in initialize_volume_sub_index()
1253 "volume index zones", &volume_index->zones); in uds_make_volume_index()
[all …]
/linux/Documentation/mm/
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
/linux/drivers/leds/
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()
/linux/fs/pstore/
A Dzone.c286 if (!zones) in psz_flush_dirty_zones()
290 zone = zones[i]; in psz_flush_dirty_zones()
575 if (!zones) in psz_recover_zones()
579 zone = zones[i]; in psz_recover_zones()
1129 if (!zones) in psz_free_zones()
1136 kfree(zones); in psz_free_zones()
1215 zones = kcalloc(c, sizeof(*zones), GFP_KERNEL); in psz_init_zones()
1216 if (!zones) { in psz_init_zones()
1225 psz_free_zones(&zones, &i); in psz_init_zones()
1228 zones[i] = zone; in psz_init_zones()
[all …]
/linux/Documentation/devicetree/bindings/thermal/
A Dthermal-sensor.yaml15 and the software abstraction of thermal zones required to take appropriate
22 - thermal-zones: a container of the following node types used to describe all
28 zones. Typical devices are I2C ADC converters and bandgaps. Thermal sensor
A Dthermal-zones.yaml5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml#
15 and the software abstraction of cooling devices and thermal zones required to
22 - thermal-zones: a container of the following node types used to describe all
25 This binding describes the thermal-zones.
42 const: thermal-zones
44 A /thermal-zones node is required in order to use the thermal framework to
45 manage input from the various thermal zones in the system in order to
277 thermal-zones {
/linux/drivers/mtd/
A Dsm_ftl.c467 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_erase_block()
754 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_init_zone()
886 zone = &ftl->zones[zone_num]; in sm_get_zone()
946 zone = &ftl->zones[zone_num]; in sm_cache_flush()
1160 ftl->zones = kcalloc(ftl->zone_count, sizeof(struct ftl_zone), in sm_add_mtd()
1162 if (!ftl->zones) in sm_add_mtd()
1220 kfree(ftl->zones); in sm_add_mtd()
1240 if (!ftl->zones[i].initialized) in sm_remove_dev()
1243 kfree(ftl->zones[i].lba_to_phys_table); in sm_remove_dev()
1244 kfifo_free(&ftl->zones[i].free_sectors); in sm_remove_dev()
[all …]

Completed in 63 milliseconds

12345678910>>...16