Home
last modified time | relevance | path

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

/drivers/mtd/ubi/
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()
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()
Dblock.c354 u64 size = vi->used_bytes >> 9; in calc_disk_capacity()
356 if (vi->used_bytes % 512) { in calc_disk_capacity()
359 vi->used_bytes - (size << 9)); in calc_disk_capacity()
563 vi->used_bytes); in ubiblock_resize()
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()
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()
Dkapi.c73 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
Dupd.c88 vol->used_bytes = bytes; in clear_update_marker()
Ddebug.c106 pr_err("\tused_bytes %lld\n", vol->used_bytes); in ubi_dump_vol_info()
Dubi.h354 long long used_bytes; member