Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ocfs2/
Dacl.c230 struct ocfs2_alloc_context *data_ac) in ocfs2_set_acl() argument
276 meta_ac, data_ac); in ocfs2_set_acl()
360 struct ocfs2_alloc_context *data_ac) in ocfs2_init_acl() argument
387 meta_ac, data_ac); in ocfs2_init_acl()
405 acl, meta_ac, data_ac); in ocfs2_init_acl()
Ddir.c79 struct ocfs2_alloc_context *data_ac,
2245 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_el() argument
2257 data_ac, NULL, &new_bh); in ocfs2_fill_new_dir_el()
2457 struct ocfs2_alloc_context *data_ac, in __ocfs2_dx_dir_new_cluster() argument
2472 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); in __ocfs2_dx_dir_new_cluster()
2498 struct ocfs2_alloc_context *data_ac, in ocfs2_dx_dir_new_cluster() argument
2506 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster()
2540 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_dx() argument
2562 data_ac, &leaf_bh); in ocfs2_fill_new_dir_dx()
2595 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()
265 &context->data_ac, in ocfs2_defrag_extent()
296 ret = __ocfs2_claim_clusters(handle, context->data_ac, 1, *len, in ocfs2_defrag_extent()
343 if (context->data_ac) { in ocfs2_defrag_extent()
344 ocfs2_free_alloc_context(context->data_ac); in ocfs2_defrag_extent()
345 context->data_ac = NULL; in ocfs2_defrag_extent()
Dacl.h37 struct ocfs2_alloc_context *data_ac);
Daops.c1583 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster() argument
1604 wc->w_handle, data_ac, in ocfs2_write_cluster()
1681 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster_by_desc() argument
1707 data_ac, meta_ac, in ocfs2_write_cluster_by_desc()
2087 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_write_begin_nolock() local
2170 &data_ac, &meta_ac); in ocfs2_write_begin_nolock()
2176 if (data_ac) in ocfs2_write_begin_nolock()
2177 data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; in ocfs2_write_begin_nolock()
2245 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock()
2252 if (data_ac) in ocfs2_write_begin_nolock()
[all …]
Dfile.h51 struct ocfs2_alloc_context *data_ac,
Dnamei.c250 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_mknod() local
362 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_mknod()
399 new_fe_bh, data_ac, meta_ac); in ocfs2_mknod()
418 meta_ac, data_ac); in ocfs2_mknod()
427 meta_ac, data_ac); in ocfs2_mknod()
478 if (data_ac) in ocfs2_mknod()
479 ocfs2_free_alloc_context(data_ac); in ocfs2_mknod()
1804 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_symlink() local
1901 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_symlink()
1953 handle, data_ac, NULL, in ocfs2_symlink()
[all …]
Ddir.h109 struct ocfs2_alloc_context *data_ac,
Dxattr.c80 struct ocfs2_alloc_context *data_ac; member
736 ctxt->data_ac, in ocfs2_xattr_extend_allocation()
3267 ret = ocfs2_reserve_clusters(osb, clusters_add, &ctxt->data_ac); in ocfs2_init_xattr_set_ctxt()
3436 struct ocfs2_alloc_context *data_ac) in ocfs2_xattr_set_handle() argument
3460 .data_ac = data_ac, in ocfs2_xattr_set_handle()
3635 if (ctxt.data_ac) in ocfs2_xattr_set()
3636 ocfs2_free_alloc_context(ctxt.data_ac); in ocfs2_xattr_set()
4293 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, in ocfs2_xattr_create_index_block()
5113 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, 1, in ocfs2_add_new_xattr_cluster()
6738 struct ocfs2_alloc_context **data_ac) in ocfs2_lock_reflink_xattr_rec_allocators() argument
[all …]
Dfile.c549 struct ocfs2_alloc_context *data_ac, in ocfs2_add_inode_data() argument
559 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data()
574 struct ocfs2_alloc_context *data_ac = NULL; in __ocfs2_extend_allocation() local
599 &data_ac, &meta_ac); in __ocfs2_extend_allocation()
646 data_ac, in __ocfs2_extend_allocation()
698 if (data_ac) { in __ocfs2_extend_allocation()
699 ocfs2_free_alloc_context(data_ac); in __ocfs2_extend_allocation()
700 data_ac = NULL; in __ocfs2_extend_allocation()
Dsuballoc.h215 struct ocfs2_alloc_context **data_ac,
Dalloc.c4756 struct ocfs2_alloc_context *data_ac, in ocfs2_add_clusters_in_btree() argument
4801 status = __ocfs2_claim_clusters(handle, data_ac, 1, in ocfs2_add_clusters_in_btree()
4845 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_add_clusters_in_btree()
4846 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_add_clusters_in_btree()
4850 data_ac->ac_inode, in ocfs2_add_clusters_in_btree()
4851 data_ac->ac_bh, in ocfs2_add_clusters_in_btree()
6862 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_convert_inline_data_to_extents() local
6879 ret = ocfs2_reserve_clusters(osb, 1, &data_ac); in ocfs2_convert_inline_data_to_extents()
6911 data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; in ocfs2_convert_inline_data_to_extents()
6913 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, in ocfs2_convert_inline_data_to_extents()
[all …]
Dalloc.h114 struct ocfs2_alloc_context *data_ac,
Drefcounttree.c59 struct ocfs2_alloc_context *data_ac; member
2852 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_refcount_allocators() argument
2886 if (data_ac) { in ocfs2_lock_refcount_allocators()
2888 data_ac); in ocfs2_lock_refcount_allocators()
3226 &context->data_ac, &credits); in ocfs2_make_clusters_writable()
3282 context->data_ac, in ocfs2_make_clusters_writable()
3342 if (context->data_ac) { in ocfs2_make_clusters_writable()
3343 ocfs2_free_alloc_context(context->data_ac); in ocfs2_make_clusters_writable()
3344 context->data_ac = NULL; in ocfs2_make_clusters_writable()
Dsuballoc.c2662 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_allocators() argument
2670 if (data_ac) in ocfs2_lock_allocators()
2671 *data_ac = NULL; in ocfs2_lock_allocators()
2673 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators()
2708 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()