Home
last modified time | relevance | path

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

/fs/squashfs/
Dsuper.c99 msblk->bytes_used = sizeof(*sblk); in squashfs_fill_super()
131 msblk->bytes_used = le64_to_cpu(sblk->bytes_used); in squashfs_fill_super()
132 if (msblk->bytes_used < 0 || msblk->bytes_used > in squashfs_fill_super()
176 TRACE("Filesystem size %lld bytes\n", msblk->bytes_used); in squashfs_fill_super()
220 next_table = msblk->bytes_used; in squashfs_fill_super()
378 buf->f_blocks = ((msblk->bytes_used - 1) >> msblk->block_log) + 1; in squashfs_statfs()
Dblock.c106 (index + length) > msblk->bytes_used) in squashfs_read_data()
120 if ((index + 2) > msblk->bytes_used) in squashfs_read_data()
138 (index + length) > msblk->bytes_used) in squashfs_read_data()
Dsquashfs_fs_sb.h63 long long bytes_used; member
Dsquashfs_fs.h252 __le64 bytes_used; member
/fs/btrfs/
Dspace-info.c17 return s_info->bytes_used + s_info->bytes_reserved + in btrfs_space_info_used()
115 u64 total_bytes, u64 bytes_used, in btrfs_update_space_info() argument
129 found->bytes_used += bytes_used; in btrfs_update_space_info()
130 found->disk_used += bytes_used * factor; in btrfs_update_space_info()
272 info->total_bytes, info->bytes_used, info->bytes_pinned, in __btrfs_dump_space_info()
675 if ((space_info->bytes_used + space_info->bytes_reserved) >= thresh) in need_do_async_reclaim()
Dspace-info.h11 u64 bytes_used; /* total bytes used, member
114 u64 total_bytes, u64 bytes_used,
Dblock-group.c655 u64 bytes_used; in caching_thread() local
659 bytes_used = block_group->key.offset - in caching_thread()
661 block_group->space_info->bytes_used += bytes_used >> 1; in caching_thread()
761 u64 bytes_used; in btrfs_cache_block_group() local
765 bytes_used = cache->key.offset - in btrfs_cache_block_group()
767 cache->space_info->bytes_used += bytes_used >> 1; in btrfs_cache_block_group()
1900 int btrfs_make_block_group(struct btrfs_trans_handle *trans, u64 bytes_used, in btrfs_make_block_group() argument
1913 btrfs_set_block_group_used(&cache->item, bytes_used); in btrfs_make_block_group()
1936 u64 new_bytes_used = size - bytes_used; in btrfs_make_block_group()
1938 bytes_used += new_bytes_used >> 1; in btrfs_make_block_group()
[all …]
Ddev-replace.c150 dev_replace->tgtdev->bytes_used = in btrfs_init_dev_replace()
151 dev_replace->srcdev->bytes_used; in btrfs_init_dev_replace()
248 device->bytes_used = btrfs_device_get_bytes_used(srcdev); in btrfs_init_dev_replace_tgtdev()
250 device->commit_bytes_used = device->bytes_used; in btrfs_init_dev_replace_tgtdev()
677 btrfs_device_set_bytes_used(tgt_device, src_device->bytes_used); in btrfs_dev_replace_finishing()
678 tgt_device->commit_bytes_used = src_device->bytes_used; in btrfs_dev_replace_finishing()
Dvolumes.h100 u64 bytes_used; member
219 BTRFS_DEVICE_GETSET_FUNCS(bytes_used);
Dblock-group.h205 int btrfs_make_block_group(struct btrfs_trans_handle *trans, u64 bytes_used,
Dctree.h199 __le64 bytes_used; member
236 __le64 bytes_used; member
1417 BTRFS_SETGET_FUNCS(device_bytes_used, struct btrfs_dev_item, bytes_used, 64);
1433 bytes_used, 64);
1955 BTRFS_SETGET_STACK_FUNCS(root_used, struct btrfs_root_item, bytes_used, 64);
2025 bytes_used, 64);
2139 bytes_used, 64);
Dvolumes.c3008 if (device->bytes_used > 0) { in btrfs_remove_chunk()
3011 device->bytes_used - dev_extent_len); in btrfs_remove_chunk()
3181 u64 bytes_used; in btrfs_may_alloc_data_chunk() local
3191 bytes_used = fs_info->data_sinfo->bytes_used; in btrfs_may_alloc_data_chunk()
3194 if (!bytes_used) { in btrfs_may_alloc_data_chunk()
5010 if (device->total_bytes > device->bytes_used) in __btrfs_alloc_chunk()
5011 total_avail = device->total_bytes - device->bytes_used; in __btrfs_alloc_chunk()
5162 btrfs_device_set_bytes_used(dev, dev->bytes_used + stripe_size); in __btrfs_alloc_chunk()
6842 device->bytes_used = btrfs_device_bytes_used(leaf, dev_item); in fill_device_from_item()
6843 device->commit_bytes_used = device->bytes_used; in fill_device_from_item()
[all …]
Dsysfs.c429 SPACE_INFO_ATTR(bytes_used);
442 BTRFS_ATTR_PTR(space_info, bytes_used),
Dsuper.c1956 avail_space = device->total_bytes - device->bytes_used; in btrfs_calc_avail_data_space()
Dioctl.c3204 di_args->bytes_used = btrfs_device_get_bytes_used(dev); in btrfs_ioctl_dev_info()
Dextent-tree.c5571 if (device->total_bytes <= device->bytes_used) in btrfs_trim_free_extents()
/fs/ntfs/
Dlayout.h2135 le64 bytes_used; /* How many bytes of the quota are in use. */ member