/linux-master/fs/ocfs2/ |
H A D | file.c | 543 struct ocfs2_alloc_context *data_ac, 552 data_ac, meta_ac, reason_ret); 565 struct ocfs2_alloc_context *data_ac = NULL; local 590 &data_ac, &meta_ac); 637 data_ac, 689 if (data_ac) { 690 ocfs2_free_alloc_context(data_ac); 691 data_ac = NULL; 536 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) argument
|
H A D | namei.c | 239 struct ocfs2_alloc_context *data_ac = NULL; local 352 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); 390 new_fe_bh, data_ac, meta_ac); 409 meta_ac, data_ac); 418 meta_ac, data_ac); 479 if (data_ac) 480 ocfs2_free_alloc_context(data_ac); 1819 struct ocfs2_alloc_context *data_ac = NULL; local 1917 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); 1970 handle, data_ac, NUL [all...] |
H A D | dir.c | 60 struct ocfs2_alloc_context *data_ac, 2215 struct ocfs2_alloc_context *data_ac, 2227 data_ac, NULL, &new_bh); 2427 struct ocfs2_alloc_context *data_ac, 2442 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); 2468 struct ocfs2_alloc_context *data_ac, 2476 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, 2510 struct ocfs2_alloc_context *data_ac, 2532 data_ac, &leaf_bh); 2565 struct ocfs2_alloc_context *data_ac, 2210 ocfs2_fill_new_dir_el(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_alloc_context *data_ac, struct buffer_head **ret_new_bh) argument 2425 __ocfs2_dx_dir_new_cluster(struct inode *dir, u32 cpos, handle_t *handle, struct ocfs2_alloc_context *data_ac, struct buffer_head **dx_leaves, int num_dx_leaves, u64 *ret_phys_blkno) argument 2465 ocfs2_dx_dir_new_cluster(struct inode *dir, struct ocfs2_extent_tree *et, u32 cpos, handle_t *handle, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct buffer_head **dx_leaves, int num_dx_leaves) argument 2505 ocfs2_fill_new_dir_dx(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *di_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac) argument 2560 ocfs2_fill_new_dir(struct ocfs2_super *osb, handle_t *handle, struct inode *parent, struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac) argument 2775 struct ocfs2_alloc_context *data_ac = NULL; local 3079 ocfs2_do_extend_dir(struct super_block *sb, handle_t *handle, struct inode *dir, struct buffer_head *parent_fe_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct buffer_head **new_bh) argument 3156 struct ocfs2_alloc_context *data_ac = NULL; local 3695 struct ocfs2_alloc_context *data_ac = NULL, *meta_ac = NULL; local 4005 struct ocfs2_alloc_context *data_ac = NULL; local [all...] |
H A D | aops.c | 1116 struct ocfs2_alloc_context *data_ac, 1138 data_ac, meta_ac, NULL); 1217 struct ocfs2_alloc_context *data_ac, 1244 data_ac, meta_ac, 1655 struct ocfs2_alloc_context *data_ac = NULL; local 1741 &data_ac, &meta_ac); 1747 if (data_ac) 1748 data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; 1816 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, 1823 if (data_ac) 1112 ocfs2_write_cluster(struct address_space *mapping, u32 *phys, unsigned int new, unsigned int clear_unwritten, unsigned int should_zero, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct ocfs2_write_ctxt *wc, u32 cpos, loff_t user_pos, unsigned user_len) argument 1216 ocfs2_write_cluster_by_desc(struct address_space *mapping, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct ocfs2_write_ctxt *wc, loff_t pos, unsigned len) argument 2303 struct ocfs2_alloc_context *data_ac = NULL; local [all...] |
H A D | alloc.c | 4781 struct ocfs2_alloc_context *data_ac, 4826 status = __ocfs2_claim_clusters(handle, data_ac, 1, 4870 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) 4871 ocfs2_free_local_alloc_bits(osb, handle, data_ac, 4875 data_ac->ac_inode, 4876 data_ac->ac_bh, 7070 struct ocfs2_alloc_context *data_ac = NULL; local 7078 ret = ocfs2_reserve_clusters(osb, 1, &data_ac); 7111 data_ac->ac_resv = &oi->ip_la_data_resv; 7113 ret = ocfs2_claim_clusters(handle, data_ac, 4776 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) argument [all...] |
H A D | xattr.c | 70 struct ocfs2_alloc_context *data_ac; member in struct:ocfs2_xattr_set_ctxt 724 ctxt->data_ac, 3278 ret = ocfs2_reserve_clusters(osb, clusters_add, &ctxt->data_ac); 3290 * We cannot have an error and a non null ctxt->data_ac. 3447 struct ocfs2_alloc_context *data_ac) 3471 .data_ac = data_ac, 3648 if (ctxt.data_ac) 3649 ocfs2_free_alloc_context(ctxt.data_ac); 4301 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, 3438 ocfs2_xattr_set_handle(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int name_index, const char *name, const void *value, size_t value_len, int flags, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) argument 6741 ocfs2_lock_reflink_xattr_rec_allocators( struct ocfs2_reflink_xattr_tree_args *args, struct ocfs2_extent_tree *xt_et, u64 blkno, u32 len, int *credits, struct ocfs2_alloc_context **meta_ac, struct ocfs2_alloc_context **data_ac) argument 6827 ocfs2_reflink_xattr_bucket(handle_t *handle, u64 blkno, u64 new_blkno, u32 clusters, u32 *cpos, int num_buckets, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac, struct ocfs2_reflink_xattr_tree_args *args) argument 6918 ocfs2_reflink_xattr_buckets(handle_t *handle, struct inode *inode, struct ocfs2_reflink_xattr_tree_args *args, struct ocfs2_extent_tree *et, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac, u64 blkno, u32 cpos, u32 len) argument 7002 struct ocfs2_alloc_context *data_ac = NULL; local 7310 ocfs2_init_security_set(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, struct ocfs2_security_xattr_info *si, struct ocfs2_alloc_context *xattr_ac, struct ocfs2_alloc_context *data_ac) argument [all...] |
H A D | refcounttree.c | 50 struct ocfs2_alloc_context *data_ac; member in struct:ocfs2_cow_context 2826 * Prepare meta_ac, data_ac and calculate credits when we want to add some 2834 * just give data_ac = NULL. 2842 struct ocfs2_alloc_context **data_ac, 2876 if (data_ac) { 2878 data_ac); 3197 &context->data_ac, &credits); 3253 context->data_ac, 3313 if (context->data_ac) { 3314 ocfs2_free_alloc_context(context->data_ac); 2836 ocfs2_lock_refcount_allocators(struct super_block *sb, u32 p_cluster, u32 num_clusters, struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_alloc_context **meta_ac, struct ocfs2_alloc_context **data_ac, int *credits) argument [all...] |
H A D | move_extents.c | 45 struct ocfs2_alloc_context *data_ac; member in struct:ocfs2_move_extents_context 243 * if (context->data_ac) 244 * context->data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; 266 ret = ocfs2_reserve_clusters(osb, *len, &context->data_ac); 279 ret = __ocfs2_claim_clusters(handle, context->data_ac, 1, *len, 322 if (need_free && context->data_ac) { 323 struct ocfs2_alloc_context *data_ac = context->data_ac; local 325 if (context->data_ac->ac_which == OCFS2_AC_USE_LOCAL) 326 ocfs2_free_local_alloc_bits(osb, handle, data_ac, [all...] |
H A D | acl.c | 220 struct ocfs2_alloc_context *data_ac) 252 meta_ac, data_ac); 357 struct ocfs2_alloc_context *data_ac) 386 meta_ac, data_ac); 404 acl, meta_ac, data_ac); 214 ocfs2_set_acl(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int type, struct posix_acl *acl, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) argument 351 ocfs2_init_acl(handle_t *handle, struct inode *inode, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dir_bh, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) argument
|
H A D | file.h | 35 struct ocfs2_alloc_context *data_ac,
|
H A D | suballoc.h | 199 struct ocfs2_alloc_context **data_ac,
|
H A D | suballoc.c | 2623 struct ocfs2_alloc_context **data_ac, 2631 if (data_ac) 2632 *data_ac = NULL; 2634 BUG_ON(clusters_to_add != 0 && data_ac == NULL); 2669 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); 2684 * We cannot have an error and a non null *data_ac. 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) argument
|
H A D | dir.h | 93 struct ocfs2_alloc_context *data_ac,
|
H A D | alloc.h | 99 struct ocfs2_alloc_context *data_ac,
|