Home
last modified time | relevance | path

Searched refs:btrfs_search_slot (Results 1 - 25 of 64) sorted by relevance

123

/kernel/linux/linux-5.10/fs/btrfs/
H A Droot-tree.c73 ret = btrfs_search_slot(NULL, root, search_key, path, 0, 0); in btrfs_find_root()
134 ret = btrfs_search_slot(trans, root, key, path, 0, 1); in btrfs_update_root()
160 ret = btrfs_search_slot(trans, root, key, path, in btrfs_update_root()
228 ret = btrfs_search_slot(NULL, tree_root, &key, path, 0, 0); in btrfs_find_orphan_roots()
304 ret = btrfs_search_slot(trans, root, key, path, -1, 1); in btrfs_del_root()
338 ret = btrfs_search_slot(trans, tree_root, &key, path, -1, 1); in btrfs_del_root_ref()
H A Ddir-item.c195 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_dir_item()
224 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_check_dir_item_collision()
287 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_dir_index_item()
310 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_search_dir_index_item()
357 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_xattr()
H A Dinode-item.c88 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref()
124 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_extref()
198 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_ref()
414 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
H A Dorphan.c45 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_orphan_item()
H A Dtree-log.c366 ret = btrfs_search_slot(NULL, root, key, path, 0, 0); in overwrite_item()
963 ret = btrfs_search_slot(NULL, log, key, path, 0, 0); in backref_in_log()
1008 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in __add_inode_ref()
1242 ret = btrfs_search_slot(NULL, root, key, path, 0, 0); in unlink_old_inode_refs()
1338 ret = btrfs_search_slot(NULL, BTRFS_I(inode)->root, &key, path, 0, 0); in btrfs_inode_ref_exists()
1678 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in count_inode_refs()
1789 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in fixup_inode_link_counts()
2182 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in find_dir_range()
2320 ret = btrfs_search_slot(NULL, root, dir_key, path, in check_item_in_log()
2363 ret = btrfs_search_slot(NUL in replay_xattr_deletes()
[all...]
H A Duuid-tree.c45 ret = btrfs_search_slot(NULL, uuid_root, &key, path, 0, 0); in btrfs_uuid_tree_lookup()
176 ret = btrfs_search_slot(trans, uuid_root, &key, path, -1, 1); in btrfs_uuid_tree_remove()
H A Dexport.c161 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_get_parent()
238 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_get_name()
H A Dtree-defrag.c84 wret = btrfs_search_slot(trans, root, &key, path, 0, 1); in btrfs_defrag_leaves()
112 * btrfs_search_slot() / ctree.c:unlock_up() does not keeps a lock on a in btrfs_defrag_leaves()
H A Dfile-item.c190 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
238 ret = btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
428 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_lookup_csums_range()
723 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_csums()
942 ret = btrfs_search_slot(trans, root, &file_key, path, in btrfs_csum_file_blocks()
H A Dbackref.c616 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in resolve_indirect_ref()
1249 ret = btrfs_search_slot(trans, fs_info->extent_root, &key, path, 0, 0);
1644 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0);
1654 * btrfs_search_slot will point us to the slot
1805 ret = btrfs_search_slot(NULL, fs_info->extent_root, &key, path, 0, 0);
2409 ret = btrfs_search_slot(NULL, fs_info->extent_root, &key, path, 0, 0);
2798 ret = btrfs_search_slot(NULL, root, tree_key, path, 0, 0);
H A Ddev-replace.c91 ret = btrfs_search_slot(NULL, dev_root, &key, path, 0, 0); in btrfs_init_dev_replace()
362 ret = btrfs_search_slot(trans, dev_root, &key, path, -1, 1); in btrfs_run_dev_replace()
H A Dreflink.c191 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in clone_copy_inline_extent()
375 ret = btrfs_search_slot(NULL, BTRFS_I(src)->root, &key, path, in btrfs_clone()
/kernel/linux/linux-6.6/fs/btrfs/
H A Droot-tree.c76 ret = btrfs_search_slot(NULL, root, search_key, path, 0, 0); in btrfs_find_root()
137 ret = btrfs_search_slot(trans, root, key, path, 0, 1); in btrfs_update_root()
163 ret = btrfs_search_slot(trans, root, key, path, in btrfs_update_root()
231 ret = btrfs_search_slot(NULL, tree_root, &key, path, 0, 0); in btrfs_find_orphan_roots()
322 ret = btrfs_search_slot(trans, root, key, path, -1, 1); in btrfs_del_root()
354 ret = btrfs_search_slot(trans, tree_root, &key, path, -1, 1); in btrfs_del_root_ref()
H A Dinode-item.c97 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref()
131 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_extref()
202 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_ref()
412 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
516 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_truncate_inode_items()
H A Dorphan.c46 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_orphan_item()
H A Dtree-log.c403 ret = btrfs_search_slot(NULL, root, key, path, 0, 0); in overwrite_item()
1030 ret = btrfs_search_slot(NULL, log, key, path, 0, 0); in backref_in_log()
1070 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in __add_inode_ref()
1278 ret = btrfs_search_slot(NULL, root, key, path, 0, 0); in unlink_old_inode_refs()
1546 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in count_inode_refs()
1661 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in fixup_inode_link_counts()
2040 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in find_dir_range()
2194 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in replay_xattr_deletes()
2329 ret = btrfs_search_slot(NULL, root, &dir_key, path, in replay_dir_deletes()
3319 ret = btrfs_search_slot(NUL in inode_logged()
[all...]
H A Duuid-tree.c48 ret = btrfs_search_slot(NULL, uuid_root, &key, path, 0, 0); in btrfs_uuid_tree_lookup()
178 ret = btrfs_search_slot(trans, uuid_root, &key, path, -1, 1); in btrfs_uuid_tree_remove()
H A Dexport.c174 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_get_parent()
250 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_get_name()
H A Dfile-item.c222 ret = btrfs_search_slot(trans, root, &file_key, path, 0, cow); in btrfs_lookup_csum()
270 return btrfs_search_slot(trans, root, &file_key, path, ins_len, cow); in btrfs_lookup_file_extent()
488 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_lookup_csums_list()
637 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_lookup_csums_bitmap()
889 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_csums()
1123 ret = btrfs_search_slot(trans, root, &file_key, path, in btrfs_csum_file_blocks()
H A Dverity.c138 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in drop_verity_items()
325 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in read_key_bytes()
H A Dctree.h106 * Indicate that new item (btrfs_search_slot) is extending already
563 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root,
659 * @iter_ret: Contains the value returned from btrfs_search_slot or
663 * btrfs_search_slot, if it encountered an error, or the value returned from
669 * values stemming from btrfs_search_slot.
672 for (iter_ret = btrfs_search_slot(NULL, (root), (key), (path), 0, 0); \
H A Drelocation.c1343 ret = btrfs_search_slot(trans, src, &key, path, 0, 1); in replace_path()
1730 ret = btrfs_search_slot(NULL, reloc_root, &key, path, 0, 0); in merge_reloc_root()
2452 ret = btrfs_search_slot(trans, root, key, path, 0, 1); in do_relocation()
2749 ret = btrfs_search_slot(trans, root, key, path, 0, 1); in relocate_tree_block()
3326 ret = btrfs_search_slot(NULL, rc->extent_root, &key, path, 0, 0); in __add_tree_block()
3523 ret = btrfs_search_slot(NULL, rc->extent_root, &key, path, in find_next_extent()
3860 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in delete_orphan_inode()
4227 ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, in btrfs_recover_relocation()
H A Dctree.c1611 * Helper function for btrfs_search_slot() and other functions that do a search
1736 * helper function for btrfs_search_slot. This does all of the checks
1741 * drop the path, -EAGAIN is returned and btrfs_search_slot must
1805 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item()
2094 * btrfs_search_slot - look for a key in a tree and perform necessary
2124 int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_search_slot() function
2362 ALLOW_ERROR_INJECTION(btrfs_search_slot, ERRNO);
2365 * Like btrfs_search_slot, this looks for a key in the given tree. It uses the
2373 * btrfs_search_slot at that point in time with ins_len and cow both set to 0.
2393 return btrfs_search_slot(NUL in btrfs_search_old_slot()
[all...]
/kernel/linux/linux-5.10/fs/btrfs/tests/
H A Dqgroup-tests.c90 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in add_tree_ref()
140 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1); in remove_extent_item()
174 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in remove_extent_ref()
196 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1); in remove_extent_ref()
/kernel/linux/linux-6.6/fs/btrfs/tests/
H A Dqgroup-tests.c90 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in add_tree_ref()
139 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1); in remove_extent_item()
172 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in remove_extent_ref()
194 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1); in remove_extent_ref()

Completed in 37 milliseconds

123