Home
last modified time | relevance | path

Searched refs:ctxt (Results 1 – 6 of 6) sorted by relevance

/fs/nilfs2/
Dbtnode.c166 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_prepare_change_key() argument
170 __u64 oldkey = ctxt->oldkey, newkey = ctxt->newkey; in nilfs_btnode_prepare_change_key()
176 obh = ctxt->bh; in nilfs_btnode_prepare_change_key()
177 ctxt->newbh = NULL; in nilfs_btnode_prepare_change_key()
223 ctxt->newbh = nbh; in nilfs_btnode_prepare_change_key()
236 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_commit_change_key() argument
238 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key()
239 __u64 oldkey = ctxt->oldkey, newkey = ctxt->newkey; in nilfs_btnode_commit_change_key()
267 ctxt->bh = nbh; in nilfs_btnode_commit_change_key()
277 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_abort_change_key() argument
[all …]
/fs/ocfs2/
Dxattr.c274 struct ocfs2_xattr_set_ctxt *ctxt);
279 struct ocfs2_xattr_set_ctxt *ctxt);
709 struct ocfs2_xattr_set_ctxt *ctxt) in ocfs2_xattr_extend_allocation() argument
712 handle_t *handle = ctxt->handle; in ocfs2_xattr_extend_allocation()
735 ctxt->data_ac, in ocfs2_xattr_extend_allocation()
736 ctxt->meta_ac, in ocfs2_xattr_extend_allocation()
774 struct ocfs2_xattr_set_ctxt *ctxt) in __ocfs2_remove_xattr_range() argument
778 handle_t *handle = ctxt->handle; in __ocfs2_remove_xattr_range()
790 ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac, in __ocfs2_remove_xattr_range()
791 &ctxt->dealloc); in __ocfs2_remove_xattr_range()
[all …]
Dalloc.c569 static int ocfs2_cache_extent_block_free(struct ocfs2_cached_dealloc_ctxt *ctxt,
3654 struct ocfs2_merge_ctxt *ctxt) in ocfs2_try_to_merge_extent() argument
3660 BUG_ON(ctxt->c_contig_type == CONTIG_NONE); in ocfs2_try_to_merge_extent()
3662 if (ctxt->c_split_covers_rec && ctxt->c_has_empty_extent) { in ocfs2_try_to_merge_extent()
3687 if (ctxt->c_contig_type == CONTIG_LEFTRIGHT) { in ocfs2_try_to_merge_extent()
3691 BUG_ON(!ctxt->c_split_covers_rec); in ocfs2_try_to_merge_extent()
3774 if (ctxt->c_contig_type == CONTIG_RIGHT) { in ocfs2_try_to_merge_extent()
3792 if (ctxt->c_split_covers_rec) { in ocfs2_try_to_merge_extent()
4349 struct ocfs2_merge_ctxt *ctxt) in ocfs2_figure_merge_contig_type() argument
4470 ctxt->c_contig_type = ret; in ocfs2_figure_merge_contig_type()
[all …]
Dalloc.h212 int ocfs2_cache_cluster_dealloc(struct ocfs2_cached_dealloc_ctxt *ctxt,
214 int ocfs2_cache_block_dealloc(struct ocfs2_cached_dealloc_ctxt *ctxt,
222 struct ocfs2_cached_dealloc_ctxt *ctxt);
/fs/ocfs2/dlm/
Ddlmdomain.c1585 struct domain_join_ctxt *ctxt, in dlm_should_restart_join() argument
1598 ret = memcmp(ctxt->live_map, dlm->live_nodes_map, in dlm_should_restart_join()
1611 struct domain_join_ctxt *ctxt; in dlm_try_to_join_domain() local
1616 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in dlm_try_to_join_domain()
1617 if (!ctxt) { in dlm_try_to_join_domain()
1629 memcpy(ctxt->live_map, dlm->live_nodes_map, sizeof(ctxt->live_map)); in dlm_try_to_join_domain()
1636 while ((node = find_next_bit(ctxt->live_map, O2NM_MAX_NODES, in dlm_try_to_join_domain()
1650 set_bit(node, ctxt->yes_resp_map); in dlm_try_to_join_domain()
1652 if (dlm_should_restart_join(dlm, ctxt, response)) { in dlm_try_to_join_domain()
1665 memcpy(dlm->domain_map, ctxt->yes_resp_map, in dlm_try_to_join_domain()
[all …]
/fs/ocfs2/cluster/
Dnetdebug.c399 static int sc_common_open(struct file *file, int ctxt) in sc_common_open() argument
414 sd->dbg_ctxt = ctxt; in sc_common_open()