max_bytes
unsigned int max_bytes = lim->max_hw_sectors << SECTOR_SHIFT;
ret = bio_split_io_at(bio, lim, &nr_segs, max_bytes, 0);
unsigned int max_bytes = rq->q->limits.max_hw_sectors << SECTOR_SHIFT;
if (!iov_iter_count(iter) || iov_iter_count(iter) > max_bytes)
unsigned max_segs, unsigned max_bytes)
unsigned max_len = max_bytes - *bytes;
unsigned *segs, unsigned max_bytes, unsigned len_align_mask)
bytes + bv.bv_len <= max_bytes &&
lim->max_segments, max_bytes))
static void regmap_set_work_buf_flag_mask(struct regmap *map, int max_bytes,
for (i = 0; i < max_bytes; i++)
unsigned int max_bytes = nr_sectors << SECTOR_SHIFT;
if (transferred_bytes + len > max_bytes)
len = max_bytes - transferred_bytes;
if (transferred_bytes >= max_bytes)
unsigned int max_bytes)
unsigned int nsamples = comedi_bytes_to_samples(s, max_bytes);
u64 *max_bytes,
*max_bytes = 0;
*max_bytes = us_to_bytes(adev, adev->mm_stats.accum_us);
uint32_t max_bytes;
max_bytes = adev->mman.buffer_funcs->copy_max_bytes;
num_loops = DIV_ROUND_UP(byte_count, max_bytes);
uint32_t cur_size_in_bytes = min(byte_count, max_bytes);
uint32_t max_bytes;
max_bytes = adev->mman.buffer_funcs->fill_max_bytes;
num_loops = DIV_ROUND_UP_ULL(byte_count, max_bytes);
uint32_t cur_size = min(byte_count, max_bytes);
u64 vis_usage = 0, max_bytes, min_block_size;
max_bytes = adev->gmc.mc_vram_size;
max_bytes -= AMDGPU_VM_RESERVED_VRAM;
if (ttm_resource_manager_usage(man) > max_bytes) {
int i, remaining, current_count, buffer_offset, max_bytes, ret;
max_bytes = ATOM_MAX_HW_I2C_READ;
max_bytes = ATOM_MAX_HW_I2C_WRITE;
if (remaining > max_bytes)
current_count = max_bytes;
unsigned char *buf, int max_bytes)
memcpy(buf, connector->eld, min(max_bytes, ret));
unsigned char *buf, int max_bytes)
memcpy(buf, eld, min(max_bytes, ret));
unsigned int max_bytes)
return min(max_pixels, max_bytes / cpp);
return min(max_pixels * cpp, max_bytes);
unsigned int max_bytes = 128 * 1024;
max_pixels, max_bytes);
unsigned int max_bytes = 32 * 1024;
max_pixels, max_bytes);
u32 *start, u32 offset, u32 max_bytes)
bc->max_items = max_bytes / sizeof(*bc->start);
bool *enabled, unsigned char *buf, int max_bytes)
min(max_bytes, ret));
int i, remaining, current_count, buffer_offset, max_bytes, ret;
max_bytes = ATOM_MAX_HW_I2C_READ;
max_bytes = ATOM_MAX_HW_I2C_WRITE;
if (remaining > max_bytes)
current_count = max_bytes;
unsigned char *buf, int max_bytes)
memcpy(buf, connector->eld, min(max_bytes, ret));
static void npcm_i2c_write_to_fifo_master(struct npcm_i2c *bus, u16 max_bytes)
while (max_bytes-- && size_free_fifo) {
static void npcm_i2c_write_fifo_slave(struct npcm_i2c *bus, u16 max_bytes)
while (max_bytes-- && bus->data->fifo_size != npcm_i2c_fifo_usage(bus)) {
size_t len, rem_len, total_len, max_bytes;
max_bytes = (rmem->nr_pages - start_idx) * rmem->page_size -
total_len = min(total_len, max_bytes);
size_t max_bytes = size - pos;
max_bytes);
if (callback_result > max_bytes)
unsigned int max_bytes;
max_bytes = USHRT_MAX * block->bp_block;
max_bytes = ALIGN_DOWN(max_bytes, PAGE_SIZE);
lim.max_hw_discard_sectors = max_bytes / block->bp_block;
bytes = max_bytes(offset, size, PAGE_SIZE);
struct zfcp_adapter *adapter, int max_bytes)
zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes);
int chain, max_entries, buf_num, max_bytes;
max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE;
ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes);
unsigned int max_bytes;
max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word;
if (mas->tx_rem_bytes < max_bytes)
max_bytes = mas->tx_rem_bytes;
while (i < max_bytes) {
bytes_to_write = min(bytes_per_fifo_word, max_bytes - i);
mas->tx_rem_bytes -= max_bytes;
unsigned long long max_bytes, max_bytes_src, max_bytes_dst, max_blocks;
max_bytes = min_t(u64, max_bytes_src, max_bytes_dst);
max_bytes = min_t(u64, max_bytes, XCOPY_MAX_BYTES);
max_blocks = max_bytes >> ilog2(src_dev->dev_attrib.block_size);
u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size);
static void tegra_uart_fill_tx_fifo(struct tegra_uart_port *tup, int max_bytes)
for (i = 0; i < max_bytes; i++) {
if (total_bytes >= max_bytes)
u64 *start, u64 search_end, u64 max_bytes,
if (total_bytes >= max_bytes)
u64 *end, u64 max_bytes,
u64 max_bytes, u32 bits, bool contig,
u64 *end, u64 max_bytes,
u64 max_bytes = fs_info->max_extent_size;
ASSERT(max_bytes >= fs_info->sectorsize);
max_bytes, &cached_state);
if (delalloc_end + 1 - delalloc_start > max_bytes)
delalloc_end = delalloc_start + max_bytes - 1;
max_bytes = fs_info->sectorsize;
u64 max_bytes;
max_bytes = MAX_CACHE_BYTES_PER_GIG;
max_bytes = MAX_CACHE_BYTES_PER_GIG * div_u64(size, SZ_1G);
extent_bytes = max_bytes - bitmap_bytes;
extent_bytes = min_t(u64, extent_bytes, max_bytes >> 1);
u64 max_bytes = BTRFS_MAX_EXTENT_SIZE;
u64 total_dirty = 2 * max_bytes;
btrfs_set_extent_bit(tmp, sectorsize, max_bytes - 1, EXTENT_DELALLOC, NULL);
if (start != test_start || end != max_bytes - 1) {
test_start, max_bytes - 1, start, end);
test_start = max_bytes + sectorsize;
btrfs_set_extent_bit(tmp, max_bytes, total_dirty - 1, EXTENT_DELALLOC, NULL);
(max_bytes + SZ_1M) >> PAGE_SHIFT);
__ceph_update_quota(ci, iinfo->max_bytes, iinfo->max_files);
info->max_bytes = 0;
req->r_args.readdir.max_bytes = cpu_to_le32(opt->max_readdir_bytes);
ceph_decode_64_safe(p, end, info->max_bytes, bad);
u64 max_bytes;
__ceph_update_quota(ci, le64_to_cpu(h->max_bytes),
u64 max_bytes, u64 max_files)
ci->i_max_bytes = max_bytes;
XATTR_QUOTA_FIELD(quota, max_bytes),
u64 max_bytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode));
if (offset >= max_bytes || len > max_bytes ||
(offset + len) > max_bytes)
unsigned long avg_time, max_bytes, max_time;
max_bytes = wbc->wb_bytes;
max_bytes = wbc->wb_lcand_bytes;
max_bytes = wbc->wb_tcand_bytes;
max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT,
size_t max_bytes = write ? fc->max_write : fc->max_read;
if (bytes > max_bytes)
loff_t bytes, max_bytes, max_blks;
max_bytes = (len > max_chunk_size) ? max_chunk_size : len;
calc_max_reserv(ip, &max_bytes, &data_blocks,
error = fallocate_chunk(inode, offset, max_bytes, mode);
len -= max_bytes;
offset += max_bytes;
u64 last_fs_page, max_bytes;
if (check_shl_overflow(num_blocks, blocksize_bits, &max_bytes))
last_fs_page = (max_bytes >> PAGE_SHIFT) - 1;
long long max_bytes;
max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS;
if (c->max_bud_bytes < max_bytes) {
c->max_bud_bytes, max_bytes);
max_bytes = (long long)c->leb_size * c->main_lebs;
if (c->max_bud_bytes > max_bytes) {
c->max_bud_bytes, max_bytes);
if (c->rp_size < 0 || max_bytes < c->rp_size) {
unsigned int min_bytes, max_bytes;
max_bytes = bdev_atomic_write_unit_max_bytes(btp->bt_bdev);
if (min_bytes > max_bytes ||
max_bytes < mp->m_sb.sb_blocksize) {
max_bytes = 0;
btp->bt_awu_max = max_bytes;
uint64_t max_bytes;
if (check_shl_overflow(nblocks, sbp->sb_blocklog, &max_bytes))
if (max_bytes >> PAGE_SHIFT > ULONG_MAX)
unsigned char *buf, int max_bytes);
int bdi_set_max_bytes(struct backing_dev_info *bdi, u64 max_bytes);
unsigned *segs, unsigned max_bytes, unsigned len_align);
unsigned *segs, unsigned max_bytes)
return bio_split_io_at(bio, lim, segs, max_bytes, lim->dma_alignment);
__le32 max_bytes;
__le64 max_bytes; /* quota max. bytes */
iov_iter_npages_cap(struct iov_iter *i, int maxpages, size_t max_bytes)
if (iov_iter_count(i) > max_bytes) {
shorted = iov_iter_count(i) - max_bytes;
iov_iter_truncate(i, max_bytes);
bool *audio_enabled, char *buffer, int max_bytes);
char *buffer, int max_bytes)
__s32 max_bytes;
static DEVICE_ATTR_RW(max_bytes);
int bdi_set_max_bytes(struct backing_dev_info *bdi, u64 max_bytes)
unsigned long pages = max_bytes >> PAGE_SHIFT;
unsigned int max_bytes;
max_bytes = min_t(unsigned int, if_outgoing->net_dev->mtu,
if (aggregated_bytes > max_bytes)
if (slot.max_bytes == INT_MAX)
slot.max_bytes = 0;
q->slot.bytes_left = q->slot_config.max_bytes;
if (q->slot_config.max_bytes == 0)
q->slot_config.max_bytes = INT_MAX;
q->slot.bytes_left = q->slot_config.max_bytes;
bool *audio_enabled, char *buffer, int max_bytes)
buffer, max_bytes);
__s32 max_bytes;
u64 max_bytes;
double h = (double)sample->bytes / c->max_bytes;
if ((u64)ret > c->max_bytes)
c->max_bytes = ret;
if (!sample->err && sample->bytes > c->max_bytes)
c->max_bytes = sample->bytes;