/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | sch_tbf_root.sh | 15 tc qdisc replace dev $swp2 root handle 108: tbf \ 23 tc qdisc del dev $swp2 root
|
/linux-master/drivers/base/test/ |
H A D | Makefile | 4 obj-$(CONFIG_DM_KUNIT_TEST) += root-device-test.o
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_engines_debugfs.c | 29 void intel_gt_engines_debugfs_register(struct intel_gt *gt, struct dentry *root) argument 35 intel_gt_debugfs_register_files(root, files, ARRAY_SIZE(files), gt);
|
H A D | intel_gt_pm_debugfs.h | 13 void intel_gt_pm_debugfs_register(struct intel_gt *gt, struct dentry *root);
|
/linux-master/fs/btrfs/ |
H A D | root-tree.c | 16 #include "root-tree.h" 20 * Read a root item from the tree. In case we detect a root item smaller then 21 * sizeof(root_item), we know it's an old version of the root structure and 23 * generation numbers as then we know the root was once mounted with an older 24 * kernel that was not aware of the root item structure change. 41 "mismatching generation and generation_v2 found in root item. This root was probably mounted with an older kernel. Resetting all new fields."); 53 * Lookup the root by the key. 55 * root 67 btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, struct btrfs_path *path, struct btrfs_root_item *root_item, struct btrfs_key *root_key) argument 128 btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_key *key, struct btrfs_root_item *item) argument 207 btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_root_item *item) argument 223 struct btrfs_root *root; local 322 struct btrfs_root *root = trans->fs_info->tree_root; local 483 btrfs_update_root_times(struct btrfs_trans_handle *trans, struct btrfs_root *root) argument 512 btrfs_subvolume_reserve_metadata(struct btrfs_root *root, struct btrfs_block_rsv *rsv, int items, bool use_global_rsv) argument [all...] |
H A D | transaction.c | 29 #include "root-tree.h" 178 struct btrfs_root *root, *tmp; local 191 list_for_each_entry_safe(root, tmp, &cur_trans->switch_commits, 193 list_del_init(&root->dirty_list); 194 free_extent_buffer(root->commit_root); 195 root->commit_root = btrfs_root_node(root); 196 extent_io_tree_release(&root->dirty_log_pages); 197 btrfs_qgroup_clean_swapped_blocks(root); 203 root 400 record_root_in_trans(struct btrfs_trans_handle *trans, struct btrfs_root *root, int force) argument 461 btrfs_add_dropped_root(struct btrfs_trans_handle *trans, struct btrfs_root *root) argument 480 btrfs_record_root_in_trans(struct btrfs_trans_handle *trans, struct btrfs_root *root) argument 547 need_reserve_reloc_root(struct btrfs_root *root) argument 590 start_transaction(struct btrfs_root *root, unsigned int num_items, unsigned int type, enum btrfs_reserve_flush_enum flush, bool enforce_qgroups) argument 808 btrfs_start_transaction(struct btrfs_root *root, unsigned int num_items) argument 815 btrfs_start_transaction_fallback_global_rsv( struct btrfs_root *root, unsigned int num_items) argument 823 btrfs_join_transaction(struct btrfs_root *root) argument 829 btrfs_join_transaction_spacecache(struct btrfs_root *root) argument 842 btrfs_join_transaction_nostart(struct btrfs_root *root) argument 861 btrfs_attach_transaction(struct btrfs_root *root) argument 875 btrfs_attach_transaction_barrier(struct btrfs_root *root) argument 1288 update_cowonly_root(struct btrfs_trans_handle *trans, struct btrfs_root *root) argument 1365 struct btrfs_root *root; local 1422 struct btrfs_root *root = list_first_entry(&fs_info->dead_roots, local 1440 btrfs_add_dead_root(struct btrfs_root *root) argument 1483 struct btrfs_root *root = gang[i]; local 1641 struct btrfs_root *root = pending->root; local 2615 struct btrfs_root *root; local [all...] |
H A D | qgroup.h | 71 * 1) Record the subtree root block get swapped. 142 u64 data_rsv_refroot; /* which root the reserved data belongs to */ 283 /* The fstree root this delta counts against. */ 284 u64 root; member in struct:btrfs_squota_delta 375 int btrfs_qgroup_reserve_meta(struct btrfs_root *root, int num_bytes, 377 int __btrfs_qgroup_reserve_meta(struct btrfs_root *root, int num_bytes, 381 static inline int btrfs_qgroup_reserve_meta_pertrans(struct btrfs_root *root, argument 384 return __btrfs_qgroup_reserve_meta(root, num_bytes, 388 static inline int btrfs_qgroup_reserve_meta_prealloc(struct btrfs_root *root, argument 392 return __btrfs_qgroup_reserve_meta(root, num_byte 401 btrfs_qgroup_free_meta_pertrans(struct btrfs_root *root, int num_bytes) argument 409 btrfs_qgroup_free_meta_prealloc(struct btrfs_root *root, int num_bytes) argument [all...] |
H A D | relocation.c | 34 #include "root-tree.h" 89 * map address of tree root to tree 149 /* map start of tree root to corresponding reloc tree */ 187 * walk up backref nodes until reach node presents tree root 298 static bool reloc_root_is_dead(const struct btrfs_root *root) argument 306 if (test_bit(BTRFS_ROOT_DEAD_RELOC_TREE, &root->state)) 315 * This is enough for most callers, as they don't distinguish dead reloc root 316 * from no reloc root. But btrfs_should_ignore_reloc_root() below is a 319 static bool have_reloc_root(const struct btrfs_root *root) argument 321 if (reloc_root_is_dead(root)) 328 btrfs_should_ignore_reloc_root(const struct btrfs_root *root) argument 362 struct btrfs_root *root = NULL; local 631 __add_reloc_root(struct btrfs_root *root) argument 664 __del_reloc_root(struct btrfs_root *root) argument 708 __update_reloc_root(struct btrfs_root *root) argument 738 create_reloc_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid) argument 841 btrfs_init_reloc_root(struct btrfs_trans_handle *trans, struct btrfs_root *root) argument 908 btrfs_update_reloc_root(struct btrfs_trans_handle *trans, struct btrfs_root *root) argument 958 find_next_inode(struct btrfs_root *root, u64 objectid) argument 1014 struct btrfs_root *root = BTRFS_I(reloc_inode)->root; local 1060 replace_file_extents(struct btrfs_trans_handle *trans, struct reloc_control *rc, struct btrfs_root *root, struct extent_buffer *leaf) argument 1437 walk_up_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, int *level) argument 1474 walk_down_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, int *level) argument 1519 invalidate_extent_cache(struct btrfs_root *root, const struct btrfs_key *min_key, const struct btrfs_key *max_key) argument 1611 insert_dirty_subvol(struct btrfs_trans_handle *trans, struct reloc_control *rc, struct btrfs_root *root) argument 1642 struct btrfs_root *root; local 1692 merge_reloc_root(struct reloc_control *rc, struct btrfs_root *root) argument 1860 struct btrfs_root *root = rc->extent_root; local 1998 struct btrfs_root *root; local 2118 struct btrfs_root *root; local 2159 struct btrfs_root *root; local 2281 struct btrfs_root *root; local 2357 struct btrfs_root *root = rc->extent_root; local 2410 struct btrfs_root *root; local 2676 struct btrfs_root *root; local 3167 struct btrfs_root *root = BTRFS_I(inode)->root; local 3402 struct btrfs_root *root = fs_info->tree_root; local 3743 struct btrfs_root *root = BTRFS_I(rc->data_inode)->root; local 3860 __insert_orphan_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid) argument 3890 delete_orphan_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid) argument 3929 struct btrfs_root *root; local 4222 mark_garbage_root(struct btrfs_root *root) argument 4471 btrfs_reloc_cow_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct extent_buffer *buf, struct extent_buffer *cow) argument 4532 struct btrfs_root *root = pending->root; local 4567 struct btrfs_root *root = pending->root; local [all...] |
H A D | verity.c | 111 struct btrfs_root *root = inode->root; local 123 trans = btrfs_start_transaction(root, 1); 137 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); 161 ret = btrfs_del_items(trans, root, path, path->slots[0], 1); 221 struct btrfs_root *root = inode->root; local 235 trans = btrfs_start_transaction(root, 1); 251 ret = btrfs_insert_empty_item(trans, root, path, &key, copy_bytes); 300 struct btrfs_root *root local 427 struct btrfs_root *root = inode->root; local 460 struct btrfs_root *root = inode->root; local 527 struct btrfs_root *root = inode->root; local 584 struct btrfs_root *root = inode->root; local [all...] |
H A D | delayed-inode.c | 55 struct btrfs_root *root, u64 inode_id) 57 delayed_node->root = root; 70 struct btrfs_root *root = btrfs_inode->root; local 80 spin_lock(&root->inode_lock); 81 node = xa_load(&root->delayed_nodes, ino); 87 spin_unlock(&root->inode_lock); 114 spin_unlock(&root->inode_lock); 117 spin_unlock(&root 53 btrfs_init_delayed_node( struct btrfs_delayed_node *delayed_node, struct btrfs_root *root, u64 inode_id) argument 127 struct btrfs_root *root = btrfs_inode->root; local 175 btrfs_queue_delayed_node(struct btrfs_delayed_root *root, struct btrfs_delayed_node *node, int mod) argument 196 btrfs_dequeue_delayed_node(struct btrfs_delayed_root *root, struct btrfs_delayed_node *node) argument 276 struct btrfs_root *root = delayed_node->root; local 350 __btrfs_lookup_delayed_item( struct rb_root *root, u64 index) argument 376 struct rb_root_cached *root; local 428 struct rb_root_cached *root; local 539 btrfs_delayed_item_release_metadata(struct btrfs_root *root, struct btrfs_delayed_item *item) argument 574 btrfs_delayed_inode_reserve_metadata( struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_delayed_node *node) argument 656 btrfs_insert_delayed_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_delayed_item *first_item) argument 822 btrfs_insert_delayed_items(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_root *root, struct btrfs_delayed_node *node) argument 845 btrfs_batch_delete_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_delayed_item *item) argument 923 btrfs_delete_delayed_items(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_root *root, struct btrfs_delayed_node *node) argument 1011 __btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_delayed_node *node) argument 1103 btrfs_update_delayed_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_delayed_node *node) argument 1334 struct btrfs_root *root; local 1929 struct btrfs_root *root = inode->root; local 2004 struct btrfs_root *root = delayed_node->root; local 2051 btrfs_kill_all_delayed_nodes(struct btrfs_root *root) argument [all...] |
/linux-master/drivers/md/persistent-data/ |
H A D | dm-bitset.c | 37 int dm_bitset_empty(struct dm_disk_bitset *info, dm_block_t *root) argument 39 return dm_array_empty(&info->array_info, root); 73 int dm_bitset_new(struct dm_disk_bitset *info, dm_block_t *root, argument 82 return dm_array_new(&info->array_info, root, dm_div_up(size, 64), pack_bits, &p); 86 int dm_bitset_resize(struct dm_disk_bitset *info, dm_block_t root, argument 95 return dm_array_resize(&info->array_info, root, old_blocks, new_blocks, 100 int dm_bitset_del(struct dm_disk_bitset *info, dm_block_t root) argument 102 return dm_array_del(&info->array_info, root); 106 int dm_bitset_flush(struct dm_disk_bitset *info, dm_block_t root, argument 118 r = dm_array_set_value(&info->array_info, root, inf 130 read_bits(struct dm_disk_bitset *info, dm_block_t root, uint32_t array_index) argument 148 get_array_entry(struct dm_disk_bitset *info, dm_block_t root, uint32_t index, dm_block_t *new_root) argument 166 dm_bitset_set_bit(struct dm_disk_bitset *info, dm_block_t root, uint32_t index, dm_block_t *new_root) argument 183 dm_bitset_clear_bit(struct dm_disk_bitset *info, dm_block_t root, uint32_t index, dm_block_t *new_root) argument 200 dm_bitset_test_bit(struct dm_disk_bitset *info, dm_block_t root, uint32_t index, dm_block_t *new_root, bool *result) argument 231 dm_bitset_cursor_begin(struct dm_disk_bitset *info, dm_block_t root, uint32_t nr_entries, struct dm_bitset_cursor *c) argument [all...] |
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_zswap.c | 97 static char *setup_test_group_1M(const char *root, const char *name) argument 99 char *group_name = cg_name(root, name); 118 static int test_zswap_usage(const char *root) argument 124 test_group = cg_name(root, "no_shrink_test"); 160 static int test_swapin_nozswap(const char *root) argument 166 test_group = cg_name(root, "no_zswap_test"); 212 static int test_zswapin(const char *root) argument 218 test_group = cg_name(root, "zswapin_test"); 256 static int test_no_invasive_cgroup_shrink(const char *root) argument 262 wb_group = setup_test_group_1M(root, "per_memcg_wb_test 335 test_no_kmem_bypass(const char *root) argument 440 char root[PATH_MAX]; local [all...] |
/linux-master/drivers/soc/qcom/ |
H A D | rpm_master_stats.c | 73 struct dentry *dent, *root; local 85 root = debugfs_create_dir("qcom_rpm_master_stats", NULL); 86 platform_set_drvdata(pdev, root); 91 debugfs_remove_recursive(root); 103 debugfs_remove_recursive(root); 109 debugfs_remove_recursive(root); 117 debugfs_remove_recursive(root); 126 dent = debugfs_create_file(data[i].label, 0444, root, 129 debugfs_remove_recursive(root); 142 struct dentry *root local [all...] |
/linux-master/arch/x86/kvm/mmu/ |
H A D | tdp_mmu.c | 37 * for zapping and thus puts the TDP MMU's reference to each root, i.e. 76 void kvm_tdp_mmu_put_root(struct kvm *kvm, struct kvm_mmu_page *root) argument 78 if (!refcount_dec_and_test(&root->tdp_mmu_root_count)) 82 * The TDP MMU itself holds a reference to each root until the root is 84 * put for a valid root. 86 KVM_BUG_ON(!is_tdp_mmu_page(root) || !root->role.invalid, kvm); 89 list_del_rcu(&root->link); 91 call_rcu(&root 232 struct kvm_mmu_page *root; local 723 __tdp_mmu_zap_root(struct kvm *kvm, struct kvm_mmu_page *root, bool shared, int zap_level) argument 749 tdp_mmu_zap_root(struct kvm *kvm, struct kvm_mmu_page *root, bool shared) argument 824 tdp_mmu_zap_leafs(struct kvm *kvm, struct kvm_mmu_page *root, gfn_t start, gfn_t end, bool can_yield, bool flush) argument 872 struct kvm_mmu_page *root; local 883 struct kvm_mmu_page *root; local 908 struct kvm_mmu_page *root; local 953 struct kvm_mmu_page *root; local 1167 struct kvm_mmu_page *root; local 1183 struct kvm_mmu_page *root; local 1312 wrprot_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root, gfn_t start, gfn_t end, int min_level) argument 1353 struct kvm_mmu_page *root; local 1464 tdp_mmu_split_huge_pages_root(struct kvm *kvm, struct kvm_mmu_page *root, gfn_t start, gfn_t end, int target_level, bool shared) argument 1538 struct kvm_mmu_page *root; local 1561 clear_dirty_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root, gfn_t start, gfn_t end) argument 1604 struct kvm_mmu_page *root; local 1615 clear_dirty_pt_masked(struct kvm *kvm, struct kvm_mmu_page *root, gfn_t gfn, unsigned long mask, bool wrprot) argument 1666 struct kvm_mmu_page *root; local 1672 zap_collapsible_spte_range(struct kvm *kvm, struct kvm_mmu_page *root, const struct kvm_memory_slot *slot) argument 1730 struct kvm_mmu_page *root; local 1742 write_protect_gfn(struct kvm *kvm, struct kvm_mmu_page *root, gfn_t gfn, int min_level) argument 1782 struct kvm_mmu_page *root; local [all...] |
/linux-master/lib/ |
H A D | rbtree.c | 19 * 2) The root is black 22 * 5) Every simple path from root to leaves contains the same number 76 struct rb_root *root, int color) 81 __rb_change_child(old, new, parent, root); 85 __rb_insert(struct rb_node *node, struct rb_root *root, argument 96 * The inserted node is root. Either this is the 107 * per 4), we don't want a red root or two 180 __rb_rotate_set_parents(gparent, parent, root, RB_RED); 215 __rb_rotate_set_parents(gparent, parent, root, RB_RED); 227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, argument 75 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, struct rb_root *root, int color) argument 410 __rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) argument 434 rb_insert_color(struct rb_node *node, struct rb_root *root) argument 440 rb_erase(struct rb_node *node, struct rb_root *root) argument 456 __rb_insert_augmented(struct rb_node *node, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) argument 466 rb_first(const struct rb_root *root) argument 479 rb_last(const struct rb_root *root) argument 553 rb_replace_node(struct rb_node *victim, struct rb_node *new, struct rb_root *root) argument 570 rb_replace_node_rcu(struct rb_node *victim, struct rb_node *new, struct rb_root *root) argument 623 rb_first_postorder(const struct rb_root *root) argument [all...] |
/linux-master/drivers/misc/genwqe/ |
H A D | card_debugfs.c | 321 struct dentry *root; local 328 root = debugfs_create_dir(card_name, cd->debugfs_genwqe); 331 debugfs_create_file("ddcb_info", S_IRUGO, root, cd, &ddcb_info_fops); 332 debugfs_create_file("info", S_IRUGO, root, cd, &info_fops); 333 debugfs_create_x64("err_inject", 0666, root, &cd->err_inject); 334 debugfs_create_u32("ddcb_software_timeout", 0666, root, 336 debugfs_create_u32("kill_timeout", 0666, root, &cd->kill_timeout); 340 cd->debugfs_root = root; 344 debugfs_create_file("curr_regs", S_IRUGO, root, cd, &curr_regs_fops); 345 debugfs_create_file("curr_dbg_uid0", S_IRUGO, root, c [all...] |
/linux-master/include/linux/ |
H A D | rbtree_augmented.h | 33 extern void __rb_insert_augmented(struct rb_node *node, struct rb_root *root, 47 rb_insert_augmented(struct rb_node *node, struct rb_root *root, argument 50 __rb_insert_augmented(node, root, augment->rotate); 55 struct rb_root_cached *root, bool newleft, 59 root->rb_leftmost = node; 60 rb_insert_augmented(node, &root->rb_root, augment); 196 struct rb_node *parent, struct rb_root *root) 204 WRITE_ONCE(root->rb_node, new); 209 struct rb_node *parent, struct rb_root *root) 217 rcu_assign_pointer(root 54 rb_insert_augmented_cached(struct rb_node *node, struct rb_root_cached *root, bool newleft, const struct rb_augment_callbacks *augment) argument 195 __rb_change_child(struct rb_node *old, struct rb_node *new, struct rb_node *parent, struct rb_root *root) argument 208 __rb_change_child_rcu(struct rb_node *old, struct rb_node *new, struct rb_node *parent, struct rb_root *root) argument 224 __rb_erase_augmented(struct rb_node *node, struct rb_root *root, const struct rb_augment_callbacks *augment) argument 326 rb_erase_augmented(struct rb_node *node, struct rb_root *root, const struct rb_augment_callbacks *augment) argument 335 rb_erase_augmented_cached(struct rb_node *node, struct rb_root_cached *root, const struct rb_augment_callbacks *augment) argument [all...] |
/linux-master/fs/ |
H A D | d_path.c | 105 const struct path *root, struct prepend_buffer *p) 107 while (dentry != root->dentry || &mnt->mnt != root->mnt) { 119 /* Global root */ 123 return 1; // absolute root 143 * @root: root vfsmnt/dentry 157 const struct path *root, 172 error = __prepend_path(path->dentry, real_mount(path->mnt), root, &b); 202 * @root 104 __prepend_path(const struct dentry *dentry, const struct mount *mnt, const struct path *root, struct prepend_buffer *p) argument 156 prepend_path(const struct path *path, const struct path *root, struct prepend_buffer *p) argument 215 __d_path(const struct path *path, const struct path *root, char *buf, int buflen) argument 230 struct path root = {}; local 239 get_fs_root_rcu(struct fs_struct *fs, struct path *root) argument 268 struct path root; local 382 get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, struct path *pwd) argument 415 struct path pwd, root; local [all...] |
/linux-master/tools/testing/selftests/safesetid/ |
H A D | safesetid-test.sh | 13 echo $TCID: must be run as root >&2
|
/linux-master/fs/autofs/ |
H A D | Makefile | 8 autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o
|
/linux-master/tools/perf/util/ |
H A D | mem2node.h | 11 struct rb_root root; member in struct:mem2node
|
/linux-master/net/bridge/ |
H A D | br_stp_bpdu.c | 92 buf[5] = bpdu->root.prio[0]; 93 buf[6] = bpdu->root.prio[1]; 94 buf[7] = bpdu->root.addr[0]; 95 buf[8] = bpdu->root.addr[1]; 96 buf[9] = bpdu->root.addr[2]; 97 buf[10] = bpdu->root.addr[3]; 98 buf[11] = bpdu->root.addr[4]; 99 buf[12] = bpdu->root.addr[5]; 200 bpdu.root.prio[0] = buf[2]; 201 bpdu.root [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | proc_powerpc.c | 71 struct proc_dir_entry *root; local 73 root = proc_mkdir("powerpc", NULL); 74 if (!root) 85 if (!proc_mkdir("rtas", root))
|
/linux-master/tools/cgroup/ |
H A D | memcg_shrinker.py | 13 for root, subdirs, _ in os.walk(cgroup_root): 15 path = os.path.join(root, cgroup) 26 for root, subdirs, _ in os.walk(shrinker_debugfs): 28 count_path = os.path.join(root, shrinker, "count")
|
/linux-master/include/drm/ |
H A D | drm_debugfs.h | 143 int count, struct dentry *root, 146 struct dentry *root, struct drm_minor *minor); 158 int count, struct dentry *root, 163 int count, struct dentry *root, 157 drm_debugfs_create_files(const struct drm_info_list *files, int count, struct dentry *root, struct drm_minor *minor) argument 162 drm_debugfs_remove_files(const struct drm_info_list *files, int count, struct dentry *root, struct drm_minor *minor) argument
|