Searched refs:used_bytes (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/drivers/mtd/ubi/ |
D | vmt.c | 89 ret = sprintf(buf, "%lld\n", vol->used_bytes); in vol_attribute_show() 272 vol->used_bytes = in ubi_create_volume() 275 vol->used_ebs = div_u64_rem(vol->used_bytes, in ubi_create_volume() 544 vol->used_bytes = in ubi_resize_volume() 770 if (vol->used_bytes != n) { in self_check_volume() 789 if (vol->used_bytes < 0 || vol->used_bytes > n || in self_check_volume() 790 vol->used_bytes < n - vol->usable_leb_size) { in self_check_volume()
|
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() 533 vi->used_bytes); in ubiblock_resize()
|
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()
|
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()
|
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()
|
D | kapi.c | 73 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
|
D | upd.c | 88 vol->used_bytes = bytes; in clear_update_marker()
|
D | debug.c | 136 pr_err("\tused_bytes %lld\n", vol->used_bytes); in ubi_dump_vol_info()
|
D | ubi.h | 347 long long used_bytes; member
|
/linux-6.12.1/include/linux/mtd/ |
D | ubi.h | 103 long long used_bytes; member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
D | mlx5hws_definer.c | 148 u8 used_bytes; member 1743 ctrl->allowed_bytes == ctrl->used_bytes) in hws_definer_best_hl_fit_recu() 1778 if (bytes_set + ctrl->used_bytes > ctrl->allowed_bytes) in hws_definer_best_hl_fit_recu() 1785 byte_idx = ctrl->allowed_bytes - ctrl->used_bytes - 1; in hws_definer_best_hl_fit_recu() 1787 ctrl->used_bytes++; in hws_definer_best_hl_fit_recu() 1796 ctrl->used_bytes--; in hws_definer_best_hl_fit_recu() 1797 byte_idx = ctrl->allowed_bytes - ctrl->used_bytes - 1; in hws_definer_best_hl_fit_recu()
|
/linux-6.12.1/include/uapi/linux/ |
D | btrfs.h | 681 __u64 used_bytes; member
|
/linux-6.12.1/fs/btrfs/ |
D | sysfs.c | 689 BTRFS_ATTR(raid, used_bytes, raid_bytes_show); 718 BTRFS_ATTR_PTR(raid, used_bytes),
|
D | ioctl.c | 3032 space->used_bytes = 0; in get_block_group_info() 3037 space->used_bytes += block_group->used; in get_block_group_info() 3157 space.used_bytes = block_rsv->size - block_rsv->reserved; in btrfs_ioctl_space_info()
|