Searched refs:root_id (Results 1 – 10 of 10) sorted by relevance
| /fs/btrfs/ |
| A D | root-tree.c | 342 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_del_root_ref() argument 358 key.objectid = root_id; in btrfs_del_root_ref() 390 key.offset = root_id; in btrfs_del_root_ref() 414 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_add_root_ref() argument 430 key.objectid = root_id; in btrfs_add_root_ref() 454 key.offset = root_id; in btrfs_add_root_ref()
|
| A D | root-tree.h | 21 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id, 24 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
|
| A D | backref.c | 229 if (ref1->root_id < ref2->root_id) in prelim_ref_compare() 231 if (ref1->root_id > ref2->root_id) in prelim_ref_compare() 279 if (newref->root_id == btrfs_root_id(sc->root) && in update_share_count() 388 struct preftree *preftree, u64 root_id, in add_prelim_ref() argument 395 if (root_id == BTRFS_DATA_RELOC_TREE_OBJECTID) in add_prelim_ref() 402 ref->root_id = root_id; in add_prelim_ref() 429 struct preftrees *preftrees, u64 root_id, in add_indirect_ref() argument 507 ref->root_id != btrfs_header_owner(eb)) { in add_all_parents() 531 ref->root_id != btrfs_header_owner(eb))) { in add_all_parents() 670 ref->root_id, level, ref->count, ret, in resolve_indirect_ref() [all …]
|
| A D | extent-tree.h | 129 u64 root_id,
|
| A D | backref.h | 259 u64 root_id; member
|
| A D | extent-tree.c | 3438 u64 root_id, in btrfs_free_tree_block() argument 3446 if (root_id != BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_tree_block() 3453 .ref_root = root_id, in btrfs_free_tree_block() 3477 if (root_id != BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_tree_block()
|
| A D | accessors.h | 344 root_id, 64);
|
| A D | send.c | 1317 static int iterate_backrefs(u64 ino, u64 offset, u64 num_bytes, u64 root_id, in iterate_backrefs() argument 1324 clone_root = bsearch((void *)(uintptr_t)root_id, bctx->sctx->clone_roots, in iterate_backrefs() 1452 const u64 root_id = node->val; in store_backref_cache() local 1455 root = bsearch((void *)(uintptr_t)root_id, sctx->clone_roots, in store_backref_cache() 1467 new_entry->root_ids[new_entry->num_roots] = root_id; in store_backref_cache()
|
| A D | disk-io.c | 1142 u64 root_id) in btrfs_lookup_fs_root() argument 1148 (unsigned long)root_id); in btrfs_lookup_fs_root()
|
| /fs/bcachefs/ |
| A D | snapshot.c | 81 u32 root_id, u32 subvol_id, u32 *tree_id) in bch2_snapshot_tree_create() argument 90 n_tree->v.root_snapshot = cpu_to_le32(root_id); in bch2_snapshot_tree_create() 486 u32 root_id; in check_snapshot_tree() local 493 root_id = le32_to_cpu(st.v->root_snapshot); in check_snapshot_tree() 497 POS(0, root_id), 0, snapshot); in check_snapshot_tree() 506 root_id != bch2_snapshot_root(c, root_id) || in check_snapshot_tree() 534 root_id), in check_snapshot_tree() 658 BTREE_ID_snapshots, POS(0, root_id), in snapshot_tree_ptr_repair() 673 bch2_snapshot_tree_create(trans, root_id, in snapshot_tree_ptr_repair() 680 if (k.k->p.offset == root_id) in snapshot_tree_ptr_repair() [all …]
|
Completed in 45 milliseconds