Home
last modified time | relevance | path

Searched full:root (Results 1 – 25 of 2834) sorted by relevance

12345678910>>...114

/Linux-v5.10/fs/btrfs/
Dinode-map.c16 static void fail_caching_thread(struct btrfs_root *root) in fail_caching_thread() argument
18 struct btrfs_fs_info *fs_info = root->fs_info; in fail_caching_thread()
23 spin_lock(&root->ino_cache_lock); in fail_caching_thread()
24 root->ino_cache_state = BTRFS_CACHE_ERROR; in fail_caching_thread()
25 spin_unlock(&root->ino_cache_lock); in fail_caching_thread()
26 wake_up(&root->ino_cache_wait); in fail_caching_thread()
31 struct btrfs_root *root = data; in caching_kthread() local
32 struct btrfs_fs_info *fs_info = root->fs_info; in caching_kthread()
33 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in caching_kthread()
46 fail_caching_thread(root); in caching_kthread()
[all …]
Droot-tree.c16 * Read a root item from the tree. In case we detect a root item smaller then
17 * sizeof(root_item), we know it's an old version of the root structure and
19 * generation numbers as then we know the root was once mounted with an older
20 * kernel that was not aware of the root item structure change.
37 …"mismatching generation and generation_v2 found in root item. This root was probably mounted with … in btrfs_read_root_item()
51 * btrfs_find_root - lookup the root by the key.
52 * root: the root of the root tree
55 * root_item: the root item of the tree we look for
56 * root_key: the root key of the tree we look for
59 * of the search key, just lookup the root with the highest offset for a
[all …]
Dtree-defrag.c20 struct btrfs_root *root) in btrfs_defrag_leaves() argument
30 if (root->fs_info->extent_root == root) { in btrfs_defrag_leaves()
33 * we can't defrag the extent root without deadlock in btrfs_defrag_leaves()
38 if (!test_bit(BTRFS_ROOT_SHAREABLE, &root->state)) in btrfs_defrag_leaves()
45 level = btrfs_header_level(root->node); in btrfs_defrag_leaves()
50 if (root->defrag_progress.objectid == 0) { in btrfs_defrag_leaves()
54 root_node = btrfs_lock_root_node(root); in btrfs_defrag_leaves()
57 root->defrag_max.objectid = 0; in btrfs_defrag_leaves()
59 btrfs_node_key_to_cpu(root_node, &root->defrag_max, in btrfs_defrag_leaves()
65 memcpy(&key, &root->defrag_progress, sizeof(key)); in btrfs_defrag_leaves()
[all …]
Ddisk-io.c54 static void btrfs_destroy_ordered_extents(struct btrfs_root *root);
57 static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root);
126 * Lockdep class keys for extent_buffer->lock's in this root. For a given
132 * static, assign keysets according to the purpose of the root as indicated
154 u64 id; /* root objectid */
159 { .id = BTRFS_ROOT_TREE_OBJECTID, .name_stem = "root" },
781 struct btrfs_root *root; in btree_csum_one_bio() local
787 root = BTRFS_I(bvec->bv_page->mapping->host)->root; in btree_csum_one_bio()
788 ret = csum_dirty_buffer(root->fs_info, bvec->bv_page); in btree_csum_one_bio()
891 fs_info = BTRFS_I(mapping->host)->root->fs_info; in btree_writepages()
[all …]
Drelocation.c78 * map address of tree root to tree
130 /* map start of tree root to corresponding reloc tree */
179 * walk up backref nodes until reach node presents tree root
290 static bool reloc_root_is_dead(struct btrfs_root *root) in reloc_root_is_dead() argument
298 if (test_bit(BTRFS_ROOT_DEAD_RELOC_TREE, &root->state)) in reloc_root_is_dead()
307 * This is enough for most callers, as they don't distinguish dead reloc root
308 * from no reloc root. But btrfs_should_ignore_reloc_root() below is a
311 static bool have_reloc_root(struct btrfs_root *root) in have_reloc_root() argument
313 if (reloc_root_is_dead(root)) in have_reloc_root()
315 if (!root->reloc_root) in have_reloc_root()
[all …]
/Linux-v5.10/lib/
Dradix-tree.c43 * of RADIX_TREE_MAX_PATH size to be created, with only the root node shared.
93 static inline gfp_t root_gfp_mask(const struct radix_tree_root *root) in root_gfp_mask() argument
95 return root->xa_flags & (__GFP_BITS_MASK & ~GFP_ZONEMASK); in root_gfp_mask()
116 static inline void root_tag_set(struct radix_tree_root *root, unsigned tag) in root_tag_set() argument
118 root->xa_flags |= (__force gfp_t)(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_set()
121 static inline void root_tag_clear(struct radix_tree_root *root, unsigned tag) in root_tag_clear() argument
123 root->xa_flags &= (__force gfp_t)~(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_clear()
126 static inline void root_tag_clear_all(struct radix_tree_root *root) in root_tag_clear_all() argument
128 root->xa_flags &= (__force gfp_t)((1 << ROOT_TAG_SHIFT) - 1); in root_tag_clear_all()
131 static inline int root_tag_get(const struct radix_tree_root *root, unsigned tag) in root_tag_get() argument
[all …]
Dtest_objagg.c37 struct root { struct
131 struct root *root; in root_create() local
133 root = kzalloc(sizeof(*root), GFP_KERNEL); in root_create()
134 if (!root) in root_create()
136 memcpy(&root->key, key, sizeof(root->key)); in root_create()
137 memcpy(root->buf, world->next_root_buf, sizeof(root->buf)); in root_create()
139 return root; in root_create()
144 struct root *root = root_priv; in root_destroy() local
148 kfree(root); in root_destroy()
156 const struct root *root; in test_nodelta_obj_get() local
[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() 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-v5.10/Documentation/admin-guide/acpi/
Dfan_performance_states.rst22 -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-v5.10/drivers/acpi/
Dpci_root.c3 * pci_root.c - ACPI PCI Root Bridge Driver ($Revision: 40 $)
28 #define ACPI_PCI_ROOT_DEVICE_NAME "PCI Root Bridge"
62 * acpi_is_root_bridge - determine whether an ACPI CA node is a PCI root bridge
146 static void decode_osc_bits(struct acpi_pci_root *root, char *msg, u32 word, in decode_osc_bits() argument
159 dev_info(&root->device->dev, "_OSC: %s [%s]\n", msg, buf); in decode_osc_bits()
162 static void decode_osc_support(struct acpi_pci_root *root, char *msg, u32 word) in decode_osc_support() argument
164 decode_osc_bits(root, msg, word, pci_osc_support_bit, in decode_osc_support()
168 static void decode_osc_control(struct acpi_pci_root *root, char *msg, u32 word) in decode_osc_control() argument
170 decode_osc_bits(root, msg, word, pci_osc_control_bit, in decode_osc_control()
195 static acpi_status acpi_pci_query_osc(struct acpi_pci_root *root, in acpi_pci_query_osc() argument
[all …]
/Linux-v5.10/Documentation/admin-guide/
Dinitrd.rst9 This RAM disk can then be mounted as the root file system and programs
10 can be run from it. Afterwards, a new root file system can be mounted
11 from a different device. The previous root (from initrd) is then moved
30 3) if the root device is not ``/dev/ram0``, the old (deprecated)
31 change_root procedure is followed. see the "Obsolete root change
33 4) root device is mounted. if it is ``/dev/ram0``, the initrd image is
34 then mounted as root
38 6) init mounts the "real" root file system
39 7) init places the root file system at the root directory using the
41 8) init execs the ``/sbin/init`` on the new root filesystem, performing
[all …]
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-class-rapidio48 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-v5.10/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dfifo.json13 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root bfifo",
16 "matchPattern": "qdisc bfifo 1: root.*limit [0-9]+b",
19 "$TC qdisc del dev $DUMMY handle 1: root bfifo",
34 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root pfifo",
37 "matchPattern": "qdisc pfifo 1: root.*limit [0-9]+p",
40 "$TC qdisc del dev $DUMMY handle 1: root pfifo",
54 "cmdUnderTest": "$TC qdisc add dev $DUMMY root handle ffff: bfifo",
57 "matchPattern": "qdisc bfifo ffff: root.*limit [0-9]+b",
60 "$TC qdisc del dev $DUMMY handle ffff: root bfifo",
74 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root bfifo limit 3000b",
[all …]
Dets.json12 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 2",
15 "matchPattern": "qdisc ets 1: root .* bands 2",
18 "$TC qdisc del dev $DUMMY handle 1: root",
32 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1000 900 800 700",
35 "matchPattern": "qdisc ets 1: root .*bands 4 quanta 1000 900 800 700",
38 "$TC qdisc del dev $DUMMY handle 1: root",
52 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 3",
55 "matchPattern": "qdisc ets 1: root .*bands 3 strict 3",
58 "$TC qdisc del dev $DUMMY handle 1: root",
72 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 4 quanta 1000 900 800 700",
[all …]
Dprio.json12 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio",
15 "matchPattern": "qdisc prio 1: root",
18 "$TC qdisc del dev $DUMMY handle 1: root prio",
32 "cmdUnderTest": "$TC qdisc add dev $DUMMY root handle ffff: prio",
35 "matchPattern": "qdisc prio ffff: root",
51 "cmdUnderTest": "$TC qdisc add dev $DUMMY root handle 10000: prio",
54 "matchPattern": "qdisc prio 10000: root",
70 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio foorbar",
73 "matchPattern": "qdisc prio 1: root",
89 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio bands 4 priomap 1 1 2 2 3 3 0 0 1 2 …
[all …]
Dred.json15 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red limit 1M avpkt 1500 min 100K max 300K…
18 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb $",
21 "$TC qdisc del dev $DUMMY handle 1: root",
38 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red adaptive limit 1M avpkt 1500 min 100K…
41 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb adaptive $",
44 "$TC qdisc del dev $DUMMY handle 1: root",
61 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn limit 1M avpkt 1500 min 100K max …
64 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn $",
67 "$TC qdisc del dev $DUMMY handle 1: root",
84 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn adaptive limit 1M avpkt 1500 min …
[all …]
/Linux-v5.10/fs/vboxsf/
Dvboxsf_wrappers.c75 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()
115 * @root: Root of the shared folder in which to create the file
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()
[all …]
/Linux-v5.10/Documentation/target/
Dtcm_mod_builder.rst74 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-v5.10/fs/nfs/
Dgetroot.c2 /* getroot.c: get the root dentry for an NFS mount
36 * Set the superblock root dentry.
41 /* The mntroot acts as the dummy root dentry for this superblock */ in nfs_superblock_set_dummy_root()
65 * get an NFS2/NFS3 root dentry from the root filehandle
72 struct dentry *root; in nfs_get_root() local
82 /* get the actual root for this mount */ in nfs_get_root()
93 nfs_errorf(fc, "NFS: Couldn't getattr on root"); in nfs_get_root()
99 dprintk("nfs_get_root: get root inode failed\n"); in nfs_get_root()
101 nfs_errorf(fc, "NFS: Couldn't get root inode"); in nfs_get_root()
109 /* root dentries normally start off anonymous and get spliced in later in nfs_get_root()
[all …]
/Linux-v5.10/include/trace/events/
Dcgroup.h13 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;
26 __assign_str(name, root->name);
29 TP_printk("root=%d ss_mask=%#x name=%s",
30 __entry->root, __entry->ss_mask, __get_str(name))
35 TP_PROTO(struct cgroup_root *root),
[all …]
/Linux-v5.10/drivers/md/persistent-data/
Ddm-bitset.h33 * b) Get yourself a root. The root is the index of a block of data on the
35 * pre existing root in your metadata that you wish to use, or you may
40 * root for a _new_ array. If you've incremented the old root, via
42 * it in parallel with the new root.
45 * return a root for a new, updated bitset.
91 * new_root - on success, points to the new root block
102 * root - the root block of the array on disk
108 int dm_bitset_new(struct dm_disk_bitset *info, dm_block_t *root,
115 * old_root - the root block of the array on disk
119 * new_root - on success, points to the new root block
[all …]
/Linux-v5.10/fs/btrfs/tests/
Dqgroup-tests.c14 static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr, in insert_normal_tree_ref() argument
40 ret = btrfs_insert_empty_item(&trans, root, path, &ins, size); in insert_normal_tree_ref()
67 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
140 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1); in remove_extent_item()
146 btrfs_del_item(&trans, root, path); in remove_extent_item()
151 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr, in remove_extent_ref() argument
174 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in remove_extent_ref()
[all …]
/Linux-v5.10/arch/x86/kvm/mmu/
Dtdp_mmu.c64 static bool zap_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root,
67 void kvm_tdp_mmu_free_root(struct kvm *kvm, struct kvm_mmu_page *root) in kvm_tdp_mmu_free_root() argument
73 WARN_ON(root->root_count); in kvm_tdp_mmu_free_root()
74 WARN_ON(!root->tdp_mmu_page); in kvm_tdp_mmu_free_root()
76 list_del(&root->link); in kvm_tdp_mmu_free_root()
78 zap_gfn_range(kvm, root, 0, max_gfn, false); in kvm_tdp_mmu_free_root()
80 free_page((unsigned long)root->spt); in kvm_tdp_mmu_free_root()
81 kmem_cache_free(mmu_page_header_cache, root); in kvm_tdp_mmu_free_root()
118 struct kvm_mmu_page *root; in get_tdp_mmu_vcpu_root() local
124 /* Check for an existing root before allocating a new one. */ in get_tdp_mmu_vcpu_root()
[all …]
/Linux-v5.10/drivers/eisa/
Deisa-bus.c43 struct eisa_root_device *root, in is_forced_dev() argument
49 x = (root->bus_nr << 8) | edev->slot; in is_forced_dev()
187 static int __init eisa_init_device(struct eisa_root_device *root, in eisa_init_device() argument
195 sig_addr = SLOT_ADDRESS(root, slot) + EISA_VENDOR_ID_OFFSET; in eisa_init_device()
203 edev->state = inb(SLOT_ADDRESS(root, slot) + EISA_CONFIG_OFFSET) in eisa_init_device()
205 edev->base_addr = SLOT_ADDRESS(root, slot); in eisa_init_device()
206 edev->dma_mask = root->dma_mask; /* Default DMA mask */ in eisa_init_device()
208 edev->dev.parent = root->dev; in eisa_init_device()
212 dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot); in eisa_init_device()
222 if (is_forced_dev(enable_dev, enable_dev_count, root, edev)) in eisa_init_device()
[all …]
/Linux-v5.10/scripts/gdb/linux/
Drbtree.py13 def rb_first(root): argument
14 if root.type == rb_root_type.get_type():
15 node = root.address.cast(rb_root_type.get_type().pointer())
16 elif root.type != rb_root_type.get_type().pointer():
17 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type))
19 node = root['rb_node']
29 def rb_last(root): argument
30 if root.type == rb_root_type.get_type():
31 node = root.address.cast(rb_root_type.get_type().pointer())
32 elif root.type != rb_root_type.get_type().pointer():
[all …]

12345678910>>...114