/openbmc/linux/fs/ocfs2/ |
H A D | move_extents.c | 45 struct ocfs2_alloc_context *data_ac; member 266 ret = ocfs2_reserve_clusters(osb, *len, &context->data_ac); in ocfs2_defrag_extent() 279 ret = __ocfs2_claim_clusters(handle, context->data_ac, 1, *len, in ocfs2_defrag_extent() 322 if (need_free && context->data_ac) { in ocfs2_defrag_extent() 323 struct ocfs2_alloc_context *data_ac = context->data_ac; in ocfs2_defrag_extent() local 325 if (context->data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_defrag_extent() 326 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_defrag_extent() 330 data_ac->ac_inode, in ocfs2_defrag_extent() 331 data_ac->ac_bh, in ocfs2_defrag_extent() 341 if (context->data_ac) { in ocfs2_defrag_extent() [all …]
|
H A D | dir.c | 60 struct ocfs2_alloc_context *data_ac, 2244 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_el() argument 2256 data_ac, NULL, &new_bh); in ocfs2_fill_new_dir_el() 2456 struct ocfs2_alloc_context *data_ac, in __ocfs2_dx_dir_new_cluster() argument 2471 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); in __ocfs2_dx_dir_new_cluster() 2497 struct ocfs2_alloc_context *data_ac, in ocfs2_dx_dir_new_cluster() argument 2505 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster() 2539 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_dx() argument 2561 data_ac, &leaf_bh); in ocfs2_fill_new_dir_dx() 2594 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir() argument [all …]
|
H A D | acl.c | 220 struct ocfs2_alloc_context *data_ac) in ocfs2_set_acl() argument 252 meta_ac, data_ac); in ocfs2_set_acl() 357 struct ocfs2_alloc_context *data_ac) in ocfs2_init_acl() argument 386 meta_ac, data_ac); in ocfs2_init_acl() 404 acl, meta_ac, data_ac); in ocfs2_init_acl()
|
H A D | aops.c | 1117 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster() argument 1139 data_ac, meta_ac, NULL); in ocfs2_write_cluster() 1218 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster_by_desc() argument 1245 data_ac, meta_ac, in ocfs2_write_cluster_by_desc() 1656 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_write_begin_nolock() local 1742 &data_ac, &meta_ac); in ocfs2_write_begin_nolock() 1748 if (data_ac) in ocfs2_write_begin_nolock() 1749 data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; in ocfs2_write_begin_nolock() 1817 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock() 1824 if (data_ac) in ocfs2_write_begin_nolock() [all …]
|
H A D | namei.c | 241 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_mknod() local 354 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_mknod() 392 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod() 411 meta_ac, data_ac); in ocfs2_mknod() 420 meta_ac, data_ac); in ocfs2_mknod() 481 if (data_ac) in ocfs2_mknod() 482 ocfs2_free_alloc_context(data_ac); in ocfs2_mknod() 1813 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_symlink() local 1911 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_symlink() 1964 handle, data_ac, NULL, in ocfs2_symlink() [all …]
|
H A D | file.h | 35 struct ocfs2_alloc_context *data_ac,
|
H A D | dir.h | 93 struct ocfs2_alloc_context *data_ac,
|
H A D | xattr.c | 70 struct ocfs2_alloc_context *data_ac; member 724 ctxt->data_ac, in ocfs2_xattr_extend_allocation() 3286 ret = ocfs2_reserve_clusters(osb, clusters_add, &ctxt->data_ac); in ocfs2_init_xattr_set_ctxt() 3455 struct ocfs2_alloc_context *data_ac) in ocfs2_xattr_set_handle() argument 3479 .data_ac = data_ac, in ocfs2_xattr_set_handle() 3656 if (ctxt.data_ac) in ocfs2_xattr_set() 3657 ocfs2_free_alloc_context(ctxt.data_ac); in ocfs2_xattr_set() 4309 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, in ocfs2_xattr_create_index_block() 5129 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, 1, in ocfs2_add_new_xattr_cluster() 6745 struct ocfs2_alloc_context **data_ac) in ocfs2_lock_reflink_xattr_rec_allocators() argument [all …]
|
H A D | file.c | 543 struct ocfs2_alloc_context *data_ac, in ocfs2_add_inode_data() argument 552 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data() 565 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_extend_allocation() local 590 &data_ac, &meta_ac); in ocfs2_extend_allocation() 637 data_ac, in ocfs2_extend_allocation() 689 if (data_ac) { in ocfs2_extend_allocation() 690 ocfs2_free_alloc_context(data_ac); in ocfs2_extend_allocation() 691 data_ac = NULL; in ocfs2_extend_allocation()
|
H A D | suballoc.h | 199 struct ocfs2_alloc_context **data_ac,
|
H A D | alloc.c | 4774 struct ocfs2_alloc_context *data_ac, in ocfs2_add_clusters_in_btree() argument 4819 status = __ocfs2_claim_clusters(handle, data_ac, 1, in ocfs2_add_clusters_in_btree() 4863 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_add_clusters_in_btree() 4864 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_add_clusters_in_btree() 4868 data_ac->ac_inode, in ocfs2_add_clusters_in_btree() 4869 data_ac->ac_bh, in ocfs2_add_clusters_in_btree() 7063 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_convert_inline_data_to_extents() local 7071 ret = ocfs2_reserve_clusters(osb, 1, &data_ac); in ocfs2_convert_inline_data_to_extents() 7104 data_ac->ac_resv = &oi->ip_la_data_resv; in ocfs2_convert_inline_data_to_extents() 7106 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, in ocfs2_convert_inline_data_to_extents() [all …]
|
H A D | alloc.h | 99 struct ocfs2_alloc_context *data_ac,
|
H A D | refcounttree.c | 51 struct ocfs2_alloc_context *data_ac; member 2843 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_refcount_allocators() argument 2877 if (data_ac) { in ocfs2_lock_refcount_allocators() 2879 data_ac); in ocfs2_lock_refcount_allocators() 3198 &context->data_ac, &credits); in ocfs2_make_clusters_writable() 3254 context->data_ac, in ocfs2_make_clusters_writable() 3314 if (context->data_ac) { in ocfs2_make_clusters_writable() 3315 ocfs2_free_alloc_context(context->data_ac); in ocfs2_make_clusters_writable() 3316 context->data_ac = NULL; in ocfs2_make_clusters_writable()
|
H A D | suballoc.c | 2623 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_allocators() argument 2631 if (data_ac) in ocfs2_lock_allocators() 2632 *data_ac = NULL; in ocfs2_lock_allocators() 2634 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators() 2669 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()
|