/linux-6.12.1/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() argument 167 dev_info(&root->device->dev, "_OSC: %s [%s]\n", msg, buf); in decode_osc_bits() 170 static void decode_osc_support(struct acpi_pci_root *root, char *msg, u32 word) in decode_osc_support() argument 172 decode_osc_bits(root, msg, word, pci_osc_support_bit, in decode_osc_support() 176 static void decode_osc_control(struct acpi_pci_root *root, char *msg, u32 word) in decode_osc_control() argument 178 decode_osc_bits(root, msg, word, pci_osc_control_bit, 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() argument 184 decode_osc_bits(root, msg, word, cxl_osc_support_bit, 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() argument 190 decode_osc_bits(root, msg, word, cxl_osc_control_bit, in decode_cxl_osc_control() [all …]
|
/linux-6.12.1/security/ipe/ |
D | policy_fs.c | 46 struct inode *root = NULL; in read_pkcs7() local 49 root = d_inode(f->f_path.dentry->d_parent); in read_pkcs7() 51 inode_lock_shared(root); in read_pkcs7() 52 p = (struct ipe_policy *)root->i_private; in read_pkcs7() 66 inode_unlock_shared(root); in read_pkcs7() 89 struct inode *root = NULL; in read_policy() local 92 root = d_inode(f->f_path.dentry->d_parent); in read_policy() 94 inode_lock_shared(root); in read_policy() 95 p = (struct ipe_policy *)root->i_private; in read_policy() 104 inode_unlock_shared(root); in read_policy() [all …]
|
/linux-6.12.1/lib/ |
D | radix-tree.c | 95 static inline gfp_t root_gfp_mask(const struct radix_tree_root *root) in root_gfp_mask() argument 97 return root->xa_flags & (__GFP_BITS_MASK & ~GFP_ZONEMASK); in root_gfp_mask() 118 static inline void root_tag_set(struct radix_tree_root *root, unsigned tag) in root_tag_set() argument 120 root->xa_flags |= (__force gfp_t)(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_set() 123 static inline void root_tag_clear(struct radix_tree_root *root, unsigned tag) in root_tag_clear() argument 125 root->xa_flags &= (__force gfp_t)~(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_clear() 128 static inline void root_tag_clear_all(struct radix_tree_root *root) in root_tag_clear_all() argument 130 root->xa_flags &= (__force gfp_t)((1 << ROOT_TAG_SHIFT) - 1); in root_tag_clear_all() 133 static inline int root_tag_get(const struct radix_tree_root *root, unsigned tag) in root_tag_get() argument 135 return (__force int)root->xa_flags & (1 << (tag + ROOT_TAG_SHIFT)); in root_tag_get() [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() argument 34 struct rb_node **new = &root->rb_root.rb_node, *parent = NULL; in insert() 46 rb_insert_color(&node->rb, &root->rb_root); in insert() 49 static void insert_cached(struct test_node *node, struct rb_root_cached *root) in insert_cached() argument 51 struct rb_node **new = &root->rb_root.rb_node, *parent = NULL; in insert_cached() 66 rb_insert_color_cached(&node->rb, root, leftmost); in insert_cached() 69 static inline void erase(struct test_node *node, struct rb_root_cached *root) in erase() argument 71 rb_erase(&node->rb, &root->rb_root); in erase() 74 static inline void erase_cached(struct test_node *node, struct rb_root_cached *root) in erase_cached() argument [all …]
|
/linux-6.12.1/fs/btrfs/ |
D | ctree.h | 326 static inline bool btrfs_root_readonly(const struct btrfs_root *root) in btrfs_root_readonly() argument 329 return (root->root_item.flags & cpu_to_le64(BTRFS_ROOT_SUBVOL_RDONLY)) != 0; in btrfs_root_readonly() 332 static inline bool btrfs_root_dead(const struct btrfs_root *root) in btrfs_root_dead() argument 335 return (root->root_item.flags & cpu_to_le64(BTRFS_ROOT_SUBVOL_DEAD)) != 0; in btrfs_root_dead() 338 static inline u64 btrfs_root_id(const struct btrfs_root *root) in btrfs_root_id() argument 340 return root->root_key.objectid; in btrfs_root_id() 343 static inline int btrfs_get_root_log_transid(const struct btrfs_root *root) in btrfs_get_root_log_transid() argument 345 return READ_ONCE(root->log_transid); in btrfs_get_root_log_transid() 348 static inline void btrfs_set_root_log_transid(struct btrfs_root *root, int log_transid) in btrfs_set_root_log_transid() argument 350 WRITE_ONCE(root->log_transid, log_transid); in btrfs_set_root_log_transid() [all …]
|
D | disk-io.c | 646 static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, in __setup_root() argument 651 memset(&root->root_key, 0, sizeof(root->root_key)); in __setup_root() 652 memset(&root->root_item, 0, sizeof(root->root_item)); in __setup_root() 653 memset(&root->defrag_progress, 0, sizeof(root->defrag_progress)); in __setup_root() 654 root->fs_info = fs_info; in __setup_root() 655 root->root_key.objectid = objectid; in __setup_root() 656 root->node = NULL; in __setup_root() 657 root->commit_root = NULL; in __setup_root() 658 root->state = 0; in __setup_root() 659 RB_CLEAR_NODE(&root->rb_node); in __setup_root() [all …]
|
D | relocation.c | 235 static bool reloc_root_is_dead(const struct btrfs_root *root) in reloc_root_is_dead() argument 243 if (test_bit(BTRFS_ROOT_DEAD_RELOC_TREE, &root->state)) in reloc_root_is_dead() 256 static bool have_reloc_root(const struct btrfs_root *root) in have_reloc_root() argument 258 if (reloc_root_is_dead(root)) in have_reloc_root() 260 if (!root->reloc_root) in have_reloc_root() 265 bool btrfs_should_ignore_reloc_root(const struct btrfs_root *root) in btrfs_should_ignore_reloc_root() argument 269 if (!test_bit(BTRFS_ROOT_SHAREABLE, &root->state)) in btrfs_should_ignore_reloc_root() 273 if (reloc_root_is_dead(root)) in btrfs_should_ignore_reloc_root() 276 reloc_root = root->reloc_root; in btrfs_should_ignore_reloc_root() 281 root->fs_info->running_transaction->transid) in btrfs_should_ignore_reloc_root() [all …]
|
D | transaction.c | 177 struct btrfs_root *root, *tmp; in switch_commit_roots() local 190 list_for_each_entry_safe(root, tmp, &cur_trans->switch_commits, in switch_commit_roots() 192 list_del_init(&root->dirty_list); in switch_commit_roots() 193 free_extent_buffer(root->commit_root); in switch_commit_roots() 194 root->commit_root = btrfs_root_node(root); in switch_commit_roots() 195 extent_io_tree_release(&root->dirty_log_pages); in switch_commit_roots() 196 btrfs_qgroup_clean_swapped_blocks(root); in switch_commit_roots() 202 root = list_first_entry(&cur_trans->dropped_roots, in switch_commit_roots() 204 list_del_init(&root->root_list); in switch_commit_roots() 206 btrfs_free_log(trans, root); in switch_commit_roots() [all …]
|
/linux-6.12.1/fs/kernfs/ |
D | dir.c | 482 struct kernfs_root *root = kernfs_root(kn); in kernfs_drain() local 484 lockdep_assert_held_write(&root->kernfs_rwsem); in kernfs_drain() 497 up_write(&root->kernfs_rwsem); in kernfs_drain() 505 wait_event(root->deactivate_waitq, in kernfs_drain() 516 down_write(&root->kernfs_rwsem); in kernfs_drain() 555 struct kernfs_root *root; in kernfs_put() local 559 root = kernfs_root(kn); in kernfs_put() 575 idr_remove(&root->ino_idr, (u32)kernfs_ino(kn)); in kernfs_put() 586 idr_destroy(&root->ino_idr); in kernfs_put() 587 kfree_rcu(root, rcu); in kernfs_put() [all …]
|
D | mount.c | 30 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry)); in kernfs_sop_show_options() local 31 struct kernfs_syscall_ops *scops = root->syscall_ops; in kernfs_sop_show_options() 34 return scops->show_options(sf, root); in kernfs_sop_show_options() 41 struct kernfs_root *root = kernfs_root(node); in kernfs_sop_show_path() local 42 struct kernfs_syscall_ops *scops = root->syscall_ops; in kernfs_sop_show_path() 45 return scops->show_path(sf, node, root); in kernfs_sop_show_path() 112 kn = kernfs_find_and_get_node_by_id(info->root, id); in __kernfs_fh_to_dentry() 169 return kernfs_info(sb)->root; in kernfs_root_from_sb() 249 struct kernfs_root *kf_root = kfc->root; in kernfs_fill_super() 251 struct dentry *root; in kernfs_fill_super() local [all …]
|
/linux-6.12.1/tools/testing/selftests/cgroup/ |
D | test_core.c | 80 static int test_cgcore_destroy(const char *root) in test_cgcore_destroy() argument 87 cg_test = cg_name(root, "cg_test"); in test_cgcore_destroy() 142 static int test_cgcore_populated(const char *root) in test_cgcore_populated() argument 151 cg_test_a = cg_name(root, "cg_test_a"); in test_cgcore_populated() 152 cg_test_b = cg_name(root, "cg_test_a/cg_test_b"); in test_cgcore_populated() 153 cg_test_c = cg_name(root, "cg_test_a/cg_test_b/cg_test_c"); in test_cgcore_populated() 154 cg_test_d = cg_name(root, "cg_test_a/cg_test_b/cg_test_d"); in test_cgcore_populated() 186 if (cg_enter_current(root)) in test_cgcore_populated() 275 static int test_cgcore_invalid_domain(const char *root) in test_cgcore_invalid_domain() argument 280 grandparent = cg_name(root, "cg_test_grandparent"); in test_cgcore_invalid_domain() [all …]
|
/linux-6.12.1/tools/testing/radix-tree/ |
D | regression3.c | 31 RADIX_TREE(root, GFP_KERNEL); in regression3_test() 40 radix_tree_insert(&root, 0, ptr0); in regression3_test() 41 radix_tree_tag_set(&root, 0, 0); in regression3_test() 44 radix_tree_for_each_tagged(slot, &root, &iter, 0, 0) { in regression3_test() 47 radix_tree_insert(&root, 1, ptr); in regression3_test() 48 radix_tree_tag_set(&root, 1, 0); in regression3_test() 57 radix_tree_delete(&root, 1); in regression3_test() 60 radix_tree_for_each_slot(slot, &root, &iter, 0) { in regression3_test() 63 radix_tree_insert(&root, 1, ptr); in regression3_test() 73 radix_tree_for_each_slot(slot, &root, &iter, 0) { in regression3_test() [all …]
|
D | test.h | 14 int item_insert(struct radix_tree_root *root, unsigned long index); 17 int item_delete(struct radix_tree_root *root, unsigned long index); 19 struct item *item_lookup(struct radix_tree_root *root, unsigned long index); 21 void item_check_present(struct radix_tree_root *root, unsigned long index); 22 void item_check_absent(struct radix_tree_root *root, unsigned long index); 23 void item_gang_check_present(struct radix_tree_root *root, 26 void item_full_scan(struct radix_tree_root *root, unsigned long start, 28 void item_kill_tree(struct radix_tree_root *root); 43 item_tag_set(struct radix_tree_root *root, unsigned long index, int tag); 45 item_tag_clear(struct radix_tree_root *root, unsigned long index, int tag); [all …]
|
D | test.c | 12 item_tag_set(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_set() argument 14 return radix_tree_tag_set(root, index, tag); in item_tag_set() 18 item_tag_clear(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_clear() argument 20 return radix_tree_tag_clear(root, index, tag); in item_tag_clear() 23 int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_get() argument 25 return radix_tree_tag_get(root, index, tag); in item_tag_get() 37 int item_insert(struct radix_tree_root *root, unsigned long index) in item_insert() argument 40 int err = radix_tree_insert(root, item->index, item); in item_insert() 61 int item_delete(struct radix_tree_root *root, unsigned long index) in item_delete() argument 63 struct item *item = radix_tree_delete(root, index); in item_delete() [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-rapidio | 48 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0001 49 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0004 50 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0007 51 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0002 52 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0003 53 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0005 54 lrwxrwxrwx 1 root root 0 Feb 11 15:11 device -> ../../../0000:01:00.0 55 -r--r--r-- 1 root root 4096 Feb 11 15:11 port_destid 56 drwxr-xr-x 2 root root 0 Feb 11 15:11 power 57 lrwxrwxrwx 1 root root 0 Feb 11 15:04 subsystem -> ../../../../../../class/rapidio_port [all …]
|
/linux-6.12.1/fs/vboxsf/ |
D | vboxsf_wrappers.c | 75 int vboxsf_map_folder(struct shfl_string *folder_name, u32 *root) in vboxsf_map_folder() argument 84 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_map_folder() 85 parms.root.u.value32 = 0; in vboxsf_map_folder() 98 *root = parms.root.u.value32; in vboxsf_map_folder() 102 int vboxsf_unmap_folder(u32 root) in vboxsf_unmap_folder() argument 106 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_unmap_folder() 107 parms.root.u.value32 = root; in vboxsf_unmap_folder() 130 int vboxsf_create(u32 root, struct shfl_string *parsed_path, in vboxsf_create() argument 135 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; in vboxsf_create() 136 parms.root.u.value32 = root; in vboxsf_create() [all …]
|
/linux-6.12.1/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() argument 41 ret = btrfs_insert_empty_item(&trans, root, path, &ins, size); in insert_normal_tree_ref() 68 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() argument 90 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in add_tree_ref() 112 ret = btrfs_insert_empty_item(&trans, root, path, &key, 0); in add_tree_ref() 119 static int remove_extent_item(struct btrfs_root *root, u64 bytenr, in remove_extent_item() argument 139 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1); in remove_extent_item() 145 btrfs_del_item(&trans, root, path); in remove_extent_item() 150 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr, in remove_extent_ref() argument 172 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in remove_extent_ref() [all …]
|
/linux-6.12.1/Documentation/target/ |
D | tcm_mod_builder.rst | 74 drwxr-xr-x 2 root root 4096 2010-10-05 03:23 . 75 drwxr-xr-x 9 root root 4096 2010-10-05 03:22 .. 76 -rw-r--r-- 1 root root 282 2010-10-05 03:22 Kbuild 77 -rw-r--r-- 1 root root 171 2010-10-05 03:22 Kconfig 78 -rw-r--r-- 1 root root 49 2010-10-05 03:23 modules.order 79 -rw-r--r-- 1 root root 738 2010-10-05 03:22 tcm_nab5000_base.h 80 -rw-r--r-- 1 root root 9096 2010-10-05 03:22 tcm_nab5000_configfs.c 81 -rw-r--r-- 1 root root 191200 2010-10-05 03:23 tcm_nab5000_configfs.o 82 -rw-r--r-- 1 root root 40504 2010-10-05 03:23 .tcm_nab5000_configfs.o.cmd 83 -rw-r--r-- 1 root root 5414 2010-10-05 03:22 tcm_nab5000_fabric.c [all …]
|
/linux-6.12.1/drivers/eisa/ |
D | eisa-bus.c | 43 struct eisa_root_device *root, in is_forced_dev() argument 49 x = (root->bus_nr << 8) | edev->slot; in is_forced_dev() 182 static int __init eisa_init_device(struct eisa_root_device *root, in eisa_init_device() argument 190 sig_addr = SLOT_ADDRESS(root, slot) + EISA_VENDOR_ID_OFFSET; in eisa_init_device() 198 edev->state = inb(SLOT_ADDRESS(root, slot) + EISA_CONFIG_OFFSET) in eisa_init_device() 200 edev->base_addr = SLOT_ADDRESS(root, slot); in eisa_init_device() 201 edev->dma_mask = root->dma_mask; /* Default DMA mask */ in eisa_init_device() 203 edev->dev.parent = root->dev; in eisa_init_device() 207 dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot); in eisa_init_device() 217 if (is_forced_dev(enable_dev, enable_dev_count, root, edev)) in eisa_init_device() [all …]
|
/linux-6.12.1/scripts/gdb/linux/ |
D | rbtree.py | 12 def rb_inorder_for_each(root): argument 19 yield from inorder(root['rb_node']) 21 def rb_inorder_for_each_entry(root, gdbtype, member): argument 22 for node in rb_inorder_for_each(root): 25 def rb_first(root): argument 26 if root.type == rb_root_type.get_type(): 27 node = root.address.cast(rb_root_type.get_type().pointer()) 28 elif root.type != rb_root_type.get_type().pointer(): 29 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) 31 node = root['rb_node'] [all …]
|
/linux-6.12.1/include/linux/ |
D | rbtree_latch.h | 79 struct rb_root *root = <r->tree[idx]; in __lt_insert() local 80 struct rb_node **link = &root->rb_node; in __lt_insert() 96 rb_insert_color(node, root); in __lt_insert() 145 struct latch_tree_root *root, in latch_tree_insert() argument 148 raw_write_seqcount_latch(&root->seq); in latch_tree_insert() 149 __lt_insert(node, root, 0, ops->less); in latch_tree_insert() 150 raw_write_seqcount_latch(&root->seq); in latch_tree_insert() 151 __lt_insert(node, root, 1, ops->less); in latch_tree_insert() 172 struct latch_tree_root *root, in latch_tree_erase() argument 175 raw_write_seqcount_latch(&root->seq); in latch_tree_erase() [all …]
|
/linux-6.12.1/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() argument 78 if (!refcount_dec_and_test(&root->tdp_mmu_root_count)) in kvm_tdp_mmu_put_root() 86 KVM_BUG_ON(!is_tdp_mmu_page(root) || !root->role.invalid, kvm); in kvm_tdp_mmu_put_root() 89 list_del_rcu(&root->link); in kvm_tdp_mmu_put_root() 91 call_rcu(&root->rcu_head, tdp_mmu_free_sp_rcu_callback); in kvm_tdp_mmu_put_root() 232 struct kvm_mmu_page *root; in kvm_tdp_mmu_alloc_root() local 242 for_each_valid_tdp_mmu_root_yield_safe(kvm, root, as_id) { in kvm_tdp_mmu_alloc_root() 243 if (root->role.word == role.word) in kvm_tdp_mmu_alloc_root() 257 list_for_each_entry(root, &kvm->arch.tdp_mmu_roots, link) { in kvm_tdp_mmu_alloc_root() 258 if (root->role.word == role.word && in kvm_tdp_mmu_alloc_root() [all …]
|
/linux-6.12.1/Documentation/admin-guide/acpi/ |
D | fan_performance_states.rst | 22 -r--r--r-- 1 root root 4096 Dec 13 20:38 state0 23 -r--r--r-- 1 root root 4096 Dec 13 20:38 state1 24 -r--r--r-- 1 root root 4096 Dec 13 20:38 state10 25 -r--r--r-- 1 root root 4096 Dec 13 20:38 state11 26 -r--r--r-- 1 root root 4096 Dec 13 20:38 state2 27 -r--r--r-- 1 root root 4096 Dec 13 20:38 state3 28 -r--r--r-- 1 root root 4096 Dec 13 20:38 state4 29 -r--r--r-- 1 root root 4096 Dec 13 20:38 state5 30 -r--r--r-- 1 root root 4096 Dec 13 20:38 state6 31 -r--r--r-- 1 root root 4096 Dec 13 20:38 state7 [all …]
|
/linux-6.12.1/include/trace/events/ |
D | cgroup.h | 13 TP_PROTO(struct cgroup_root *root), 15 TP_ARGS(root), 18 __field( int, root ) 20 __string( name, root->name ) 24 __entry->root = root->hierarchy_id; 25 __entry->ss_mask = root->subsys_mask; 30 __entry->root, __entry->ss_mask, __get_str(name)) 35 TP_PROTO(struct cgroup_root *root), 37 TP_ARGS(root) 42 TP_PROTO(struct cgroup_root *root), [all …]
|
/linux-6.12.1/drivers/crypto/nx/ |
D | nx_debugfs.c | 35 struct dentry *root; in nx_debugfs_init() local 37 root = debugfs_create_dir(NX_NAME, NULL); in nx_debugfs_init() 38 drv->dfs_root = root; in nx_debugfs_init() 41 root, &drv->stats.aes_ops.counter); in nx_debugfs_init() 43 root, &drv->stats.sha256_ops.counter); in nx_debugfs_init() 45 root, &drv->stats.sha512_ops.counter); in nx_debugfs_init() 47 root, &drv->stats.aes_bytes.counter); in nx_debugfs_init() 49 root, &drv->stats.sha256_bytes.counter); in nx_debugfs_init() 51 root, &drv->stats.sha512_bytes.counter); in nx_debugfs_init() 53 root, &drv->stats.errors.counter); in nx_debugfs_init() [all …]
|