| /linux/drivers/gpu/drm/radeon/ |
| H A D | atombios_i2c.c | 105 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local 126 max_bytes = ATOM_MAX_HW_I2C_READ; in radeon_atom_hw_i2c_xfer() 129 max_bytes = ATOM_MAX_HW_I2C_WRITE; in radeon_atom_hw_i2c_xfer() 133 if (remaining > max_bytes) in radeon_atom_hw_i2c_xfer() 134 current_count = max_bytes; in radeon_atom_hw_i2c_xfer()
|
| H A D | radeon_audio.c | 749 unsigned char *buf, int max_bytes) in radeon_audio_component_get_eld() argument 780 memcpy(buf, connector->eld, min(max_bytes, ret)); in radeon_audio_component_get_eld()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | atombios_i2c.c | 112 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local 133 max_bytes = ATOM_MAX_HW_I2C_READ; in amdgpu_atombios_i2c_xfer() 136 max_bytes = ATOM_MAX_HW_I2C_WRITE; in amdgpu_atombios_i2c_xfer() 140 if (remaining > max_bytes) in amdgpu_atombios_i2c_xfer() 141 current_count = max_bytes; in amdgpu_atombios_i2c_xfer()
|
| H A D | amdgpu_vram_mgr.c | 449 u64 vis_usage = 0, max_bytes, min_block_size; in amdgpu_vram_mgr_new() local 464 max_bytes = adev->gmc.mc_vram_size; in amdgpu_vram_mgr_new() 466 max_bytes -= AMDGPU_VM_RESERVED_VRAM; in amdgpu_vram_mgr_new() 488 if (ttm_resource_manager_usage(man) > max_bytes) { in amdgpu_vram_mgr_new()
|
| H A D | amdgpu_ttm.c | 2252 uint32_t max_bytes; in amdgpu_copy_buffer() local 2262 max_bytes = adev->mman.buffer_funcs->copy_max_bytes; in amdgpu_copy_buffer() 2263 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer() 2272 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer() 2308 uint32_t max_bytes; in amdgpu_ttm_fill_mem() local 2312 max_bytes = adev->mman.buffer_funcs->fill_max_bytes; in amdgpu_ttm_fill_mem() 2313 num_loops = DIV_ROUND_UP_ULL(byte_count, max_bytes); in amdgpu_ttm_fill_mem() 2321 uint32_t cur_size = min(byte_count, max_bytes); in amdgpu_ttm_fill_mem()
|
| H A D | amdgpu_cs.c | 697 u64 *max_bytes, in amdgpu_cs_get_threshold_for_moves() argument 712 *max_bytes = 0; in amdgpu_cs_get_threshold_for_moves() 759 *max_bytes = us_to_bytes(adev, adev->mm_stats.accum_us); in amdgpu_cs_get_threshold_for_moves()
|
| /linux/include/sound/ |
| H A D | hda_component.h | 20 bool *audio_enabled, char *buffer, int max_bytes); 44 char *buffer, int max_bytes) in snd_hdac_acomp_get_eld() argument
|
| /linux/fs/ubifs/ |
| H A D | sb.c | 381 long long max_bytes; in validate_sb() local 440 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb() 441 if (c->max_bud_bytes < max_bytes) { in validate_sb() 443 c->max_bud_bytes, max_bytes); in validate_sb() 447 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb() 448 if (c->max_bud_bytes > max_bytes) { in validate_sb() 450 c->max_bud_bytes, max_bytes); in validate_sb() 484 if (c->rp_size < 0 || max_bytes < c->rp_size) { in validate_sb()
|
| /linux/drivers/target/ |
| H A D | target_core_xcopy.c | 663 unsigned long long max_bytes, max_bytes_src, max_bytes_dst, max_blocks; in target_xcopy_do_work() local 693 max_bytes = min_t(u64, max_bytes_src, max_bytes_dst); in target_xcopy_do_work() 694 max_bytes = min_t(u64, max_bytes, XCOPY_MAX_BYTES); in target_xcopy_do_work() 700 max_blocks = max_bytes >> ilog2(src_dev->dev_attrib.block_size); in target_xcopy_do_work() 708 u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size); in target_xcopy_do_work()
|
| /linux/block/ |
| H A D | blk-map.c | 430 unsigned int max_bytes = lim->max_hw_sectors << SECTOR_SHIFT; in blk_rq_append_bio() local 435 ret = bio_split_io_at(bio, lim, &nr_segs, max_bytes, 0); in blk_rq_append_bio() 466 unsigned int max_bytes = rq->q->limits.max_hw_sectors << SECTOR_SHIFT; in blk_rq_map_user_bvec() local 470 if (!iov_iter_count(iter) || iov_iter_count(iter) > max_bytes) in blk_rq_map_user_bvec()
|
| /linux/include/drm/ |
| H A D | drm_audio_component.h | 64 unsigned char *buf, int max_bytes);
|
| /linux/fs/btrfs/ |
| H A D | extent-io-tree.h | 166 u64 max_bytes, u32 bits, bool contig, 220 u64 *end, u64 max_bytes,
|
| H A D | extent-io-tree.c | 984 u64 *end, u64 max_bytes, in btrfs_find_delalloc_range() argument 1023 if (total_bytes >= max_bytes) in btrfs_find_delalloc_range() 1666 u64 *start, u64 search_end, u64 max_bytes, in btrfs_count_range_bits() argument 1725 if (total_bytes >= max_bytes) in btrfs_count_range_bits()
|
| /linux/net/sched/ |
| H A D | sch_netem.c | 671 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot_next() 836 if (q->slot_config.max_bytes == 0) in get_slot() 837 q->slot_config.max_bytes = INT_MAX; in get_slot() 843 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot() 1277 if (slot.max_bytes == INT_MAX) in netem_dump() 1278 slot.max_bytes = 0; in netem_dump()
|
| /linux/fs/xfs/ |
| H A D | xfs_buf.c | 1696 unsigned int min_bytes, max_bytes; in xfs_configure_buftarg_atomic_writes() local 1699 max_bytes = bdev_atomic_write_unit_max_bytes(btp->bt_bdev); in xfs_configure_buftarg_atomic_writes() 1705 if (min_bytes > max_bytes || in xfs_configure_buftarg_atomic_writes() 1707 max_bytes < mp->m_sb.sb_blocksize) { in xfs_configure_buftarg_atomic_writes() 1709 max_bytes = 0; in xfs_configure_buftarg_atomic_writes() 1713 btp->bt_awu_max = max_bytes; in xfs_configure_buftarg_atomic_writes()
|
| H A D | xfs_mount.c | 140 uint64_t max_bytes; in xfs_sb_validate_fsb_count() local 144 if (check_shl_overflow(nblocks, sbp->sb_blocklog, &max_bytes)) in xfs_sb_validate_fsb_count() 148 if (max_bytes >> PAGE_SHIFT > ULONG_MAX) in xfs_sb_validate_fsb_count()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-bdi | 103 What: /sys/class/bdi/<bdi>/max_bytes 108 given 'max_bytes' of the write-back cache. This is useful in
|
| /linux/tools/perf/ |
| H A D | builtin-timechart.c | 115 u64 max_bytes; member 819 if ((u64)ret > c->max_bytes) in pid_end_io_sample() 820 c->max_bytes = ret; in pid_end_io_sample() 841 if (!sample->err && sample->bytes > c->max_bytes) in pid_end_io_sample() 842 c->max_bytes = sample->bytes; in pid_end_io_sample() 1162 double h = (double)sample->bytes / c->max_bytes; in draw_io_bars()
|
| /linux/include/linux/ceph/ |
| H A D | ceph_fs.h | 429 __le32 max_bytes; member 907 __le64 max_bytes; /* quota max. bytes */ member
|
| /linux/include/linux/ |
| H A D | backing-dev.h | 103 int bdi_set_max_bytes(struct backing_dev_info *bdi, u64 max_bytes);
|
| /linux/fs/ |
| H A D | fs-writeback.c | 875 unsigned long avg_time, max_bytes, max_time; in wbc_detach_inode() local 889 max_bytes = wbc->wb_bytes; in wbc_detach_inode() 892 max_bytes = wbc->wb_lcand_bytes; in wbc_detach_inode() 895 max_bytes = wbc->wb_tcand_bytes; in wbc_detach_inode() 905 max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT, in wbc_detach_inode()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | skl_universal_plane.c | 473 unsigned int max_bytes) in plane_max_stride() argument 478 return min(max_pixels, max_bytes / cpp); in plane_max_stride() 480 return min(max_pixels * cpp, max_bytes); in plane_max_stride() 489 unsigned int max_bytes = 128 * 1024; in adl_plane_max_stride() local 493 max_pixels, max_bytes); in adl_plane_max_stride() 502 unsigned int max_bytes = 32 * 1024; in skl_plane_max_stride() local 506 max_pixels, max_bytes); in skl_plane_max_stride()
|
| /linux/drivers/block/null_blk/ |
| H A D | main.c | 1280 unsigned int max_bytes = nr_sectors << SECTOR_SHIFT; in null_handle_data_transfer() local 1288 if (transferred_bytes + len > max_bytes) in null_handle_data_transfer() 1289 len = max_bytes - transferred_bytes; in null_handle_data_transfer() 1297 if (transferred_bytes >= max_bytes) in null_handle_data_transfer()
|
| /linux/fs/ceph/ |
| H A D | mds_client.h | 110 u64 max_bytes; member
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-npcm7xx.c | 1026 static void npcm_i2c_write_to_fifo_master(struct npcm_i2c *bus, u16 max_bytes) in npcm_i2c_write_to_fifo_master() argument 1035 while (max_bytes-- && size_free_fifo) { in npcm_i2c_write_to_fifo_master() 1139 static void npcm_i2c_write_fifo_slave(struct npcm_i2c *bus, u16 max_bytes) in npcm_i2c_write_fifo_slave() argument 1148 while (max_bytes-- && bus->data->fifo_size != npcm_i2c_fifo_usage(bus)) { in npcm_i2c_write_fifo_slave()
|