Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Datombios_i2c.c105 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Datombios_i2c.c112 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()
Damdgpu_vram_mgr.c320 uint64_t vis_usage = 0, mem_bytes, max_bytes; in amdgpu_vram_mgr_new() local
328 max_bytes = adev->gmc.mc_vram_size; in amdgpu_vram_mgr_new()
330 max_bytes -= AMDGPU_VM_RESERVED_VRAM; in amdgpu_vram_mgr_new()
334 if (atomic64_add_return(mem_bytes, &mgr->usage) > max_bytes) { in amdgpu_vram_mgr_new()
Damdgpu_ttm.c2118 uint32_t max_bytes; in amdgpu_copy_buffer() local
2128 max_bytes = adev->mman.buffer_funcs->copy_max_bytes; in amdgpu_copy_buffer()
2129 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer()
2151 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer()
2185 uint32_t max_bytes = adev->mman.buffer_funcs->fill_max_bytes; in amdgpu_fill_buffer() local
2212 num_loops += DIV_ROUND_UP_ULL(byte_count, max_bytes); in amdgpu_fill_buffer()
2246 max_bytes); in amdgpu_fill_buffer()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/spi/
Dspi-geni-qcom.c404 unsigned int max_bytes; in geni_spi_handle_tx() local
415 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
416 if (mas->tx_rem_bytes < max_bytes) in geni_spi_handle_tx()
417 max_bytes = mas->tx_rem_bytes; in geni_spi_handle_tx()
420 while (i < max_bytes) { in geni_spi_handle_tx()
426 bytes_to_write = min(bytes_per_fifo_word, max_bytes - i); in geni_spi_handle_tx()
431 mas->tx_rem_bytes -= max_bytes; in geni_spi_handle_tx()
/kernel/linux/linux-5.10/fs/ubifs/
Dsb.c378 long long max_bytes; in validate_sb() local
437 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb()
438 if (c->max_bud_bytes < max_bytes) { in validate_sb()
440 c->max_bud_bytes, max_bytes); in validate_sb()
444 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb()
445 if (c->max_bud_bytes > max_bytes) { in validate_sb()
447 c->max_bud_bytes, max_bytes); in validate_sb()
481 if (c->rp_size < 0 || max_bytes < c->rp_size) { in validate_sb()
/kernel/linux/linux-5.10/include/drm/
Ddrm_audio_component.h61 unsigned char *buf, int max_bytes);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_fba.c780 unsigned int max_bytes, max_discard_sectors; in dasd_fba_setup_blk_queue() local
797 max_bytes = USHRT_MAX * logical_block_size; in dasd_fba_setup_blk_queue()
798 max_bytes = ALIGN_DOWN(max_bytes, PAGE_SIZE); in dasd_fba_setup_blk_queue()
799 max_discard_sectors = max_bytes / logical_block_size; in dasd_fba_setup_blk_queue()
/kernel/linux/linux-5.10/fs/btrfs/
Dextent-io-tree.h108 u64 max_bytes, unsigned bits, int contig);
235 u64 *end, u64 max_bytes,
Dextent_io.c1758 u64 *end, u64 max_bytes, in btrfs_find_delalloc_range() argument
1800 if (total_bytes >= max_bytes) in btrfs_find_delalloc_range()
1865 u64 max_bytes = BTRFS_MAX_EXTENT_SIZE; in find_lock_delalloc_range() local
1878 max_bytes, &cached_state); in find_lock_delalloc_range()
1897 if (delalloc_end + 1 - delalloc_start > max_bytes) in find_lock_delalloc_range()
1898 delalloc_end = delalloc_start + max_bytes - 1; in find_lock_delalloc_range()
1911 max_bytes = PAGE_SIZE; in find_lock_delalloc_range()
2037 u64 *start, u64 search_end, u64 max_bytes, in count_range_bits() argument
2072 if (total_bytes >= max_bytes) in count_range_bits()
/kernel/linux/linux-5.10/net/sched/
Dsch_netem.c645 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot_next()
805 if (q->slot_config.max_bytes == 0) in get_slot()
806 q->slot_config.max_bytes = INT_MAX; in get_slot()
812 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot()
1202 if (slot.max_bytes == INT_MAX) in netem_dump()
1203 slot.max_bytes = 0; in netem_dump()
/kernel/linux/linux-5.10/fs/gfs2/
Dfile.c1063 loff_t bytes, max_bytes, max_blks; in __gfs2_fallocate() local
1101 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; in __gfs2_fallocate()
1130 calc_max_reserv(ip, &max_bytes, &data_blocks, in __gfs2_fallocate()
1143 error = fallocate_chunk(inode, offset, max_bytes, mode); in __gfs2_fallocate()
1149 len -= max_bytes; in __gfs2_fallocate()
1150 offset += max_bytes; in __gfs2_fallocate()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dceph.rst70 extended attributes 'ceph.quota.max_files' and 'ceph.quota.max_bytes', eg::
72 setfattr -n ceph.quota.max_bytes -v 100000000 /some/dir
73 getfattr -n ceph.quota.max_bytes /some/dir
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_fc.c693 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dgen7_renderclear.c92 u32 *start, u32 offset, u32 max_bytes) in batch_init() argument
98 bc->max_items = max_bytes / sizeof(*bc->start); in batch_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/ceph/
Dceph_fs.h405 __le32 max_bytes; member
846 __le64 max_bytes; /* quota max. bytes */ member
/kernel/linux/linux-5.10/fs/
Dfs-writeback.c638 unsigned long avg_time, max_bytes, max_time; in wbc_detach_inode() local
652 max_bytes = wbc->wb_bytes; in wbc_detach_inode()
655 max_bytes = wbc->wb_lcand_bytes; in wbc_detach_inode()
658 max_bytes = wbc->wb_tcand_bytes; in wbc_detach_inode()
668 max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT, in wbc_detach_inode()
/kernel/linux/linux-5.10/drivers/s390/net/
Dism_drv.c361 static unsigned int max_bytes(unsigned int start, unsigned int len, in max_bytes() function
376 bytes = max_bytes(offset, size, PAGE_SIZE); in ism_move()
/kernel/linux/linux-5.10/fs/ceph/
Dmds_client.h80 u64 max_bytes; member
Dsuper.h1236 u64 max_bytes, u64 max_files) in __ceph_update_quota() argument
1240 ci->i_max_bytes = max_bytes; in __ceph_update_quota()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-npcm7xx.c747 static void npcm_i2c_write_to_fifo_master(struct npcm_i2c *bus, u16 max_bytes) in npcm_i2c_write_to_fifo_master() argument
756 while (max_bytes-- && size_free_fifo) { in npcm_i2c_write_to_fifo_master()
864 static void npcm_i2c_write_fifo_slave(struct npcm_i2c *bus, u16 max_bytes) in npcm_i2c_write_fifo_slave() argument
873 while (max_bytes-- && I2C_HW_FIFO_SIZE != npcm_i2c_fifo_usage(bus)) { in npcm_i2c_write_fifo_slave()

12