Home
last modified time | relevance | path

Searched refs:max_bytes (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.4/drivers/gpu/drm/radeon/
Datombios_i2c.c110 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local
131 max_bytes = ATOM_MAX_HW_I2C_READ; in radeon_atom_hw_i2c_xfer()
134 max_bytes = ATOM_MAX_HW_I2C_WRITE; in radeon_atom_hw_i2c_xfer()
138 if (remaining > max_bytes) in radeon_atom_hw_i2c_xfer()
139 current_count = max_bytes; in radeon_atom_hw_i2c_xfer()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Datombios_i2c.c117 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local
138 max_bytes = ATOM_MAX_HW_I2C_READ; in amdgpu_atombios_i2c_xfer()
141 max_bytes = ATOM_MAX_HW_I2C_WRITE; in amdgpu_atombios_i2c_xfer()
145 if (remaining > max_bytes) in amdgpu_atombios_i2c_xfer()
146 current_count = max_bytes; in amdgpu_atombios_i2c_xfer()
Damdgpu_ttm.c2006 uint32_t max_bytes; in amdgpu_copy_buffer() local
2016 max_bytes = adev->mman.buffer_funcs->copy_max_bytes; in amdgpu_copy_buffer()
2017 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer()
2043 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer()
2077 uint32_t max_bytes = adev->mman.buffer_funcs->fill_max_bytes; in amdgpu_fill_buffer() local
2104 num_loops += DIV_ROUND_UP_ULL(byte_count, max_bytes); in amdgpu_fill_buffer()
2136 max_bytes); in amdgpu_fill_buffer()
Damdgpu_cs.c295 u64 *max_bytes, in amdgpu_cs_get_threshold_for_moves() argument
311 *max_bytes = 0; in amdgpu_cs_get_threshold_for_moves()
358 *max_bytes = us_to_bytes(adev, adev->mm_stats.accum_us); in amdgpu_cs_get_threshold_for_moves()
/Linux-v5.4/fs/btrfs/tests/
Dextent-io-tests.c67 u64 max_bytes = BTRFS_MAX_EXTENT_SIZE; in test_find_delalloc() local
68 u64 total_dirty = 2 * max_bytes; in test_find_delalloc()
144 set_extent_delalloc(tmp, sectorsize, max_bytes - 1, 0, NULL); in test_find_delalloc()
153 if (start != test_start || end != max_bytes - 1) { in test_find_delalloc()
155 test_start, max_bytes - 1, start, end); in test_find_delalloc()
172 test_start = max_bytes + sectorsize; in test_find_delalloc()
199 set_extent_delalloc(tmp, max_bytes, total_dirty - 1, 0, NULL); in test_find_delalloc()
225 (max_bytes + SZ_1M) >> PAGE_SHIFT); in test_find_delalloc()
/Linux-v5.4/include/sound/
Dhda_component.h20 bool *audio_enabled, char *buffer, int max_bytes);
44 char *buffer, int max_bytes) in snd_hdac_acomp_get_eld() argument
/Linux-v5.4/drivers/spi/
Dspi-geni-qcom.c413 unsigned int max_bytes; in geni_spi_handle_tx() local
418 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
419 if (mas->tx_rem_bytes < max_bytes) in geni_spi_handle_tx()
420 max_bytes = mas->tx_rem_bytes; in geni_spi_handle_tx()
423 while (i < max_bytes) { in geni_spi_handle_tx()
429 bytes_to_write = min(bytes_per_fifo_word, max_bytes - i); in geni_spi_handle_tx()
434 mas->tx_rem_bytes -= max_bytes; in geni_spi_handle_tx()
/Linux-v5.4/fs/ubifs/
Dsb.c380 long long max_bytes; in validate_sb() local
439 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb()
440 if (c->max_bud_bytes < max_bytes) { in validate_sb()
442 c->max_bud_bytes, max_bytes); in validate_sb()
446 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb()
447 if (c->max_bud_bytes > max_bytes) { in validate_sb()
449 c->max_bud_bytes, max_bytes); in validate_sb()
483 if (c->rp_size < 0 || max_bytes < c->rp_size) { in validate_sb()
/Linux-v5.4/include/drm/
Ddrm_audio_component.h61 unsigned char *buf, int max_bytes);
/Linux-v5.4/sound/hda/
Dhdac_component.c163 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-v5.4/drivers/s390/block/
Ddasd_fba.c779 unsigned int max_bytes, max_discard_sectors; in dasd_fba_setup_blk_queue() local
796 max_bytes = USHRT_MAX * logical_block_size; in dasd_fba_setup_blk_queue()
797 max_bytes = ALIGN_DOWN(max_bytes, PAGE_SIZE); in dasd_fba_setup_blk_queue()
798 max_discard_sectors = max_bytes / logical_block_size; in dasd_fba_setup_blk_queue()
/Linux-v5.4/net/sched/
Dsch_netem.c645 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot_next()
813 if (q->slot_config.max_bytes == 0) in get_slot()
814 q->slot_config.max_bytes = INT_MAX; in get_slot()
816 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot()
1200 if (slot.max_bytes == INT_MAX) in netem_dump()
1201 slot.max_bytes = 0; in netem_dump()
/Linux-v5.4/fs/gfs2/
Dfile.c976 loff_t bytes, max_bytes, max_blks; in __gfs2_fallocate() local
1014 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; in __gfs2_fallocate()
1043 calc_max_reserv(ip, &max_bytes, &data_blocks, in __gfs2_fallocate()
1056 error = fallocate_chunk(inode, offset, max_bytes, mode); in __gfs2_fallocate()
1062 len -= max_bytes; in __gfs2_fallocate()
1063 offset += max_bytes; in __gfs2_fallocate()
/Linux-v5.4/Documentation/filesystems/
Dceph.txt66 extended attributes 'ceph.quota.max_files' and 'ceph.quota.max_bytes', eg:
68 setfattr -n ceph.quota.max_bytes -v 100000000 /some/dir
69 getfattr -n ceph.quota.max_bytes /some/dir
/Linux-v5.4/drivers/s390/scsi/
Dzfcp_fc.c675 struct zfcp_adapter *adapter, int max_bytes) in zfcp_fc_send_gpn_ft() argument
682 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes); in zfcp_fc_send_gpn_ft()
791 int chain, max_entries, buf_num, max_bytes; in zfcp_fc_scan_ports() local
798 max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE; in zfcp_fc_scan_ports()
812 ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes); in zfcp_fc_scan_ports()
/Linux-v5.4/tools/perf/
Dbuiltin-timechart.c112 u64 max_bytes; member
810 if ((u64)ret > c->max_bytes) in pid_end_io_sample()
811 c->max_bytes = ret; in pid_end_io_sample()
832 if (!sample->err && sample->bytes > c->max_bytes) in pid_end_io_sample()
833 c->max_bytes = sample->bytes; in pid_end_io_sample()
1154 double h = (double)sample->bytes / c->max_bytes; in draw_io_bars()
/Linux-v5.4/include/linux/ceph/
Dceph_fs.h403 __le32 max_bytes; member
830 __le64 max_bytes; /* quota max. bytes */ member
/Linux-v5.4/fs/
Dfs-writeback.c631 unsigned long avg_time, max_bytes, max_time; in wbc_detach_inode() local
645 max_bytes = wbc->wb_bytes; in wbc_detach_inode()
648 max_bytes = wbc->wb_lcand_bytes; in wbc_detach_inode()
651 max_bytes = wbc->wb_tcand_bytes; in wbc_detach_inode()
661 max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT, in wbc_detach_inode()
/Linux-v5.4/drivers/s390/net/
Dism_drv.c359 static unsigned int max_bytes(unsigned int start, unsigned int len, in max_bytes() function
374 bytes = max_bytes(offset, size, PAGE_SIZE); in ism_move()
/Linux-v5.4/fs/ceph/
Dmds_client.h69 u64 max_bytes; member
Dsuper.h1157 u64 max_bytes, u64 max_files) in __ceph_update_quota() argument
1161 ci->i_max_bytes = max_bytes; in __ceph_update_quota()
Dquota.c73 __ceph_update_quota(ci, le64_to_cpu(h->max_bytes), in ceph_handle_quota()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_audio.c1005 unsigned char *buf, int max_bytes) in i915_audio_component_get_eld() argument
1026 memcpy(buf, eld, min(max_bytes, ret)); in i915_audio_component_get_eld()
/Linux-v5.4/fs/btrfs/
Dfree-space-cache.c1651 u64 max_bytes; in recalculate_thresholds() local
1668 max_bytes = MAX_CACHE_BYTES_PER_GIG; in recalculate_thresholds()
1670 max_bytes = MAX_CACHE_BYTES_PER_GIG * div_u64(size, SZ_1G); in recalculate_thresholds()
1679 if (bitmap_bytes >= max_bytes) { in recalculate_thresholds()
1688 extent_bytes = max_bytes - bitmap_bytes; in recalculate_thresholds()
1689 extent_bytes = min_t(u64, extent_bytes, max_bytes >> 1); in recalculate_thresholds()
Dextent_io.c1680 u64 *start, u64 *end, u64 max_bytes, in find_delalloc_range() argument
1722 if (total_bytes >= max_bytes) in find_delalloc_range()
1787 u64 max_bytes = BTRFS_MAX_EXTENT_SIZE; in find_lock_delalloc_range() local
1800 max_bytes, &cached_state); in find_lock_delalloc_range()
1819 if (delalloc_end + 1 - delalloc_start > max_bytes) in find_lock_delalloc_range()
1820 delalloc_end = delalloc_start + max_bytes - 1; in find_lock_delalloc_range()
1833 max_bytes = PAGE_SIZE; in find_lock_delalloc_range()
1959 u64 *start, u64 search_end, u64 max_bytes, in count_range_bits() argument
1994 if (total_bytes >= max_bytes) in count_range_bits()

12