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

/linux-4.4.14/fs/ocfs2/
H A Dfile.h47 u32 clusters_to_add,
69 u32 clusters_to_add, int mark_unwritten);
H A Dfile.c545 u32 clusters_to_add, ocfs2_add_inode_data()
558 clusters_to_add, mark_unwritten, ocfs2_add_inode_data()
565 u32 clusters_to_add, int mark_unwritten) __ocfs2_extend_allocation()
598 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, __ocfs2_extend_allocation()
618 le32_to_cpu(fe->i_clusters), clusters_to_add, __ocfs2_extend_allocation()
622 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); __ocfs2_extend_allocation()
642 clusters_to_add, __ocfs2_extend_allocation()
658 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); __ocfs2_extend_allocation()
662 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); __ocfs2_extend_allocation()
665 if (why != RESTART_NONE && clusters_to_add) { __ocfs2_extend_allocation()
693 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); __ocfs2_extend_allocation()
717 u32 clusters_to_add, int mark_unwritten) ocfs2_extend_allocation()
720 clusters_to_add, mark_unwritten); ocfs2_extend_allocation()
1026 u32 clusters_to_add; ocfs2_extend_no_holes() local
1036 clusters_to_add = ocfs2_clusters_for_bytes(inode->i_sb, new_i_size); ocfs2_extend_no_holes()
1037 if (clusters_to_add < oi->ip_clusters) ocfs2_extend_no_holes()
1038 clusters_to_add = 0; ocfs2_extend_no_holes()
1040 clusters_to_add -= oi->ip_clusters; ocfs2_extend_no_holes()
1042 if (clusters_to_add) { ocfs2_extend_no_holes()
1044 clusters_to_add, 0); ocfs2_extend_no_holes()
542 ocfs2_add_inode_data(struct ocfs2_super *osb, struct inode *inode, u32 *logical_offset, u32 clusters_to_add, int mark_unwritten, struct buffer_head *fe_bh, handle_t *handle, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, enum ocfs2_alloc_restarted *reason_ret) ocfs2_add_inode_data() argument
564 __ocfs2_extend_allocation(struct inode *inode, u32 logical_start, u32 clusters_to_add, int mark_unwritten) __ocfs2_extend_allocation() argument
716 ocfs2_extend_allocation(struct inode *inode, u32 logical_start, u32 clusters_to_add, int mark_unwritten) ocfs2_extend_allocation() argument
H A Dsuballoc.h214 u32 clusters_to_add, u32 extents_to_split,
H A Dalloc.h112 u32 clusters_to_add,
H A Daops.c717 u32 p_cpos = 0, clusters_to_add; ocfs2_direct_IO_extend_no_holes() local
735 clusters_to_add = ocfs2_bytes_to_clusters(inode->i_sb, offset) - ocfs2_direct_IO_extend_no_holes()
738 if (clusters_to_add) ocfs2_direct_IO_extend_no_holes()
744 if (clusters_to_add > 1) { ocfs2_direct_IO_extend_no_holes()
747 clusters_to_add - 1, 0); ocfs2_direct_IO_extend_no_holes()
H A 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)
H A Dsuballoc.c2661 u32 clusters_to_add, u32 extents_to_split, ocfs2_lock_allocators()
2666 unsigned int max_recs_needed = clusters_to_add + 2 * extents_to_split; ocfs2_lock_allocators()
2673 BUG_ON(clusters_to_add != 0 && data_ac == NULL); ocfs2_lock_allocators()
2705 if (clusters_to_add == 0) ocfs2_lock_allocators()
2708 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); ocfs2_lock_allocators()
2659 ocfs2_lock_allocators(struct inode *inode, struct ocfs2_extent_tree *et, u32 clusters_to_add, u32 extents_to_split, struct ocfs2_alloc_context **data_ac, struct ocfs2_alloc_context **meta_ac) ocfs2_lock_allocators() argument
H A Dxattr.c708 u32 clusters_to_add, ocfs2_xattr_extend_allocation()
720 while (clusters_to_add) { ocfs2_xattr_extend_allocation()
721 trace_ocfs2_xattr_extend_allocation(clusters_to_add); ocfs2_xattr_extend_allocation()
734 clusters_to_add, ocfs2_xattr_extend_allocation()
747 clusters_to_add -= le32_to_cpu(vb->vb_xv->xr_clusters) - ocfs2_xattr_extend_allocation()
750 if (why != RESTART_NONE && clusters_to_add) { ocfs2_xattr_extend_allocation()
5093 u32 clusters_to_add = 1, bit_off, num_bits, v_start = 0; ocfs2_add_new_xattr_cluster() local
5114 clusters_to_add, &bit_off, &num_bits); ocfs2_add_new_xattr_cluster()
5121 BUG_ON(num_bits > clusters_to_add); ocfs2_add_new_xattr_cluster()
707 ocfs2_xattr_extend_allocation(struct inode *inode, u32 clusters_to_add, struct ocfs2_xattr_value_buf *vb, struct ocfs2_xattr_set_ctxt *ctxt) ocfs2_xattr_extend_allocation() argument
H A Dalloc.c4746 * The new clusters(clusters_to_add) will be inserted at logical_offset.
4754 u32 clusters_to_add, ocfs2_add_clusters_in_btree()
4770 BUG_ON(!clusters_to_add); ocfs2_add_clusters_in_btree()
4802 clusters_to_add, &bit_off, &num_bits); ocfs2_add_clusters_in_btree()
4809 BUG_ON(num_bits > clusters_to_add); ocfs2_add_clusters_in_btree()
4834 clusters_to_add -= num_bits; ocfs2_add_clusters_in_btree()
4837 if (clusters_to_add) { ocfs2_add_clusters_in_btree()
4838 err = clusters_to_add; ocfs2_add_clusters_in_btree()
4751 ocfs2_add_clusters_in_btree(handle_t *handle, struct ocfs2_extent_tree *et, u32 *logical_offset, u32 clusters_to_add, int mark_unwritten, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, enum ocfs2_alloc_restarted *reason_ret) ocfs2_add_clusters_in_btree() argument

Completed in 295 milliseconds