/linux-6.6.21/drivers/gpu/drm/radeon/ |
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()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
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()
|
D | amdgpu_vram_mgr.c | 427 u64 vis_usage = 0, max_bytes, cur_size, min_block_size; in amdgpu_vram_mgr_new() local 443 max_bytes = adev->gmc.mc_vram_size; in amdgpu_vram_mgr_new() 445 max_bytes -= AMDGPU_VM_RESERVED_VRAM; in amdgpu_vram_mgr_new() 467 if (ttm_resource_manager_usage(man) > max_bytes) { in amdgpu_vram_mgr_new()
|
D | amdgpu_ttm.c | 2143 uint32_t max_bytes; in amdgpu_copy_buffer() local 2152 max_bytes = adev->mman.buffer_funcs->copy_max_bytes; in amdgpu_copy_buffer() 2153 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer() 2161 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer() 2197 uint32_t max_bytes; in amdgpu_ttm_fill_mem() local 2201 max_bytes = adev->mman.buffer_funcs->fill_max_bytes; in amdgpu_ttm_fill_mem() 2202 num_loops = DIV_ROUND_UP_ULL(byte_count, max_bytes); in amdgpu_ttm_fill_mem() 2210 uint32_t cur_size = min(byte_count, max_bytes); in amdgpu_ttm_fill_mem()
|
/linux-6.6.21/include/sound/ |
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-6.6.21/fs/btrfs/tests/ |
D | extent-io-tests.c | 116 u64 max_bytes = BTRFS_MAX_EXTENT_SIZE; in test_find_delalloc() local 117 u64 total_dirty = 2 * max_bytes; in test_find_delalloc() 193 set_extent_bit(tmp, sectorsize, max_bytes - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc() 202 if (start != test_start || end != max_bytes - 1) { in test_find_delalloc() 204 test_start, max_bytes - 1, start, end); in test_find_delalloc() 221 test_start = max_bytes + sectorsize; in test_find_delalloc() 248 set_extent_bit(tmp, max_bytes, total_dirty - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc() 274 (max_bytes + SZ_1M) >> PAGE_SHIFT); in test_find_delalloc()
|
/linux-6.6.21/include/linux/ |
D | uio.h | 329 iov_iter_npages_cap(struct iov_iter *i, int maxpages, size_t max_bytes) in iov_iter_npages_cap() argument 334 if (iov_iter_count(i) > max_bytes) { in iov_iter_npages_cap() 335 shorted = iov_iter_count(i) - max_bytes; in iov_iter_npages_cap() 336 iov_iter_truncate(i, max_bytes); in iov_iter_npages_cap()
|
D | backing-dev.h | 114 int bdi_set_max_bytes(struct backing_dev_info *bdi, u64 max_bytes);
|
/linux-6.6.21/fs/ubifs/ |
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-6.6.21/drivers/target/ |
D | target_core_xcopy.c | 662 unsigned long long max_bytes, max_bytes_src, max_bytes_dst, max_blocks; in target_xcopy_do_work() local 692 max_bytes = min_t(u64, max_bytes_src, max_bytes_dst); in target_xcopy_do_work() 693 max_bytes = min_t(u64, max_bytes, XCOPY_MAX_BYTES); in target_xcopy_do_work() 699 max_blocks = max_bytes >> ilog2(src_dev->dev_attrib.block_size); in target_xcopy_do_work() 707 u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size); in target_xcopy_do_work()
|
/linux-6.6.21/include/drm/ |
D | drm_audio_component.h | 64 unsigned char *buf, int max_bytes);
|
/linux-6.6.21/fs/btrfs/ |
D | extent-io-tree.h | 130 u64 max_bytes, u32 bits, int contig, 193 u64 *end, u64 max_bytes,
|
D | extent-io-tree.c | 918 u64 *end, u64 max_bytes, in btrfs_find_delalloc_range() argument 957 if (total_bytes >= max_bytes) in btrfs_find_delalloc_range() 1558 u64 *start, u64 search_end, u64 max_bytes, in count_range_bits() argument 1617 if (total_bytes >= max_bytes) in count_range_bits()
|
/linux-6.6.21/sound/hda/ |
D | hdac_component.c | 163 bool *audio_enabled, char *buffer, int max_bytes) in snd_hdac_acomp_get_eld() argument 180 buffer, max_bytes); in snd_hdac_acomp_get_eld()
|
/linux-6.6.21/drivers/spi/ |
D | spi-geni-qcom.c | 746 unsigned int max_bytes; in geni_spi_handle_tx() local 757 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx() 758 if (mas->tx_rem_bytes < max_bytes) in geni_spi_handle_tx() 759 max_bytes = mas->tx_rem_bytes; in geni_spi_handle_tx() 762 while (i < max_bytes) { in geni_spi_handle_tx() 768 bytes_to_write = min(bytes_per_fifo_word, max_bytes - i); in geni_spi_handle_tx() 773 mas->tx_rem_bytes -= max_bytes; in geni_spi_handle_tx()
|
/linux-6.6.21/drivers/s390/block/ |
D | dasd_fba.c | 771 unsigned int max_bytes, max_discard_sectors; in dasd_fba_setup_blk_queue() local 787 max_bytes = USHRT_MAX * logical_block_size; in dasd_fba_setup_blk_queue() 788 max_bytes = ALIGN_DOWN(max_bytes, PAGE_SIZE); in dasd_fba_setup_blk_queue() 789 max_discard_sectors = max_bytes / logical_block_size; in dasd_fba_setup_blk_queue()
|
/linux-6.6.21/block/ |
D | blk-merge.c | 233 unsigned max_segs, unsigned max_bytes) in bvec_split_segs() argument 235 unsigned max_len = min(max_bytes, UINT_MAX) - *bytes; in bvec_split_segs() 280 unsigned *segs, struct bio_set *bs, unsigned max_bytes) in bio_split_rw() argument 295 bytes + bv.bv_len <= max_bytes && in bio_split_rw() 301 lim->max_segments, max_bytes)) in bio_split_rw()
|
/linux-6.6.21/net/sched/ |
D | sch_netem.c | 654 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot_next() 814 if (q->slot_config.max_bytes == 0) in get_slot() 815 q->slot_config.max_bytes = INT_MAX; in get_slot() 821 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot() 1215 if (slot.max_bytes == INT_MAX) in netem_dump() 1216 slot.max_bytes = 0; in netem_dump()
|
/linux-6.6.21/fs/gfs2/ |
D | file.c | 1250 loff_t bytes, max_bytes, max_blks; in __gfs2_fallocate() local 1288 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; in __gfs2_fallocate() 1317 calc_max_reserv(ip, &max_bytes, &data_blocks, in __gfs2_fallocate() 1330 error = fallocate_chunk(inode, offset, max_bytes, mode); in __gfs2_fallocate() 1336 len -= max_bytes; in __gfs2_fallocate() 1337 offset += max_bytes; in __gfs2_fallocate()
|
/linux-6.6.21/drivers/s390/scsi/ |
D | zfcp_fc.c | 693 struct zfcp_adapter *adapter, int max_bytes) in zfcp_fc_send_gpn_ft() argument 700 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes); in zfcp_fc_send_gpn_ft() 809 int chain, max_entries, buf_num, max_bytes; in zfcp_fc_scan_ports() local 816 max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE; in zfcp_fc_scan_ports() 830 ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes); in zfcp_fc_scan_ports()
|
/linux-6.6.21/Documentation/ABI/testing/ |
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-6.6.21/drivers/gpu/drm/i915/gt/ |
D | gen7_renderclear.c | 93 u32 *start, u32 offset, u32 max_bytes) in batch_init() argument 99 bc->max_items = max_bytes / sizeof(*bc->start); in batch_init()
|
/linux-6.6.21/Documentation/filesystems/ |
D | ceph.rst | 80 extended attributes 'ceph.quota.max_files' and 'ceph.quota.max_bytes', eg:: 82 setfattr -n ceph.quota.max_bytes -v 100000000 /some/dir 83 getfattr -n ceph.quota.max_bytes /some/dir
|
/linux-6.6.21/tools/perf/ |
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() 1163 double h = (double)sample->bytes / c->max_bytes; in draw_io_bars()
|
/linux-6.6.21/include/linux/ceph/ |
D | ceph_fs.h | 424 __le32 max_bytes; member 913 __le64 max_bytes; /* quota max. bytes */ member
|