Home
last modified time | relevance | path

Searched refs:data_ac (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/fs/ocfs2/
Dacl.c230 struct ocfs2_alloc_context *data_ac) in ocfs2_set_acl() argument
262 meta_ac, data_ac); in ocfs2_set_acl()
359 struct ocfs2_alloc_context *data_ac) in ocfs2_init_acl() argument
388 meta_ac, data_ac); in ocfs2_init_acl()
406 acl, meta_ac, data_ac); in ocfs2_init_acl()
Ddir.c80 struct ocfs2_alloc_context *data_ac,
2246 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_el() argument
2258 data_ac, NULL, &new_bh); in ocfs2_fill_new_dir_el()
2458 struct ocfs2_alloc_context *data_ac, in __ocfs2_dx_dir_new_cluster() argument
2473 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); in __ocfs2_dx_dir_new_cluster()
2499 struct ocfs2_alloc_context *data_ac, in ocfs2_dx_dir_new_cluster() argument
2507 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster()
2541 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_dx() argument
2563 data_ac, &leaf_bh); in ocfs2_fill_new_dir_dx()
2596 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir() argument
[all …]
Dmove_extents.c54 struct ocfs2_alloc_context *data_ac; member
170 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_allocators_move_extents() argument
195 if (data_ac) { in ocfs2_lock_allocators_move_extents()
196 ret = ocfs2_reserve_clusters(osb, clusters_to_move, data_ac); in ocfs2_lock_allocators_move_extents()
262 &context->data_ac, in ocfs2_defrag_extent()
293 ret = __ocfs2_claim_clusters(handle, context->data_ac, 1, *len, in ocfs2_defrag_extent()
340 if (context->data_ac) { in ocfs2_defrag_extent()
341 ocfs2_free_alloc_context(context->data_ac); in ocfs2_defrag_extent()
342 context->data_ac = NULL; in ocfs2_defrag_extent()
Daops.c1143 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster() argument
1165 data_ac, meta_ac, NULL); in ocfs2_write_cluster()
1244 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster_by_desc() argument
1271 data_ac, meta_ac, in ocfs2_write_cluster_by_desc()
1683 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_write_begin_nolock() local
1769 &data_ac, &meta_ac); in ocfs2_write_begin_nolock()
1775 if (data_ac) in ocfs2_write_begin_nolock()
1776 data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; in ocfs2_write_begin_nolock()
1844 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock()
1851 if (data_ac) in ocfs2_write_begin_nolock()
[all …]
Dnamei.c251 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_mknod() local
363 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_mknod()
400 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod()
419 meta_ac, data_ac); in ocfs2_mknod()
428 meta_ac, data_ac); in ocfs2_mknod()
479 if (data_ac) in ocfs2_mknod()
480 ocfs2_free_alloc_context(data_ac); in ocfs2_mknod()
1810 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_symlink() local
1907 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_symlink()
1960 handle, data_ac, NULL, in ocfs2_symlink()
[all …]
Dfile.h51 struct ocfs2_alloc_context *data_ac,
Ddir.h109 struct ocfs2_alloc_context *data_ac,
Dxattr.c80 struct ocfs2_alloc_context *data_ac; member
738 ctxt->data_ac, in ocfs2_xattr_extend_allocation()
3292 ret = ocfs2_reserve_clusters(osb, clusters_add, &ctxt->data_ac); in ocfs2_init_xattr_set_ctxt()
3461 struct ocfs2_alloc_context *data_ac) in ocfs2_xattr_set_handle() argument
3485 .data_ac = data_ac, in ocfs2_xattr_set_handle()
3662 if (ctxt.data_ac) in ocfs2_xattr_set()
3663 ocfs2_free_alloc_context(ctxt.data_ac); in ocfs2_xattr_set()
4318 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, in ocfs2_xattr_create_index_block()
5138 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, 1, in ocfs2_add_new_xattr_cluster()
6763 struct ocfs2_alloc_context **data_ac) in ocfs2_lock_reflink_xattr_rec_allocators() argument
[all …]
Dfile.c551 struct ocfs2_alloc_context *data_ac, in ocfs2_add_inode_data() argument
561 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data()
576 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_extend_allocation() local
601 &data_ac, &meta_ac); in ocfs2_extend_allocation()
648 data_ac, in ocfs2_extend_allocation()
700 if (data_ac) { in ocfs2_extend_allocation()
701 ocfs2_free_alloc_context(data_ac); in ocfs2_extend_allocation()
702 data_ac = NULL; in ocfs2_extend_allocation()
Dsuballoc.h215 struct ocfs2_alloc_context **data_ac,
Dalloc.c4791 struct ocfs2_alloc_context *data_ac, in ocfs2_add_clusters_in_btree() argument
4836 status = __ocfs2_claim_clusters(handle, data_ac, 1, in ocfs2_add_clusters_in_btree()
4880 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_add_clusters_in_btree()
4881 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_add_clusters_in_btree()
4885 data_ac->ac_inode, in ocfs2_add_clusters_in_btree()
4886 data_ac->ac_bh, in ocfs2_add_clusters_in_btree()
7059 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_convert_inline_data_to_extents() local
7076 ret = ocfs2_reserve_clusters(osb, 1, &data_ac); in ocfs2_convert_inline_data_to_extents()
7108 data_ac->ac_resv = &oi->ip_la_data_resv; in ocfs2_convert_inline_data_to_extents()
7110 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, in ocfs2_convert_inline_data_to_extents()
[all …]
Dalloc.h115 struct ocfs2_alloc_context *data_ac,
Dsuballoc.c2640 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_allocators() argument
2648 if (data_ac) in ocfs2_lock_allocators()
2649 *data_ac = NULL; in ocfs2_lock_allocators()
2651 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators()
2686 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()
Drefcounttree.c60 struct ocfs2_alloc_context *data_ac; member
2850 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_refcount_allocators() argument
2884 if (data_ac) { in ocfs2_lock_refcount_allocators()
2886 data_ac); in ocfs2_lock_refcount_allocators()
3232 &context->data_ac, &credits); in ocfs2_make_clusters_writable()
3288 context->data_ac, in ocfs2_make_clusters_writable()
3348 if (context->data_ac) { in ocfs2_make_clusters_writable()
3349 ocfs2_free_alloc_context(context->data_ac); in ocfs2_make_clusters_writable()
3350 context->data_ac = NULL; in ocfs2_make_clusters_writable()