/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | transaction.h | 158 struct btrfs_root *root; member 178 inode->last_sub_trans = inode->root->log_transid; in btrfs_set_inode_last_trans() 235 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, 238 struct btrfs_root *root, 240 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root); 241 struct btrfs_trans_handle *btrfs_join_transaction_spacecache(struct btrfs_root *root); 242 struct btrfs_trans_handle *btrfs_join_transaction_nostart(struct btrfs_root *root); 243 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root); 245 struct btrfs_root *root); 248 void btrfs_add_dead_root(struct btrfs_root *root); [all...] |
H A D | dir-item.h | 6 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, 12 struct btrfs_root *root, 17 struct btrfs_root *root, 20 struct btrfs_dir_item *btrfs_search_dir_index_item(struct btrfs_root *root, 24 struct btrfs_root *root, 28 struct btrfs_root *root, 33 struct btrfs_root *root,
|
H A D | xattr.c | 31 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_getxattr() local 42 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(BTRFS_I(inode)), in btrfs_getxattr() 87 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_setxattr() local 88 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_setxattr() 95 if (name_len + size > BTRFS_MAX_XATTR_SIZE(root->fs_info)) in btrfs_setxattr() 104 di = btrfs_lookup_xattr(trans, root, path, in btrfs_setxattr() 111 ret = btrfs_delete_one_dir_name(trans, root, path, di); in btrfs_setxattr() 124 di = btrfs_lookup_xattr(NULL, root, pat in btrfs_setxattr() 232 struct btrfs_root *root = BTRFS_I(inode)->root; btrfs_setxattr_trans() local 282 struct btrfs_root *root = BTRFS_I(inode)->root; btrfs_listxattr() local 393 struct btrfs_root *root = BTRFS_I(inode)->root; btrfs_xattr_handler_set_prop() local [all...] |
H A D | delalloc-space.c | 118 struct btrfs_root *root = inode->root; in btrfs_alloc_data_chunk_ondemand() local 119 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand() 135 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_data_free_space() 194 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_free_reserved_data_space() 220 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_rsv_release() 236 btrfs_qgroup_free_meta_prealloc(inode->root, qgroup_to_release); in btrfs_inode_rsv_release() 238 btrfs_qgroup_convert_reserved_meta(inode->root, in btrfs_inode_rsv_release() 286 struct btrfs_fs_info *fs_info = inode->root->fs_info; in calc_inode_reservations() 310 struct btrfs_root *root in btrfs_delalloc_reserve_metadata() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | xattr.c | 27 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_getxattr() local 38 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(BTRFS_I(inode)), in btrfs_getxattr() 83 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_setxattr() local 84 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_setxattr() 91 if (name_len + size > BTRFS_MAX_XATTR_SIZE(root->fs_info)) in btrfs_setxattr() 100 di = btrfs_lookup_xattr(trans, root, path, in btrfs_setxattr() 107 ret = btrfs_delete_one_dir_name(trans, root, path, di); in btrfs_setxattr() 120 di = btrfs_lookup_xattr(NULL, root, pat in btrfs_setxattr() 230 struct btrfs_root *root = BTRFS_I(inode)->root; btrfs_setxattr_trans() local 278 struct btrfs_root *root = BTRFS_I(inode)->root; btrfs_listxattr() local 406 struct btrfs_root *root = BTRFS_I(inode)->root; btrfs_xattr_handler_set_prop() local [all...] |
H A D | delalloc-space.c | 116 struct btrfs_root *root = inode->root; in btrfs_alloc_data_chunk_ondemand() local 117 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_alloc_data_chunk_ondemand() 132 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_check_data_free_space() 182 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_free_reserved_data_space() 206 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btrfs_inode_rsv_release() 222 btrfs_qgroup_free_meta_prealloc(inode->root, qgroup_to_release); in btrfs_inode_rsv_release() 224 btrfs_qgroup_convert_reserved_meta(inode->root, in btrfs_inode_rsv_release() 288 struct btrfs_root *root = inode->root; in btrfs_delalloc_reserve_metadata() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/alsa/ |
H A D | conf.c | 343 static int conf_get_by_keys(snd_config_t *root, const char *key1, in conf_get_by_keys() argument 349 ret = snd_config_search(root, key1, &root); in conf_get_by_keys() 354 ret = snd_config_search(root, key2, &root); in conf_get_by_keys() 356 *result = root; in conf_get_by_keys() 360 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2) in conf_get_subtree() argument 364 if (!root) in conf_get_subtree() 366 ret = conf_get_by_keys(root, key1, key2, &root); in conf_get_subtree() 374 conf_get_count(snd_config_t *root, const char *key1, const char *key2) conf_get_count() argument 395 conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def) conf_get_string() argument 413 conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def) conf_get_long() argument 431 conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def) conf_get_bool() argument 449 conf_get_string_array(snd_config_t *root, const char *key1, const char *key2, const char **array, int array_size, const char *def) conf_get_string_array() argument [all...] |
H A D | alsa-local.h | 19 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2); 20 int conf_get_count(snd_config_t *root, const char *key1, const char *key2); 21 const char *conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def); 22 long conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def); 23 int conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def); 24 void conf_get_string_array(snd_config_t *root, const char *key1, const char *key2,
|
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
H A D | dm-array.h | 25 * size along with the array root in your encompassing data. 38 * b) Get yourself a root. The root is the index of a block of data on the 40 * pre existing root in your metadata that you wish to use, or you may 45 * root for a _new_ array. If you've incremented the old root, via 47 * it in parallel with the new root. 90 * root - on success this will be filled out with the root block 92 int dm_array_empty(struct dm_array_info *info, dm_block_t *root); [all...] |
/kernel/linux/linux-5.10/sound/firewire/motu/ |
H A D | motu-proc.c | 81 static void add_node(struct snd_motu *motu, struct snd_info_entry *root, in add_node() argument 88 entry = snd_info_create_card_entry(motu->card, name, root); in add_node() 95 struct snd_info_entry *root; in snd_motu_proc_init() local 101 root = snd_info_create_card_entry(motu->card, "firewire", in snd_motu_proc_init() 103 if (root == NULL) in snd_motu_proc_init() 105 root->mode = S_IFDIR | 0555; in snd_motu_proc_init() 107 add_node(motu, root, "clock", proc_read_clock); in snd_motu_proc_init() 108 add_node(motu, root, "format", proc_read_format); in snd_motu_proc_init()
|
/kernel/linux/linux-5.10/fs/cachefiles/ |
H A D | security.c | 47 * see if mkdir and create can be performed in the root directory 50 struct dentry *root) in cachefiles_check_cache_dir() 54 ret = security_inode_mkdir(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir() 61 ret = security_inode_create(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir() 76 struct dentry *root, in cachefiles_determine_cache_security() 92 /* use the cache root dir's security context as the basis with in cachefiles_determine_cache_security() 94 ret = set_create_files_as(new, d_backing_inode(root)); in cachefiles_determine_cache_security() 106 ret = cachefiles_check_cache_dir(cache, root); in cachefiles_determine_cache_security() 49 cachefiles_check_cache_dir(struct cachefiles_cache *cache, struct dentry *root) cachefiles_check_cache_dir() argument 75 cachefiles_determine_cache_security(struct cachefiles_cache *cache, struct dentry *root, const struct cred **_saved_cred) cachefiles_determine_cache_security() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | rootnv04.c | 42 struct nv04_disp_root *root = nv04_disp_root(object); in nv04_disp_mthd() local 58 if (!(head = nvkm_head_find(root->disp, id))) in nv04_disp_mthd() 81 struct nv04_disp_root *root; in nv04_disp_root_new() local 83 if (!(root = kzalloc(sizeof(*root), GFP_KERNEL))) in nv04_disp_root_new() 85 root->disp = disp; in nv04_disp_root_new() 86 *pobject = &root->object; in nv04_disp_root_new() 88 nvkm_object_ctor(&nv04_disp_root, oclass, &root->object); in nv04_disp_root_new()
|
/kernel/linux/linux-6.6/fs/cachefiles/ |
H A D | security.c | 47 * see if mkdir and create can be performed in the root directory 50 struct dentry *root) in cachefiles_check_cache_dir() 54 ret = security_inode_mkdir(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir() 61 ret = security_inode_create(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir() 76 struct dentry *root, in cachefiles_determine_cache_security() 92 /* use the cache root dir's security context as the basis with in cachefiles_determine_cache_security() 94 ret = set_create_files_as(new, d_backing_inode(root)); in cachefiles_determine_cache_security() 106 ret = cachefiles_check_cache_dir(cache, root); in cachefiles_determine_cache_security() 49 cachefiles_check_cache_dir(struct cachefiles_cache *cache, struct dentry *root) cachefiles_check_cache_dir() argument 75 cachefiles_determine_cache_security(struct cachefiles_cache *cache, struct dentry *root, const struct cred **_saved_cred) cachefiles_determine_cache_security() argument [all...] |
/kernel/linux/linux-6.6/drivers/md/persistent-data/ |
H A D | dm-array.h | 26 * size along with the array root in your encompassing data. 39 * b) Get yourself a root. The root is the index of a block of data on the 41 * pre existing root in your metadata that you wish to use, or you may 46 * root for a _new_ array. If you've incremented the old root, via 48 * it in parallel with the new root. 91 * root - on success this will be filled out with the root block 93 int dm_array_empty(struct dm_array_info *info, dm_block_t *root); [all...] |
/kernel/linux/linux-6.6/scripts/gdb/linux/ |
H A D | radixtree.py | 33 def lookup(root, index): 34 if root.type == radix_tree_root_type.get_type().pointer(): 35 node = root.dereference() 36 elif root.type != radix_tree_root_type.get_type(): 38 .format(radix_tree_root_type.get_type(), root.type)) 40 node = root['xa_head'] 78 If index is omitted, the root node is dereference and returned.""" 83 def invoke(self, root, index=0): 84 result = lookup(root, index)
|
/kernel/linux/linux-6.6/sound/firewire/motu/ |
H A D | motu-proc.c | 81 static void add_node(struct snd_motu *motu, struct snd_info_entry *root, in add_node() argument 88 entry = snd_info_create_card_entry(motu->card, name, root); in add_node() 95 struct snd_info_entry *root; in snd_motu_proc_init() local 101 root = snd_info_create_card_entry(motu->card, "firewire", in snd_motu_proc_init() 103 if (root == NULL) in snd_motu_proc_init() 105 root->mode = S_IFDIR | 0555; in snd_motu_proc_init() 107 add_node(motu, root, "clock", proc_read_clock); in snd_motu_proc_init() 108 add_node(motu, root, "format", proc_read_format); in snd_motu_proc_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.c | 301 /* Parent is the root */ in tree_add_node() 303 node->root = node; in tree_add_node() 305 node->root = parent->root; in tree_add_node() 417 struct fs_node *root; in find_root() local 420 root = node->root; in find_root() 422 if (WARN_ON(root->type != FS_TYPE_NAMESPACE)) { in find_root() 427 ns = container_of(root, struct mlx5_flow_namespace, node); in find_root() 433 struct mlx5_flow_root_namespace *root in get_steering() local 442 struct mlx5_flow_root_namespace *root = find_root(node); get_dev() local 461 struct mlx5_flow_root_namespace *root; del_hw_flow_table() local 495 struct mlx5_flow_root_namespace *root; modify_fte() local 555 struct mlx5_flow_root_namespace *root; del_hw_fte() local 599 struct mlx5_flow_root_namespace *root; del_hw_flow_group() local 790 find_closest_ft_recursive(struct fs_node *root, struct list_head *start, bool reverse) find_closest_ft_recursive() argument 891 struct mlx5_flow_root_namespace *root = find_root(&prio->node); connect_fts_in_prio() local 962 struct mlx5_flow_root_namespace *root = find_root(&prio->node); update_root_ft_create() local 1001 struct mlx5_flow_root_namespace *root; _mlx5_modify_rule_destination() local 1126 struct mlx5_flow_root_namespace *root = find_root(&ns->node); __mlx5_create_flow_table() local 1271 struct mlx5_flow_root_namespace *root = find_root(&ft->node); mlx5_create_flow_group() local 1417 struct mlx5_flow_root_namespace *root; add_rule_fte() local 1503 struct mlx5_flow_root_namespace *root = find_root(&ft->node); create_auto_flow_group() local 2032 struct mlx5_flow_root_namespace *root = find_root(&ft->node); mlx5_add_flow_rules() local 2150 struct mlx5_flow_root_namespace *root = find_root(&ft->node); update_root_ft_destroy() local 2225 struct mlx5_flow_root_namespace *root = find_root(&ft->node); mlx5_destroy_flow_table() local 3129 struct mlx5_flow_root_namespace *root = dev->priv.steering->root_ns; mlx5_fs_add_rx_underlay_qpn() local 3168 struct mlx5_flow_root_namespace *root = dev->priv.steering->root_ns; mlx5_fs_remove_rx_underlay_qpn() local 3226 struct mlx5_flow_root_namespace *root; mlx5_modify_header_alloc() local 3253 struct mlx5_flow_root_namespace *root; mlx5_modify_header_dealloc() local 3270 struct mlx5_flow_root_namespace *root; mlx5_packet_reformat_alloc() local 3298 struct mlx5_flow_root_namespace *root; mlx5_packet_reformat_dealloc() local 3327 struct mlx5_flow_root_namespace *root; mlx5_flow_namespace_set_mode() local [all...] |
H A D | pagealloc.c | 84 struct rb_root *root; in page_root_per_function() local 87 root = xa_load(&dev->priv.page_root_xa, function); in page_root_per_function() 88 if (root) in page_root_per_function() 89 return root; in page_root_per_function() 91 root = kzalloc(sizeof(*root), GFP_KERNEL); in page_root_per_function() 92 if (!root) in page_root_per_function() 95 err = xa_insert(&dev->priv.page_root_xa, function, root, GFP_KERNEL); in page_root_per_function() 97 kfree(root); in page_root_per_function() 101 *root in page_root_per_function() 109 struct rb_root *root; insert_page() local 154 struct rb_root *root; find_fw_page() local 238 struct rb_root *root; free_fwp() local 406 struct rb_root *root; release_all_pages() local 454 struct rb_root *root; reclaim_pages_cmd() local 642 mlx5_reclaim_root_pages(struct mlx5_core_dev *dev, struct rb_root *root, u16 func_id) mlx5_reclaim_root_pages() argument 673 struct rb_root *root; mlx5_reclaim_startup_pages() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/parsers/ |
H A D | ofpart_bcm4908.c | 19 struct device_node *root; in bcm4908_partitions_fw_offset() local 23 root = of_find_node_by_path("/"); in bcm4908_partitions_fw_offset() 24 if (!root) in bcm4908_partitions_fw_offset() 27 of_property_for_each_string(root, "brcm_blparms", prop, s) { in bcm4908_partitions_fw_offset() 38 of_node_put(root); in bcm4908_partitions_fw_offset() 42 of_node_put(root); in bcm4908_partitions_fw_offset() 46 of_node_put(root); in bcm4908_partitions_fw_offset()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pagealloc.c | 103 struct rb_root *root; in page_root_per_function() local 106 root = xa_load(&dev->priv.page_root_xa, function); in page_root_per_function() 107 if (root) in page_root_per_function() 108 return root; in page_root_per_function() 110 root = kzalloc(sizeof(*root), GFP_KERNEL); in page_root_per_function() 111 if (!root) in page_root_per_function() 114 err = xa_insert(&dev->priv.page_root_xa, function, root, GFP_KERNEL); in page_root_per_function() 116 kfree(root); in page_root_per_function() 120 *root in page_root_per_function() 128 struct rb_root *root; insert_page() local 173 struct rb_root *root; find_fw_page() local 257 struct rb_root *root; free_fwp() local 438 struct rb_root *root; release_all_pages() local 485 struct rb_root *root; reclaim_pages_cmd() local 683 mlx5_reclaim_root_pages(struct mlx5_core_dev *dev, struct rb_root *root, u32 function) mlx5_reclaim_root_pages() argument 717 struct rb_root *root; mlx5_reclaim_startup_pages() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom_interval_tree.h | 51 struct rb_root_cached *root); 54 struct rb_root_cached *root); 56 usnic_uiom_interval_tree_iter_first(struct rb_root_cached *root, 63 * Inserts {start...last} into {root}. If there are overlaps, 66 int usnic_uiom_insert_interval(struct rb_root_cached *root, 70 * Removed {start...last} from {root}. The nodes removed are returned in 74 void usnic_uiom_remove_interval(struct rb_root_cached *root, 78 * Returns {start...last} - {root} (relative complement of {start...last} in 79 * {root}) in diff_set sorted ascendingly 84 struct rb_root_cached *root, [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom_interval_tree.h | 51 struct rb_root_cached *root); 54 struct rb_root_cached *root); 56 usnic_uiom_interval_tree_iter_first(struct rb_root_cached *root, 63 * Inserts {start...last} into {root}. If there are overlaps, 66 int usnic_uiom_insert_interval(struct rb_root_cached *root, 70 * Removed {start...last} from {root}. The nodes removed are returned in 74 void usnic_uiom_remove_interval(struct rb_root_cached *root, 78 * Returns {start...last} - {root} (relative complement of {start...last} in 79 * {root}) in diff_set sorted ascendingly 84 struct rb_root_cached *root, [all...] |
/kernel/linux/linux-6.6/drivers/soc/qcom/ |
H A D | rpm_master_stats.c | 73 struct dentry *dent, *root; in master_stats_probe() local 85 root = debugfs_create_dir("qcom_rpm_master_stats", NULL); in master_stats_probe() 86 platform_set_drvdata(pdev, root); in master_stats_probe() 91 debugfs_remove_recursive(root); in master_stats_probe() 103 debugfs_remove_recursive(root); in master_stats_probe() 109 debugfs_remove_recursive(root); in master_stats_probe() 117 debugfs_remove_recursive(root); in master_stats_probe() 126 dent = debugfs_create_file(data[i].label, 0444, root, in master_stats_probe() 129 debugfs_remove_recursive(root); in master_stats_probe() 142 struct dentry *root in master_stats_remove() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/tests/ |
H A D | inode-tests.c | 15 static void insert_extent(struct btrfs_root *root, u64 start, u64 len, in insert_extent() argument 21 struct extent_buffer *leaf = root->node; in insert_extent() 36 setup_items_for_insert(root, &path, &key, &value_len, 1); in insert_extent() 50 static void insert_inode_item_key(struct btrfs_root *root) in insert_inode_item_key() argument 53 struct extent_buffer *leaf = root->node; in insert_inode_item_key() 66 setup_items_for_insert(root, &path, &key, &value_len, 1); in insert_inode_item_key() 87 static void setup_file_extents(struct btrfs_root *root, u32 sectorsize) in setup_file_extents() argument 94 insert_extent(root, offset, 5, 5, 0, 0, 0, BTRFS_FILE_EXTENT_REG, 0, in setup_file_extents() 105 insert_extent(root, offset, 1, 1, 0, 0, 0, BTRFS_FILE_EXTENT_INLINE, 0, in setup_file_extents() 111 insert_extent(root, offse in setup_file_extents() 220 struct btrfs_root *root = NULL; test_btrfs_get_extent() local 826 struct btrfs_root *root = NULL; test_hole_first() local 928 struct btrfs_root *root = NULL; test_extent_accounting() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | test_zswap.c | 79 static int test_no_invasive_cgroup_shrink(const char *root) in test_no_invasive_cgroup_shrink() argument 86 test_group = cg_name(root, "no_shrink_test"); in test_no_invasive_cgroup_shrink() 148 static int test_no_kmem_bypass(const char *root) in test_no_kmem_bypass() argument 180 if (cg_write(root, "cgroup.subtree_control", "+memory")) in test_no_kmem_bypass() 182 test_group = cg_name(root, "kmem_bypass_test"); in test_no_kmem_bypass() 235 int (*fn)(const char *root); 250 char root[PATH_MAX]; in main() local 253 if (cg_find_unified_root(root, sizeof(root))) in main() 263 if (cg_read_strstr(root, "cgrou in main() [all...] |