/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | file.c | 537 u32 clusters_to_add, in ocfs2_add_inode_data() 550 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data() 557 u32 clusters_to_add, int mark_unwritten) in ocfs2_extend_allocation() 590 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in ocfs2_extend_allocation() 610 le32_to_cpu(fe->i_clusters), clusters_to_add, in ocfs2_extend_allocation() 614 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation() 634 clusters_to_add, in ocfs2_extend_allocation() 650 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in ocfs2_extend_allocation() 654 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation() 657 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_extend_allocation() 534 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 556 ocfs2_extend_allocation(struct inode *inode, u32 logical_start, u32 clusters_to_add, int mark_unwritten) ocfs2_extend_allocation() argument 1015 u32 clusters_to_add; ocfs2_extend_no_holes() local [all...] |
H A D | file.h | 33 u32 clusters_to_add,
|
H A D | suballoc.h | 200 u32 clusters_to_add, u32 extents_to_split,
|
H A D | alloc.h | 99 u32 clusters_to_add,
|
H A D | ocfs2_trace.h | 1328 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)
|
H A D | suballoc.c | 2624 u32 clusters_to_add, u32 extents_to_split, in ocfs2_lock_allocators() 2629 unsigned int max_recs_needed = clusters_to_add + 2 * extents_to_split; in ocfs2_lock_allocators() 2636 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators() 2668 if (clusters_to_add == 0) in ocfs2_lock_allocators() 2671 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators() 2622 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 D | xattr.c | 702 u32 clusters_to_add, in ocfs2_xattr_extend_allocation() 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() 701 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 D | alloc.c | 4766 * The new clusters(clusters_to_add) will be inserted at logical_offset. 4774 u32 clusters_to_add, in ocfs2_add_clusters_in_btree() 4790 BUG_ON(!clusters_to_add); in ocfs2_add_clusters_in_btree() 4822 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree() 4829 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_clusters_in_btree() 4854 clusters_to_add -= num_bits; in ocfs2_add_clusters_in_btree() 4857 if (clusters_to_add) { in ocfs2_add_clusters_in_btree() 4858 err = clusters_to_add; in ocfs2_add_clusters_in_btree() 4771 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
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | file.c | 537 u32 clusters_to_add, in ocfs2_add_inode_data() 549 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data() 554 u32 clusters_to_add, int mark_unwritten) in ocfs2_extend_allocation() 587 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in ocfs2_extend_allocation() 607 le32_to_cpu(fe->i_clusters), clusters_to_add, in ocfs2_extend_allocation() 611 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation() 631 clusters_to_add, in ocfs2_extend_allocation() 647 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in ocfs2_extend_allocation() 651 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation() 654 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_extend_allocation() 534 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 553 ocfs2_extend_allocation(struct inode *inode, u32 logical_start, u32 clusters_to_add, int mark_unwritten) ocfs2_extend_allocation() argument 1007 u32 clusters_to_add; ocfs2_extend_no_holes() local [all...] |
H A D | file.h | 31 u32 clusters_to_add,
|
H A D | suballoc.h | 198 u32 clusters_to_add, u32 extents_to_split,
|
H A D | alloc.h | 97 u32 clusters_to_add,
|
H A D | ocfs2_trace.h | 1328 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)
|
H A D | suballoc.c | 2622 u32 clusters_to_add, u32 extents_to_split, in ocfs2_lock_allocators() 2627 unsigned int max_recs_needed = clusters_to_add + 2 * extents_to_split; in ocfs2_lock_allocators() 2634 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators() 2666 if (clusters_to_add == 0) in ocfs2_lock_allocators() 2669 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators() 2620 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 D | xattr.c | 696 u32 clusters_to_add, in ocfs2_xattr_extend_allocation() 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() 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() 695 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 D | alloc.c | 4764 * The new clusters(clusters_to_add) will be inserted at logical_offset. 4772 u32 clusters_to_add, in ocfs2_add_clusters_in_btree() 4788 BUG_ON(!clusters_to_add); in ocfs2_add_clusters_in_btree() 4820 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree() 4827 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_clusters_in_btree() 4852 clusters_to_add -= num_bits; in ocfs2_add_clusters_in_btree() 4855 if (clusters_to_add) { in ocfs2_add_clusters_in_btree() 4856 err = clusters_to_add; in ocfs2_add_clusters_in_btree() 4769 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
|