Searched refs:zones (Results 1 - 25 of 46) sorted by relevance

12

/linux-master/tools/thermal/thermometer/
H A Dthermometer.conf2 thermal-zones = (
/linux-master/drivers/md/dm-vdo/
H A Dlogical-zone.c41 struct logical_zones *zones = context; local
43 return zones->zones[zone_number].thread_id;
48 * @zones: The logical_zones to which this zone belongs.
51 static int initialize_zone(struct logical_zones *zones, zone_count_t zone_number) argument
54 struct vdo *vdo = zones->vdo;
55 struct logical_zone *zone = &zones->zones[zone_number];
63 zone->next = &zones->zones[zone_numbe
89 struct logical_zones *zones; local
128 vdo_free_logical_zones(struct logical_zones *zones) argument
180 struct logical_zones *zones = context; local
187 vdo_drain_logical_zones(struct logical_zones *zones, const struct admin_state_code *operation, struct vdo_completion *parent) argument
213 vdo_resume_logical_zones(struct logical_zones *zones, struct vdo_completion *parent) argument
[all...]
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, boo
[all...]
H A Ddedupe.c301 /* The number of zones */
303 /* The hash zones themselves */
304 struct hash_zone zones[]; member in struct:hash_zones
2041 static void close_index(struct hash_zones *zones)
2042 __must_hold(&zones->lock)
2050 zones->index_state = IS_CHANGING;
2052 spin_unlock(&zones->lock);
2053 result = uds_close_index(zones->index_session);
2057 spin_lock(&zones->lock);
2058 zones
2118 struct hash_zones *zones = as_hash_zones(completion); local
2155 report_dedupe_timeouts(struct hash_zones *zones, unsigned int timeouts) argument
2170 initialize_index(struct vdo *vdo, struct hash_zones *zones) argument
2348 initialize_zone(struct vdo *vdo, struct hash_zones *zones, zone_count_t zone_number) argument
2397 struct hash_zones *zones = context; local
2413 struct hash_zones *zones; local
2454 vdo_finish_dedupe_index(struct hash_zones *zones) argument
2466 vdo_free_hash_zones(struct hash_zones *zones) argument
2492 struct hash_zones *zones = container_of(state, struct hash_zones, state); local
2518 struct hash_zones *zones = context; local
2543 struct hash_zones *zones = context; local
2551 vdo_drain_hash_zones(struct hash_zones *zones, struct vdo_completion *parent) argument
2581 struct hash_zones *zones = context; local
2624 vdo_resume_hash_zones(struct hash_zones *zones, struct vdo_completion *parent) argument
2652 get_index_statistics(struct hash_zones *zones, struct index_statistics *stats) argument
2689 vdo_get_dedupe_statistics(struct hash_zones *zones, struct vdo_statistics *stats) argument
2714 vdo_select_hash_zone(struct hash_zones *zones, const struct uds_record_name *name) argument
2760 index_state_to_string(struct hash_zones *zones, enum index_state state) argument
2801 vdo_dump_hash_zones(struct hash_zones *zones) argument
2941 set_target_state(struct hash_zones *zones, enum index_state target, bool change_dedupe, bool dedupe, bool set_create) argument
2963 vdo_get_dedupe_index_state_name(struct hash_zones *zones) argument
2975 vdo_message_dedupe_index(struct hash_zones *zones, const char *name) argument
2994 vdo_set_dedupe_state_normal(struct hash_zones *zones) argument
3000 vdo_start_dedupe_index(struct hash_zones *zones, bool create_flag) argument
[all...]
H A Dlogical-zone.h21 struct logical_zones *zones; member in struct:logical_zone
56 /* The vdo whose zones these are */
60 /* The number of zones */
62 /* The logical zones themselves */
63 struct logical_zone zones[]; member in struct:logical_zones
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,
H A Dphysical-zone.c321 * @zones: The physical_zones to which the zone being initialized belongs
325 static int initialize_zone(struct vdo *vdo, struct physical_zones *zones) argument
328 zone_count_t zone_number = zones->zone_count;
329 struct physical_zone *zone = &zones->zones[zone_number];
344 zone->next = &zones->zones[(zone_number + 1) % vdo->thread_config.physical_zone_count];
355 * vdo_make_physical_zones() - Make the physical zones for a vdo.
357 * @zones_ptr: A pointer to hold the zones
363 struct physical_zones *zones; local
391 vdo_free_physical_zones(struct physical_zones *zones) argument
[all...]
H A Dphysical-zone.h72 /* The number of zones */
74 /* The physical zones themselves */
75 struct physical_zone zones[]; member in struct:physical_zones
97 void vdo_free_physical_zones(struct physical_zones *zones);
H A Daction-manager.c18 * struct action - An action to be performed in each of a set of zones.
45 * @zones: The number of zones in which an action is to be applied.
58 zone_count_t zones; member in struct:action_manager
92 * @zones: The number of zones to which actions will be applied.
103 int vdo_make_action_manager(zone_count_t zones, argument
116 .zones = zones,
181 "%s() called on acting zones'
[all...]
H A Daction-manager.h24 * an optional method to be run on the initiator thread before applying the action to all zones
26 * an optional method to be applied to each of the zones
29 * applied to all zones
37 * A function which is to be applied asynchronously to a set of zones.
79 int __must_check vdo_make_action_manager(zone_count_t zones,
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c226 struct mlx4_zone_allocator *zones = kmalloc(sizeof(*zones), GFP_KERNEL); local
228 if (NULL == zones)
231 INIT_LIST_HEAD(&zones->entries);
232 INIT_LIST_HEAD(&zones->prios);
233 spin_lock_init(&zones->lock);
234 zones->last_uid = 0;
235 zones->mask = 0;
236 zones->flags = flags;
238 return zones;
425 __mlx4_find_zone_by_uid( struct mlx4_zone_allocator *zones, u32 uid) argument
438 mlx4_zone_get_bitmap(struct mlx4_zone_allocator *zones, u32 uid) argument
454 mlx4_zone_remove_one(struct mlx4_zone_allocator *zones, u32 uid) argument
478 __mlx4_find_zone_by_uid_unique( struct mlx4_zone_allocator *zones, u32 obj) argument
508 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count, int align, u32 skip_mask, u32 *puid) argument
529 mlx4_zone_free_entries(struct mlx4_zone_allocator *zones, u32 uid, u32 obj, u32 count) argument
551 mlx4_zone_free_entries_unique(struct mlx4_zone_allocator *zones, u32 obj, u32 count) argument
[all...]
H A Dqp.c244 *base = mlx4_zone_alloc_entries(qp_table->zones, uid, cnt, align,
287 mlx4_zone_free_entries_unique(qp_table->zones, base_qpn, cnt);
562 qp_table->zones = mlx4_zone_allocator_create(MLX4_ZONE_ALLOC_FLAGS_NO_OVERLAP);
564 if (NULL == qp_table->zones)
583 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_GENERAL,
602 err = mlx4_zone_add_one(qp_table->zones, *bitmap + MLX4_QP_TABLE_ZONE_RSS,
698 /* Add an empty bitmap, we'll allocate from different zones (since
713 err = mlx4_zone_add_one(qp_table->zones, *bitmap + k,
735 mlx4_zone_allocator_destroy(qp_table->zones);
743 if (qp_table->zones) {
[all...]
/linux-master/drivers/block/null_blk/
H A Dzoned.c93 dev->zones = kvmalloc_array(dev->nr_zones, sizeof(struct nullb_zone),
95 if (!dev->zones)
102 pr_info("changed the number of conventional zones to %u",
106 /* Max active zones has to be < nbr of seq zones in order to be enforceable */
112 /* Max open zones has to be <= max active zones */
115 pr_info("changed the maximum number of open zones to %u\n",
125 zone = &dev->zones[i];
139 zone = &dev->zones[
[all...]
/linux-master/drivers/thermal/tegra/
H A Dtegra-bpmp-thermal.c30 struct tegra_bpmp_thermal_zone **zones; member in struct:tegra_bpmp_thermal
128 if (tegra->zones[i]->idx != req.host_trip_reached.zone)
131 schedule_work(&tegra->zones[i]->tz_device_update_work);
242 dev_err(&pdev->dev, "failed to get the number of zones: %d\n",
247 tegra->zones = devm_kcalloc(&pdev->dev, max_num_zones,
248 sizeof(*tegra->zones), GFP_KERNEL);
249 if (!tegra->zones)
287 tegra->zones[tegra->num_zones++] = zone;
/linux-master/fs/btrfs/
H A Dzoned.c21 /* Maximum number of zones to report per blkdev_report_zones() call */
42 /* Number of superblock log zones */
46 * Minimum of active zones we need:
48 * - BTRFS_SUPER_MIRROR_MAX zones for superblock mirrors
49 * - 3 zones to ensure at least one zone per SYSTEM, META and DATA block group
77 struct blk_zone *zones = data; local
79 memcpy(&zones[idx], zone, sizeof(*zone));
84 static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones, argument
93 ASSERT(zones[i].type != BLK_ZONE_TYPE_CONVENTIONAL);
94 empty[i] = (zones[
196 emulate_report_zones(struct btrfs_device *device, u64 pos, struct blk_zone *zones, unsigned int nr_zones) argument
221 btrfs_get_dev_zones(struct btrfs_device *device, u64 pos, struct blk_zone *zones, unsigned int *nr_zones) argument
367 struct blk_zone *zones = NULL; local
801 sb_log_location(struct block_device *bdev, struct blk_zone *zones, int rw, u64 *bytenr_ret) argument
865 struct blk_zone zones[BTRFS_NR_SB_LOG_ZONES]; local
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_zones_many.sh4 # that are all placed in distinct conntrack zones.
12 zones=2000
152 test_zones $zones
155 test_conntrack_tool $zones
/linux-master/drivers/md/dm-vdo/indexer/
H A Dvolume-index.h62 /* The zones */
63 struct volume_sub_index_zone *zones; member in struct:volume_sub_index
82 /* The number of zones */
99 struct volume_index_zone *zones; member in struct:volume_index
H A Dindex.h21 * The index is divided into a number of independent zones and assigns each request to a zone based
22 * on its name. Most sub-components are similarly divided into zones as well so that requests in
23 * each zone usually operate without interference or coordination between zones.
45 struct index_zone **zones; member in struct:uds_index
H A Dvolume-index.c31 * The volume index is also divided into zones, with one thread operating on each zone. Each
34 * zones doesn't underflow (leaving some zone with no delta lists), the minimum number of delta
41 * Most operations that use all the zones take place either before request processing is allowed,
134 return &record->sub_index->zones[record->zone_number];
283 vdo_free(vdo_forget(sub_index->zones));
292 if (volume_index->zones != NULL)
293 vdo_free(vdo_forget(volume_index->zones));
545 struct mutex *mutex = &volume_index->zones[zone].hook_mutex;
627 struct volume_sub_index_zone *zone = &sub_index->zones[zone_number];
679 struct mutex *mutex = &volume_index->zones[zone_numbe
[all...]
/linux-master/drivers/thermal/intel/
H A Dx86_pkg_temp_thermal.c66 static struct zone_device **zones; variable in typeref:struct:zone_device
103 return zones[id];
357 zones[id] = zonedev;
419 zones[topology_logical_die_id(cpu)] = NULL;
487 zones = kcalloc(max_id, sizeof(struct zone_device *),
489 if (!zones)
508 kfree(zones);
520 kfree(zones);
/linux-master/drivers/mtd/
H A Dsm_ftl.h29 struct ftl_zone *zones; /* FTL tables for each zone */ member in struct:sm_ftl
34 int zone_count; /* number of zones */
/linux-master/include/sound/
H A Dsoc-jack.h27 * struct snd_soc_jack_zone - Describes voltage zones of jack detection
101 struct snd_soc_jack_zone *zones);
H A Dsoundfont.h50 struct snd_sf_zone *zones; /* Font information */ member in struct:snd_soundfont
/linux-master/include/uapi/linux/
H A Dblkzoned.h23 * 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 in struct:blk_zone_report
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 i
[all...]
/linux-master/drivers/leds/
H A Dleds-lm3530.c124 u8 zones[LM3530_ALS_ZB_MAX]; member in struct:lm3530_als_data
172 /* n zone boundary makes n+1 zones */
176 als->zones[i] = (((als_vmin + LM3530_ALS_OFFSET_mV) +
271 reg_val[5] = als.zones[0]; /* LM3530_ALS_ZB0_REG */
272 reg_val[6] = als.zones[1]; /* LM3530_ALS_ZB1_REG */
273 reg_val[7] = als.zones[2]; /* LM3530_ALS_ZB2_REG */
274 reg_val[8] = als.zones[3]; /* LM3530_ALS_ZB3_REG */
/linux-master/fs/pstore/
H A Dzone.c4 * allocated zones that are then mapped and flushed into a single
92 * @kpszs: kmsg dump storage zones
95 * @fpszs: ftrace storage zones
256 /* flush dirty zones nicely */
281 static int psz_flush_dirty_zones(struct pstore_zone **zones, unsigned int cnt) argument
286 if (!zones)
290 zone = zones[i];
569 struct pstore_zone **zones, unsigned int cnt)
575 if (!zones)
579 zone = zones[
568 psz_recover_zones(struct psz_context *cxt, struct pstore_zone **zones, unsigned int cnt) argument
1127 struct pstore_zone **zones = *pszones; local
1200 struct pstore_zone **zones, *zone; local
[all...]

Completed in 343 milliseconds

12