Home
last modified time | relevance | path

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

12

/linux/sound/usb/line6/
H A 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/drivers/iio/buffer/
H A Dindustrialio-buffer-dmaengine.c57 block->bytes_used -= result->residue; in iio_dmaengine_buffer_block_done()
86 nents = sg_nents_for_len(sgl, block->bytes_used); in iio_dmaengine_buffer_submit_block()
94 len_total = block->bytes_used; in iio_dmaengine_buffer_submit_block()
113 block->bytes_used = max_size; in iio_dmaengine_buffer_submit_block()
115 if (!block->bytes_used || block->bytes_used > max_size) in iio_dmaengine_buffer_submit_block()
120 block->bytes_used, in iio_dmaengine_buffer_submit_block()
H A Dindustrialio-buffer-dma.c275 block->bytes_used = 0; in iio_dma_buffer_block_list_abort()
403 block->bytes_used = block->size; in iio_dma_buffer_request_update()
597 if (n > block->bytes_used - queue->fileio.pos) in iio_dma_buffer_io()
598 n = block->bytes_used - queue->fileio.pos; in iio_dma_buffer_io()
612 if (queue->fileio.pos == block->bytes_used) { in iio_dma_buffer_io()
775 block->bytes_used = size; in iio_dma_buffer_enqueue_dmabuf()
/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_mock_bin.c28 size_t bytes_used; member
46 fw->size = builder->bytes_used; in cs_dsp_mock_bin_get_firmware()
87 builder->bytes_used += bytes_needed; in cs_dsp_mock_bin_add_raw_block()
199 builder->bytes_used = offsetof(struct wmfw_coeff_hdr, data); in cs_dsp_mock_bin_init()
H A Dcs_dsp_mock_wmfw.c28 size_t bytes_used; member
83 fw->size = builder->bytes_used; in cs_dsp_mock_wmfw_get_firmware()
116 builder->bytes_used += bytes_needed; in cs_dsp_mock_wmfw_add_raw_block()
260 builder->bytes_used += bytes_needed; in cs_dsp_mock_wmfw_start_alg_info_block()
353 builder->bytes_used += bytes_needed; in cs_dsp_mock_wmfw_add_coeff_desc()
425 builder->bytes_used += sizeof(*hdr); in cs_dsp_init_adsp2_halo_wmfw()
/linux/fs/squashfs/
H A Dsuper.c220 msblk->bytes_used = sizeof(*sblk); in squashfs_fill_super()
258 msblk->bytes_used = le64_to_cpu(sblk->bytes_used); in squashfs_fill_super()
259 if (msblk->bytes_used < 0 || in squashfs_fill_super()
260 msblk->bytes_used > bdev_nr_bytes(sb->s_bdev)) in squashfs_fill_super()
304 TRACE("Filesystem size %lld bytes\n", msblk->bytes_used); in squashfs_fill_super()
364 next_table = msblk->bytes_used; in squashfs_fill_super()
580 buf->f_blocks = ((msblk->bytes_used - 1) >> msblk->block_log) + 1; in squashfs_statfs()
H A Dsquashfs_fs_sb.h64 long long bytes_used; member
H A Dxattr_id.c90 end = msblk->bytes_used; in squashfs_read_xattr_id_table()
H A Dsquashfs_fs.h254 __le64 bytes_used; member
/linux/include/uapi/linux/iio/
H A Dbuffer.h24 __u64 bytes_used; member
/linux/include/uapi/linux/
H A Dbtrfs_tree.h529 __le64 bytes_used; member
589 __le64 bytes_used; member
690 __le64 bytes_used; member
926 __le64 bytes_used; member
H A Dbtrfs.h248 __u64 bytes_used; /* out */ member
/linux/drivers/md/dm-vdo/
H A Dmemory-alloc.c397 void vdo_get_memory_stats(u64 *bytes_used, u64 *peak_bytes_used) in vdo_get_memory_stats() argument
402 *bytes_used = memory_stats.kmalloc_bytes + memory_stats.vmalloc_bytes; in vdo_get_memory_stats()
H A Dmemory-alloc.h158 void vdo_get_memory_stats(u64 *bytes_used, u64 *peak_bytes_used);
H A Dstatistics.h173 u64 bytes_used; member
H A Dmessage-stats.c286 write_u64("bytesUsed : ", stats->bytes_used, ", ", buf, maxlen); in write_memory_usage()
/linux/fs/smb/client/
H A Dcached_dir.h32 unsigned long bytes_used; member
H A Dcached_dir.c739 if (cfid->dirents.bytes_used) { in free_cached_dir()
740 atomic64_sub((long long)cfid->dirents.bytes_used, in free_cached_dir()
742 atomic64_sub((long long)cfid->dirents.bytes_used, in free_cached_dir()
747 cfid->dirents.bytes_used = 0; in free_cached_dir()
H A Dreaddir.c911 cde->bytes_used += sizeof(*de) + (size_t)namelen + 1; in add_cached_dirent()
/linux/drivers/macintosh/
H A Dwindfarm_mpu.h23 u8 bytes_used; /* 0x01 - Bytes used in eeprom (160 ?) */ member
/linux/include/linux/iio/
H A Dbuffer-dma.h56 size_t bytes_used; member
/linux/init/
H A Ddo_mounts_rd.c123 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image()
/linux/include/trace/events/
H A Dbtrfs.h817 __field( u64, bytes_used )
826 __entry->bytes_used = block_group->used;
839 __entry->bytes_used,
2167 __field( u64, bytes_used )
2186 __entry->bytes_used = sinfo->bytes_used;
2210 __entry->total_bytes, __entry->bytes_used,
/linux/fs/btrfs/
H A Dvolumes.c3265 if (device->bytes_used > 0) { in btrfs_remove_chunk()
3268 device->bytes_used - dev_extent_len); in btrfs_remove_chunk()
3566 u64 bytes_used; in btrfs_may_alloc_data_chunk() local
3578 bytes_used = fs_info->data_sinfo->bytes_used; in btrfs_may_alloc_data_chunk()
3581 if (!bytes_used) { in btrfs_may_alloc_data_chunk()
4877 if (device->bytes_used < new_size) in btrfs_shrink_device()
4878 free_diff = (old_size - device->bytes_used) - in btrfs_shrink_device()
4879 (new_size - device->bytes_used); in btrfs_shrink_device()
4881 free_diff = old_size - device->bytes_used; in btrfs_shrink_device()
5233 if (device->total_bytes > device->bytes_used) in gather_device_info()
[all …]
/linux/drivers/iio/
H A Dindustrialio-buffer.c1852 if (!iio_dmabuf.bytes_used || iio_dmabuf.bytes_used > dmabuf->size) { in iio_buffer_enqueue_dmabuf()
1915 priv->sgt, iio_dmabuf.bytes_used, in iio_buffer_enqueue_dmabuf()

12