/linux-4.19.296/block/ |
D | blk-settings.c | 175 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 …]
|
D | blk-sysfs.c | 134 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 …]
|
D | blk-merge.c | 30 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()
|
D | bounce.c | 300 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()
|
D | blk-integrity.c | 200 q->limits.max_integrity_segments) in blk_integrity_merge_rq() 230 q->limits.max_integrity_segments) in blk_integrity_merge_bio()
|
D | partition-generic.c | 354 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/ |
D | blkdev.h | 603 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 …]
|
D | device-mapper.h | 121 struct queue_limits *limits);
|
D | cpufreq.h | 506 void (*limits)(struct cpufreq_policy *policy); member
|
/linux-4.19.296/drivers/regulator/ |
D | max14577-regulator.c | 41 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, ®_data); in max14577_reg_set_current_limit()
|
D | max77802-regulator.c | 239 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/ |
D | cpufreq_powersave.c | 27 .limits = cpufreq_gov_powersave_limits,
|
D | cpufreq_performance.c | 28 .limits = cpufreq_gov_performance_limits,
|
D | cpufreq_userspace.c | 127 .limits = cpufreq_userspace_policy_limits,
|
D | cpufreq_governor.h | 168 .limits = cpufreq_dbs_governor_limits, \
|
D | cpufreq.c | 2095 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/ |
D | max14577.h | 104 extern int maxim_charger_calc_reg_current(const struct maxim_charger_current *limits,
|
/linux-4.19.296/fs/quota/ |
D | Kconfig | 10 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/ |
D | ioctl.c | 150 q->limits.discard_granularity); in jfs_ioctl()
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_btree.h | 468 uint xfs_btree_compute_maxlevels(uint *limits, unsigned long len); 469 unsigned long long xfs_btree_calc_size(uint *limits, unsigned long long len);
|
D | xfs_btree.c | 4539 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/ |
D | xfs_discard.c | 153 unsigned int granularity = q->limits.discard_granularity; in xfs_ioc_trim()
|
D | Kconfig | 30 If you say Y here, you will be able to set limits for disk usage on
|
/linux-4.19.296/fs/fat/ |
D | file.c | 143 q->limits.discard_granularity); in fat_ioctl_fitrim()
|
/linux-4.19.296/fs/squashfs/ |
D | Kconfig | 71 one time. This limits CPU and memory usage to a minimum.
|