Home
last modified time | relevance | path

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

/linux-6.14.4/fs/ocfs2/
Dfile.c539 u32 clusters_to_add, in ocfs2_add_inode_data() argument
551 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data()
556 u32 clusters_to_add, int mark_unwritten) in ocfs2_extend_allocation() argument
589 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in ocfs2_extend_allocation()
609 le32_to_cpu(fe->i_clusters), clusters_to_add, in ocfs2_extend_allocation()
613 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
633 clusters_to_add, in ocfs2_extend_allocation()
649 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in ocfs2_extend_allocation()
653 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
656 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_extend_allocation()
[all …]
Dfile.h32 u32 clusters_to_add,
Dsuballoc.h202 u32 clusters_to_add, u32 extents_to_split,
Dalloc.h97 u32 clusters_to_add,
Docfs2_trace.h1326 unsigned int clusters, unsigned int clusters_to_add,
1328 TP_ARGS(ip_blkno, size, clusters, clusters_to_add, why, restart_func),
1333 __field(unsigned int, clusters_to_add)
1341 __entry->clusters_to_add = clusters_to_add;
1347 __entry->clusters_to_add, __entry->why, __entry->restart_func)
Dsuballoc.c2699 u32 clusters_to_add, u32 extents_to_split, in ocfs2_lock_allocators() argument
2704 unsigned int max_recs_needed = clusters_to_add + 2 * extents_to_split; in ocfs2_lock_allocators()
2711 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators()
2743 if (clusters_to_add == 0) in ocfs2_lock_allocators()
2746 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()
Dxattr.c696 u32 clusters_to_add, in ocfs2_xattr_extend_allocation() argument
708 while (clusters_to_add) { in ocfs2_xattr_extend_allocation()
709 trace_ocfs2_xattr_extend_allocation(clusters_to_add); in ocfs2_xattr_extend_allocation()
722 clusters_to_add, in ocfs2_xattr_extend_allocation()
735 clusters_to_add -= le32_to_cpu(vb->vb_xv->xr_clusters) - in ocfs2_xattr_extend_allocation()
738 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_xattr_extend_allocation()
5100 u32 clusters_to_add = 1, bit_off, num_bits, v_start = 0; in ocfs2_add_new_xattr_cluster() local
5121 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_new_xattr_cluster()
5128 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_new_xattr_cluster()
Dalloc.c4787 u32 clusters_to_add, in ocfs2_add_clusters_in_btree() argument
4803 BUG_ON(!clusters_to_add); in ocfs2_add_clusters_in_btree()
4835 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree()
4842 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_clusters_in_btree()
4867 clusters_to_add -= num_bits; in ocfs2_add_clusters_in_btree()
4870 if (clusters_to_add) { in ocfs2_add_clusters_in_btree()
4871 err = clusters_to_add; in ocfs2_add_clusters_in_btree()