Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/sound/usb/line6/
Dmidibuf.c126 int bytes_used; in line6_midibuf_read() local
140 bytes_used = line6_midibuf_bytes_used(this); in line6_midibuf_read()
142 if (length > bytes_used) in line6_midibuf_read()
143 length = bytes_used; in line6_midibuf_read()
243 int bytes_used = line6_midibuf_bytes_used(this); in line6_midibuf_ignore() local
245 if (length > bytes_used) in line6_midibuf_ignore()
246 length = bytes_used; in line6_midibuf_ignore()
/kernel/linux/linux-5.10/drivers/iio/buffer/
Dindustrialio-buffer-dmaengine.c57 block->bytes_used -= result->residue; in iio_dmaengine_buffer_block_done()
69 block->bytes_used = min(block->size, dmaengine_buffer->max_size); in iio_dmaengine_buffer_submit_block()
70 block->bytes_used = rounddown(block->bytes_used, in iio_dmaengine_buffer_submit_block()
74 block->phys_addr, block->bytes_used, DMA_DEV_TO_MEM, in iio_dmaengine_buffer_submit_block()
Dindustrialio-buffer-dma.c246 block->bytes_used = 0; in iio_dma_buffer_block_list_abort()
506 if (n > block->bytes_used - queue->fileio.pos) in iio_dma_buffer_read()
507 n = block->bytes_used - queue->fileio.pos; in iio_dma_buffer_read()
516 if (queue->fileio.pos == block->bytes_used) { in iio_dma_buffer_read()
/kernel/linux/linux-5.10/fs/squashfs/
Dsuper.c131 msblk->bytes_used = sizeof(*sblk); in squashfs_fill_super()
163 msblk->bytes_used = le64_to_cpu(sblk->bytes_used); in squashfs_fill_super()
164 if (msblk->bytes_used < 0 || msblk->bytes_used > in squashfs_fill_super()
209 TRACE("Filesystem size %lld bytes\n", msblk->bytes_used); in squashfs_fill_super()
253 next_table = msblk->bytes_used; in squashfs_fill_super()
410 buf->f_blocks = ((msblk->bytes_used - 1) >> msblk->block_log) + 1; in squashfs_statfs()
Dblock.c167 if (index + 2 > msblk->bytes_used) { in squashfs_read_data()
203 (index + length) > msblk->bytes_used) { in squashfs_read_data()
Dsquashfs_fs_sb.h63 long long bytes_used; member
Dxattr_id.c90 end = msblk->bytes_used; in squashfs_read_xattr_id_table()
Dsquashfs_fs.h253 __le64 bytes_used; member
/kernel/linux/linux-5.10/include/linux/iio/
Dbuffer-dma.h22 u32 bytes_used; member
55 size_t bytes_used; member
/kernel/linux/linux-5.10/fs/btrfs/
Dspace-info.h11 u64 bytes_used; /* total bytes used, member
121 u64 total_bytes, u64 bytes_used,
Dspace-info.c164 return s_info->bytes_used + s_info->bytes_reserved + in btrfs_space_info_used()
259 u64 total_bytes, u64 bytes_used, in btrfs_update_space_info() argument
273 found->bytes_used += bytes_used; in btrfs_update_space_info()
274 found->disk_used += bytes_used * factor; in btrfs_update_space_info()
427 info->total_bytes, info->bytes_used, info->bytes_pinned, in __btrfs_dump_space_info()
808 if ((space_info->bytes_used + space_info->bytes_reserved) >= thresh) in need_do_async_reclaim()
Dblock-group.c662 u64 bytes_used; in caching_thread() local
666 bytes_used = block_group->length - block_group->used; in caching_thread()
667 block_group->space_info->bytes_used += bytes_used >> 1; in caching_thread()
766 u64 bytes_used; in btrfs_cache_block_group() local
770 bytes_used = cache->length - cache->used; in btrfs_cache_block_group()
771 cache->space_info->bytes_used += bytes_used >> 1; in btrfs_cache_block_group()
2147 int btrfs_make_block_group(struct btrfs_trans_handle *trans, u64 bytes_used, in btrfs_make_block_group() argument
2162 cache->used = bytes_used; in btrfs_make_block_group()
2181 u64 new_bytes_used = size - bytes_used; in btrfs_make_block_group()
2183 bytes_used += new_bytes_used >> 1; in btrfs_make_block_group()
[all …]
Ddev-replace.c208 dev_replace->tgtdev->bytes_used = in btrfs_init_dev_replace()
209 dev_replace->srcdev->bytes_used; in btrfs_init_dev_replace()
304 device->bytes_used = btrfs_device_get_bytes_used(srcdev); in btrfs_init_dev_replace_tgtdev()
306 device->commit_bytes_used = device->bytes_used; in btrfs_init_dev_replace_tgtdev()
799 btrfs_device_set_bytes_used(tgt_device, src_device->bytes_used); in btrfs_dev_replace_finishing()
800 tgt_device->commit_bytes_used = src_device->bytes_used; in btrfs_dev_replace_finishing()
Dvolumes.h88 u64 bytes_used; member
209 BTRFS_DEVICE_GETSET_FUNCS(bytes_used);
Dblock-group.h255 int btrfs_make_block_group(struct btrfs_trans_handle *trans, u64 bytes_used,
Dctree.h209 __le64 bytes_used; member
246 __le64 bytes_used; member
1541 BTRFS_SETGET_FUNCS(device_bytes_used, struct btrfs_dev_item, bytes_used, 64);
1557 bytes_used, 64);
2101 BTRFS_SETGET_STACK_FUNCS(root_used, struct btrfs_root_item, bytes_used, 64);
2171 bytes_used, 64);
2285 bytes_used, 64);
/kernel/linux/linux-5.10/drivers/macintosh/
Dwindfarm_mpu.h21 u8 bytes_used; /* 0x01 - Bytes used in eeprom (160 ?) */ member
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-video.c332 u32 bytes_used = 0; in cx231xx_isoc_copy() local
337 &bytes_used);/* bytes used to get SAV/EAV */ in cx231xx_isoc_copy()
339 bytes_parsed += bytes_used; in cx231xx_isoc_copy()
411 u32 bytes_used = 0; in cx231xx_bulk_copy() local
416 &bytes_used);/* bytes used to get SAV/EAV */ in cx231xx_bulk_copy()
418 bytes_parsed += bytes_used; in cx231xx_bulk_copy()
442 u32 bytes_used; in cx231xx_find_boundary_SAV_EAV() local
456 &bytes_used); in cx231xx_find_boundary_SAV_EAV()
461 *p_bytes_used = bytes_used - 4; in cx231xx_find_boundary_SAV_EAV()
Dcx231xx-vbi.c125 u32 bytes_used = 0; in cx231xx_isoc_vbi_copy() local
130 &bytes_used); /* bytes used to get SAV/EAV */ in cx231xx_isoc_vbi_copy()
132 bytes_parsed += bytes_used; in cx231xx_isoc_vbi_copy()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbtrfs_tree.h109 __le64 bytes_used; member
277 __le64 bytes_used; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbtrfs_tree.h371 __le64 bytes_used; member
613 __le64 bytes_used; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbtrfs_tree.h125 __le64 bytes_used; member
263 __le64 bytes_used; member
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
Dcx18-mailbox.c172 offset = vb_buf->bytes_used; in cx18_mdl_send_to_videobuf()
180 vb_buf->bytes_used += buf->bytesused; in cx18_mdl_send_to_videobuf()
185 if (vb_buf->bytes_used >= s->vb_bytes_per_frame) { in cx18_mdl_send_to_videobuf()
187 vb_buf->bytes_used = 0; in cx18_mdl_send_to_videobuf()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dgr_udc.c479 u16 bytes_used; /* Bytes accommodated for */ in gr_setup_out_desc_list() local
484 bytes_used = 0; in gr_setup_out_desc_list()
486 dma_addr_t start = req->req.dma + bytes_used; in gr_setup_out_desc_list()
500 bytes_used += size; in gr_setup_out_desc_list()
532 u16 bytes_used; /* Bytes in req accommodated for */ in gr_setup_in_desc_list() local
537 bytes_used = 0; in gr_setup_in_desc_list()
539 dma_addr_t start = req->req.dma + bytes_used; in gr_setup_in_desc_list()
547 bytes_used += size; in gr_setup_in_desc_list()
/kernel/linux/linux-5.10/init/
Ddo_mounts_rd.c123 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image()

12