Searched refs:used_bytes (Results 1 – 17 of 17) sorted by relevance
/linux-4.4.14/drivers/mtd/ubi/ |
D | vmt.c | 107 ret = sprintf(buf, "%lld\n", vol->used_bytes); in vol_attribute_show() 256 vol->used_bytes = in ubi_create_volume() 259 vol->used_ebs = div_u64_rem(vol->used_bytes, in ubi_create_volume() 519 vol->used_bytes = in ubi_resize_volume() 738 if (vol->used_bytes != n) { in self_check_volume() 752 if (vol->used_bytes < 0 || vol->used_bytes > n || in self_check_volume() 753 vol->used_bytes < n - vol->usable_leb_size) { in self_check_volume()
|
D | gluebi.c | 338 mtd->size = vi->used_bytes; in gluebi_create() 429 gluebi->mtd.size = vi->used_bytes; in gluebi_updated() 454 gluebi->mtd.size = vi->used_bytes; in gluebi_resized()
|
D | cdev.c | 167 return fixed_size_llseek(file, offset, origin, vol->used_bytes); in vol_cdev_llseek() 205 if (*offp == vol->used_bytes || count == 0) in vol_cdev_read() 211 if (*offp + count > vol->used_bytes) in vol_cdev_read() 212 count_save = count = vol->used_bytes - *offp; in vol_cdev_read() 286 if (*offp + count > vol->used_bytes) in vol_cdev_direct_write() 287 count_save = count = vol->used_bytes - *offp; in vol_cdev_direct_write()
|
D | vtbl.c | 585 vol->used_bytes = in init_volumes() 616 vol->used_bytes = in init_volumes() 618 vol->used_bytes += av->last_data_size; in init_volumes() 635 vol->used_bytes = in init_volumes()
|
D | block.c | 363 u64 disk_capacity = vi->used_bytes >> 9; in ubiblock_create() 513 u64 disk_capacity = vi->used_bytes >> 9; in ubiblock_resize() 538 vi->used_bytes); in ubiblock_resize()
|
D | kapi.c | 86 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
|
D | upd.c | 101 vol->used_bytes = bytes; in clear_update_marker()
|
D | debug.c | 118 pr_err("\tused_bytes %lld\n", vol->used_bytes); in ubi_dump_vol_info()
|
D | ubi.h | 331 long long used_bytes; member
|
/linux-4.4.14/include/linux/ |
D | ata.h | 1001 unsigned i = 0, used_bytes; in ata_set_lba_range_entries() local 1013 used_bytes = ALIGN(i * 8, 512); in ata_set_lba_range_entries() 1014 memset(buffer + i, 0, used_bytes - i * 8); in ata_set_lba_range_entries() 1015 return used_bytes; in ata_set_lba_range_entries()
|
/linux-4.4.14/include/linux/mtd/ |
D | ubi.h | 116 long long used_bytes; member
|
/linux-4.4.14/fs/logfs/ |
D | logfs_abi.h | 466 __be32 used_bytes; member
|
D | journal.c | 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()
|
/linux-4.4.14/fs/btrfs/ |
D | sysfs.c | 260 BTRFS_RAID_ATTR(used_bytes, raid_bytes_show); 284 BTRFS_RAID_ATTR_PTR(used_bytes),
|
D | ioctl.c | 4149 space->used_bytes = 0; in btrfs_get_block_group_info() 4154 space->used_bytes += in btrfs_get_block_group_info() 4278 space.used_bytes = block_rsv->size - block_rsv->reserved; in btrfs_ioctl_space_info()
|
D | disk-io.c | 3577 if (space.total_bytes == 0 || space.used_bytes == 0) in btrfs_calc_num_tolerated_disk_barrier_failures()
|
/linux-4.4.14/include/uapi/linux/ |
D | btrfs.h | 382 __u64 used_bytes; member
|