/Linux-v5.15/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-v5.15/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 | 376 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()
|
D | amdgpu_ttm.c | 1890 uint32_t max_bytes; in amdgpu_copy_buffer() local 1900 max_bytes = adev->mman.buffer_funcs->copy_max_bytes; in amdgpu_copy_buffer() 1901 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer() 1924 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer() 1958 uint32_t max_bytes = adev->mman.buffer_funcs->fill_max_bytes; in amdgpu_fill_buffer() local 1989 num_loops += DIV_ROUND_UP_ULL(cursor.size, max_bytes); in amdgpu_fill_buffer() 2014 uint32_t cur_size = min_t(uint64_t, cursor.size, max_bytes); in amdgpu_fill_buffer()
|
/Linux-v5.15/fs/btrfs/tests/ |
D | extent-io-tests.c | 67 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.15/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-v5.15/drivers/spi/ |
D | spi-geni-qcom.c | 411 unsigned int max_bytes; in geni_spi_handle_tx() local 422 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx() 423 if (mas->tx_rem_bytes < max_bytes) in geni_spi_handle_tx() 424 max_bytes = mas->tx_rem_bytes; in geni_spi_handle_tx() 427 while (i < max_bytes) { in geni_spi_handle_tx() 433 bytes_to_write = min(bytes_per_fifo_word, max_bytes - i); in geni_spi_handle_tx() 438 mas->tx_rem_bytes -= max_bytes; in geni_spi_handle_tx()
|
/Linux-v5.15/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-v5.15/include/drm/ |
D | drm_audio_component.h | 61 unsigned char *buf, int max_bytes);
|
/Linux-v5.15/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-v5.15/drivers/s390/block/ |
D | dasd_fba.c | 771 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-v5.15/fs/btrfs/ |
D | extent-io-tree.h | 122 u64 max_bytes, u32 bits, int contig); 250 u64 *end, u64 max_bytes,
|
/Linux-v5.15/fs/gfs2/ |
D | file.c | 1051 loff_t bytes, max_bytes, max_blks; in __gfs2_fallocate() local 1089 max_bytes = (len > max_chunk_size) ? max_chunk_size : len; in __gfs2_fallocate() 1118 calc_max_reserv(ip, &max_bytes, &data_blocks, in __gfs2_fallocate() 1131 error = fallocate_chunk(inode, offset, max_bytes, mode); in __gfs2_fallocate() 1137 len -= max_bytes; in __gfs2_fallocate() 1138 offset += max_bytes; in __gfs2_fallocate()
|
/Linux-v5.15/net/sched/ |
D | sch_netem.c | 645 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-v5.15/Documentation/filesystems/ |
D | ceph.rst | 70 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-v5.15/drivers/s390/scsi/ |
D | zfcp_fc.c | 675 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.15/drivers/gpu/drm/i915/gt/ |
D | gen7_renderclear.c | 92 u32 *start, u32 offset, u32 max_bytes) in batch_init() argument 98 bc->max_items = max_bytes / sizeof(*bc->start); in batch_init()
|
/Linux-v5.15/tools/perf/ |
D | builtin-timechart.c | 112 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.15/include/linux/ceph/ |
D | ceph_fs.h | 416 __le32 max_bytes; member 888 __le64 max_bytes; /* quota max. bytes */ member
|
/Linux-v5.15/fs/ |
D | fs-writeback.c | 762 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-v5.15/drivers/s390/net/ |
D | ism_drv.c | 361 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-v5.15/fs/ceph/ |
D | mds_client.h | 86 u64 max_bytes; member
|
D | quota.c | 73 __ceph_update_quota(ci, le64_to_cpu(h->max_bytes), in ceph_handle_quota()
|
D | super.h | 1267 u64 max_bytes, u64 max_files) in __ceph_update_quota() argument 1271 ci->i_max_bytes = max_bytes; in __ceph_update_quota()
|
/Linux-v5.15/drivers/i2c/busses/ |
D | i2c-npcm7xx.c | 740 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()
|