Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/radeon/
A 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()
/linux/drivers/gpu/drm/amd/amdgpu/
A 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()
A Damdgpu_vram_mgr.c376 uint64_t vis_usage = 0, mem_bytes, max_bytes; in amdgpu_vram_mgr_new() local
387 max_bytes = adev->gmc.mc_vram_size; in amdgpu_vram_mgr_new()
389 max_bytes -= AMDGPU_VM_RESERVED_VRAM; in amdgpu_vram_mgr_new()
393 if (atomic64_add_return(mem_bytes, &mgr->usage) > max_bytes) { in amdgpu_vram_mgr_new()
A Damdgpu_ttm.c1911 uint32_t max_bytes; in amdgpu_copy_buffer() local
1921 max_bytes = adev->mman.buffer_funcs->copy_max_bytes; in amdgpu_copy_buffer()
1922 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer()
1945 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer()
1979 uint32_t max_bytes = adev->mman.buffer_funcs->fill_max_bytes; in amdgpu_fill_buffer() local
2010 num_loops += DIV_ROUND_UP_ULL(cursor.size, max_bytes); in amdgpu_fill_buffer()
2035 uint32_t cur_size = min_t(uint64_t, cursor.size, max_bytes); in amdgpu_fill_buffer()
/linux/fs/btrfs/tests/
A 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/include/sound/
A 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/fs/ubifs/
A Dsb.c381 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/spi/
A Dspi-geni-qcom.c616 unsigned int max_bytes; in geni_spi_handle_tx() local
627 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
628 if (mas->tx_rem_bytes < max_bytes) in geni_spi_handle_tx()
629 max_bytes = mas->tx_rem_bytes; in geni_spi_handle_tx()
632 while (i < max_bytes) { in geni_spi_handle_tx()
638 bytes_to_write = min(bytes_per_fifo_word, max_bytes - i); in geni_spi_handle_tx()
643 mas->tx_rem_bytes -= max_bytes; in geni_spi_handle_tx()
/linux/drivers/s390/block/
A Ddasd_fba.c771 unsigned int max_bytes, max_discard_sectors; in dasd_fba_setup_blk_queue() local
788 max_bytes = USHRT_MAX * logical_block_size; in dasd_fba_setup_blk_queue()
789 max_bytes = ALIGN_DOWN(max_bytes, PAGE_SIZE); in dasd_fba_setup_blk_queue()
790 max_discard_sectors = max_bytes / logical_block_size; in dasd_fba_setup_blk_queue()
/linux/include/drm/
A Ddrm_audio_component.h61 unsigned char *buf, int max_bytes);
/linux/sound/hda/
A 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/net/sched/
A 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()
820 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot()
1207 if (slot.max_bytes == INT_MAX) in netem_dump()
1208 slot.max_bytes = 0; in netem_dump()
/linux/fs/btrfs/
A Dextent-io-tree.h122 u64 max_bytes, u32 bits, int contig);
250 u64 *end, u64 max_bytes,
/linux/fs/gfs2/
A Dfile.c1253 loff_t bytes, max_bytes, max_blks; in __gfs2_fallocate() local
1291 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; in __gfs2_fallocate()
1320 calc_max_reserv(ip, &max_bytes, &data_blocks, in __gfs2_fallocate()
1333 error = fallocate_chunk(inode, offset, max_bytes, mode); in __gfs2_fallocate()
1339 len -= max_bytes; in __gfs2_fallocate()
1340 offset += max_bytes; in __gfs2_fallocate()
/linux/Documentation/filesystems/
A 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
/linux/drivers/s390/scsi/
A 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/drivers/gpu/drm/i915/gt/
A 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()
/linux/tools/perf/
A 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/fs/
A Dfs-writeback.c762 unsigned long avg_time, max_bytes, max_time; in wbc_detach_inode() local
776 max_bytes = wbc->wb_bytes; in wbc_detach_inode()
779 max_bytes = wbc->wb_lcand_bytes; in wbc_detach_inode()
782 max_bytes = wbc->wb_tcand_bytes; in wbc_detach_inode()
792 max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT, in wbc_detach_inode()
/linux/include/linux/ceph/
A Dceph_fs.h418 __le32 max_bytes; member
890 __le64 max_bytes; /* quota max. bytes */ member
/linux/drivers/s390/net/
A 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()
/linux/fs/ceph/
A Dmds_client.h86 u64 max_bytes; member
A Dsuper.h1281 u64 max_bytes, u64 max_files) in __ceph_update_quota() argument
1285 ci->i_max_bytes = max_bytes; in __ceph_update_quota()
A Dquota.c73 __ceph_update_quota(ci, le64_to_cpu(h->max_bytes), in ceph_handle_quota()
/linux/drivers/i2c/busses/
A Di2c-npcm7xx.c740 static void npcm_i2c_write_to_fifo_master(struct npcm_i2c *bus, u16 max_bytes) in npcm_i2c_write_to_fifo_master() argument
749 while (max_bytes-- && size_free_fifo) { in npcm_i2c_write_to_fifo_master()
870 static void npcm_i2c_write_fifo_slave(struct npcm_i2c *bus, u16 max_bytes) in npcm_i2c_write_fifo_slave() argument
879 while (max_bytes-- && I2C_HW_FIFO_SIZE != npcm_i2c_fifo_usage(bus)) { in npcm_i2c_write_fifo_slave()

Completed in 83 milliseconds

12