Searched refs:root (Results 226 - 250 of 1075) sorted by relevance

1234567891011>>

/linux-master/drivers/cxl/
H A Dport.c16 * port. All descendant ports of a CXL root port (described by platform
33 static int discover_region(struct device *dev, void *root) argument
52 rc = cxl_add_to_region(root, cxled);
98 struct cxl_port *root; local
130 * This can't fail in practice as CXL root exit unregisters all
135 root = &cxl_root->port;
141 device_for_each_child(&port->dev, root, discover_region);
/linux-master/fs/btrfs/
H A Dlocking.h69 * When promoting a new block to a root we need to have a special
73 * when we make a snapshot of an existing root.
175 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root);
176 struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root);
177 struct extent_buffer *btrfs_try_read_lock_root_node(struct btrfs_root *root);
216 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb);
222 static inline void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, argument
H A Dzoned.h394 struct btrfs_root *root = inode->root; local
396 if (btrfs_is_data_reloc_root(root) && btrfs_is_zoned(root->fs_info))
397 mutex_lock(&root->fs_info->zoned_data_reloc_io_lock);
402 struct btrfs_root *root = inode->root; local
404 if (btrfs_is_data_reloc_root(root) && btrfs_is_zoned(root->fs_info))
405 mutex_unlock(&root
[all...]
H A Dbackref.c144 struct rb_root_cached root; member in struct:preftree
148 #define PREFTREE_INIT { .root = RB_ROOT_CACHED, .count = 0 }
166 struct btrfs_root *root; member in struct:share_check
172 * the same root or different roots) that we could find. The sharedness
264 if (newref->root_id == sc->root->root_key.objectid &&
271 * Add @newref to the @root rbtree, merging identical refs.
280 struct rb_root_cached *root; local
287 root = &preftree->root;
288 p = &root
468 add_all_parents(struct btrfs_backref_walk_ctx *ctx, struct btrfs_root *root, struct btrfs_path *path, struct ulist *parents, struct preftrees *preftrees, struct prelim_ref *ref, int level) argument
596 struct btrfs_root *root; local
1102 u64 root; local
1208 u64 root; local
1250 lookup_backref_shared_cache(struct btrfs_backref_share_check_ctx *ctx, struct btrfs_root *root, u64 bytenr, int level, bool *is_shared) argument
1320 store_backref_shared_cache(struct btrfs_backref_share_check_ctx *ctx, struct btrfs_root *root, u64 bytenr, int level, bool is_shared) argument
1388 struct btrfs_root *root = btrfs_extent_root(ctx->fs_info, ctx->bytenr); local
1858 struct btrfs_root *root = inode->root; local
2049 btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid, u64 start_off, struct btrfs_path *path, struct btrfs_inode_extref **ret_extref, u64 *found_off) argument
2385 iterate_leaf_refs(struct btrfs_fs_info *fs_info, struct extent_inode_elem *inode_list, u64 root, u64 extent_item_objectid, iterate_extent_inodes_t *iterate, void *ctx) argument
2536 build_ino_list(u64 inum, u64 offset, u64 num_bytes, u64 root, void *ctx) argument
3238 struct btrfs_root *root; local
3311 struct btrfs_root *root; local
[all...]
H A Dprops.c146 static int iterate_object_props(struct btrfs_root *root, argument
173 ret = btrfs_next_leaf(root, path);
263 struct btrfs_root *root = BTRFS_I(inode)->root; local
268 btrfs_warn(root->fs_info,
269 "error applying prop %s to ino %llu (root %llu): %d",
271 root->root_key.objectid, ret);
278 struct btrfs_root *root = BTRFS_I(inode)->root; local
281 return iterate_object_props(root, pat
390 struct btrfs_root *root = BTRFS_I(inode)->root; local
[all...]
H A Dfree-space-tree.c18 #include "root-tree.h"
73 struct btrfs_root *root = btrfs_free_space_root(block_group); local
83 ret = btrfs_insert_empty_item(trans, root, path, &key, sizeof(*info));
107 struct btrfs_root *root = btrfs_free_space_root(block_group); local
115 ret = btrfs_search_slot(trans, root, &key, path, 0, cow);
134 struct btrfs_root *root,
140 ret = btrfs_search_slot(trans, root, key, p, ins_len, cow);
210 struct btrfs_root *root = btrfs_free_space_root(block_group); local
238 ret = btrfs_search_prev_slot(trans, root, &key, path, -1, 1);
274 ret = btrfs_del_items(trans, root, pat
133 btrfs_search_prev_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_key *key, struct btrfs_path *p, int ins_len, int cow) argument
348 struct btrfs_root *root = btrfs_free_space_root(block_group); local
579 free_space_next_bitmap(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *p) argument
609 struct btrfs_root *root = btrfs_free_space_root(block_group); local
722 struct btrfs_root *root = btrfs_free_space_root(block_group); local
874 struct btrfs_root *root = btrfs_free_space_root(block_group); local
1222 clear_free_space_tree(struct btrfs_trans_handle *trans, struct btrfs_root *root) argument
1411 struct btrfs_root *root = btrfs_free_space_root(block_group); local
1490 struct btrfs_root *root; local
1574 struct btrfs_root *root; local
[all...]
/linux-master/drivers/iommu/amd/
H A Damd_iommu.h117 void amd_iommu_domain_set_pt_root(struct protection_domain *domain, u64 root) argument
119 domain->iop.root = (u64 *)(root & PAGE_MASK);
120 domain->iop.mode = root & 7; /* lowest 3 bits encode pgtable mode */
171 u64 *root, int mode);
/linux-master/kernel/
H A Dresource.c80 struct resource *root = pde_data(file_inode(m->file)); local
85 for_each_resource(root, p, false) {
110 struct resource *root = pde_data(file_inode(m->file)); local
113 int width = root->end < 0x10000 ? 4 : 8;
117 if (p->parent == root)
171 static struct resource * __request_resource(struct resource *root, struct resource *new) argument
178 return root;
179 if (start < root->start)
180 return root;
181 if (end > root
265 request_resource_conflict(struct resource *root, struct resource *new) argument
282 request_resource(struct resource *root, struct resource *new) argument
634 __find_resource(struct resource *root, struct resource *old, struct resource *new, resource_size_t size, struct resource_constraint *constraint) argument
693 find_resource(struct resource *root, struct resource *new, resource_size_t size, struct resource_constraint *constraint) argument
710 reallocate_resource(struct resource *root, struct resource *old, resource_size_t newsize, struct resource_constraint *constraint) argument
761 allocate_resource(struct resource *root, struct resource *new, resource_size_t size, resource_size_t min, resource_size_t max, resource_size_t align, resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t), void *alignf_data) argument
805 lookup_resource(struct resource *root, resource_size_t start) argument
925 insert_resource_expand_to_fit(struct resource *root, struct resource *new) argument
1044 __reserve_region_with_split(struct resource *root, resource_size_t start, resource_size_t end, const char *name) argument
1105 reserve_region_with_split(struct resource *root, resource_size_t start, resource_size_t end, const char *name) argument
1544 devm_request_resource(struct device *dev, struct resource *root, struct resource *new) argument
1747 resource_is_exclusive(struct resource *root, u64 addr, resource_size_t size) argument
[all...]
/linux-master/fs/
H A Dproc_namespace.c118 err = seq_path_root(m, &mnt_path, &p->root, " \t\n\\");
151 err = seq_path_root(m, &mnt_path, &p->root, " \t\n\\");
163 int dom = get_dominating_id(r, &p->root);
218 err = seq_path_root(m, &mnt_path, &p->root, " \t\n\\");
244 struct path root; local
267 get_fs_root(task->fs, &root);
280 p->root = root;
286 path_put(&root);
297 path_put(&p->root);
[all...]
/linux-master/lib/
H A Dbootconfig.c114 * xbc_root_node() - Get the root node of extended boot config
116 * Return the address of root node of extended boot config. If the
279 * @root: Root XBC node
285 * after @root (@root is not included.) If @root is NULL, this returns full
288 * if @node is NULL or @root is not the ancestor of @node or @root is @node,
293 int __init xbc_node_compose_key_after(struct xbc_node *root, argument
300 if (!node || node == root)
342 xbc_node_find_next_leaf(struct xbc_node *root, struct xbc_node *node) argument
394 xbc_node_find_next_key_value(struct xbc_node *root, struct xbc_node **leaf) argument
[all...]
/linux-master/drivers/mtd/
H A Dmtdswap.c71 struct rb_root *root; member in struct:swap_eb
85 struct rb_root root; member in struct:mtdswap_tree
160 #define TREE_ROOT(d, name) (&d->trees[MTDSWAP_ ## name].root)
194 if (eb->root) {
195 tp = container_of(eb->root, struct mtdswap_tree, root);
199 rb_erase(&eb->rb, eb->root);
203 static void __mtdswap_rb_add(struct rb_root *root, struct swap_eb *eb) argument
208 p = &root->rb_node;
219 rb_insert_color(&eb->rb, root);
224 struct rb_root *root; local
236 mtdswap_rb_index(struct rb_root *root, unsigned int idx) argument
804 struct rb_root *root; local
1184 struct rb_root *root = &d->trees[i].root; local
1257 struct dentry *root = d->mtd->dbg.dfs_dir; local
[all...]
/linux-master/fs/nilfs2/
H A Dinode.c30 * @root: pointer on NILFS root object (mounted checkpoint)
38 struct nilfs_root *root; member in struct:nilfs_iget_args
48 struct nilfs_root *root = NILFS_I(inode)->i_root; local
51 if (root)
52 atomic64_add(n, &root->blocks_count);
57 struct nilfs_root *root = NILFS_I(inode)->i_root; local
60 if (root)
61 atomic64_sub(n, &root->blocks_count);
314 struct nilfs_root *root,
313 nilfs_insert_inode_locked(struct inode *inode, struct nilfs_root *root, unsigned long ino) argument
331 struct nilfs_root *root; local
485 __nilfs_read_inode(struct super_block *sb, struct nilfs_root *root, unsigned long ino, struct inode *inode) argument
587 nilfs_ilookup(struct super_block *sb, struct nilfs_root *root, unsigned long ino) argument
598 nilfs_iget_locked(struct super_block *sb, struct nilfs_root *root, unsigned long ino) argument
609 nilfs_iget(struct super_block *sb, struct nilfs_root *root, unsigned long ino) argument
1007 struct nilfs_root *root = NILFS_I(inode)->i_root; local
[all...]
/linux-master/tools/testing/selftests/kvm/lib/
H A Dsparsebit.c179 * Points to root node of the binary search
183 struct node *root; member in struct:sparsebit
209 for (nodep = s->root; nodep && nodep->left; nodep = nodep->left)
278 struct node *root; local
280 /* Duplicate the node at the root of the subtree */
281 root = calloc(1, sizeof(*root));
282 if (!root) {
287 root->idx = subtree->idx;
288 root
[all...]
/linux-master/drivers/gpu/drm/gma500/
H A Dgtt.c22 struct resource *root = pdev->gtt_mem; local
28 start = root->start;
29 end = root->start + pdev->gtt.stolen_size - 1;
32 start = root->start + pdev->gtt.stolen_size;
33 end = root->end;
37 ret = allocate_resource(root, res, size, start, end, align, NULL, NULL);
40 *offset = res->start - root->start;
194 /* The root resource we allocate address space from */
/linux-master/tools/perf/tests/
H A Dhists_common.c166 struct rb_root_cached *root; local
170 root = &hists->entries_collapsed;
172 root = hists->entries_in;
175 node = rb_first_cached(root);
198 struct rb_root_cached *root; local
201 root = &hists->entries;
204 node = rb_first_cached(root);
/linux-master/kernel/cgroup/
H A Dcgroup-internal.h47 struct cgroup_root *root; member in struct:cgroup_fs_context
171 #define for_each_root(root) \
172 list_for_each_entry_rcu((root), &cgroup_roots, root_list, \
226 struct cgroup_root *root);
232 void cgroup_favor_dynmods(struct cgroup_root *root, bool favor);
233 void cgroup_free_root(struct cgroup_root *root);
235 int cgroup_setup_root(struct cgroup_root *root, u16 ss_mask);
/linux-master/drivers/gpu/drm/msm/dp/
H A Ddp_debug.c202 static void dp_debug_init(struct dp_debug *dp_debug, struct dentry *root, bool is_edp) argument
207 debugfs_create_file("dp_debug", 0444, root,
212 root,
216 root,
220 root,
228 struct dentry *root, bool is_edp)
255 dp_debug_init(dp_debug, root, is_edp);
225 dp_debug_get(struct device *dev, struct dp_panel *panel, struct dp_link *link, struct drm_connector *connector, struct dentry *root, bool is_edp) argument
/linux-master/include/linux/ceph/
H A Dlibceph.h191 static bool __insert_##name(struct rb_root *root, type *t) \
193 struct rb_node **n = &root->rb_node; \
213 rb_insert_color(&t->nodefld, root); \
216 static void __maybe_unused insert_##name(struct rb_root *root, type *t) \
218 if (!__insert_##name(root, t)) \
221 static void erase_##name(struct rb_root *root, type *t) \
224 rb_erase(&t->nodefld, root); \
234 static type *lookup_##name(struct rb_root *root, lookup_param_type key) \
236 struct rb_node *n = root->rb_node; \
/linux-master/tools/perf/util/
H A Ddsos.c131 struct dso *__dsos__findnew_link_by_longname_id(struct rb_root *root, struct dso *dso, argument
134 struct rb_node **p = &root->rb_node;
174 rb_insert_color(&dso->rb_node, root);
175 dso->root = root;
183 __dsos__findnew_link_by_longname_id(&dsos->root, dso, NULL, &dso->id);
214 static struct dso *__dsos__findnew_by_longname_id(struct rb_root *root, const char *name, struct dso_id *id) argument
216 return __dsos__findnew_link_by_longname_id(root, NULL, name, id);
229 return __dsos__findnew_by_longname_id(&dsos->root, name, id);
/linux-master/fs/efivarfs/
H A Dsuper.c47 static int efivarfs_show_options(struct seq_file *m, struct dentry *root) argument
49 struct super_block *sb = root->d_sb;
194 struct dentry *dentry, *root = sb->s_root; local
232 inode = efivarfs_get_inode(sb, d_inode(root), S_IFREG | 0644, 0,
237 dentry = efivarfs_alloc_dentry(root, name);
316 struct dentry *root; local
335 root = d_make_root(inode);
336 sb->s_root = root;
337 if (!root)
/linux-master/fs/vboxsf/
H A Dfile.c17 u32 root; member in struct:vboxsf_handle
38 sf_handle->root = VBOXSF_SBI(inode->i_sb)->root;
113 vboxsf_close(sbi->root, params.handle);
126 vboxsf_close(sf_handle->root, sf_handle->handle);
240 err = vboxsf_read(sf_handle->root, sf_handle->handle, off, &nread, buf);
291 err = vboxsf_write(sf_handle->root, sf_handle->handle,
325 err = vboxsf_write(sf_handle->root, sf_handle->handle,
385 err = vboxsf_readlink(sbi->root, path, PATH_MAX, link);
/linux-master/fs/ntfs3/
H A Dindex.c168 static inline NTFS_CMP_FUNC get_cmp_func(const struct INDEX_ROOT *root) argument
170 switch (root->type) {
172 if (root->rule == NTFS_COLLATION_TYPE_FILENAME)
176 switch (root->rule) {
878 const struct INDEX_ROOT *root = resident_data(attr); local
882 !index_hdr_check(&root->ihdr,
887 /* Check root fields. */
888 if (!root->index_block_clst)
892 indx->idx2vbn_bits = __ffs(root->index_block_clst);
894 t32 = le32_to_cpu(root
1000 struct INDEX_ROOT *root; local
1139 indx_find(struct ntfs_index *indx, struct ntfs_inode *ni, const struct INDEX_ROOT *root, const void *key, size_t key_len, const void *ctx, int *diff, struct NTFS_DE **entry, struct ntfs_fnd *fnd) argument
1202 indx_find_sort(struct ntfs_index *indx, struct ntfs_inode *ni, const struct INDEX_ROOT *root, struct NTFS_DE **entry, struct ntfs_fnd *fnd) argument
1312 indx_find_raw(struct ntfs_index *indx, struct ntfs_inode *ni, const struct INDEX_ROOT *root, struct NTFS_DE **entry, size_t *off, struct ntfs_fnd *fnd) argument
1586 struct INDEX_ROOT *root, *a_root; local
1781 indx_insert_into_buffer(struct ntfs_index *indx, struct ntfs_inode *ni, struct INDEX_ROOT *root, const struct NTFS_DE *new_de, const void *ctx, int level, struct ntfs_fnd *fnd) argument
1936 struct INDEX_ROOT *root; local
1994 indx_find_buffer(struct ntfs_index *indx, struct ntfs_inode *ni, const struct INDEX_ROOT *root, __le64 vbn, struct indx_node *n) argument
2254 struct INDEX_ROOT *root; local
2644 struct INDEX_ROOT *root; local
[all...]
/linux-master/include/linux/
H A Dpci-acpi.h29 extern int pci_mcfg_lookup(struct acpi_pci_root *root, struct resource *cfgres,
36 /* Find a PCI root bus */
64 struct acpi_pci_root *root; member in struct:acpi_pci_root_info
79 extern struct pci_bus *acpi_pci_root_create(struct acpi_pci_root *root,
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_debugfs.c132 void intel_guc_debugfs_register(struct intel_guc *guc, struct dentry *root) argument
146 intel_gt_debugfs_register_files(root, files, ARRAY_SIZE(files), guc);
147 intel_guc_log_debugfs_register(&guc->log, root);
/linux-master/scripts/package/
H A Dkernel.spec122 %defattr (-, root, root)
126 %defattr (-, root, root)
131 %defattr (-, root, root)

Completed in 263 milliseconds

1234567891011>>