Lines Matching refs:round_up
256 count = clu + round_up(length, ui->cluster_size) / ui->cluster_size; in write_fat_entries()
317 bitmap = calloc(round_up(finfo.bitmap_byte_len, sizeof(bitmap_t)), in exfat_create_bitmap()
413 bitmap_clu_len = round_up(bitmap_byte_len, ui->cluster_size), in exfat_pack_bitmap()
423 bitmap_byte_len = round_up(total_clu_cnt, 8) / 8; in exfat_pack_bitmap()
424 new_bitmap_clu_len = round_up(bitmap_byte_len, ui->cluster_size); in exfat_pack_bitmap()
452 finfo.fat_byte_off = round_up(bd->offset + 24 * bd->sector_size, in exfat_build_mkfs_info()
459 finfo.fat_byte_len = round_up((bd->num_clusters * 4), ui->cluster_size); in exfat_build_mkfs_info()
460 finfo.clu_byte_off = round_up(bd->offset + finfo.fat_byte_off + in exfat_build_mkfs_info()
474 finfo.bitmap_byte_len = round_up(finfo.total_clu_cnt, 8) / 8; in exfat_build_mkfs_info()
477 clu_len = round_up(finfo.bitmap_byte_len, ui->cluster_size); in exfat_build_mkfs_info()
482 clu_len = round_up(finfo.ut_byte_len, ui->cluster_size); in exfat_build_mkfs_info()