/Linux-v6.6/lib/ |
D | radix-tree.c | 95 static inline gfp_t root_gfp_mask(const struct radix_tree_root *root) in root_gfp_mask() 118 static inline void root_tag_set(struct radix_tree_root *root, unsigned tag) in root_tag_set() 123 static inline void root_tag_clear(struct radix_tree_root *root, unsigned tag) in root_tag_clear() 128 static inline void root_tag_clear_all(struct radix_tree_root *root) in root_tag_clear_all() 133 static inline int root_tag_get(const struct radix_tree_root *root, unsigned tag) in root_tag_get() 138 static inline unsigned root_tags_get(const struct radix_tree_root *root) in root_tags_get() 143 static inline bool is_idr(const struct radix_tree_root *root) in is_idr() 234 struct radix_tree_root *root, in radix_tree_node_alloc() 388 static unsigned radix_tree_load_root(const struct radix_tree_root *root, in radix_tree_load_root() 408 static int radix_tree_extend(struct radix_tree_root *root, gfp_t gfp, in radix_tree_extend() [all …]
|
D | rbtree.c | 76 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 …]
|
D | rbtree_test.c | 27 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-v6.6/tools/lib/ |
D | rbtree.c | 76 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-v6.6/fs/vboxsf/ |
D | vboxsf_wrappers.c | 75 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-v6.6/tools/testing/radix-tree/ |
D | test.c | 12 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-v6.6/drivers/acpi/ |
D | pci_root.c | 154 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-v6.6/tools/testing/selftests/cgroup/ |
D | test_core.c | 78 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 …]
|
D | test_freezer.c | 136 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 …]
|
D | test_memcontrol.c | 31 static int test_memcg_subtree_control(const char *root) in test_memcg_subtree_control() 166 static int test_memcg_current(const char *root) in test_memcg_current() 288 static int test_memcg_protection(const char *root, bool min) in test_memcg_protection() 454 static int test_memcg_min(const char *root) in test_memcg_min() 459 static int test_memcg_low(const char *root) in test_memcg_low() 500 static int test_memcg_high(const char *root) in test_memcg_high() 563 static int test_memcg_high_sync(const char *root) in test_memcg_high_sync() 625 static int test_memcg_max(const char *root) in test_memcg_max() 717 static int test_memcg_reclaim(const char *root) in test_memcg_reclaim() 820 static int test_memcg_swap_max(const char *root) in test_memcg_swap_max() [all …]
|
D | test_cpu.c | 38 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 …]
|
D | test_kmem.c | 52 static int test_kmem_basic(const char *root) in test_kmem_basic() 167 static int test_kmem_memcg_deletion(const char *root) in test_kmem_memcg_deletion() 217 static int test_kmem_proc_kpagecgroup(const char *root) in test_kmem_proc_kpagecgroup() 277 static int test_kmem_kernel_stacks(const char *root) in test_kmem_kernel_stacks() 305 static int test_kmem_dead_cgroups(const char *root) in test_kmem_dead_cgroups() 352 static int test_percpu_basic(const char *root) in test_percpu_basic() 420 char root[PATH_MAX]; in main() local
|
/Linux-v6.6/drivers/md/persistent-data/ |
D | dm-bitset.c | 37 int dm_bitset_empty(struct dm_disk_bitset *info, dm_block_t *root) in dm_bitset_empty() 73 int dm_bitset_new(struct dm_disk_bitset *info, dm_block_t *root, in dm_bitset_new() 86 int dm_bitset_resize(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_resize() 100 int dm_bitset_del(struct dm_disk_bitset *info, dm_block_t root) in dm_bitset_del() 106 int dm_bitset_flush(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_flush() 130 static int read_bits(struct dm_disk_bitset *info, dm_block_t root, in read_bits() 148 static int get_array_entry(struct dm_disk_bitset *info, dm_block_t root, in get_array_entry() 166 int dm_bitset_set_bit(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_set_bit() 183 int dm_bitset_clear_bit(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_clear_bit() 200 int dm_bitset_test_bit(struct dm_disk_bitset *info, dm_block_t root, in dm_bitset_test_bit() [all …]
|
/Linux-v6.6/fs/btrfs/ |
D | transaction.c | 182 struct btrfs_root *root, *tmp; in switch_commit_roots() local 405 struct btrfs_root *root, in record_root_in_trans() 466 struct btrfs_root *root) in btrfs_add_dropped_root() 485 struct btrfs_root *root) in btrfs_record_root_in_trans() 551 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root() 565 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction() 779 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction() 787 struct btrfs_root *root, in btrfs_start_transaction_fallback_global_rsv() 794 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction() 800 struct btrfs_trans_handle *btrfs_join_transaction_spacecache(struct btrfs_root *root) in btrfs_join_transaction_spacecache() [all …]
|
D | dir-item.c | 23 struct btrfs_root *root, in insert_with_overflow() 57 struct btrfs_root *root, in btrfs_insert_xattr_item() 115 struct btrfs_root *root = dir->root; in btrfs_insert_dir_item() local 179 struct btrfs_root *root, struct btrfs_path *path, in btrfs_lookup_match_dir() 213 struct btrfs_root *root, in btrfs_lookup_dir_item() 233 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, in btrfs_check_dir_item_collision() 309 struct btrfs_root *root, in btrfs_lookup_dir_index_item() 329 btrfs_search_dir_index_item(struct btrfs_root *root, struct btrfs_path *path, in btrfs_search_dir_index_item() 357 struct btrfs_root *root, in btrfs_lookup_xattr() 418 struct btrfs_root *root, in btrfs_delete_one_dir_name()
|
D | disk-io.c | 621 static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, in __setup_root() 702 struct btrfs_root *root = kzalloc(sizeof(*root), flags); in btrfs_alloc_root() local 712 struct btrfs_root *root; in btrfs_alloc_dummy_root() local 739 const struct btrfs_root *root = rb_entry(node, struct btrfs_root, rb_node); in global_root_key_cmp() local 744 int btrfs_global_root_insert(struct btrfs_root *root) in btrfs_global_root_insert() 762 void btrfs_global_root_delete(struct btrfs_root *root) in btrfs_global_root_delete() 775 struct btrfs_root *root = NULL; in btrfs_global_root() local 842 struct btrfs_root *root; in btrfs_create_tree() local 910 struct btrfs_root *root; in alloc_log_tree() local 924 struct btrfs_root *root) in btrfs_alloc_log_tree_node() [all …]
|
D | ctree.c | 254 struct extent_buffer *btrfs_root_node(struct btrfs_root *root) in btrfs_root_node() 283 static void add_root_to_dirty_list(struct btrfs_root *root) in add_root_to_dirty_list() 310 struct btrfs_root *root, in btrfs_copy_root() 371 struct btrfs_root *root, in btrfs_block_can_be_shared() 400 struct btrfs_root *root, in update_ref_for_cow() 522 struct btrfs_root *root, in __btrfs_cow_block() 652 struct btrfs_root *root, in should_cow_block() 687 struct btrfs_root *root, struct extent_buffer *buf, in btrfs_cow_block() 813 struct btrfs_root *root, struct extent_buffer *parent, in btrfs_realloc_node() 987 static void root_add_used(struct btrfs_root *root, u32 size) in root_add_used() [all …]
|
D | root-tree.c | 67 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root() 121 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root() 200 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root() 216 struct btrfs_root *root; in btrfs_find_orphan_roots() local 315 struct btrfs_root *root = trans->fs_info->tree_root; in btrfs_del_root() local 474 struct btrfs_root *root) in btrfs_update_root_times() 501 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root, in btrfs_subvolume_reserve_metadata() 541 void btrfs_subvolume_release_metadata(struct btrfs_root *root, in btrfs_subvolume_release_metadata()
|
/Linux-v6.6/fs/kernfs/ |
D | dir.c | 482 struct kernfs_root *root = kernfs_root(kn); in kernfs_drain() local 541 struct kernfs_root *root; in kernfs_put() local 601 static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root, in __kernfs_new_node() 699 struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root, in kernfs_find_and_get_node_by_id() 752 struct kernfs_root *root = kernfs_root(parent); in kernfs_add_one() local 895 struct kernfs_root *root = kernfs_root(parent); in kernfs_find_and_get_ns() local 921 struct kernfs_root *root = kernfs_root(parent); in kernfs_walk_and_get_ns() local 943 struct kernfs_root *root; in kernfs_create_root() local 997 void kernfs_destroy_root(struct kernfs_root *root) in kernfs_destroy_root() 1014 struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root) in kernfs_root_to_node() [all …]
|
/Linux-v6.6/arch/x86/kvm/mmu/ |
D | tdp_mmu.c | 76 void kvm_tdp_mmu_put_root(struct kvm *kvm, struct kvm_mmu_page *root, in kvm_tdp_mmu_put_root() 224 struct kvm_mmu_page *root; in kvm_tdp_mmu_get_vcpu_root_hpa() local 701 static void __tdp_mmu_zap_root(struct kvm *kvm, struct kvm_mmu_page *root, in __tdp_mmu_zap_root() 727 static void tdp_mmu_zap_root(struct kvm *kvm, struct kvm_mmu_page *root, in tdp_mmu_zap_root() 791 static bool tdp_mmu_zap_leafs(struct kvm *kvm, struct kvm_mmu_page *root, in tdp_mmu_zap_leafs() 833 struct kvm_mmu_page *root; in kvm_tdp_mmu_zap_leafs() local 843 struct kvm_mmu_page *root; in kvm_tdp_mmu_zap_all() local 867 struct kvm_mmu_page *root; in kvm_tdp_mmu_zap_invalidated_roots() local 912 struct kvm_mmu_page *root; in kvm_tdp_mmu_invalidate_all_roots() local 1126 struct kvm_mmu_page *root; in kvm_tdp_mmu_unmap_gfn_range() local [all …]
|
/Linux-v6.6/fs/nfs/blocklayout/ |
D | extent_tree.c | 19 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-v6.6/fs/btrfs/tests/ |
D | qgroup-tests.c | 16 static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr, in insert_normal_tree_ref() 68 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() 119 static int remove_extent_item(struct btrfs_root *root, u64 bytenr, in remove_extent_item() 150 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr, in remove_extent_ref() 205 static int test_no_shared_qgroup(struct btrfs_root *root, in test_no_shared_qgroup() 317 static int test_multiple_refs(struct btrfs_root *root, in test_multiple_refs() 474 struct btrfs_root *root; in btrfs_test_qgroups() local
|
D | inode-tests.c | 16 static void insert_extent(struct btrfs_root *root, u64 start, u64 len, in insert_extent() 51 static void insert_inode_item_key(struct btrfs_root *root) in insert_inode_item_key() 88 static void setup_file_extents(struct btrfs_root *root, u32 sectorsize) in setup_file_extents() 214 struct btrfs_root *root = NULL; in test_btrfs_get_extent() local 803 struct btrfs_root *root = NULL; in test_hole_first() local 901 struct btrfs_root *root = NULL; in test_extent_accounting() local
|
/Linux-v6.6/fs/ |
D | d_path.c | 105 const struct path *root, struct prepend_buffer *p) in __prepend_path() 157 const struct path *root, in prepend_path() 216 const struct path *root, in __d_path() 230 struct path root = {}; in d_absolute_path() local 239 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() 268 struct path root; in d_path() local 382 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() 415 struct path pwd, root; in SYSCALL_DEFINE2() local
|
/Linux-v6.6/include/linux/ |
D | rbtree_augmented.h | 47 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() 196 struct rb_node *parent, struct rb_root *root) in __rb_change_child() 209 struct rb_node *parent, struct rb_root *root) in __rb_change_child_rcu() 224 __rb_erase_augmented(struct rb_node *node, struct rb_root *root, in __rb_erase_augmented() 326 rb_erase_augmented(struct rb_node *node, struct rb_root *root, in rb_erase_augmented() 335 rb_erase_augmented_cached(struct rb_node *node, struct rb_root_cached *root, in rb_erase_augmented_cached()
|