Home
last modified time | relevance | path

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

12

/Linux-v6.1/sound/usb/line6/
Dmidibuf.c130 int bytes_used; in line6_midibuf_read() local
144 bytes_used = line6_midibuf_bytes_used(this); in line6_midibuf_read()
146 if (length > bytes_used) in line6_midibuf_read()
147 length = bytes_used; in line6_midibuf_read()
234 int bytes_used = line6_midibuf_bytes_used(this); in line6_midibuf_ignore() local
236 if (length > bytes_used) in line6_midibuf_ignore()
237 length = bytes_used; in line6_midibuf_ignore()
/Linux-v6.1/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 = round_down(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()
/Linux-v6.1/fs/squashfs/
Dsuper.c150 msblk->bytes_used = sizeof(*sblk); in squashfs_fill_super()
182 msblk->bytes_used = le64_to_cpu(sblk->bytes_used); in squashfs_fill_super()
183 if (msblk->bytes_used < 0 || in squashfs_fill_super()
184 msblk->bytes_used > bdev_nr_bytes(sb->s_bdev)) in squashfs_fill_super()
228 TRACE("Filesystem size %lld bytes\n", msblk->bytes_used); in squashfs_fill_super()
272 next_table = msblk->bytes_used; in squashfs_fill_super()
463 buf->f_blocks = ((msblk->bytes_used - 1) >> msblk->block_log) + 1; in squashfs_statfs()
Dblock.c165 if (index + 2 > msblk->bytes_used) { in squashfs_read_data()
202 (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
/Linux-v6.1/include/linux/iio/
Dbuffer-dma.h50 size_t bytes_used; member
/Linux-v6.1/drivers/macintosh/
Dwindfarm_mpu.h23 u8 bytes_used; /* 0x01 - Bytes used in eeprom (160 ?) */ member
/Linux-v6.1/fs/btrfs/
Ddev-replace.c211 dev_replace->tgtdev->bytes_used = in btrfs_init_dev_replace()
212 dev_replace->srcdev->bytes_used; in btrfs_init_dev_replace()
317 device->bytes_used = btrfs_device_get_bytes_used(srcdev); in btrfs_init_dev_replace_tgtdev()
319 device->commit_bytes_used = device->bytes_used; in btrfs_init_dev_replace_tgtdev()
969 btrfs_device_set_bytes_used(tgt_device, src_device->bytes_used); in btrfs_dev_replace_finishing()
970 tgt_device->commit_bytes_used = src_device->bytes_used; in btrfs_dev_replace_finishing()
Dspace-info.h13 u64 bytes_used; /* total bytes used, member
Dblock-group.c710 u64 bytes_used; in caching_thread() local
714 bytes_used = block_group->length - block_group->used; in caching_thread()
715 block_group->space_info->bytes_used += bytes_used >> 1; in caching_thread()
2463 u64 bytes_used, u64 type, in btrfs_make_block_group() argument
2478 cache->used = bytes_used; in btrfs_make_block_group()
2529 u64 new_bytes_used = size - bytes_used; in btrfs_make_block_group()
2531 cache->space_info->bytes_used += new_bytes_used >> 1; in btrfs_make_block_group()
3296 cache->space_info->bytes_used += num_bytes; in btrfs_update_block_group()
3306 cache->space_info->bytes_used -= num_bytes; in btrfs_update_block_group()
3440 u64 bytes_used = btrfs_space_info_used(sinfo, false); in should_alloc_chunk() local
[all …]
Dspace-info.c166 return s_info->bytes_used + s_info->bytes_reserved + in btrfs_space_info_used()
311 found->bytes_used += block_group->used; in btrfs_add_bg_to_space_info()
517 info->total_bytes, info->bytes_used, info->bytes_pinned, in __btrfs_dump_space_info()
864 if ((space_info->bytes_used + space_info->bytes_reserved + in need_preemptive_reclaim()
920 used = space_info->bytes_used + space_info->bytes_reserved + in need_preemptive_reclaim()
Dvolumes.h131 u64 bytes_used; member
273 BTRFS_DEVICE_GETSET_FUNCS(bytes_used);
Dblock-group.h301 u64 bytes_used, u64 type,
Dctree.h210 __le64 bytes_used; member
261 __le64 bytes_used; member
1858 BTRFS_SETGET_FUNCS(device_bytes_used, struct btrfs_dev_item, bytes_used, 64);
1874 bytes_used, 64);
2430 BTRFS_SETGET_STACK_FUNCS(root_used, struct btrfs_root_item, bytes_used, 64);
2507 bytes_used, 64);
2619 bytes_used, 64);
Dvolumes.c3116 if (device->bytes_used > 0) { in btrfs_remove_chunk()
3119 device->bytes_used - dev_extent_len); in btrfs_remove_chunk()
3386 u64 bytes_used; in btrfs_may_alloc_data_chunk() local
3398 bytes_used = fs_info->data_sinfo->bytes_used; in btrfs_may_alloc_data_chunk()
3401 if (!bytes_used) { in btrfs_may_alloc_data_chunk()
5199 if (device->total_bytes > device->bytes_used) in gather_device_info()
5200 total_avail = device->total_bytes - device->bytes_used; in gather_device_info()
5427 dev->bytes_used + ctl->stripe_size); in create_chunk()
7276 device->bytes_used = btrfs_device_bytes_used(leaf, dev_item); in fill_device_from_item()
7277 device->commit_bytes_used = device->bytes_used; in fill_device_from_item()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/include/uapi/linux/
Dbtrfs_tree.h400 __le64 bytes_used; member
642 __le64 bytes_used; member
/Linux-v6.1/drivers/usb/gadget/udc/
Dgr_udc.c480 u16 bytes_used; /* Bytes accommodated for */ in gr_setup_out_desc_list() local
485 bytes_used = 0; in gr_setup_out_desc_list()
487 dma_addr_t start = req->req.dma + bytes_used; in gr_setup_out_desc_list()
501 bytes_used += size; in gr_setup_out_desc_list()
533 u16 bytes_used; /* Bytes in req accommodated for */ in gr_setup_in_desc_list() local
538 bytes_used = 0; in gr_setup_in_desc_list()
540 dma_addr_t start = req->req.dma + bytes_used; in gr_setup_in_desc_list()
548 bytes_used += size; in gr_setup_in_desc_list()
/Linux-v6.1/init/
Ddo_mounts_rd.c123 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image()
/Linux-v6.1/include/trace/events/
Dbtrfs.h809 __field( u64, bytes_used )
818 __entry->bytes_used = block_group->used;
831 __entry->bytes_used,
2108 __field( u64, bytes_used )
2127 __entry->bytes_used = sinfo->bytes_used;
2151 __entry->total_bytes, __entry->bytes_used,

12