Searched refs:last_cluster (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/fs/fat/ |
H A D | fat.c | 655 int last_cluster; /* set once we've read last cluster */ member 690 itr->last_cluster = 0; in fat_itr_root() 733 itr->last_cluster = 0; in fat_itr_child() 743 if (itr->last_cluster) in next_cluster() 774 itr->last_cluster = 1; in next_cluster() 780 itr->last_cluster = 1; in next_cluster() 966 itr->last_cluster = 0; in fat_itr_resolve()
|
H A D | fat_write.c | 623 itr->last_cluster = 1; in flush_dir_table()
|
/openbmc/linux/fs/exfat/ |
H A D | fatent.c | 178 unsigned int last_cluster = p_chain->dir + p_chain->size - 1; in __exfat_free_cluster() local 182 if (clu < last_cluster) in __exfat_free_cluster() 187 if (clu == last_cluster || cur_cmap_i != next_cmap_i) { in __exfat_free_cluster()
|
/openbmc/linux/fs/ext4/ |
H A D | fsmap.c | 478 ext4_grpblk_t last_cluster; in ext4_getfsmap_datadev() local 496 ext4_get_group_no_and_offset(sb, end_fsb, &end_ag, &last_cluster); in ext4_getfsmap_datadev() 525 last_cluster); in ext4_getfsmap_datadev() 563 error = ext4_getfsmap_datadev_helper(sb, end_ag, last_cluster, 0, info); in ext4_getfsmap_datadev()
|
H A D | resize.c | 463 ext4_fsblk_t first_cluster, ext4_fsblk_t last_cluster) in set_flexbg_block_bitmap() argument 466 ext4_group_t count = last_cluster - first_cluster + 1; in set_flexbg_block_bitmap() 470 last_cluster); in set_flexbg_block_bitmap()
|
H A D | mballoc.c | 6770 ext4_fsblk_t last_cluster = EXT4_B2C(sbi, block + count - 1); in ext4_group_add_blocks() local 6771 unsigned long cluster_count = last_cluster - first_cluster + 1; in ext4_group_add_blocks() 7068 ext4_grpblk_t cnt = 0, first_cluster, last_cluster; in ext4_trim_fs() local 7102 &last_group, &last_cluster); in ext4_trim_fs() 7127 end = last_cluster; in ext4_trim_fs()
|
/openbmc/qemu/block/ |
H A D | qcow2.c | 4344 int64_t last_cluster, old_file_size; in qcow2_co_truncate() local 4382 last_cluster = qcow2_get_last_cluster(bs, old_file_size); in qcow2_co_truncate() 4383 if (last_cluster < 0) { in qcow2_co_truncate() 4384 error_setg_errno(errp, -last_cluster, in qcow2_co_truncate() 4386 ret = last_cluster; in qcow2_co_truncate() 4389 if ((last_cluster + 1) * s->cluster_size < old_file_size) { in qcow2_co_truncate() 4399 bdrv_co_truncate(bs->file, (last_cluster + 1) * s->cluster_size, in qcow2_co_truncate() 4454 int64_t old_file_size, last_cluster, new_file_size; in qcow2_co_truncate() local 4476 last_cluster = qcow2_get_last_cluster(bs, old_file_size); in qcow2_co_truncate() 4477 if (last_cluster >= 0) { in qcow2_co_truncate() [all …]
|
H A D | vvfat.c | 2983 int first_cluster, last_cluster; in vvfat_write() local 3031 last_cluster = sector2cluster(s, sector_num + nb_sectors - 1); in vvfat_write() 3033 for (i = first_cluster; i <= last_cluster;) { in vvfat_write() 3095 for (i = first_cluster; i <= last_cluster; i++) { in vvfat_write()
|