/linux-6.14.4/fs/btrfs/ |
D | disk-io.c | 646 static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, in __setup_root() 722 struct btrfs_root *root = kzalloc(sizeof(*root), flags); in btrfs_alloc_root() local 732 struct btrfs_root *root; in btrfs_alloc_dummy_root() local 759 const struct btrfs_root *root = rb_entry(node, struct btrfs_root, rb_node); in global_root_key_cmp() local 764 int btrfs_global_root_insert(struct btrfs_root *root) in btrfs_global_root_insert() 782 void btrfs_global_root_delete(struct btrfs_root *root) in btrfs_global_root_delete() 795 struct btrfs_root *root = NULL; in btrfs_global_root() local 855 struct btrfs_root *root; in btrfs_create_tree() local 922 struct btrfs_root *root; in alloc_log_tree() local 936 struct btrfs_root *root) in btrfs_alloc_log_tree_node() [all …]
|
D | qgroup.c | 379 struct btrfs_path *path = NULL; in btrfs_read_qgroup_config() local 664 struct btrfs_path *path; in add_qgroup_relation_item() local 685 struct btrfs_path *path; in del_qgroup_relation_item() local 715 struct btrfs_path *path; in add_qgroup_item() local 779 struct btrfs_path *path; in del_qgroup_item() local 825 struct btrfs_path *path; in update_qgroup_limit_item() local 865 struct btrfs_path *path; in update_qgroup_info_item() local 907 struct btrfs_path *path; in update_qgroup_status_item() local 946 struct btrfs_root *root) in btrfs_clean_quota_tree() 948 struct btrfs_path *path; in btrfs_clean_quota_tree() local [all …]
|
D | uuid-tree.c | 30 struct btrfs_path *path = NULL; in btrfs_uuid_tree_lookup() local 92 struct btrfs_path *path = NULL; in btrfs_uuid_tree_add() local 154 struct btrfs_path *path = NULL; in btrfs_uuid_tree_remove() local 294 struct btrfs_root *root = fs_info->uuid_root; in btrfs_uuid_tree_iterate() local 296 struct btrfs_path *path; in btrfs_uuid_tree_iterate() local 397 struct btrfs_root *root = fs_info->tree_root; in btrfs_uuid_scan_kthread() local 399 struct btrfs_path *path = NULL; in btrfs_uuid_scan_kthread() local
|
D | dev-replace.c | 79 struct btrfs_path *path = NULL; in btrfs_init_dev_replace() local 349 struct btrfs_path *path; in btrfs_run_dev_replace() local 452 struct btrfs_path *path; in mark_block_group_to_copy() local 455 struct btrfs_root *root = fs_info->dev_root; in mark_block_group_to_copy() local 599 struct btrfs_root *root = fs_info->dev_root; in btrfs_dev_replace_start() local 874 struct btrfs_root *root = fs_info->tree_root; in btrfs_dev_replace_finishing() local 1092 struct btrfs_root *root = fs_info->tree_root; in btrfs_dev_replace_cancel() local
|
D | block-group.c | 587 struct btrfs_path *path; in sample_block_group_extent_item() local 705 struct btrfs_path *path; in load_extent_tree_free() local 1031 struct btrfs_path *path, in remove_block_group_item() 1035 struct btrfs_root *root; in remove_block_group_item() local 1058 struct btrfs_path *path; in btrfs_remove_block_group() local 1296 struct btrfs_root *root = btrfs_block_group_root(fs_info); in btrfs_start_trans_remove_block_group() local 2031 const struct btrfs_path *path) in read_bg_from_eb() 2078 struct btrfs_path *path, in find_first_block_group() 2081 struct btrfs_root *root = btrfs_block_group_root(fs_info); in find_first_block_group() local 2515 struct btrfs_root *root = btrfs_block_group_root(info); in btrfs_read_block_groups() local [all …]
|
D | props.c | 146 static int iterate_object_props(struct btrfs_root *root, in iterate_object_props() 147 struct btrfs_path *path, in iterate_object_props() 263 struct btrfs_root *root = BTRFS_I(inode)->root; in inode_prop_iterator() local 276 int btrfs_load_inode_props(struct inode *inode, struct btrfs_path *path) in btrfs_load_inode_props() 278 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_load_inode_props() local 390 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_inode_inherit_props() local
|
D | ioctl.c | 263 struct btrfs_root *root = binode->root; in btrfs_fileattr_set() local 511 struct btrfs_root *root = BTRFS_I(dir)->root; in create_subvol() local 702 static int create_snapshot(struct btrfs_root *root, struct inode *dir, in create_snapshot() 956 struct btrfs_root *root, in btrfs_mksnapshot() 1041 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_resize() local 1343 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_subvol_getflags() local 1366 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_subvol_setflags() local 1474 static noinline int copy_to_sk(struct btrfs_path *path, in copy_to_sk() 1613 struct btrfs_root *root; in search_ioctl() local 1615 struct btrfs_path *path; in search_ioctl() local [all …]
|
D | file.c | 140 struct btrfs_root *root, struct btrfs_inode *inode, in btrfs_drop_extents() 163 struct btrfs_path *path = args->path; in btrfs_drop_extents() local 554 struct btrfs_root *root = inode->root; in btrfs_mark_extent_written() local 556 struct btrfs_path *path; in btrfs_mark_extent_written() local 990 struct btrfs_root *root = inode->root; in btrfs_check_nocow_lock() local 1484 struct btrfs_root *root = inode->root; in btrfs_sync_file() local 1975 struct btrfs_path *path, u64 offset, u64 end) in fill_holes() 1978 struct btrfs_root *root = inode->root; in fill_holes() local 2139 struct btrfs_path *path, in btrfs_insert_replace_extent() 2145 struct btrfs_root *root = inode->root; in btrfs_insert_replace_extent() local [all …]
|
D | locking.c | 97 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb) in btrfs_maybe_reset_lockdep_class() 213 void btrfs_unlock_up_safe(struct btrfs_path *path, int level) in btrfs_unlock_up_safe() 236 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root) in btrfs_lock_root_node() 259 struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root) in btrfs_read_lock_root_node() 283 struct extent_buffer *btrfs_try_read_lock_root_node(struct btrfs_root *root) in btrfs_try_read_lock_root_node()
|
D | fiemap.c | 306 static int fiemap_next_leaf_item(struct btrfs_inode *inode, struct btrfs_path *path) in fiemap_next_leaf_item() 369 static int fiemap_search_slot(struct btrfs_inode *inode, struct btrfs_path *path, in fiemap_search_slot() 373 struct btrfs_root *root = inode->root; in fiemap_search_slot() local 555 struct btrfs_path *path, in fiemap_find_last_extent_offset() 559 struct btrfs_root *root = inode->root; in fiemap_find_last_extent_offset() local 637 struct btrfs_path *path; in extent_fiemap() local
|
/linux-6.14.4/tools/testing/selftests/cgroup/ |
D | test_hugetlb_memcg.c | 25 char *p, *q, *path = "/proc/meminfo", *tag = "Hugepagesize:"; in get_hugepage_size() local 64 static int set_file(const char *path, long value) in set_file() 169 static int test_hugetlb_memcg(char *root) in test_hugetlb_memcg() 201 char root[PATH_MAX]; in main() local
|
D | cgroup_util.c | 23 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() 42 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text() 55 char *cg_name(const char *root, const char *name) in cg_name() 65 char *cg_name_indexed(const char *root, const char *name, int index) in cg_name_indexed() 88 char path[PATH_MAX]; in cg_read() local 188 char path[PATH_MAX]; in cg_write() local 202 char path[PATH_MAX]; in cg_open() local 220 int cg_find_unified_root(char *root, size_t len, bool *nsdelegate) in cg_find_unified_root() 550 char path[PATH_MAX]; in set_oom_adj_score() local 583 char path[PATH_MAX]; in proc_read_text() local
|
D | test_core.c | 80 static int test_cgcore_destroy(const char *root) in test_cgcore_destroy() 142 static int test_cgcore_populated(const char *root) in test_cgcore_populated() 275 static int test_cgcore_invalid_domain(const char *root) in test_cgcore_invalid_domain() 337 static int test_cgcore_parent_becomes_threaded(const char *root) in test_cgcore_parent_becomes_threaded() 376 static int test_cgcore_no_internal_process_constraint_on_threads(const char *root) in test_cgcore_no_internal_process_constraint_on_threads() 428 static int test_cgcore_top_down_constraint_enable(const char *root) in test_cgcore_top_down_constraint_enable() 463 static int test_cgcore_top_down_constraint_disable(const char *root) in test_cgcore_top_down_constraint_disable() 504 static int test_cgcore_internal_process_constraint(const char *root) in test_cgcore_internal_process_constraint() 550 static int test_cgcore_proc_migration(const char *root) in test_cgcore_proc_migration() 623 static int test_cgcore_thread_migration(const char *root) in test_cgcore_thread_migration() [all …]
|
/linux-6.14.4/fs/proc/ |
D | proc_sysctl.c | 49 struct ctl_table_header *register_sysctl_mount_point(const char *path) in register_sysctl_mount_point() 193 struct ctl_table_root *root, struct ctl_table_set *set, in init_header() 345 lookup_header_set(struct ctl_table_root *root) in lookup_header_set() 438 struct ctl_table_root *root = head->root; in sysctl_perm() local 452 struct ctl_table_root *root = head->root; in proc_sys_make_inode() local 840 const struct path *path, struct kstat *stat, in proc_sys_getattr() 1060 struct ctl_table_root *root; in sysctl_follow_link() local 1088 static int sysctl_err(const char *path, const struct ctl_table *table, char *fmt, ...) in sysctl_err() 1104 static int sysctl_check_table_array(const char *path, const struct ctl_table *table) in sysctl_check_table_array() 1141 static int sysctl_check_table(const char *path, struct ctl_table_header *header) in sysctl_check_table() [all …]
|
/linux-6.14.4/tools/perf/util/ |
D | cgroup.c | 33 char path[PATH_MAX + 1]; in open_cgroup() local 51 static u64 __read_cgroup_id(const char *path) in __read_cgroup_id() 68 char path[PATH_MAX + 1]; in read_cgroup_id() local 521 static struct cgroup *__cgroup__findnew(struct rb_root *root, uint64_t id, in __cgroup__findnew() 522 bool create, const char *path) in __cgroup__findnew() 565 const char *path) in cgroup__findnew() 575 struct cgroup *__cgroup__find(struct rb_root *root, uint64_t id) in __cgroup__find() 606 void read_all_cgroups(struct rb_root *root) in read_all_cgroups()
|
/linux-6.14.4/security/apparmor/ |
D | path.c | 48 static int disconnect(const struct path *path, char *buf, char **name, in disconnect() 88 static int d_namespace_path(const struct path *path, char *buf, char **name, in d_namespace_path() 120 struct path root; in d_namespace_path() local 197 int aa_path_name(const struct path *path, int flags, char *buffer, in aa_path_name()
|
/linux-6.14.4/fs/overlayfs/ |
D | readdir.c | 36 struct rb_root root; member 43 struct rb_root *root; member 94 static struct ovl_cache_entry *ovl_cache_entry_find(struct rb_root *root, in ovl_cache_entry_find() 271 static int ovl_check_whiteouts(const struct path *path, struct ovl_readdir_data *rdd) in ovl_check_whiteouts() 348 struct rb_root *root) in ovl_dir_read_merged() 469 static int ovl_cache_update(const struct path *path, struct ovl_cache_entry *p, bool update_ino) in ovl_cache_update() 566 static int ovl_dir_read_impure(const struct path *path, struct list_head *list, in ovl_dir_read_impure() 567 struct rb_root *root) in ovl_dir_read_impure() 611 static struct ovl_dir_cache *ovl_cache_get_impure(const struct path *path) in ovl_cache_get_impure() 985 struct rb_root root = RB_ROOT; in ovl_check_empty_dir() local [all …]
|
/linux-6.14.4/fs/ |
D | namei.c | 610 void path_get(const struct path *path) in path_get() 623 void path_put(const struct path *path) in path_put() 632 struct path path; member 634 struct path root; member 676 const struct path *root) in set_nameidata() 767 static bool __legitimize_path(struct path *path, unsigned seq, unsigned mseq) in __legitimize_path() 784 struct path *path, unsigned seq) in legitimize_path() 1061 int nd_jump_link(const struct path *path) in nd_jump_link() 1358 int follow_up(struct path *path) in follow_up() 1381 static bool choose_mountpoint_rcu(struct mount *m, const struct path *root, in choose_mountpoint_rcu() [all …]
|
D | kernel_read_file.c | 127 ssize_t kernel_read_file_from_path(const char *path, loff_t offset, void **buf, in kernel_read_file_from_path() 147 ssize_t kernel_read_file_from_path_initns(const char *path, loff_t offset, in kernel_read_file_from_path_initns() 153 struct path root; in kernel_read_file_from_path_initns() local
|
D | namespace.c | 860 struct vfsmount *lookup_mnt(const struct path *path) in lookup_mnt() 1207 static struct mount *next_mnt(struct mount *p, struct mount *root) in next_mnt() 1325 static struct mount *clone_mnt(struct mount *old, struct dentry *root, in clone_mnt() 1544 bool path_is_mountpoint(const struct path *path) in path_is_mountpoint() 1563 struct vfsmount *mnt_clone_internal(const struct path *path) in mnt_clone_internal() 2026 static int can_umount(const struct path *path, int flags) in can_umount() 2045 int path_umount(struct path *path, int flags) in path_umount() 2063 struct path path; in ksys_umount() local 2232 struct vfsmount *collect_mounts(const struct path *path) in collect_mounts() 2301 struct vfsmount *clone_private_mount(const struct path *path) in clone_private_mount() [all …]
|
/linux-6.14.4/fs/kernfs/ |
D | symlink.c | 57 struct kernfs_node *target, char *path) in kernfs_get_target_path() 111 static int kernfs_getlink(struct inode *inode, char *path) in kernfs_getlink() 116 struct kernfs_root *root = kernfs_root(parent); in kernfs_getlink() local
|
D | dir.c | 482 struct kernfs_root *root = kernfs_root(kn); in kernfs_drain() local 555 struct kernfs_root *root; in kernfs_put() local 610 static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root, in __kernfs_new_node() 720 struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root, in kernfs_find_and_get_node_by_id() 773 struct kernfs_root *root = kernfs_root(parent); in kernfs_add_one() local 871 const unsigned char *path, in kernfs_walk_ns() 916 struct kernfs_root *root = kernfs_root(parent); in kernfs_find_and_get_ns() local 939 const char *path, const void *ns) in kernfs_walk_and_get_ns() 942 struct kernfs_root *root = kernfs_root(parent); in kernfs_walk_and_get_ns() local 964 struct kernfs_root *root; in kernfs_create_root() local [all …]
|
/linux-6.14.4/fs/devpts/ |
D | inode.c | 112 static int devpts_ptmx_path(struct path *path) in devpts_ptmx_path() 151 struct path path; in devpts_mntget() local 183 struct path path; in devpts_acquire() local 309 struct dentry *root = sb->s_root; in mknod_ptmx() local 384 static int devpts_show_options(struct seq_file *seq, struct dentry *root) in devpts_show_options() 548 struct dentry *root; in devpts_pty_new() local
|
/linux-6.14.4/fs/cachefiles/ |
D | cache.c | 20 struct path path; in cachefiles_add_cache() local 22 struct dentry *graveyard, *cachedir, *root; in cachefiles_add_cache() local 193 struct path path = { in cachefiles_has_space() local
|
/linux-6.14.4/net/ |
D | sysctl_net.c | 31 net_ctl_header_lookup(struct ctl_table_root *root) in net_ctl_header_lookup() 123 static void ensure_safe_net_sysctl(struct net *net, const char *path, in ensure_safe_net_sysctl() 164 const char *path, in register_net_sysctl_sz()
|