Home
last modified time | relevance | path

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

/linux-4.1.27/fs/ocfs2/
Dfile.h47 u32 clusters_to_add,
69 u32 clusters_to_add, int mark_unwritten);
Dfile.c541 u32 clusters_to_add, in ocfs2_add_inode_data() argument
554 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data()
561 u32 clusters_to_add, int mark_unwritten) in __ocfs2_extend_allocation() argument
594 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in __ocfs2_extend_allocation()
614 le32_to_cpu(fe->i_clusters), clusters_to_add, in __ocfs2_extend_allocation()
618 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in __ocfs2_extend_allocation()
638 clusters_to_add, in __ocfs2_extend_allocation()
654 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in __ocfs2_extend_allocation()
658 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in __ocfs2_extend_allocation()
661 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.c705 u32 p_cpos = 0, clusters_to_add; in ocfs2_direct_IO_extend_no_holes() local
723 clusters_to_add = ocfs2_bytes_to_clusters(inode->i_sb, offset) - in ocfs2_direct_IO_extend_no_holes()
726 if (clusters_to_add) in ocfs2_direct_IO_extend_no_holes()
732 if (clusters_to_add > 1) { in ocfs2_direct_IO_extend_no_holes()
735 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.c2678 u32 clusters_to_add, u32 extents_to_split, in ocfs2_lock_allocators() argument
2683 unsigned int max_recs_needed = clusters_to_add + 2 * extents_to_split; in ocfs2_lock_allocators()
2690 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators()
2722 if (clusters_to_add == 0) in ocfs2_lock_allocators()
2725 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()
Dxattr.c714 u32 clusters_to_add, in ocfs2_xattr_extend_allocation() argument
726 while (clusters_to_add) { in ocfs2_xattr_extend_allocation()
727 trace_ocfs2_xattr_extend_allocation(clusters_to_add); in ocfs2_xattr_extend_allocation()
740 clusters_to_add, in ocfs2_xattr_extend_allocation()
753 clusters_to_add -= le32_to_cpu(vb->vb_xv->xr_clusters) - in ocfs2_xattr_extend_allocation()
756 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_xattr_extend_allocation()
5101 u32 clusters_to_add = 1, bit_off, num_bits, v_start = 0; in ocfs2_add_new_xattr_cluster() local
5122 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_new_xattr_cluster()
5129 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_new_xattr_cluster()
Dalloc.c4735 u32 clusters_to_add, in ocfs2_add_clusters_in_btree() argument
4751 BUG_ON(!clusters_to_add); in ocfs2_add_clusters_in_btree()
4783 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree()
4790 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_clusters_in_btree()
4815 clusters_to_add -= num_bits; in ocfs2_add_clusters_in_btree()
4818 if (clusters_to_add) { in ocfs2_add_clusters_in_btree()
4819 err = clusters_to_add; in ocfs2_add_clusters_in_btree()