Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/ubi/
H A Dvmt.c101 ret = sprintf(buf, "%lld\n", vol->used_bytes); in vol_attribute_show()
251 vol->used_bytes = in ubi_create_volume()
254 vol->used_ebs = div_u64_rem(vol->used_bytes, in ubi_create_volume()
516 vol->used_bytes = in ubi_resize_volume()
737 if (vol->used_bytes != n) { in self_check_volume()
751 if (vol->used_bytes < 0 || vol->used_bytes > n || in self_check_volume()
752 vol->used_bytes < n - vol->usable_leb_size) { in self_check_volume()
H A Dvtbl.c582 vol->used_bytes =
613 vol->used_bytes =
615 vol->used_bytes += av->last_data_size;
632 vol->used_bytes =
H A Dkapi.c80 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
H A Dupd.c94 vol->used_bytes = bytes; in clear_update_marker()
H A Ddebug.c108 printf("\tused_bytes %lld\n", vol->used_bytes); in ubi_dump_vol_info()
H A Dubi.h331 long long used_bytes; member
/openbmc/linux/drivers/mtd/ubi/
H A Dvmt.c89 ret = sprintf(buf, "%lld\n", vol->used_bytes); in vol_attribute_show()
246 vol->used_bytes = in ubi_create_volume()
249 vol->used_ebs = div_u64_rem(vol->used_bytes, in ubi_create_volume()
500 vol->used_bytes = in ubi_resize_volume()
721 if (vol->used_bytes != n) { in self_check_volume()
740 if (vol->used_bytes < 0 || vol->used_bytes > n || in self_check_volume()
741 vol->used_bytes < n - vol->usable_leb_size) { in self_check_volume()
H A Dblock.c330 u64 size = vi->used_bytes >> 9; in calc_disk_capacity()
332 if (vi->used_bytes % 512) { in calc_disk_capacity()
335 vi->used_bytes - (size << 9)); in calc_disk_capacity()
338 vi->used_bytes - (size << 9)); in calc_disk_capacity()
528 vi->used_bytes); in ubiblock_resize()
H A Dgluebi.c317 mtd->size = vi->used_bytes; in gluebi_create()
408 gluebi->mtd.size = vi->used_bytes; in gluebi_updated()
433 gluebi->mtd.size = vi->used_bytes; in gluebi_resized()
H A Dcdev.c154 return fixed_size_llseek(file, offset, origin, vol->used_bytes); in vol_cdev_llseek()
192 if (*offp == vol->used_bytes || count == 0) in vol_cdev_read()
198 if (*offp + count > vol->used_bytes) in vol_cdev_read()
199 count_save = count = vol->used_bytes - *offp; in vol_cdev_read()
273 if (*offp + count > vol->used_bytes) in vol_cdev_direct_write()
274 count_save = count = vol->used_bytes - *offp; in vol_cdev_direct_write()
H A Dvtbl.c588 vol->used_bytes = in init_volumes()
619 vol->used_bytes = in init_volumes()
621 vol->used_bytes += av->last_data_size; in init_volumes()
638 vol->used_bytes = in init_volumes()
H A Dkapi.c73 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
H A Dupd.c88 vol->used_bytes = bytes; in clear_update_marker()
H A Ddebug.c106 pr_err("\tused_bytes %lld\n", vol->used_bytes); in ubi_dump_vol_info()
H A Dubi.h354 long long used_bytes; member
/openbmc/u-boot/cmd/
H A Dubi.c334 if (offp == vol->used_bytes) in ubi_volume_read()
338 printf("No size specified -> Using max size (%lld)\n", vol->used_bytes); in ubi_volume_read()
339 size = vol->used_bytes; in ubi_volume_read()
346 if (offp + size > vol->used_bytes) in ubi_volume_read()
347 size = vol->used_bytes - offp; in ubi_volume_read()
/openbmc/linux/include/linux/mtd/
H A Dubi.h103 long long used_bytes; member
/openbmc/u-boot/include/linux/mtd/
H A Dubi.h105 long long used_bytes; member
/openbmc/u-boot/doc/
H A DREADME.ubi100 UBI: used_bytes 1048064
115 UBI: used_bytes 524032
/openbmc/linux/include/uapi/linux/
H A Dbtrfs.h678 __u64 used_bytes; member
/openbmc/linux/fs/btrfs/
H A Dsysfs.c674 BTRFS_ATTR(raid, used_bytes, raid_bytes_show);
703 BTRFS_ATTR_PTR(raid, used_bytes),
H A Dioctl.c3006 space->used_bytes = 0; in get_block_group_info()
3011 space->used_bytes += block_group->used; in get_block_group_info()
3131 space.used_bytes = block_rsv->size - block_rsv->reserved; in btrfs_ioctl_space_info()
/openbmc/qemu/qga/
H A Dcommands-linux.c1075 fs->used_bytes = used * fr_size; in build_guest_fsinfo()
H A Dcommands-win32.c1151 fs->used_bytes = i64TotalBytes - i64FreeBytes; in build_guest_fsinfo()