Symbol: max_bytes
block/blk-map.c
429
unsigned int max_bytes = lim->max_hw_sectors << SECTOR_SHIFT;
block/blk-map.c
434
ret = bio_split_io_at(bio, lim, &nr_segs, max_bytes, 0);
block/blk-map.c
465
unsigned int max_bytes = rq->q->limits.max_hw_sectors << SECTOR_SHIFT;
block/blk-map.c
469
if (!iov_iter_count(iter) || iov_iter_count(iter) > max_bytes)
block/blk-merge.c
286
unsigned max_segs, unsigned max_bytes)
block/blk-merge.c
288
unsigned max_len = max_bytes - *bytes;
block/blk-merge.c
338
unsigned *segs, unsigned max_bytes, unsigned len_align_mask)
block/blk-merge.c
367
bytes + bv.bv_len <= max_bytes &&
block/blk-merge.c
373
lim->max_segments, max_bytes))
drivers/base/regmap/regmap.c
1613
static void regmap_set_work_buf_flag_mask(struct regmap *map, int max_bytes,
drivers/base/regmap/regmap.c
1624
for (i = 0; i < max_bytes; i++)
drivers/block/null_blk/main.c
1290
unsigned int max_bytes = nr_sectors << SECTOR_SHIFT;
drivers/block/null_blk/main.c
1298
if (transferred_bytes + len > max_bytes)
drivers/block/null_blk/main.c
1299
len = max_bytes - transferred_bytes;
drivers/block/null_blk/main.c
1307
if (transferred_bytes >= max_bytes)
drivers/comedi/drivers/cb_pcidas64.c
2913
unsigned int max_bytes)
drivers/comedi/drivers/cb_pcidas64.c
2915
unsigned int nsamples = comedi_bytes_to_samples(s, max_bytes);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
694
u64 *max_bytes,
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
709
*max_bytes = 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
756
*max_bytes = us_to_bytes(adev, adev->mm_stats.accum_us);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2402
uint32_t max_bytes;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2414
max_bytes = adev->mman.buffer_funcs->copy_max_bytes;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2415
num_loops = DIV_ROUND_UP(byte_count, max_bytes);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2424
uint32_t cur_size_in_bytes = min(byte_count, max_bytes);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2454
uint32_t max_bytes;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2458
max_bytes = adev->mman.buffer_funcs->fill_max_bytes;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2459
num_loops = DIV_ROUND_UP_ULL(byte_count, max_bytes);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2467
uint32_t cur_size = min(byte_count, max_bytes);
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
449
u64 vis_usage = 0, max_bytes, min_block_size;
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
464
max_bytes = adev->gmc.mc_vram_size;
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
466
max_bytes -= AMDGPU_VM_RESERVED_VRAM;
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
488
if (ttm_resource_manager_usage(man) > max_bytes) {
drivers/gpu/drm/amd/amdgpu/atombios_i2c.c
112
int i, remaining, current_count, buffer_offset, max_bytes, ret;
drivers/gpu/drm/amd/amdgpu/atombios_i2c.c
133
max_bytes = ATOM_MAX_HW_I2C_READ;
drivers/gpu/drm/amd/amdgpu/atombios_i2c.c
136
max_bytes = ATOM_MAX_HW_I2C_WRITE;
drivers/gpu/drm/amd/amdgpu/atombios_i2c.c
140
if (remaining > max_bytes)
drivers/gpu/drm/amd/amdgpu/atombios_i2c.c
141
current_count = max_bytes;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
1108
unsigned char *buf, int max_bytes)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
1134
memcpy(buf, connector->eld, min(max_bytes, ret));
drivers/gpu/drm/i915/display/intel_audio.c
1218
unsigned char *buf, int max_bytes)
drivers/gpu/drm/i915/display/intel_audio.c
1239
memcpy(buf, eld, min(max_bytes, ret));
drivers/gpu/drm/i915/display/skl_universal_plane.c
472
unsigned int max_bytes)
drivers/gpu/drm/i915/display/skl_universal_plane.c
477
return min(max_pixels, max_bytes / cpp);
drivers/gpu/drm/i915/display/skl_universal_plane.c
479
return min(max_pixels * cpp, max_bytes);
drivers/gpu/drm/i915/display/skl_universal_plane.c
488
unsigned int max_bytes = 128 * 1024;
drivers/gpu/drm/i915/display/skl_universal_plane.c
492
max_pixels, max_bytes);
drivers/gpu/drm/i915/display/skl_universal_plane.c
501
unsigned int max_bytes = 32 * 1024;
drivers/gpu/drm/i915/display/skl_universal_plane.c
505
max_pixels, max_bytes);
drivers/gpu/drm/i915/gt/gen7_renderclear.c
93
u32 *start, u32 offset, u32 max_bytes)
drivers/gpu/drm/i915/gt/gen7_renderclear.c
99
bc->max_items = max_bytes / sizeof(*bc->start);
drivers/gpu/drm/nouveau/dispnv50/disp.c
603
bool *enabled, unsigned char *buf, int max_bytes)
drivers/gpu/drm/nouveau/dispnv50/disp.c
632
min(max_bytes, ret));
drivers/gpu/drm/radeon/atombios_i2c.c
105
int i, remaining, current_count, buffer_offset, max_bytes, ret;
drivers/gpu/drm/radeon/atombios_i2c.c
126
max_bytes = ATOM_MAX_HW_I2C_READ;
drivers/gpu/drm/radeon/atombios_i2c.c
129
max_bytes = ATOM_MAX_HW_I2C_WRITE;
drivers/gpu/drm/radeon/atombios_i2c.c
133
if (remaining > max_bytes)
drivers/gpu/drm/radeon/atombios_i2c.c
134
current_count = max_bytes;
drivers/gpu/drm/radeon/radeon_audio.c
749
unsigned char *buf, int max_bytes)
drivers/gpu/drm/radeon/radeon_audio.c
780
memcpy(buf, connector->eld, min(max_bytes, ret));
drivers/i2c/busses/i2c-npcm7xx.c
1026
static void npcm_i2c_write_to_fifo_master(struct npcm_i2c *bus, u16 max_bytes)
drivers/i2c/busses/i2c-npcm7xx.c
1035
while (max_bytes-- && size_free_fifo) {
drivers/i2c/busses/i2c-npcm7xx.c
1139
static void npcm_i2c_write_fifo_slave(struct npcm_i2c *bus, u16 max_bytes)
drivers/i2c/busses/i2c-npcm7xx.c
1148
while (max_bytes-- && bus->data->fifo_size != npcm_i2c_fifo_usage(bus)) {
drivers/net/ethernet/broadcom/bnxt/bnxt.c
3613
size_t len, rem_len, total_len, max_bytes;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
3621
max_bytes = (rmem->nr_pages - start_idx) * rmem->page_size -
drivers/net/ethernet/broadcom/bnxt/bnxt.c
3623
total_len = min(total_len, max_bytes);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
918
size_t max_bytes = size - pos;
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
921
max_bytes);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
929
if (callback_result > max_bytes)
drivers/s390/block/dasd.c
331
unsigned int max_bytes;
drivers/s390/block/dasd.c
336
max_bytes = USHRT_MAX * block->bp_block;
drivers/s390/block/dasd.c
337
max_bytes = ALIGN_DOWN(max_bytes, PAGE_SIZE);
drivers/s390/block/dasd.c
339
lim.max_hw_discard_sectors = max_bytes / block->bp_block;
drivers/s390/net/ism_drv.c
401
bytes = max_bytes(offset, size, PAGE_SIZE);
drivers/s390/scsi/zfcp_fc.c
697
struct zfcp_adapter *adapter, int max_bytes)
drivers/s390/scsi/zfcp_fc.c
704
zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes);
drivers/s390/scsi/zfcp_fc.c
813
int chain, max_entries, buf_num, max_bytes;
drivers/s390/scsi/zfcp_fc.c
820
max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE;
drivers/s390/scsi/zfcp_fc.c
834
ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes);
drivers/spi/spi-geni-qcom.c
704
unsigned int max_bytes;
drivers/spi/spi-geni-qcom.c
715
max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word;
drivers/spi/spi-geni-qcom.c
716
if (mas->tx_rem_bytes < max_bytes)
drivers/spi/spi-geni-qcom.c
717
max_bytes = mas->tx_rem_bytes;
drivers/spi/spi-geni-qcom.c
720
while (i < max_bytes) {
drivers/spi/spi-geni-qcom.c
726
bytes_to_write = min(bytes_per_fifo_word, max_bytes - i);
drivers/spi/spi-geni-qcom.c
731
mas->tx_rem_bytes -= max_bytes;
drivers/target/target_core_xcopy.c
663
unsigned long long max_bytes, max_bytes_src, max_bytes_dst, max_blocks;
drivers/target/target_core_xcopy.c
693
max_bytes = min_t(u64, max_bytes_src, max_bytes_dst);
drivers/target/target_core_xcopy.c
694
max_bytes = min_t(u64, max_bytes, XCOPY_MAX_BYTES);
drivers/target/target_core_xcopy.c
700
max_blocks = max_bytes >> ilog2(src_dev->dev_attrib.block_size);
drivers/target/target_core_xcopy.c
708
u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size);
drivers/tty/serial/serial-tegra.c
485
static void tegra_uart_fill_tx_fifo(struct tegra_uart_port *tup, int max_bytes)
drivers/tty/serial/serial-tegra.c
490
for (i = 0; i < max_bytes; i++) {
fs/btrfs/extent-io-tree.c
1020
if (total_bytes >= max_bytes)
fs/btrfs/extent-io-tree.c
1663
u64 *start, u64 search_end, u64 max_bytes,
fs/btrfs/extent-io-tree.c
1722
if (total_bytes >= max_bytes)
fs/btrfs/extent-io-tree.c
981
u64 *end, u64 max_bytes,
fs/btrfs/extent-io-tree.h
166
u64 max_bytes, u32 bits, bool contig,
fs/btrfs/extent-io-tree.h
220
u64 *end, u64 max_bytes,
fs/btrfs/extent_io.c
377
u64 max_bytes = fs_info->max_extent_size;
fs/btrfs/extent_io.c
400
ASSERT(max_bytes >= fs_info->sectorsize);
fs/btrfs/extent_io.c
403
max_bytes, &cached_state);
fs/btrfs/extent_io.c
424
if (delalloc_end + 1 - delalloc_start > max_bytes)
fs/btrfs/extent_io.c
425
delalloc_end = delalloc_start + max_bytes - 1;
fs/btrfs/extent_io.c
439
max_bytes = fs_info->sectorsize;
fs/btrfs/free-space-cache.c
693
u64 max_bytes;
fs/btrfs/free-space-cache.c
717
max_bytes = MAX_CACHE_BYTES_PER_GIG;
fs/btrfs/free-space-cache.c
719
max_bytes = MAX_CACHE_BYTES_PER_GIG * div_u64(size, SZ_1G);
fs/btrfs/free-space-cache.c
727
extent_bytes = max_bytes - bitmap_bytes;
fs/btrfs/free-space-cache.c
728
extent_bytes = min_t(u64, extent_bytes, max_bytes >> 1);
fs/btrfs/tests/extent-io-tests.c
118
u64 max_bytes = BTRFS_MAX_EXTENT_SIZE;
fs/btrfs/tests/extent-io-tests.c
119
u64 total_dirty = 2 * max_bytes;
fs/btrfs/tests/extent-io-tests.c
210
btrfs_set_extent_bit(tmp, sectorsize, max_bytes - 1, EXTENT_DELALLOC, NULL);
fs/btrfs/tests/extent-io-tests.c
219
if (start != test_start || end != max_bytes - 1) {
fs/btrfs/tests/extent-io-tests.c
221
test_start, max_bytes - 1, start, end);
fs/btrfs/tests/extent-io-tests.c
238
test_start = max_bytes + sectorsize;
fs/btrfs/tests/extent-io-tests.c
265
btrfs_set_extent_bit(tmp, max_bytes, total_dirty - 1, EXTENT_DELALLOC, NULL);
fs/btrfs/tests/extent-io-tests.c
291
(max_bytes + SZ_1M) >> PAGE_SHIFT);
fs/ceph/inode.c
1078
__ceph_update_quota(ci, iinfo->max_bytes, iinfo->max_files);
fs/ceph/mds_client.c
252
info->max_bytes = 0;
fs/ceph/mds_client.c
2569
req->r_args.readdir.max_bytes = cpu_to_le32(opt->max_readdir_bytes);
fs/ceph/mds_client.c
91
ceph_decode_64_safe(p, end, info->max_bytes, bad);
fs/ceph/mds_client.h
110
u64 max_bytes;
fs/ceph/quota.c
75
__ceph_update_quota(ci, le64_to_cpu(h->max_bytes),
fs/ceph/super.h
1419
u64 max_bytes, u64 max_files)
fs/ceph/super.h
1423
ci->i_max_bytes = max_bytes;
fs/ceph/xattr.c
447
XATTR_QUOTA_FIELD(quota, max_bytes),
fs/f2fs/file.c
2548
u64 max_bytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode));
fs/f2fs/file.c
2555
if (offset >= max_bytes || len > max_bytes ||
fs/f2fs/file.c
2556
(offset + len) > max_bytes)
fs/fs-writeback.c
875
unsigned long avg_time, max_bytes, max_time;
fs/fs-writeback.c
889
max_bytes = wbc->wb_bytes;
fs/fs-writeback.c
892
max_bytes = wbc->wb_lcand_bytes;
fs/fs-writeback.c
895
max_bytes = wbc->wb_tcand_bytes;
fs/fs-writeback.c
905
max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT,
fs/fuse/file.c
2170
size_t max_bytes = write ? fc->max_write : fc->max_read;
fs/fuse/file.c
2178
if (bytes > max_bytes)
fs/gfs2/file.c
1259
loff_t bytes, max_bytes, max_blks;
fs/gfs2/file.c
1297
max_bytes = (len > max_chunk_size) ? max_chunk_size : len;
fs/gfs2/file.c
1326
calc_max_reserv(ip, &max_bytes, &data_blocks,
fs/gfs2/file.c
1339
error = fallocate_chunk(inode, offset, max_bytes, mode);
fs/gfs2/file.c
1345
len -= max_bytes;
fs/gfs2/file.c
1346
offset += max_bytes;
fs/libfs.c
1620
u64 last_fs_page, max_bytes;
fs/libfs.c
1622
if (check_shl_overflow(num_blocks, blocksize_bits, &max_bytes))
fs/libfs.c
1625
last_fs_page = (max_bytes >> PAGE_SHIFT) - 1;
fs/ubifs/sb.c
381
long long max_bytes;
fs/ubifs/sb.c
440
max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS;
fs/ubifs/sb.c
441
if (c->max_bud_bytes < max_bytes) {
fs/ubifs/sb.c
443
c->max_bud_bytes, max_bytes);
fs/ubifs/sb.c
447
max_bytes = (long long)c->leb_size * c->main_lebs;
fs/ubifs/sb.c
448
if (c->max_bud_bytes > max_bytes) {
fs/ubifs/sb.c
450
c->max_bud_bytes, max_bytes);
fs/ubifs/sb.c
484
if (c->rp_size < 0 || max_bytes < c->rp_size) {
fs/xfs/xfs_buf.c
1696
unsigned int min_bytes, max_bytes;
fs/xfs/xfs_buf.c
1699
max_bytes = bdev_atomic_write_unit_max_bytes(btp->bt_bdev);
fs/xfs/xfs_buf.c
1705
if (min_bytes > max_bytes ||
fs/xfs/xfs_buf.c
1707
max_bytes < mp->m_sb.sb_blocksize) {
fs/xfs/xfs_buf.c
1709
max_bytes = 0;
fs/xfs/xfs_buf.c
1713
btp->bt_awu_max = max_bytes;
fs/xfs/xfs_mount.c
141
uint64_t max_bytes;
fs/xfs/xfs_mount.c
145
if (check_shl_overflow(nblocks, sbp->sb_blocklog, &max_bytes))
fs/xfs/xfs_mount.c
149
if (max_bytes >> PAGE_SHIFT > ULONG_MAX)
include/drm/drm_audio_component.h
64
unsigned char *buf, int max_bytes);
include/linux/backing-dev.h
103
int bdi_set_max_bytes(struct backing_dev_info *bdi, u64 max_bytes);
include/linux/bio.h
320
unsigned *segs, unsigned max_bytes, unsigned len_align);
include/linux/blkdev.h
1875
unsigned *segs, unsigned max_bytes)
include/linux/blkdev.h
1877
return bio_split_io_at(bio, lim, segs, max_bytes, lim->dma_alignment);
include/linux/ceph/ceph_fs.h
436
__le32 max_bytes;
include/linux/ceph/ceph_fs.h
914
__le64 max_bytes; /* quota max. bytes */
include/linux/uio.h
345
iov_iter_npages_cap(struct iov_iter *i, int maxpages, size_t max_bytes)
include/linux/uio.h
350
if (iov_iter_count(i) > max_bytes) {
include/linux/uio.h
351
shorted = iov_iter_count(i) - max_bytes;
include/linux/uio.h
352
iov_iter_truncate(i, max_bytes);
include/sound/hda_component.h
20
bool *audio_enabled, char *buffer, int max_bytes);
include/sound/hda_component.h
44
char *buffer, int max_bytes)
include/uapi/linux/pkt_sched.h
539
__s32 max_bytes;
mm/backing-dev.c
419
static DEVICE_ATTR_RW(max_bytes);
mm/page-writeback.c
782
int bdi_set_max_bytes(struct backing_dev_info *bdi, u64 max_bytes)
mm/page-writeback.c
785
unsigned long pages = max_bytes >> PAGE_SHIFT;
net/batman-adv/bat_iv_ogm.c
451
unsigned int max_bytes;
net/batman-adv/bat_iv_ogm.c
457
max_bytes = min_t(unsigned int, if_outgoing->net_dev->mtu,
net/batman-adv/bat_iv_ogm.c
473
if (aggregated_bytes > max_bytes)
net/sched/sch_netem.c
1278
if (slot.max_bytes == INT_MAX)
net/sched/sch_netem.c
1279
slot.max_bytes = 0;
net/sched/sch_netem.c
672
q->slot.bytes_left = q->slot_config.max_bytes;
net/sched/sch_netem.c
837
if (q->slot_config.max_bytes == 0)
net/sched/sch_netem.c
838
q->slot_config.max_bytes = INT_MAX;
net/sched/sch_netem.c
844
q->slot.bytes_left = q->slot_config.max_bytes;
sound/hda/core/component.c
160
bool *audio_enabled, char *buffer, int max_bytes)
sound/hda/core/component.c
177
buffer, max_bytes);
tools/include/uapi/linux/pkt_sched.h
518
__s32 max_bytes;
tools/perf/builtin-timechart.c
115
u64 max_bytes;
tools/perf/builtin-timechart.c
1162
double h = (double)sample->bytes / c->max_bytes;
tools/perf/builtin-timechart.c
819
if ((u64)ret > c->max_bytes)
tools/perf/builtin-timechart.c
820
c->max_bytes = ret;
tools/perf/builtin-timechart.c
841
if (!sample->err && sample->bytes > c->max_bytes)
tools/perf/builtin-timechart.c
842
c->max_bytes = sample->bytes;