Home
last modified time | relevance | path

Searched refs:used_bytes (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/mtd/ubi/
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()
556 * size (i.e. used_bytes) was also changed. in ubiblock_notify()
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()
722 ubi_err(ubi, "bad used_bytes"); 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()
742 ubi_err(ubi, "bad used_bytes"); in self_check_volume()
[all...]
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.h299 * @used_bytes: how many bytes of data this volume contains
354 long long used_bytes; member
/kernel/linux/linux-5.10/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()
505 vol->used_bytes = in ubi_resize_volume()
730 if (vol->used_bytes != n) { in self_check_volume()
731 ubi_err(ubi, "bad used_bytes"); in self_check_volume()
749 if (vol->used_bytes < 0 || vol->used_bytes > n || in self_check_volume()
750 vol->used_bytes < n - vol->usable_leb_size) { in self_check_volume()
751 ubi_err(ubi, "bad used_bytes"); in self_check_volume()
[all...]
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 Dblock.c350 u64 size = vi->used_bytes >> 9; in calc_disk_capacity()
352 if (vi->used_bytes % 512) { in calc_disk_capacity()
355 vi->used_bytes - (size << 9)); in calc_disk_capacity()
562 vi->used_bytes); in ubiblock_resize()
590 * size (i.e. used_bytes) was also changed. in ubiblock_notify()
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.h299 * @used_bytes: how many bytes of data this volume contains
354 long long used_bytes; member
/kernel/linux/linux-5.10/include/linux/mtd/
H A Dubi.h46 * @used_bytes: how many bytes of data this volume contains
79 * The @used_bytes and @used_ebs fields are only really needed for static
82 * @used_bytes field is equivalent to @size*@usable_leb_size, and the @used_ebs
103 long long used_bytes; member
/kernel/linux/linux-6.6/include/linux/mtd/
H A Dubi.h46 * @used_bytes: how many bytes of data this volume contains
79 * The @used_bytes and @used_ebs fields are only really needed for static
82 * @used_bytes field is equivalent to @size*@usable_leb_size, and the @used_ebs
103 long long used_bytes; member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dbtrfs.h642 __u64 used_bytes; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dbtrfs.h340 __u64 used_bytes; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dbtrfs.h340 __u64 used_bytes; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dbtrfs.h347 __u64 used_bytes; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dbtrfs.h678 __u64 used_bytes; member

Completed in 29 milliseconds

12