Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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-6.1.9/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-6.1.9/include/linux/iio/
Dbuffer-dma.h50 size_t bytes_used; member
/linux-6.1.9/drivers/macintosh/
Dwindfarm_mpu.h23 u8 bytes_used; /* 0x01 - Bytes used in eeprom (160 ?) */ member
/linux-6.1.9/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()
518 info->total_bytes, info->bytes_used, info->bytes_pinned, in __btrfs_dump_space_info()
865 if ((space_info->bytes_used + space_info->bytes_reserved + in need_preemptive_reclaim()
921 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
1864 BTRFS_SETGET_FUNCS(device_bytes_used, struct btrfs_dev_item, bytes_used, 64);
1880 bytes_used, 64);
2436 BTRFS_SETGET_STACK_FUNCS(root_used, struct btrfs_root_item, bytes_used, 64);
2513 bytes_used, 64);
2625 bytes_used, 64);
Dvolumes.c3125 if (device->bytes_used > 0) { in btrfs_remove_chunk()
3128 device->bytes_used - dev_extent_len); in btrfs_remove_chunk()
3395 u64 bytes_used; in btrfs_may_alloc_data_chunk() local
3407 bytes_used = fs_info->data_sinfo->bytes_used; in btrfs_may_alloc_data_chunk()
3410 if (!bytes_used) { in btrfs_may_alloc_data_chunk()
5208 if (device->total_bytes > device->bytes_used) in gather_device_info()
5209 total_avail = device->total_bytes - device->bytes_used; in gather_device_info()
5436 dev->bytes_used + ctl->stripe_size); in create_chunk()
7286 device->bytes_used = btrfs_device_bytes_used(leaf, dev_item); in fill_device_from_item()
7287 device->commit_bytes_used = device->bytes_used; in fill_device_from_item()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/include/uapi/linux/
Dbtrfs_tree.h400 __le64 bytes_used; member
642 __le64 bytes_used; member
/linux-6.1.9/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-6.1.9/init/
Ddo_mounts_rd.c123 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image()
/linux-6.1.9/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