Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ocfs2/
Dfile.h47 u32 clusters_to_add,
69 u32 clusters_to_add, int mark_unwritten);
Dfile.c545 u32 clusters_to_add, in ocfs2_add_inode_data() argument
558 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data()
565 u32 clusters_to_add, int mark_unwritten) in __ocfs2_extend_allocation() argument
598 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in __ocfs2_extend_allocation()
618 le32_to_cpu(fe->i_clusters), clusters_to_add, in __ocfs2_extend_allocation()
622 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in __ocfs2_extend_allocation()
642 clusters_to_add, in __ocfs2_extend_allocation()
658 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in __ocfs2_extend_allocation()
662 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in __ocfs2_extend_allocation()
665 if (why != RESTART_NONE && clusters_to_add) { in __ocfs2_extend_allocation()
[all …]
Dsuballoc.h214 u32 clusters_to_add, u32 extents_to_split,
Dalloc.h112 u32 clusters_to_add,
Daops.c717 u32 p_cpos = 0, clusters_to_add; in ocfs2_direct_IO_extend_no_holes() local
735 clusters_to_add = ocfs2_bytes_to_clusters(inode->i_sb, offset) - in ocfs2_direct_IO_extend_no_holes()
738 if (clusters_to_add) in ocfs2_direct_IO_extend_no_holes()
744 if (clusters_to_add > 1) { in ocfs2_direct_IO_extend_no_holes()
747 clusters_to_add - 1, 0); in ocfs2_direct_IO_extend_no_holes()
Docfs2_trace.h1327 unsigned int clusters, unsigned int clusters_to_add,
1329 TP_ARGS(ip_blkno, size, clusters, clusters_to_add, why, restart_func),
1334 __field(unsigned int, clusters_to_add)
1342 __entry->clusters_to_add = clusters_to_add;
1348 __entry->clusters_to_add, __entry->why, __entry->restart_func)
Dsuballoc.c2661 u32 clusters_to_add, u32 extents_to_split, in ocfs2_lock_allocators() argument
2666 unsigned int max_recs_needed = clusters_to_add + 2 * extents_to_split; in ocfs2_lock_allocators()
2673 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators()
2705 if (clusters_to_add == 0) in ocfs2_lock_allocators()
2708 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()
Dxattr.c708 u32 clusters_to_add, in ocfs2_xattr_extend_allocation() argument
720 while (clusters_to_add) { in ocfs2_xattr_extend_allocation()
721 trace_ocfs2_xattr_extend_allocation(clusters_to_add); in ocfs2_xattr_extend_allocation()
734 clusters_to_add, in ocfs2_xattr_extend_allocation()
747 clusters_to_add -= le32_to_cpu(vb->vb_xv->xr_clusters) - in ocfs2_xattr_extend_allocation()
750 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_xattr_extend_allocation()
5093 u32 clusters_to_add = 1, bit_off, num_bits, v_start = 0; in ocfs2_add_new_xattr_cluster() local
5114 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_new_xattr_cluster()
5121 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_new_xattr_cluster()
Dalloc.c4754 u32 clusters_to_add, in ocfs2_add_clusters_in_btree() argument
4770 BUG_ON(!clusters_to_add); in ocfs2_add_clusters_in_btree()
4802 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree()
4809 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_clusters_in_btree()
4834 clusters_to_add -= num_bits; in ocfs2_add_clusters_in_btree()
4837 if (clusters_to_add) { in ocfs2_add_clusters_in_btree()
4838 err = clusters_to_add; in ocfs2_add_clusters_in_btree()