Searched refs:clusters (Results 1 - 12 of 12) sorted by relevance

/fs/ocfs2/
H A Docfs2.h427 * How many clusters in our truncate log.
691 u32 clusters)
696 return (u64)clusters << c_to_b_bits;
712 unsigned int clusters; local
715 /* OCFS2 just cannot have enough clusters to overflow this */
716 clusters = (unsigned int)(bytes >> cl_bits);
718 return clusters;
729 u32 clusters)
731 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits;
738 unsigned int clusters; local
690 ocfs2_clusters_to_blocks(struct super_block *sb, u32 clusters) argument
728 ocfs2_clusters_to_bytes(struct super_block *sb, u32 clusters) argument
748 unsigned int clusters; local
771 u32 clusters = pg_index; local
785 ocfs2_align_clusters_to_page_index(struct super_block *sb, u32 clusters) argument
819 ocfs2_clusters_to_megabytes(struct super_block *sb, unsigned int clusters) argument
[all...]
H A Dresize.c177 static int update_backups(struct inode * inode, u32 clusters, char *data) argument
190 if (cluster > clusters)
220 u32 clusters = 0; local
238 clusters = le32_to_cpu(super_di->i_clusters);
247 ret = update_backups(inode, clusters, super_bh->b_data);
260 * Extend the filesystem to the new number of clusters specified. This entry
396 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc)
398 "input has %u clusters set\n",
400 le16_to_cpu(gd->bg_bits), input->clusters);
433 else if (total_clusters + input->clusters < total_cluster
[all...]
H A Docfs2_trace.h504 unsigned int e_cpos, unsigned int clusters),
505 TP_ARGS(owner, cpos, len, index, e_cpos, clusters),
512 __field(unsigned int, clusters)
520 __entry->clusters = clusters;
524 __entry->e_cpos, __entry->clusters)
529 unsigned int clusters, unsigned int depth),
530 TP_ARGS(ino, new_cpos, clusters, depth),
534 __field(unsigned int, clusters)
540 __entry->clusters
[all...]
H A Drefcounttree.h52 u32 clusters,
H A Dfile.c1041 * Call this even if we don't add any clusters to the tree. We
1364 u32 cpos, clusters, extent_len, phys_cpos; local
1368 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos;
1370 while (clusters) {
1383 if (extent_len > clusters)
1384 extent_len = clusters;
1386 clusters -= extent_len;
1419 u32 cpos, phys_cpos, clusters, alloc_size; local
1448 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len);
1449 clusters
2030 u32 cpos, clusters, extent_len, phys_cpos; local
2082 u32 clusters = local
[all...]
H A Docfs2_ioctl.h60 __u32 clusters; /* Total number of clusters in this group */ member in struct:ocfs2_new_group_input
61 __u32 frees; /* Total free clusters in this group */
168 __u32 ffs_min; /* Minimum free chunksize in clusters */
173 __u32 iff_chunksize; /* chunksize in clusters(in) */
228 claim new clusters
H A Dalloc.c90 * clusters are stored in this extent tree. This function updates
106 * map to clusters,
109 u32 clusters);
158 u32 clusters);
162 u32 clusters);
196 u32 clusters)
201 le32_add_cpu(&di->i_clusters, clusters);
216 u32 clusters)
220 ocfs2_extent_map_trunc(inode, clusters);
233 "cpos %u, clusters
195 ocfs2_dinode_update_clusters(struct ocfs2_extent_tree *et, u32 clusters) argument
215 ocfs2_dinode_extent_map_truncate(struct ocfs2_extent_tree *et, u32 clusters) argument
281 ocfs2_xattr_value_update_clusters(struct ocfs2_extent_tree *et, u32 clusters) argument
327 ocfs2_xattr_tree_update_clusters(struct ocfs2_extent_tree *et, u32 clusters) argument
358 ocfs2_dx_root_update_clusters(struct ocfs2_extent_tree *et, u32 clusters) argument
412 ocfs2_refcount_tree_update_clusters(struct ocfs2_extent_tree *et, u32 clusters) argument
509 ocfs2_et_update_clusters(struct ocfs2_extent_tree *et, u32 clusters) argument
522 ocfs2_et_extent_map_truncate(struct ocfs2_extent_tree *et, u32 clusters) argument
778 u32 rec_end, rec_start, clusters; local
6178 unsigned int clusters, num_recs, start_cluster; local
[all...]
H A Drefcounttree.c1864 * If we just need to split the header or tail clusters,
2343 * Mark the already-existing extent at cpos as refcounted for len clusters.
2382 * Given some contiguous physical clusters, calculate what we need
2389 u32 clusters,
2400 while (clusters) {
2402 cpos, clusters, &rec,
2434 recs_add, (unsigned long long)cpos, clusters,
2439 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) +
2468 if (cpos + clusters < le64_to_cpu(rec.r_cpos) +
2476 clusters
2385 ocfs2_calc_refcount_meta_credits(struct super_block *sb, struct ocfs2_caching_info *ci, struct buffer_head *ref_root_bh, u64 start_cpos, u32 clusters, int *meta_add, int *credits) argument
2538 ocfs2_prepare_refcount_change_for_del(struct inode *inode, u64 refcount_loc, u64 phys_blkno, u32 clusters, int *credits, int *ref_blocks) argument
3566 u32 cpos = 0, clusters = le32_to_cpu(xv->xr_clusters); local
3824 u32 cpos, num_clusters, clusters, p_cluster; local
4019 u32 p_cluster, num_clusters, clusters, cpos; local
[all...]
H A Dsuballoc.c354 u64 p_blkno, unsigned int clusters)
366 rec->e_leaf_clusters = cpu_to_le16(clusters);
367 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc));
369 clusters * le16_to_cpu(cl->cl_bpc));
528 u32 p_cpos, clusters; local
547 &clusters);
555 clusters);
557 min_bits = clusters;
600 /* Try all the clusters to free */
1503 * to trust any clusters pas
351 ocfs2_bg_discontig_add_extent(struct ocfs2_super *osb, struct ocfs2_group_desc *bg, struct ocfs2_chain_list *cl, u64 p_blkno, unsigned int clusters) argument
[all...]
H A Dxattr.c619 /* reserve clusters for xattr value which will be set in B tree*/
690 * reserve credits and clusters for xattrs which has large value
759 * up enough clusters.
1096 u32 cpos, p_cluster, num_clusters, bpc, clusters; local
1104 clusters = le32_to_cpu(xv->xr_clusters);
1109 while (cpos < clusters) {
1342 u32 clusters = ocfs2_clusters_for_bytes(inode->i_sb, value_len); local
1348 BUG_ON(clusters > le32_to_cpu(xv->xr_clusters));
1350 while (cpos < clusters) {
1955 * clusters
3955 ocfs2_iterate_xattr_buckets(struct inode *inode, u64 blkno, u32 clusters, xattr_bucket_func *func, void *para) argument
5894 u32 clusters = le32_to_cpu(xv->xr_clusters); local
6351 u32 clusters, cpos, p_cluster, num_clusters; local
6829 ocfs2_reflink_xattr_bucket(handle_t *handle, u64 blkno, u64 new_blkno, u32 clusters, u32 *cpos, int num_buckets, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac, struct ocfs2_reflink_xattr_tree_args *args) argument
[all...]
/fs/ntfs/
H A Dlcnalloc.c37 * ntfs_cluster_free_from_rl_nolock - free clusters from runlist
38 * @vol: mounted ntfs volume on which to free the clusters
39 * @rl: runlist describing the clusters to free
41 * Free all the clusters described by the runlist @rl on the volume @vol. In
42 * the case of an error being returned, at least some of the clusters were not
73 * ntfs_cluster_alloc - allocate clusters on an ntfs volume
74 * @vol: mounted ntfs volume on which to allocate the clusters
76 * @count: number of clusters to allocate
77 * @start_lcn: starting lcn at which to allocate the clusters (or -1 if none)
78 * @zone: zone from which to allocate the clusters
153 s64 clusters; local
[all...]
/fs/ext4/
H A Dsuper.c3241 * clusters/bigalloc. This is because multiple metadata blocks from
3367 * By default we reserve 2% or 4096 clusters, whichever is smaller.
3386 ext4_fsblk_t clusters = ext4_blocks_count(sbi->s_es) >> local
3389 if (count >= clusters)
3781 "#clusters per group too big: %lu",
3788 "clusters per group (%lu) inconsistent",
4104 ext4_msg(sb, KERN_ERR, "failed to reserve %llu clusters for "

Completed in 154 milliseconds