| /linux/rust/kernel/sync/ |
| H A D | locked_by.rs | 25 /// The following is an example for illustrative purposes: `InnerDirectory::bytes_used` is an 26 /// aggregate of all `InnerFile::bytes_used` and must be kept consistent; so we wrap `InnerFile` in 35 /// bytes_used: u64, 45 /// bytes_used: u64, 54 /// /// Prints `bytes_used` from both the directory and file. 58 /// pr_info!("{} {}\n", guard.bytes_used, inner_file.bytes_used); 61 /// /// Increments `bytes_used` for both the directory and file. 64 /// guard.bytes_used += 10; 67 /// file_inner.bytes_used += 10; 74 /// inner: LockedBy::new(&dir.inner, InnerFile { bytes_used: 0 }),
|
| /linux/sound/usb/line6/ |
| H A D | midibuf.c | 126 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 D | industrialio-buffer-dmaengine.c | 57 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 D | industrialio-buffer-dma.c | 72 * Prior to this it must set the bytes_used field of the block contains 76 * either case it is expected that bytes_used is a multiple of the bytes per 82 * before the block transfer was started. In this case it should set bytes_used 260 * stopped. This will set bytes_used to 0 for each block in the list and then 275 block->bytes_used = 0; in iio_dma_buffer_block_list_abort() 399 * block->bytes_used may have been modified previously, e.g. by in iio_dma_buffer_request_update() 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() [all …]
|
| /linux/fs/squashfs/ |
| H A D | super.c | 215 * msblk->bytes_used is checked in squashfs_read_table to ensure reads in squashfs_fill_super() 218 * of bytes_used) we need to set it to an initial sensible dummy value in squashfs_fill_super() 220 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 D | squashfs_fs_sb.h | 64 long long bytes_used; member
|
| H A D | xattr_id.c | 90 end = msblk->bytes_used; in squashfs_read_xattr_id_table()
|
| H A D | squashfs_fs.h | 254 __le64 bytes_used; member
|
| /linux/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_mock_bin.c | 28 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 D | cs_dsp_mock_wmfw.c | 28 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/include/uapi/linux/iio/ |
| H A D | buffer.h | 18 * @bytes_used: number of bytes used in this DMABUF for the data transfer. 24 __u64 bytes_used; member
|
| /linux/include/linux/iio/ |
| H A D | buffer-dma.h | 42 * @bytes_used: Number of bytes that contain valid data 56 size_t bytes_used; member
|
| /linux/fs/smb/client/ |
| H A D | cached_dir.h | 32 unsigned long bytes_used; member
|
| H A D | cached_dir.c | 739 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 D | readdir.c | 911 cde->bytes_used += sizeof(*de) + (size_t)namelen + 1; in add_cached_dirent()
|
| /linux/drivers/md/dm-vdo/ |
| H A D | memory-alloc.c | 397 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 D | memory-alloc.h | 158 void vdo_get_memory_stats(u64 *bytes_used, u64 *peak_bytes_used);
|
| H A D | statistics.h | 173 u64 bytes_used; member
|
| H A D | message-stats.c | 286 write_u64("bytesUsed : ", stats->bytes_used, ", ", buf, maxlen); in write_memory_usage()
|
| /linux/include/uapi/linux/ |
| H A D | btrfs_tree.h | 529 __le64 bytes_used; member 589 __le64 bytes_used; member 690 __le64 bytes_used; member 926 __le64 bytes_used; member
|
| H A D | btrfs.h | 248 __u64 bytes_used; /* out */ member
|
| /linux/drivers/macintosh/ |
| H A D | windfarm_mpu.h | 23 u8 bytes_used; /* 0x01 - Bytes used in eeprom (160 ?) */ member
|
| /linux/init/ |
| H A D | do_mounts_rd.c | 123 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image()
|
| /linux/drivers/iio/ |
| H A D | industrialio-buffer.c | 1852 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()
|
| /linux/fs/xfs/scrub/ |
| H A D | trace.h | 1017 __field(unsigned long long, bytes_used) 1026 __entry->bytes_used = inode->i_blocks << SECTOR_SHIFT; 1033 __entry->bytes_used,
|