Home
last modified time | relevance | path

Searched refs:clusters_to_add (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/fs/ocfs2/
Dfile.c533 u32 clusters_to_add, in ocfs2_add_inode_data() argument
546 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data()
553 u32 clusters_to_add, int mark_unwritten) in ocfs2_extend_allocation() argument
586 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in ocfs2_extend_allocation()
606 le32_to_cpu(fe->i_clusters), clusters_to_add, in ocfs2_extend_allocation()
610 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
630 clusters_to_add, in ocfs2_extend_allocation()
646 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in ocfs2_extend_allocation()
650 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
653 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_extend_allocation()
[all …]
Dfile.h33 u32 clusters_to_add,
Dsuballoc.h200 u32 clusters_to_add, u32 extents_to_split,
Dalloc.h99 u32 clusters_to_add,
Dsuballoc.c2625 u32 clusters_to_add, u32 extents_to_split, in ocfs2_lock_allocators() argument
2630 unsigned int max_recs_needed = clusters_to_add + 2 * extents_to_split; in ocfs2_lock_allocators()
2637 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators()
2669 if (clusters_to_add == 0) in ocfs2_lock_allocators()
2672 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()
Docfs2_trace.h1328 unsigned int clusters, unsigned int clusters_to_add,
1330 TP_ARGS(ip_blkno, size, clusters, clusters_to_add, why, restart_func),
1335 __field(unsigned int, clusters_to_add)
1343 __entry->clusters_to_add = clusters_to_add;
1349 __entry->clusters_to_add, __entry->why, __entry->restart_func)
Dxattr.c702 u32 clusters_to_add, in ocfs2_xattr_extend_allocation() argument
714 while (clusters_to_add) { in ocfs2_xattr_extend_allocation()
715 trace_ocfs2_xattr_extend_allocation(clusters_to_add); in ocfs2_xattr_extend_allocation()
728 clusters_to_add, in ocfs2_xattr_extend_allocation()
741 clusters_to_add -= le32_to_cpu(vb->vb_xv->xr_clusters) - in ocfs2_xattr_extend_allocation()
744 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_xattr_extend_allocation()
5107 u32 clusters_to_add = 1, bit_off, num_bits, v_start = 0; in ocfs2_add_new_xattr_cluster() local
5128 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_new_xattr_cluster()
5135 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_new_xattr_cluster()
Dalloc.c4775 u32 clusters_to_add, in ocfs2_add_clusters_in_btree() argument
4791 BUG_ON(!clusters_to_add); in ocfs2_add_clusters_in_btree()
4823 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree()
4830 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_clusters_in_btree()
4855 clusters_to_add -= num_bits; in ocfs2_add_clusters_in_btree()
4858 if (clusters_to_add) { in ocfs2_add_clusters_in_btree()
4859 err = clusters_to_add; in ocfs2_add_clusters_in_btree()