Home | History | Annotate | Download | only in block

Lines Matching defs:cluster

114  * Returns the refcount of the cluster given by its index. Any non-negative
115 * return value is the refcount of the cluster, negative values are -errno
186 /* Find the refcount block for the given cluster */
208 * a cluster for the new refcount block. It may also include a new refcount
558 * Increases or decreases the refcount of a given cluster by one.
561 * If the return value is non-negative, it is the new refcount of the cluster.
582 /* cluster allocation functions */
650 /* enough space in current cluster */
702 /* free the cluster */
908 fprintf(stderr, "ERROR: invalid cluster offset=0x%" PRIx64 "\n",
912 fprintf(stderr, "Warning: cluster offset=0x%" PRIx64 " is after "
918 fprintf(stderr, "ERROR: overflow cluster offset=0x%" PRIx64
956 fprintf(stderr, "ERROR: cluster %" PRId64 ": "
963 /* Mark cluster as used */
987 /* Mark cluster as used */
992 /* Correct offsets are cluster aligned */
994 fprintf(stderr, "ERROR offset=%" PRIx64 ": Cluster is not "
1073 /* L2 tables are cluster aligned */
1076 "cluster aligned; L1 entry corrupted\n", l2_offset);
1146 uint64_t offset, cluster;
1148 cluster = offset >> s->cluster_bits;
1150 /* Refcount blocks are cluster aligned */
1153 "cluster aligned; refcount table entry corrupted\n", i);
1158 if (cluster >= nb_clusters) {
1167 if (refcount_table[cluster] != 1) {
1169 i, refcount_table[cluster]);
1179 fprintf(stderr, "Can't get refcount for cluster %d: %s\n",
1187 fprintf(stderr, "%s cluster %d refcount=%d reference=%d\n",