Home
last modified time | relevance | path

Searched refs:limits (Results 1 – 25 of 37) sorted by relevance

12

/linux-4.19.296/block/
Dblk-settings.c175 blk_set_default_limits(&q->limits); in blk_queue_make_request()
204 q->limits.bounce_pfn = max(max_low_pfn, b_pfn); in blk_queue_bounce_limit()
208 q->limits.bounce_pfn = b_pfn; in blk_queue_bounce_limit()
213 q->limits.bounce_pfn = b_pfn; in blk_queue_bounce_limit()
239 struct queue_limits *limits = &q->limits; in blk_queue_max_hw_sectors() local
248 limits->max_hw_sectors = max_hw_sectors; in blk_queue_max_hw_sectors()
249 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors()
251 limits->max_sectors = max_sectors; in blk_queue_max_hw_sectors()
272 q->limits.chunk_sectors = chunk_sectors; in blk_queue_chunk_sectors()
284 q->limits.max_hw_discard_sectors = max_discard_sectors; in blk_queue_max_discard_sectors()
[all …]
Dblk-sysfs.c134 return queue_var_show(q->limits.max_integrity_segments, (page)); in queue_max_integrity_segments_show()
157 return queue_var_show(q->limits.chunk_sectors, page); in queue_chunk_sectors_show()
172 return queue_var_show(q->limits.discard_granularity, page); in queue_discard_granularity_show()
179 (unsigned long long)q->limits.max_hw_discard_sectors << 9); in queue_discard_max_hw_show()
185 (unsigned long long)q->limits.max_discard_sectors << 9); in queue_discard_max_show()
197 if (max_discard & (q->limits.discard_granularity - 1)) in queue_discard_max_store()
204 if (max_discard > q->limits.max_hw_discard_sectors) in queue_discard_max_store()
205 max_discard = q->limits.max_hw_discard_sectors; in queue_discard_max_store()
207 q->limits.max_discard_sectors = max_discard; in queue_discard_max_store()
219 (unsigned long long)q->limits.max_write_same_sectors << 9); in queue_write_same_max_show()
[all …]
Dblk-merge.c30 granularity = max(q->limits.discard_granularity >> 9, 1U); in blk_bio_discard_split()
32 max_discard_sectors = min(q->limits.max_discard_sectors, in blk_bio_discard_split()
50 alignment = (q->limits.discard_alignment >> 9) % granularity; in blk_bio_discard_split()
66 if (!q->limits.max_write_zeroes_sectors) in blk_bio_write_zeroes_split()
69 if (bio_sectors(bio) <= q->limits.max_write_zeroes_sectors) in blk_bio_write_zeroes_split()
72 return bio_split(bio, q->limits.max_write_zeroes_sectors, GFP_NOIO, bs); in blk_bio_write_zeroes_split()
82 if (!q->limits.max_write_same_sectors) in blk_bio_write_same_split()
85 if (bio_sectors(bio) <= q->limits.max_write_same_sectors) in blk_bio_write_same_split()
88 return bio_split(bio, q->limits.max_write_same_sectors, GFP_NOIO, bs); in blk_bio_write_same_split()
Dbounce.c300 if (page_to_pfn(from.bv_page) > q->limits.bounce_pfn) in __blk_queue_bounce()
318 if (page_to_pfn(page) <= q->limits.bounce_pfn) in __blk_queue_bounce()
370 if (q->limits.bounce_pfn >= blk_max_pfn) in blk_queue_bounce()
Dblk-integrity.c200 q->limits.max_integrity_segments) in blk_integrity_merge_rq()
230 q->limits.max_integrity_segments) in blk_integrity_merge_bio()
Dpartition-generic.c354 queue_limit_alignment_offset(&disk->queue->limits, start); in add_partition()
356 queue_limit_discard_alignment(&disk->queue->limits, start); in add_partition()
/linux-4.19.296/include/linux/
Dblkdev.h603 struct queue_limits limits; member
790 return q->limits.cluster; in blk_queue_cluster()
796 return q->limits.zoned; in blk_queue_zoned_model()
812 return blk_queue_is_zoned(q) ? q->limits.chunk_sectors : 0; in blk_queue_zone_sectors()
821 return sector >> ilog2(q->limits.chunk_sectors); in blk_queue_zone_no()
1111 return min(q->limits.max_discard_sectors, in blk_queue_get_max_sectors()
1115 return q->limits.max_write_same_sectors; in blk_queue_get_max_sectors()
1118 return q->limits.max_write_zeroes_sectors; in blk_queue_get_max_sectors()
1120 return q->limits.max_sectors; in blk_queue_get_max_sectors()
1130 if (!q->limits.chunk_sectors) in blk_max_size_offset()
[all …]
Ddevice-mapper.h121 struct queue_limits *limits);
Dcpufreq.h506 void (*limits)(struct cpufreq_policy *policy); member
/linux-4.19.296/drivers/regulator/
Dmax14577-regulator.c41 const struct maxim_charger_current *limits = in max14577_reg_get_current_limit() local
50 return limits->min; in max14577_reg_get_current_limit()
54 return limits->high_start + reg_data * limits->high_step; in max14577_reg_get_current_limit()
63 const struct maxim_charger_current *limits = in max14577_reg_set_current_limit() local
69 ret = maxim_charger_calc_reg_current(limits, min_uA, max_uA, &reg_data); in max14577_reg_set_current_limit()
Dmax77802-regulator.c239 const unsigned int limits[], int size, in max77802_find_ramp_value() argument
245 if (ramp_delay <= limits[i]) in max77802_find_ramp_value()
/linux-4.19.296/drivers/cpufreq/
Dcpufreq_powersave.c27 .limits = cpufreq_gov_powersave_limits,
Dcpufreq_performance.c28 .limits = cpufreq_gov_performance_limits,
Dcpufreq_userspace.c127 .limits = cpufreq_userspace_policy_limits,
Dcpufreq_governor.h168 .limits = cpufreq_dbs_governor_limits, \
Dcpufreq.c2095 if (policy->governor->limits) in cpufreq_start_governor()
2096 policy->governor->limits(policy); in cpufreq_start_governor()
2119 if (policy->governor->limits) in cpufreq_governor_limits()
2120 policy->governor->limits(policy); in cpufreq_governor_limits()
/linux-4.19.296/include/linux/mfd/
Dmax14577.h104 extern int maxim_charger_calc_reg_current(const struct maxim_charger_current *limits,
/linux-4.19.296/fs/quota/
DKconfig10 If you say Y here, you will be able to set per user limits for disk
66 also supports 64-bit inode and block quota limits. If you need this
/linux-4.19.296/fs/jfs/
Dioctl.c150 q->limits.discard_granularity); in jfs_ioctl()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_btree.h468 uint xfs_btree_compute_maxlevels(uint *limits, unsigned long len);
469 unsigned long long xfs_btree_calc_size(uint *limits, unsigned long long len);
Dxfs_btree.c4539 uint *limits, in xfs_btree_compute_maxlevels() argument
4545 maxblocks = (len + limits[0] - 1) / limits[0]; in xfs_btree_compute_maxlevels()
4547 maxblocks = (maxblocks + limits[1] - 1) / limits[1]; in xfs_btree_compute_maxlevels()
4846 uint *limits, in xfs_btree_calc_size() argument
4853 maxrecs = limits[0]; in xfs_btree_calc_size()
4857 maxrecs = limits[1]; in xfs_btree_calc_size()
/linux-4.19.296/fs/xfs/
Dxfs_discard.c153 unsigned int granularity = q->limits.discard_granularity; in xfs_ioc_trim()
DKconfig30 If you say Y here, you will be able to set limits for disk usage on
/linux-4.19.296/fs/fat/
Dfile.c143 q->limits.discard_granularity); in fat_ioctl_fitrim()
/linux-4.19.296/fs/squashfs/
DKconfig71 one time. This limits CPU and memory usage to a minimum.

12