Searched refs:used_bytes (Results 1 – 14 of 14) sorted by relevance
111 ret = sprintf(buf, "%lld\n", vol->used_bytes); in vol_attribute_show()303 vol->used_bytes = in ubi_create_volume()306 vol->used_ebs = div_u64_rem(vol->used_bytes, in ubi_create_volume()586 vol->used_bytes = in ubi_resize_volume()814 if (vol->used_bytes != n) { in paranoid_check_volume()828 if (vol->used_bytes < 0 || vol->used_bytes > n || in paranoid_check_volume()829 vol->used_bytes < n - vol->usable_leb_size) { in paranoid_check_volume()
174 new_offset = vol->used_bytes + offset; in vol_cdev_llseek()180 if (new_offset < 0 || new_offset > vol->used_bytes) { in vol_cdev_llseek()226 if (*offp == vol->used_bytes || count == 0) in vol_cdev_read()232 if (*offp + count > vol->used_bytes) in vol_cdev_read()233 count_save = count = vol->used_bytes - *offp; in vol_cdev_read()307 if (*offp + count > vol->used_bytes) in vol_cdev_direct_write()308 count_save = count = vol->used_bytes - *offp; in vol_cdev_direct_write()
357 mtd->size = vi->used_bytes; in gluebi_create()450 gluebi->mtd.size = vi->used_bytes; in gluebi_updated()475 gluebi->mtd.size = vi->used_bytes; in gluebi_resized()
592 vol->used_bytes = in init_volumes()623 vol->used_bytes = in init_volumes()625 vol->used_bytes += sv->last_data_size; in init_volumes()642 vol->used_bytes = in init_volumes()
86 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
103 vol->used_bytes = bytes; in clear_update_marker()
265 long long used_bytes; member
99 printk(KERN_DEBUG "\tused_bytes %lld\n", vol->used_bytes); in ubi_dbg_dump_vol_info()
1029 unsigned i = 0, used_bytes; in ata_set_lba_range_entries() local1041 used_bytes = ALIGN(i * 8, 512); in ata_set_lba_range_entries()1042 memset(buffer + i, 0, used_bytes - i * 8); in ata_set_lba_range_entries()1043 return used_bytes; in ata_set_lba_range_entries()
103 long long used_bytes; member
236 __u64 used_bytes; member
2702 space->used_bytes = 0; in get_block_group_info()2707 space->used_bytes += in get_block_group_info()
466 __be32 used_bytes; member
127 area->a_used_bytes = be32_to_cpu(a->used_bytes); in read_area()583 a->used_bytes = cpu_to_be32(area->a_used_bytes); in logfs_write_area()