Home
last modified time | relevance | path

Searched refs:used_clusters (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/block/
H A Dqed-check.c24 uint32_t *used_clusters; /* referenced cluster bitmap */ member
52 if (qed_test_bit(check->used_clusters, cluster)) { in qed_set_used_clusters()
56 qed_set_bit(check->used_clusters, cluster); in qed_set_used_clusters()
194 if (!qed_test_bit(check->used_clusters, i)) { in qed_check_for_leaks()
235 check.used_clusters = g_try_new0(uint32_t, (check.nclusters + 31) / 32); in qed_check()
236 if (check.nclusters && check.used_clusters == NULL) { in qed_check()
252 g_free(check.used_clusters); in qed_check()
H A Dvvfat.c333 char* used_clusters; member
1292 g_free(s->used_clusters); in vvfat_open()
1293 s->used_clusters = NULL; in vvfat_open()
1992 if (s->used_clusters[cluster_num] & USED_ANY) in get_cluster_count_for_direntry()
1994 s->used_clusters[cluster_num] = USED_FILE; in get_cluster_count_for_direntry()
2051 if (s->used_clusters[cluster_num] & USED_ANY) { in check_directory_consistency()
2055 s->used_clusters[cluster_num] = USED_DIRECTORY; in check_directory_consistency()
2170 assert (s->used_clusters); in is_consistent()
2172 s->used_clusters[i] &= ~USED_ANY; in is_consistent()
2194 if(!s->used_clusters[i]) { in is_consistent()
[all …]
/openbmc/linux/fs/exfat/
H A Dfatent.c229 exfat_count_used_clusters(sb, &sbi->used_clusters); in __exfat_free_cluster()
236 sbi->used_clusters -= num_clusters; in __exfat_free_cluster()
330 if (unlikely(total_cnt < sbi->used_clusters)) { in exfat_alloc_cluster()
333 __func__, total_cnt, sbi->used_clusters); in exfat_alloc_cluster()
337 if (num_alloc > total_cnt - sbi->used_clusters) in exfat_alloc_cluster()
409 sbi->used_clusters += num_alloc; in exfat_alloc_cluster()
H A Dsuper.c70 if (sbi->used_clusters == EXFAT_CLUSTERS_UNTRACKED) { in exfat_statfs()
72 if (exfat_count_used_clusters(sb, &sbi->used_clusters)) { in exfat_statfs()
82 buf->f_bfree = buf->f_blocks - sbi->used_clusters; in exfat_statfs()
493 sbi->used_clusters = EXFAT_CLUSTERS_UNTRACKED; in exfat_read_boot_sector()
599 ret = exfat_count_used_clusters(sb, &sbi->used_clusters); in __exfat_fill_super()
H A Dexfat_fs.h266 unsigned int used_clusters; /* number of used clusters */ member