Home
last modified time | relevance | path

Searched refs:tmp_root (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/tests/
H A Dqgroup-tests.c457 struct btrfs_root *tmp_root; in btrfs_test_qgroups() local
498 tmp_root = btrfs_alloc_dummy_root(fs_info); in btrfs_test_qgroups()
499 if (IS_ERR(tmp_root)) { in btrfs_test_qgroups()
501 ret = PTR_ERR(tmp_root); in btrfs_test_qgroups()
505 tmp_root->root_key.objectid = BTRFS_FS_TREE_OBJECTID; in btrfs_test_qgroups()
506 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
507 ret = btrfs_insert_fs_root(root->fs_info, tmp_root); in btrfs_test_qgroups()
512 btrfs_put_root(tmp_root); in btrfs_test_qgroups()
514 tmp_root = btrfs_alloc_dummy_root(fs_info); in btrfs_test_qgroups()
515 if (IS_ERR(tmp_root)) { in btrfs_test_qgroups()
[all...]
/kernel/linux/linux-6.6/fs/btrfs/tests/
H A Dqgroup-tests.c475 struct btrfs_root *tmp_root; in btrfs_test_qgroups() local
519 tmp_root = btrfs_alloc_dummy_root(fs_info); in btrfs_test_qgroups()
520 if (IS_ERR(tmp_root)) { in btrfs_test_qgroups()
522 ret = PTR_ERR(tmp_root); in btrfs_test_qgroups()
526 tmp_root->root_key.objectid = BTRFS_FS_TREE_OBJECTID; in btrfs_test_qgroups()
527 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
528 ret = btrfs_insert_fs_root(root->fs_info, tmp_root); in btrfs_test_qgroups()
533 btrfs_put_root(tmp_root); in btrfs_test_qgroups()
535 tmp_root = btrfs_alloc_dummy_root(fs_info); in btrfs_test_qgroups()
536 if (IS_ERR(tmp_root)) { in btrfs_test_qgroups()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dannotate.c2747 struct rb_root tmp_root = RB_ROOT; in annotation__calc_lines() local
2768 insert_source_line(&tmp_root, al, opts); in annotation__calc_lines()
2771 resort_source_line(root, &tmp_root); in annotation__calc_lines()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dannotate.c2891 struct rb_root tmp_root = RB_ROOT; in annotation__calc_lines() local
2912 insert_source_line(&tmp_root, al, opts); in annotation__calc_lines()
2915 resort_source_line(root, &tmp_root); in annotation__calc_lines()

Completed in 10 milliseconds