Home
last modified time | relevance | path

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

/linux-4.1.27/fs/ocfs2/
Dacl.c230 struct ocfs2_alloc_context *data_ac) in ocfs2_set_acl() argument
276 meta_ac, data_ac); in ocfs2_set_acl()
346 struct ocfs2_alloc_context *data_ac) in ocfs2_init_acl() argument
373 meta_ac, data_ac); in ocfs2_init_acl()
391 acl, meta_ac, data_ac); in ocfs2_init_acl()
Ddir.c79 struct ocfs2_alloc_context *data_ac,
2255 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_el() argument
2267 data_ac, NULL, &new_bh); in ocfs2_fill_new_dir_el()
2467 struct ocfs2_alloc_context *data_ac, in __ocfs2_dx_dir_new_cluster() argument
2482 ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num); in __ocfs2_dx_dir_new_cluster()
2508 struct ocfs2_alloc_context *data_ac, in ocfs2_dx_dir_new_cluster() argument
2516 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster()
2550 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir_dx() argument
2572 data_ac, &leaf_bh); in ocfs2_fill_new_dir_dx()
2605 struct ocfs2_alloc_context *data_ac, in ocfs2_fill_new_dir() argument
[all …]
Dmove_extents.c54 struct ocfs2_alloc_context *data_ac; member
172 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_allocators_move_extents() argument
197 if (data_ac) { in ocfs2_lock_allocators_move_extents()
198 ret = ocfs2_reserve_clusters(osb, clusters_to_move, data_ac); in ocfs2_lock_allocators_move_extents()
267 &context->data_ac, in ocfs2_defrag_extent()
298 ret = __ocfs2_claim_clusters(handle, context->data_ac, 1, *len, in ocfs2_defrag_extent()
345 if (context->data_ac) { in ocfs2_defrag_extent()
346 ocfs2_free_alloc_context(context->data_ac); in ocfs2_defrag_extent()
347 context->data_ac = NULL; in ocfs2_defrag_extent()
Dacl.h37 struct ocfs2_alloc_context *data_ac);
Daops.c1549 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster() argument
1570 wc->w_handle, data_ac, in ocfs2_write_cluster()
1647 struct ocfs2_alloc_context *data_ac, in ocfs2_write_cluster_by_desc() argument
1673 data_ac, meta_ac, in ocfs2_write_cluster_by_desc()
2053 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_write_begin_nolock() local
2136 &data_ac, &meta_ac); in ocfs2_write_begin_nolock()
2142 if (data_ac) in ocfs2_write_begin_nolock()
2143 data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; in ocfs2_write_begin_nolock()
2214 ret = ocfs2_write_cluster_by_desc(mapping, data_ac, meta_ac, wc, pos, in ocfs2_write_begin_nolock()
2221 if (data_ac) in ocfs2_write_begin_nolock()
[all …]
Dfile.h51 struct ocfs2_alloc_context *data_ac,
Dnamei.c248 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_mknod() local
355 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()
471 if (data_ac) in ocfs2_mknod()
472 ocfs2_free_alloc_context(data_ac); in ocfs2_mknod()
1761 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_symlink() local
1853 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_symlink()
1905 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
742 ctxt->data_ac, in ocfs2_xattr_extend_allocation()
3273 ret = ocfs2_reserve_clusters(osb, clusters_add, &ctxt->data_ac); in ocfs2_init_xattr_set_ctxt()
3442 struct ocfs2_alloc_context *data_ac) in ocfs2_xattr_set_handle() argument
3466 .data_ac = data_ac, in ocfs2_xattr_set_handle()
3641 if (ctxt.data_ac) in ocfs2_xattr_set()
3642 ocfs2_free_alloc_context(ctxt.data_ac); in ocfs2_xattr_set()
4301 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, in ocfs2_xattr_create_index_block()
5121 ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, 1, in ocfs2_add_new_xattr_cluster()
6746 struct ocfs2_alloc_context **data_ac) in ocfs2_lock_reflink_xattr_rec_allocators() argument
[all …]
Dfile.c545 struct ocfs2_alloc_context *data_ac, in ocfs2_add_inode_data() argument
555 data_ac, meta_ac, reason_ret); in ocfs2_add_inode_data()
570 struct ocfs2_alloc_context *data_ac = NULL; in __ocfs2_extend_allocation() local
595 &data_ac, &meta_ac); in __ocfs2_extend_allocation()
642 data_ac, in __ocfs2_extend_allocation()
694 if (data_ac) { in __ocfs2_extend_allocation()
695 ocfs2_free_alloc_context(data_ac); in __ocfs2_extend_allocation()
696 data_ac = NULL; in __ocfs2_extend_allocation()
Dsuballoc.h215 struct ocfs2_alloc_context **data_ac,
Dalloc.c4737 struct ocfs2_alloc_context *data_ac, in ocfs2_add_clusters_in_btree() argument
4782 status = __ocfs2_claim_clusters(handle, data_ac, 1, in ocfs2_add_clusters_in_btree()
4826 if (data_ac->ac_which == OCFS2_AC_USE_LOCAL) in ocfs2_add_clusters_in_btree()
4827 ocfs2_free_local_alloc_bits(osb, handle, data_ac, in ocfs2_add_clusters_in_btree()
4831 data_ac->ac_inode, in ocfs2_add_clusters_in_btree()
4832 data_ac->ac_bh, in ocfs2_add_clusters_in_btree()
6844 struct ocfs2_alloc_context *data_ac = NULL; in ocfs2_convert_inline_data_to_extents() local
6861 ret = ocfs2_reserve_clusters(osb, 1, &data_ac); in ocfs2_convert_inline_data_to_extents()
6893 data_ac->ac_resv = &OCFS2_I(inode)->ip_la_data_resv; in ocfs2_convert_inline_data_to_extents()
6895 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
2863 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_refcount_allocators() argument
2897 if (data_ac) { in ocfs2_lock_refcount_allocators()
2899 data_ac); in ocfs2_lock_refcount_allocators()
3242 &context->data_ac, &credits); in ocfs2_make_clusters_writable()
3298 context->data_ac, in ocfs2_make_clusters_writable()
3358 if (context->data_ac) { in ocfs2_make_clusters_writable()
3359 ocfs2_free_alloc_context(context->data_ac); in ocfs2_make_clusters_writable()
3360 context->data_ac = NULL; in ocfs2_make_clusters_writable()
Dsuballoc.c2679 struct ocfs2_alloc_context **data_ac, in ocfs2_lock_allocators() argument
2687 if (data_ac) in ocfs2_lock_allocators()
2688 *data_ac = NULL; in ocfs2_lock_allocators()
2690 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators()
2725 ret = ocfs2_reserve_clusters(osb, clusters_to_add, data_ac); in ocfs2_lock_allocators()