• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ocfs2/

Lines Matching defs:clusters

1846 	 * If we just need to split the header or tail clusters,
2325 * Mark the already-existing extent at cpos as refcounted for len clusters.
2364 * Given some contiguous physical clusters, calculate what we need
2371 u32 clusters,
2382 mlog(0, "start_cpos %llu, clusters %u\n",
2383 (unsigned long long)start_cpos, clusters);
2384 while (clusters) {
2386 cpos, clusters, &rec,
2417 mlog(0, "recs_add %d,cpos %llu, clusters %u, rec->r_cpos %llu,"
2419 recs_add, (unsigned long long)cpos, clusters,
2424 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) +
2453 if (cpos + clusters < le64_to_cpu(rec.r_cpos) +
2461 clusters -= len;
2510 * For refcount tree, we will decrease some contiguous clusters
2524 u32 clusters,
2561 start_cpos, clusters,
2623 * Calculate out the start and number of virtual clusters we need to to CoW.
2712 * How many clusters do we actually need from
2739 * how many clusters to grab. We align
2806 * clusters, continue with the next extent block if possible.
2835 * clusters(starting form p_cluster) in the refcount tree.
2840 * 2. In some case, we may not need to reserve new clusters(e.g, reflink), so
2876 mlog(0, "reserve new metadata %d, clusters %u, credits = %d\n",
3123 /*If the old clusters is unwritten, no need to duplicate. */
3257 * 2. If refcount > 1, allocate clusters.
3401 * Starting at cpos, try to CoW write_len clusters. Don't CoW
3478 * CoW any and all clusters between cpos and cpos+write_len.
3480 * clusters between cpos and cpos+write_len are safe to modify.
3542 u32 cpos = 0, clusters = le32_to_cpu(xv->xr_clusters);
3547 while (cpos < clusters) {
3573 * We really don't know whether the other clusters is in
3575 * case that all the clusters are in this block and each
3577 * clusters * 2 new refcount rec.
3579 if (le64_to_cpu(rb->rf_records.rl_used) + clusters * 2 >
3802 u32 cpos, num_clusters, clusters, p_cluster;
3831 clusters = ocfs2_clusters_for_bytes(inode->i_sb, size);
3834 while (cpos < clusters) {
3994 u32 p_cluster, num_clusters, clusters, cpos;
4002 clusters = ocfs2_clusters_for_bytes(s_inode->i_sb, size);
4005 while (cpos < clusters) {