Home
last modified time | relevance | path

Searched refs:used_bytes (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/mtd/ubi/
Dvmt.c107 ret = sprintf(buf, "%lld\n", vol->used_bytes); in vol_attribute_show()
265 vol->used_bytes = in ubi_create_volume()
268 vol->used_ebs = div_u64_rem(vol->used_bytes, in ubi_create_volume()
520 vol->used_bytes = in ubi_resize_volume()
739 if (vol->used_bytes != n) { in self_check_volume()
758 if (vol->used_bytes < 0 || vol->used_bytes > n || in self_check_volume()
759 vol->used_bytes < n - vol->usable_leb_size) { in self_check_volume()
Dgluebi.c330 mtd->size = vi->used_bytes; in gluebi_create()
421 gluebi->mtd.size = vi->used_bytes; in gluebi_updated()
446 gluebi->mtd.size = vi->used_bytes; in gluebi_resized()
Dcdev.c167 return fixed_size_llseek(file, offset, origin, vol->used_bytes); in vol_cdev_llseek()
205 if (*offp == vol->used_bytes || count == 0) in vol_cdev_read()
211 if (*offp + count > vol->used_bytes) in vol_cdev_read()
212 count_save = count = vol->used_bytes - *offp; in vol_cdev_read()
286 if (*offp + count > vol->used_bytes) in vol_cdev_direct_write()
287 count_save = count = vol->used_bytes - *offp; in vol_cdev_direct_write()
Dvtbl.c601 vol->used_bytes = in init_volumes()
632 vol->used_bytes = in init_volumes()
634 vol->used_bytes += av->last_data_size; in init_volumes()
651 vol->used_bytes = in init_volumes()
Dblock.c360 u64 disk_capacity = vi->used_bytes >> 9; in ubiblock_create()
518 u64 disk_capacity = vi->used_bytes >> 9; in ubiblock_resize()
543 vi->used_bytes); in ubiblock_resize()
Dkapi.c86 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
Dupd.c101 vol->used_bytes = bytes; in clear_update_marker()
Ddebug.c119 pr_err("\tused_bytes %lld\n", vol->used_bytes); in ubi_dump_vol_info()
Dubi.h367 long long used_bytes; member
/Linux-v4.19/include/linux/mtd/
Dubi.h116 long long used_bytes; member
/Linux-v4.19/fs/btrfs/
Dsysfs.c282 BTRFS_ATTR(raid, used_bytes, raid_bytes_show);
306 BTRFS_ATTR_PTR(raid, used_bytes),
Dioctl.c4445 space->used_bytes = 0; in get_block_group_info()
4450 space->used_bytes += in get_block_group_info()
4577 space.used_bytes = block_rsv->size - block_rsv->reserved; in btrfs_ioctl_space_info()
/Linux-v4.19/include/uapi/linux/
Dbtrfs.h600 __u64 used_bytes; member