/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | block.c | 330 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 D | vmt.c | 89 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 D | gluebi.c | 317 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 D | cdev.c | 154 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 D | vtbl.c | 588 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 D | kapi.c | 73 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
|
H A D | upd.c | 88 vol->used_bytes = bytes; in clear_update_marker()
|
H A D | debug.c | 106 pr_err("\tused_bytes %lld\n", vol->used_bytes); in ubi_dump_vol_info()
|
H A D | ubi.h | 299 * @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 D | vmt.c | 89 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 D | gluebi.c | 317 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 D | block.c | 350 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 D | cdev.c | 154 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 D | vtbl.c | 588 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 D | kapi.c | 73 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
|
H A D | upd.c | 88 vol->used_bytes = bytes; in clear_update_marker()
|
H A D | debug.c | 106 pr_err("\tused_bytes %lld\n", vol->used_bytes); in ubi_dump_vol_info()
|
H A D | ubi.h | 299 * @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 D | ubi.h | 46 * @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 D | ubi.h | 46 * @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 D | btrfs.h | 642 __u64 used_bytes; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | btrfs.h | 340 __u64 used_bytes; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | btrfs.h | 340 __u64 used_bytes; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | btrfs.h | 347 __u64 used_bytes; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | btrfs.h | 678 __u64 used_bytes; member
|