Home
last modified time | relevance | path

Searched defs:root (Results 1 – 25 of 732) sorted by relevance

12345678910>>...30

/linux-6.1.9/lib/
Dradix-tree.c93 static inline gfp_t root_gfp_mask(const struct radix_tree_root *root) in root_gfp_mask()
116 static inline void root_tag_set(struct radix_tree_root *root, unsigned tag) in root_tag_set()
121 static inline void root_tag_clear(struct radix_tree_root *root, unsigned tag) in root_tag_clear()
126 static inline void root_tag_clear_all(struct radix_tree_root *root) in root_tag_clear_all()
131 static inline int root_tag_get(const struct radix_tree_root *root, unsigned tag) in root_tag_get()
136 static inline unsigned root_tags_get(const struct radix_tree_root *root) in root_tags_get()
141 static inline bool is_idr(const struct radix_tree_root *root) in is_idr()
232 struct radix_tree_root *root, in radix_tree_node_alloc()
386 static unsigned radix_tree_load_root(const struct radix_tree_root *root, in radix_tree_load_root()
406 static int radix_tree_extend(struct radix_tree_root *root, gfp_t gfp, in radix_tree_extend()
[all …]
Drbtree.c76 struct rb_root *root, int color) in __rb_rotate_set_parents()
85 __rb_insert(struct rb_node *node, struct rb_root *root, in __rb_insert()
227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, in ____rb_erase_color()
410 void __rb_erase_color(struct rb_node *parent, struct rb_root *root, in __rb_erase_color()
434 void rb_insert_color(struct rb_node *node, struct rb_root *root) in rb_insert_color()
440 void rb_erase(struct rb_node *node, struct rb_root *root) in rb_erase()
456 void __rb_insert_augmented(struct rb_node *node, struct rb_root *root, in __rb_insert_augmented()
466 struct rb_node *rb_first(const struct rb_root *root) in rb_first()
479 struct rb_node *rb_last(const struct rb_root *root) in rb_last()
554 struct rb_root *root) in rb_replace_node()
[all …]
Drbtree_test.c27 static struct rb_root_cached root = RB_ROOT_CACHED; variable
32 static void insert(struct test_node *node, struct rb_root_cached *root) in insert()
49 static void insert_cached(struct test_node *node, struct rb_root_cached *root) in insert_cached()
69 static inline void erase(struct test_node *node, struct rb_root_cached *root) in erase()
74 static inline void erase_cached(struct test_node *node, struct rb_root_cached *root) in erase_cached()
110 struct rb_root_cached *root) in insert_augmented_cached()
138 static void erase_augmented(struct test_node *node, struct rb_root_cached *root) in erase_augmented()
144 struct rb_root_cached *root) in erase_augmented_cached()
/linux-6.1.9/tools/lib/
Drbtree.c76 struct rb_root *root, int color) in __rb_rotate_set_parents()
85 __rb_insert(struct rb_node *node, struct rb_root *root, in __rb_insert()
227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, in ____rb_erase_color()
410 void __rb_erase_color(struct rb_node *parent, struct rb_root *root, in __rb_erase_color()
433 void rb_insert_color(struct rb_node *node, struct rb_root *root) in rb_insert_color()
438 void rb_erase(struct rb_node *node, struct rb_root *root) in rb_erase()
453 void __rb_insert_augmented(struct rb_node *node, struct rb_root *root, in __rb_insert_augmented()
462 struct rb_node *rb_first(const struct rb_root *root) in rb_first()
474 struct rb_node *rb_last(const struct rb_root *root) in rb_last()
546 struct rb_root *root) in rb_replace_node()
[all …]
/linux-6.1.9/fs/vboxsf/
Dvboxsf_wrappers.c75 int vboxsf_map_folder(struct shfl_string *folder_name, u32 *root) in vboxsf_map_folder()
102 int vboxsf_unmap_folder(u32 root) in vboxsf_unmap_folder()
130 int vboxsf_create(u32 root, struct shfl_string *parsed_path, in vboxsf_create()
149 int vboxsf_close(u32 root, u64 handle) in vboxsf_close()
162 int vboxsf_remove(u32 root, struct shfl_string *parsed_path, u32 flags) in vboxsf_remove()
179 int vboxsf_rename(u32 root, struct shfl_string *src_path, in vboxsf_rename()
201 int vboxsf_read(u32 root, u64 handle, u64 offset, u32 *buf_len, u8 *buf) in vboxsf_read()
225 int vboxsf_write(u32 root, u64 handle, u64 offset, u32 *buf_len, u8 *buf) in vboxsf_write()
250 int vboxsf_dirinfo(u32 root, u64 handle, in vboxsf_dirinfo()
294 int vboxsf_fsinfo(u32 root, u64 handle, u32 flags, in vboxsf_fsinfo()
[all …]
/linux-6.1.9/tools/testing/radix-tree/
Dtest.c12 item_tag_set(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_set()
18 item_tag_clear(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_clear()
23 int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_get()
37 int item_insert(struct radix_tree_root *root, unsigned long index) in item_insert()
61 int item_delete(struct radix_tree_root *root, unsigned long index) in item_delete()
91 void item_check_present(struct radix_tree_root *root, unsigned long index) in item_check_present()
100 struct item *item_lookup(struct radix_tree_root *root, unsigned long index) in item_lookup()
105 void item_check_absent(struct radix_tree_root *root, unsigned long index) in item_check_absent()
116 void item_gang_check_present(struct radix_tree_root *root, in item_gang_check_present()
143 void item_full_scan(struct radix_tree_root *root, unsigned long start, in item_full_scan()
[all …]
/linux-6.1.9/drivers/acpi/
Dpci_root.c154 static void decode_osc_bits(struct acpi_pci_root *root, char *msg, u32 word, in decode_osc_bits()
170 static void decode_osc_support(struct acpi_pci_root *root, char *msg, u32 word) in decode_osc_support()
176 static void decode_osc_control(struct acpi_pci_root *root, char *msg, u32 word) in decode_osc_control()
182 static void decode_cxl_osc_support(struct acpi_pci_root *root, char *msg, u32 word) in decode_cxl_osc_support()
188 static void decode_cxl_osc_control(struct acpi_pci_root *root, char *msg, u32 word) in decode_cxl_osc_control()
194 static inline bool is_pcie(struct acpi_pci_root *root) in is_pcie()
199 static inline bool is_cxl(struct acpi_pci_root *root) in is_cxl()
207 static char *to_uuid(struct acpi_pci_root *root) in to_uuid()
214 static int cap_length(struct acpi_pci_root *root) in cap_length()
221 static acpi_status acpi_pci_run_osc(struct acpi_pci_root *root, in acpi_pci_run_osc()
[all …]
/linux-6.1.9/tools/testing/selftests/cgroup/
Dtest_core.c78 static int test_cgcore_destroy(const char *root) in test_cgcore_destroy()
140 static int test_cgcore_populated(const char *root) in test_cgcore_populated()
273 static int test_cgcore_invalid_domain(const char *root) in test_cgcore_invalid_domain()
335 static int test_cgcore_parent_becomes_threaded(const char *root) in test_cgcore_parent_becomes_threaded()
374 static int test_cgcore_no_internal_process_constraint_on_threads(const char *root) in test_cgcore_no_internal_process_constraint_on_threads()
426 static int test_cgcore_top_down_constraint_enable(const char *root) in test_cgcore_top_down_constraint_enable()
461 static int test_cgcore_top_down_constraint_disable(const char *root) in test_cgcore_top_down_constraint_disable()
502 static int test_cgcore_internal_process_constraint(const char *root) in test_cgcore_internal_process_constraint()
548 static int test_cgcore_proc_migration(const char *root) in test_cgcore_proc_migration()
621 static int test_cgcore_thread_migration(const char *root) in test_cgcore_thread_migration()
[all …]
Dtest_freezer.c136 static int test_cgfreezer_simple(const char *root) in test_cgfreezer_simple()
188 static int test_cgfreezer_tree(const char *root) in test_cgfreezer_tree()
360 static int test_cgfreezer_forkbomb(const char *root) in test_cgfreezer_forkbomb()
399 static int test_cgfreezer_mkdir(const char *root) in test_cgfreezer_mkdir()
453 static int test_cgfreezer_rmdir(const char *root) in test_cgfreezer_rmdir()
508 static int test_cgfreezer_migrate(const char *root) in test_cgfreezer_migrate()
583 static int test_cgfreezer_ptrace(const char *root) in test_cgfreezer_ptrace()
665 static int test_cgfreezer_stopped(const char *root) in test_cgfreezer_stopped()
709 static int test_cgfreezer_ptraced(const char *root) in test_cgfreezer_ptraced()
778 static int test_cgfreezer_vfork(const char *root) in test_cgfreezer_vfork()
[all …]
Dtest_memcontrol.c31 static int test_memcg_subtree_control(const char *root) in test_memcg_subtree_control()
161 static int test_memcg_current(const char *root) in test_memcg_current()
270 static int test_memcg_protection(const char *root, bool min) in test_memcg_protection()
431 static int test_memcg_min(const char *root) in test_memcg_min()
436 static int test_memcg_low(const char *root) in test_memcg_low()
477 static int test_memcg_high(const char *root) in test_memcg_high()
540 static int test_memcg_high_sync(const char *root) in test_memcg_high_sync()
602 static int test_memcg_max(const char *root) in test_memcg_max()
652 static int test_memcg_reclaim(const char *root) in test_memcg_reclaim()
784 static int test_memcg_swap_max(const char *root) in test_memcg_swap_max()
[all …]
Dtest_cpu.c38 static int test_cpucg_subtree_control(const char *root) in test_cpucg_subtree_control()
183 static int test_cpucg_stats(const char *root) in test_cpucg_stats()
234 const char *root, in run_cpucg_weight_test()
355 static int test_cpucg_weight_overprovisioned(const char *root) in test_cpucg_weight_overprovisioned()
395 static int test_cpucg_weight_underprovisioned(const char *root) in test_cpucg_weight_underprovisioned()
407 run_cpucg_nested_weight_test(const char *root, bool overprovisioned) in run_cpucg_nested_weight_test()
542 test_cpucg_nested_weight_overprovisioned(const char *root) in test_cpucg_nested_weight_overprovisioned()
562 test_cpucg_nested_weight_underprovisioned(const char *root) in test_cpucg_nested_weight_underprovisioned()
571 static int test_cpucg_max(const char *root) in test_cpucg_max()
624 static int test_cpucg_max_nested(const char *root) in test_cpucg_max_nested()
[all …]
Dtest_kmem.c52 static int test_kmem_basic(const char *root) in test_kmem_basic()
163 static int test_kmem_memcg_deletion(const char *root) in test_kmem_memcg_deletion()
220 static int test_kmem_proc_kpagecgroup(const char *root) in test_kmem_proc_kpagecgroup()
280 static int test_kmem_kernel_stacks(const char *root) in test_kmem_kernel_stacks()
308 static int test_kmem_dead_cgroups(const char *root) in test_kmem_dead_cgroups()
355 static int test_percpu_basic(const char *root) in test_percpu_basic()
423 char root[PATH_MAX]; in main() local
/linux-6.1.9/drivers/md/persistent-data/
Ddm-bitset.c36 int dm_bitset_empty(struct dm_disk_bitset *info, dm_block_t *root) in dm_bitset_empty()
72 int dm_bitset_new(struct dm_disk_bitset *info, dm_block_t *root, in dm_bitset_new()
84 int dm_bitset_resize(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_resize()
98 int dm_bitset_del(struct dm_disk_bitset *info, dm_block_t root) in dm_bitset_del()
104 int dm_bitset_flush(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_flush()
128 static int read_bits(struct dm_disk_bitset *info, dm_block_t root, in read_bits()
146 static int get_array_entry(struct dm_disk_bitset *info, dm_block_t root, in get_array_entry()
164 int dm_bitset_set_bit(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_set_bit()
181 int dm_bitset_clear_bit(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_clear_bit()
198 int dm_bitset_test_bit(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_test_bit()
[all …]
/linux-6.1.9/fs/btrfs/
Dtransaction.c163 struct btrfs_root *root, *tmp; in switch_commit_roots() local
387 struct btrfs_root *root, in record_root_in_trans()
448 struct btrfs_root *root) in btrfs_add_dropped_root()
467 struct btrfs_root *root) in btrfs_record_root_in_trans()
533 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root()
547 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction()
747 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction()
755 struct btrfs_root *root, in btrfs_start_transaction_fallback_global_rsv()
762 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction()
768 struct btrfs_trans_handle *btrfs_join_transaction_spacecache(struct btrfs_root *root) in btrfs_join_transaction_spacecache()
[all …]
Dctree.c142 struct extent_buffer *btrfs_root_node(struct btrfs_root *root) in btrfs_root_node()
171 static void add_root_to_dirty_list(struct btrfs_root *root) in add_root_to_dirty_list()
198 struct btrfs_root *root, in btrfs_copy_root()
258 int btrfs_block_can_be_shared(struct btrfs_root *root, in btrfs_block_can_be_shared()
277 struct btrfs_root *root, in update_ref_for_cow()
398 struct btrfs_root *root, in __btrfs_cow_block()
517 struct btrfs_root *root, in should_cow_block()
552 struct btrfs_root *root, struct extent_buffer *buf, in btrfs_cow_block()
666 struct btrfs_root *root, struct extent_buffer *parent, in btrfs_realloc_node()
830 static void root_add_used(struct btrfs_root *root, u32 size) in root_add_used()
[all …]
Ddir-item.c20 struct btrfs_root *root, in insert_with_overflow()
54 struct btrfs_root *root, in btrfs_insert_xattr_item()
112 struct btrfs_root *root = dir->root; in btrfs_insert_dir_item() local
173 struct btrfs_root *root, struct btrfs_path *path, in btrfs_lookup_match_dir()
207 struct btrfs_root *root, in btrfs_lookup_dir_item()
226 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, in btrfs_check_dir_item_collision()
304 struct btrfs_root *root, in btrfs_lookup_dir_index_item()
324 btrfs_search_dir_index_item(struct btrfs_root *root, in btrfs_search_dir_index_item()
353 struct btrfs_root *root, in btrfs_lookup_xattr()
414 struct btrfs_root *root, in btrfs_delete_one_dir_name()
Ddisk-io.c722 struct btrfs_root *root; in btree_csum_one_bio() local
974 static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, in __setup_root()
1055 struct btrfs_root *root = kzalloc(sizeof(*root), flags); in btrfs_alloc_root() local
1065 struct btrfs_root *root; in btrfs_alloc_dummy_root() local
1092 const struct btrfs_root *root = rb_entry(node, struct btrfs_root, rb_node); in global_root_key_cmp() local
1097 int btrfs_global_root_insert(struct btrfs_root *root) in btrfs_global_root_insert()
1110 void btrfs_global_root_delete(struct btrfs_root *root) in btrfs_global_root_delete()
1123 struct btrfs_root *root = NULL; in btrfs_global_root() local
1183 struct btrfs_root *root; in btrfs_create_tree() local
1254 struct btrfs_root *root; in alloc_log_tree() local
[all …]
Droot-tree.c62 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root()
116 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root()
195 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root()
211 struct btrfs_root *root; in btrfs_find_orphan_roots() local
310 struct btrfs_root *root = trans->fs_info->tree_root; in btrfs_del_root() local
470 struct btrfs_root *root) in btrfs_update_root_times()
497 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root, in btrfs_subvolume_reserve_metadata()
537 void btrfs_subvolume_release_metadata(struct btrfs_root *root, in btrfs_subvolume_release_metadata()
/linux-6.1.9/fs/kernfs/
Ddir.c475 struct kernfs_root *root = kernfs_root(kn); in kernfs_drain() local
534 struct kernfs_root *root; in kernfs_put() local
594 static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root, in __kernfs_new_node()
690 struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root, in kernfs_find_and_get_node_by_id()
743 struct kernfs_root *root = kernfs_root(parent); in kernfs_add_one() local
881 struct kernfs_root *root = kernfs_root(parent); in kernfs_find_and_get_ns() local
906 struct kernfs_root *root = kernfs_root(parent); in kernfs_walk_and_get_ns() local
928 struct kernfs_root *root; in kernfs_create_root() local
980 void kernfs_destroy_root(struct kernfs_root *root) in kernfs_destroy_root()
995 struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root) in kernfs_root_to_node()
[all …]
/linux-6.1.9/fs/nfs/blocklayout/
Dextent_tree.c19 ext_tree_first(struct rb_root *root) in ext_tree_first()
46 __ext_tree_search(struct rb_root *root, sector_t start) in __ext_tree_search()
95 ext_try_to_merge_left(struct rb_root *root, struct pnfs_block_extent *be) in ext_try_to_merge_left()
111 ext_try_to_merge_right(struct rb_root *root, struct pnfs_block_extent *be) in ext_try_to_merge_right()
136 __ext_tree_insert(struct rb_root *root, in __ext_tree_insert()
177 __ext_tree_remove(struct rb_root *root, in __ext_tree_remove()
258 struct rb_root *root; in ext_tree_insert() local
322 __ext_tree_lookup(struct rb_root *root, sector_t isect, in __ext_tree_lookup()
380 ext_tree_split(struct rb_root *root, struct pnfs_block_extent *be, in ext_tree_split()
408 struct rb_root *root = &bl->bl_ext_rw; in ext_tree_mark_written() local
[all …]
/linux-6.1.9/fs/btrfs/tests/
Dqgroup-tests.c14 static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr, in insert_normal_tree_ref()
66 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref()
117 static int remove_extent_item(struct btrfs_root *root, u64 bytenr, in remove_extent_item()
148 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr, in remove_extent_ref()
203 static int test_no_shared_qgroup(struct btrfs_root *root, in test_no_shared_qgroup()
302 static int test_multiple_refs(struct btrfs_root *root, in test_multiple_refs()
442 struct btrfs_root *root; in btrfs_test_qgroups() local
Dinode-tests.c15 static void insert_extent(struct btrfs_root *root, u64 start, u64 len, in insert_extent()
50 static void insert_inode_item_key(struct btrfs_root *root) in insert_inode_item_key()
87 static void setup_file_extents(struct btrfs_root *root, u32 sectorsize) in setup_file_extents()
220 struct btrfs_root *root = NULL; in test_btrfs_get_extent() local
821 struct btrfs_root *root = NULL; in test_hole_first() local
919 struct btrfs_root *root = NULL; in test_extent_accounting() local
/linux-6.1.9/include/linux/
Drbtree_augmented.h47 rb_insert_augmented(struct rb_node *node, struct rb_root *root, in rb_insert_augmented()
55 struct rb_root_cached *root, bool newleft, in rb_insert_augmented_cached()
170 struct rb_node *parent, struct rb_root *root) in __rb_change_child()
183 struct rb_node *parent, struct rb_root *root) in __rb_change_child_rcu()
198 __rb_erase_augmented(struct rb_node *node, struct rb_root *root, in __rb_erase_augmented()
300 rb_erase_augmented(struct rb_node *node, struct rb_root *root, in rb_erase_augmented()
309 rb_erase_augmented_cached(struct rb_node *node, struct rb_root_cached *root, in rb_erase_augmented_cached()
/linux-6.1.9/fs/
Dd_path.c104 const struct path *root, struct prepend_buffer *p) in __prepend_path()
156 const struct path *root, in prepend_path()
215 const struct path *root, in __d_path()
229 struct path root = {}; in d_absolute_path() local
238 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu()
267 struct path root; in d_path() local
381 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu()
414 struct path pwd, root; in SYSCALL_DEFINE2() local
/linux-6.1.9/arch/x86/kvm/mmu/
Dtdp_mmu.c95 struct kvm_mmu_page *root = container_of(work, struct kvm_mmu_page, in tdp_mmu_zap_root_work() local
123 static void tdp_mmu_schedule_zap_root(struct kvm *kvm, struct kvm_mmu_page *root) in tdp_mmu_schedule_zap_root()
140 void kvm_tdp_mmu_put_root(struct kvm *kvm, struct kvm_mmu_page *root, in kvm_tdp_mmu_put_root()
315 struct kvm_mmu_page *root; in kvm_tdp_mmu_get_vcpu_root_hpa() local
854 static void __tdp_mmu_zap_root(struct kvm *kvm, struct kvm_mmu_page *root, in __tdp_mmu_zap_root()
880 static void tdp_mmu_zap_root(struct kvm *kvm, struct kvm_mmu_page *root, in tdp_mmu_zap_root()
944 static bool tdp_mmu_zap_leafs(struct kvm *kvm, struct kvm_mmu_page *root, in tdp_mmu_zap_leafs()
987 struct kvm_mmu_page *root; in kvm_tdp_mmu_zap_leafs() local
997 struct kvm_mmu_page *root; in kvm_tdp_mmu_zap_all() local
1046 struct kvm_mmu_page *root; in kvm_tdp_mmu_invalidate_all_roots() local
[all …]

12345678910>>...30