Home
last modified time | relevance | path

Searched refs:left_path (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/fs/ocfs2/
Dalloc.c2053 struct ocfs2_path *left_path, in ocfs2_complete_edge_insert() argument
2060 struct buffer_head *root_bh = left_path->p_node[subtree_index].bh; in ocfs2_complete_edge_insert()
2074 left_el = path_leaf_el(left_path); in ocfs2_complete_edge_insert()
2076 for(i = left_path->p_tree_depth - 1; i > subtree_index; i--) { in ocfs2_complete_edge_insert()
2085 el = left_path->p_node[i].el; in ocfs2_complete_edge_insert()
2094 ocfs2_journal_dirty(handle, left_path->p_node[i].bh); in ocfs2_complete_edge_insert()
2101 left_el = left_path->p_node[i].el; in ocfs2_complete_edge_insert()
2110 el = left_path->p_node[subtree_index].el; in ocfs2_complete_edge_insert()
2111 left_el = left_path->p_node[subtree_index + 1].el; in ocfs2_complete_edge_insert()
2115 left_path->p_node[subtree_index + 1].bh->b_blocknr); in ocfs2_complete_edge_insert()
[all …]
Drefcounttree.c974 struct ocfs2_path *left_path = NULL, *right_path = NULL; in ocfs2_get_refcount_cpos_end() local
1004 left_path = ocfs2_new_path_from_et(&et); in ocfs2_get_refcount_cpos_end()
1005 if (!left_path) { in ocfs2_get_refcount_cpos_end()
1012 ret = ocfs2_find_path(ci, left_path, cpos); in ocfs2_get_refcount_cpos_end()
1018 right_path = ocfs2_new_path_from_path(left_path); in ocfs2_get_refcount_cpos_end()
1025 ret = ocfs2_find_cpos_for_right_leaf(sb, left_path, &cpos); in ocfs2_get_refcount_cpos_end()
1037 subtree_root = ocfs2_find_subtree_root(&et, left_path, in ocfs2_get_refcount_cpos_end()
1040 tmp_el = left_path->p_node[subtree_root].el; in ocfs2_get_refcount_cpos_end()
1041 blkno = left_path->p_node[subtree_root+1].bh->b_blocknr; in ocfs2_get_refcount_cpos_end()
1052 ocfs2_free_path(left_path); in ocfs2_get_refcount_cpos_end()
/Linux-v4.19/fs/btrfs/
Dctree.c5284 static int tree_compare_item(struct btrfs_path *left_path, in tree_compare_item() argument
5292 len1 = btrfs_item_size_nr(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
5297 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
5301 read_extent_buffer(left_path->nodes[0], tmp_buf, off1, len1); in tree_compare_item()
5332 struct btrfs_path *left_path = NULL; in btrfs_compare_trees() local
5350 left_path = btrfs_alloc_path(); in btrfs_compare_trees()
5351 if (!left_path) { in btrfs_compare_trees()
5367 left_path->search_commit_root = 1; in btrfs_compare_trees()
5368 left_path->skip_locking = 1; in btrfs_compare_trees()
5411 left_path->nodes[left_level] = in btrfs_compare_trees()
[all …]
Dsend.c85 struct btrfs_path *left_path; member
4241 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, in record_new_ref()
4359 ret = find_iref(sctx->send_root, sctx->left_path, sctx->cmp_key, in __record_changed_deleted_ref()
4373 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, in record_changed_ref()
4577 ret = iterate_dir_item(sctx->send_root, sctx->left_path, in process_new_xattr()
4685 ret = find_xattr(sctx->send_root, sctx->left_path, sctx->cmp_key, in __process_changed_deleted_xattr()
4700 ret = iterate_dir_item(sctx->send_root, sctx->left_path, in process_changed_xattr()
5288 struct btrfs_path *left_path, in is_extent_unchanged() argument
5314 eb = left_path->nodes[0]; in is_extent_unchanged()
5315 slot = left_path->slots[0]; in is_extent_unchanged()
[all …]
Dctree.h2830 typedef int (*btrfs_changed_cb_t)(struct btrfs_path *left_path,