/linux-master/fs/btrfs/ |
H A D | locking.h | 69 * When promoting a new block to a root we need to have a special 73 * when we make a snapshot of an existing root. 185 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root); 186 struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root); 187 struct extent_buffer *btrfs_try_read_lock_root_node(struct btrfs_root *root); 226 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb); 232 static inline void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, argument
|
H A D | extent_map.c | 82 struct btrfs_fs_info *fs_info = inode->root->fs_info; 84 if (!btrfs_is_testing(fs_info) && is_fstree(btrfs_root_id(inode->root))) 88 static int tree_insert(struct rb_root_cached *root, struct extent_map *em) argument 90 struct rb_node **p = &root->rb_root.rb_node; 131 rb_insert_color_cached(&em->rb_node, root, leftmost); 139 static struct rb_node *__tree_search(struct rb_root *root, u64 offset, argument 142 struct rb_node *n = root->rb_node; 308 struct btrfs_fs_info *fs_info = inode->root->fs_info; 318 "no extent map found for inode %llu (root %lld) when unpinning extent range [%llu, %llu), generation %llu", 319 btrfs_ino(inode), btrfs_root_id(inode->root), 386 struct btrfs_root *root = inode->root; local 1105 btrfs_scan_root(struct btrfs_root *root, long *scanned, long nr_to_scan) argument 1163 struct btrfs_root *root; local [all...] |
H A D | zoned.h | 394 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 D | backref.c | 144 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 == btrfs_root_id(sc->root) && 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 1096 u64 root; local 1202 u64 root; local 1244 lookup_backref_shared_cache(struct btrfs_backref_share_check_ctx *ctx, struct btrfs_root *root, u64 bytenr, int level, bool *is_shared) argument 1314 store_backref_shared_cache(struct btrfs_backref_share_check_ctx *ctx, struct btrfs_root *root, u64 bytenr, int level, bool is_shared) argument 1382 struct btrfs_root *root = btrfs_extent_root(ctx->fs_info, ctx->bytenr); local 1852 struct btrfs_root *root = inode->root; local 2043 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 2379 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 2530 build_ino_list(u64 inum, u64 offset, u64 num_bytes, u64 root, void *ctx) argument 3232 struct btrfs_root *root; local 3305 struct btrfs_root *root; local [all...] |
H A D | props.c | 146 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 btrfs_root_id(root), 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 D | free-space-tree.c | 18 #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/scripts/kconfig/ |
H A D | lkc.h | 82 struct menu *menu_next(struct menu *menu, struct menu *root); 83 #define menu_for_each_sub_entry(menu, root) \ 84 for (menu = menu_next(root, root); menu; menu = menu_next(menu, root))
|
/linux-master/kernel/ |
H A D | resource.c | 80 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 D | proc_namespace.c | 118 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 D | bootconfig.c | 114 * 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 D | mtdswap.c | 71 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 D | inode.c | 30 * @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...] |
H A D | super.c | 545 struct nilfs_root *root; local 548 root = nilfs_find_or_create_root( 550 if (!root) 553 if (root->ifile) 557 err = nilfs_ifile_read(sb, root, cno, nilfs->ns_inode_size); 563 *rootp = root; 570 nilfs_put_root(root); 606 struct nilfs_root *root = NILFS_I(d_inode(dentry))->i_root; local 607 struct the_nilfs *nilfs = root->nilfs; 638 err = nilfs_ifile_count_free_inodes(root 674 struct nilfs_root *root = NILFS_I(d_inode(dentry))->i_root; local 896 nilfs_get_root_dentry(struct super_block *sb, struct nilfs_root *root, struct dentry **root_dentry) argument 948 struct nilfs_root *root; local 996 struct nilfs_root *root; local 1142 struct nilfs_root *root; local [all...] |
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | sparsebit.c | 179 * 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 D | gtt.c | 22 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/kernel/cgroup/ |
H A D | cgroup-internal.h | 47 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/tools/perf/tests/ |
H A D | hists_common.c | 166 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/include/linux/ceph/ |
H A D | libceph.h | 191 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/fs/efivarfs/ |
H A D | super.c | 47 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 D | file.c | 17 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 D | index.c | 168 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 1593 struct INDEX_ROOT *root, *a_root; local 1788 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 1943 struct INDEX_ROOT *root; local 2001 indx_find_buffer(struct ntfs_index *indx, struct ntfs_inode *ni, const struct INDEX_ROOT *root, __le64 vbn, struct indx_node *n) argument 2261 struct INDEX_ROOT *root; local 2651 struct INDEX_ROOT *root; local [all...] |
/linux-master/include/linux/ |
H A D | pci-acpi.h | 29 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 D | intel_guc_debugfs.c | 132 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 D | kernel.spec | 122 %defattr (-, root, root) 126 %defattr (-, root, root) 131 %defattr (-, root, root)
|
/linux-master/include/uapi/linux/ |
H A D | nfs_mount.h | 44 struct nfs3_fh root; /* 4 */ member in struct:nfs_mount_data
|