/linux-master/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.h | 32 struct mmp_path *path; member in struct:mmpfb_info
|
/linux-master/tools/power/cpupower/bench/ |
H A D | parse.h | 38 int prepare_config(const char *path, struct config *config);
|
/linux-master/tools/power/cpupower/lib/ |
H A D | cpuidle.c | 33 char path[SYSFS_PATH_MAX]; local 37 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", 39 if (stat(path, &statbuf) != 0) 46 * fname is a relative path under "cpuX/cpuidle/stateX/" dir 56 char path[SYSFS_PATH_MAX]; local 60 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", 63 fd = open(path, O_RDONLY); 81 * fname is a relative path unde 91 char path[SYSFS_PATH_MAX]; local 317 char path[SYSFS_PATH_MAX]; local [all...] |
/linux-master/arch/mips/vdso/ |
H A D | genvdso.c | 108 static void *map_vdso(const char *path, size_t *_size) argument 115 fd = open(path, O_RDWR); 118 path, strerror(errno)); 124 path, strerror(errno)); 133 path, strerror(errno)); 143 path); 155 program_name, path); 167 program_name, path); 175 program_name, path); 181 program_name, path); 191 patch_vdso(const char *path, void *vdso) argument 199 get_symbols(const char *path, void *vdso) argument [all...] |
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | sar.h | 14 u8 path; member in struct:rtw_sar_arg
|
/linux-master/Documentation/sphinx/ |
H A D | load_config.py | 21 and os.path.normpath(namespace["__file__"]) != os.path.normpath(config_file) ): 22 config_file = os.path.abspath(config_file) 47 if os.path.isfile(config_file):
|
/linux-master/drivers/md/ |
H A D | dm-path-selector.h | 21 * We provide an abstraction for the code that chooses which path 31 * If a path selector uses this flag, a high resolution timer is used 33 * This improves performance of some path selectors (i.e. HST), in 35 * The extra cost is usually offset by improved path selection for 44 /* Information about a path selector type */ 54 * Constructs a path selector object, takes custom arguments 60 * Add an opaque path object, along with some selector specific 61 * path args (eg, path priority). 63 int (*add_path)(struct path_selector *ps, struct dm_path *path, [all...] |
/linux-master/tools/lib/bpf/ |
H A D | zip.h | 39 struct zip_archive *zip_archive_open(const char *path);
|
/linux-master/scripts/gdb/linux/ |
H A D | genpd.py | 17 path = kobj['name'].string() 20 path = kobject_get_path(parent) + '/' + path 21 return path
|
/linux-master/tools/lib/api/fs/ |
H A D | cgroup.c | 24 char *p, *path; local 43 * use v2 path as a fallback. 60 path = ++p; 72 /* save cgroup v2 path */ 73 strcpy(mountpoint, path); 88 strcpy(mountpoint, path);
|
/linux-master/tools/testing/selftests/powerpc/ |
H A D | utils.c | 31 int read_file(const char *path, char *buf, size_t count, size_t *len) argument 38 fd = open(path, O_RDONLY); 68 int read_file_alloc(const char *path, char **buf, size_t *len) argument 76 fd = open(path, O_RDONLY); 126 int write_file(const char *path, const char *buf, size_t count) argument 132 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); 170 char path[PATH_MAX] = "/sys/kernel/debug/"; local 172 strncat(path, subpath, sizeof(path) - strlen(path) 179 char path[PATH_MAX] = "/sys/kernel/debug/"; local 306 read_long(const char *path, long *result, int base) argument 318 read_ulong(const char *path, unsigned long *result, int base) argument 330 write_long(const char *path, long result, int base) argument 355 write_ulong(const char *path, unsigned long result, int base) argument 495 char path[PATH_MAX] = "/sys/"; local [all...] |
/linux-master/tools/perf/tests/ |
H A D | kmod-path.c | 10 static int test(const char *path, bool alloc_name, bool kmod, argument 18 !__kmod_path__parse(&m, path, alloc_name)); 21 path, alloc_name, m.kmod, m.comp, m.name); 35 static int test_is_kernel_module(const char *path, int cpumode, bool expect) argument 38 (!!is_kernel_module(path, cpumode)) == (!!expect)); 40 path, cpumode, expect ? "true" : "false"); 44 #define T(path, an, k, c, n) \ 45 TEST_ASSERT_VAL("failed", !test(path, an, k, c, n)) 47 #define M(path, c, e) \ 48 TEST_ASSERT_VAL("failed", !test_is_kernel_module(path, [all...] |
/linux-master/drivers/xen/xenbus/ |
H A D | xenbus_xs.c | 387 /* Return the path to dir with /name appended. Buffer must be kfree()'ed. */ 425 char *strings, *path; local 428 path = join(dir, node); 429 if (IS_ERR(path)) 430 return (char **)path; 432 strings = xs_single(t, XS_DIRECTORY, path, &len); 433 kfree(path); 441 /* Check if a path exists. Return 1 if it does. */ 463 char *path; local 466 path 482 const char *path; local 505 char *path; local 521 char *path; local 658 xs_watch(const char *path, const char *token) argument 671 xs_unwatch(const char *path, const char *token) argument [all...] |
/linux-master/tools/perf/util/ |
H A D | debuginfo.c | 41 const char *path) 46 fd = open(path, O_RDONLY); 78 static struct debuginfo *__debuginfo__new(const char *path) argument 84 if (debuginfo__init_offline_dwarf(dbg, path) < 0) 87 pr_debug("Open Debuginfo file: %s\n", path); 100 struct debuginfo *debuginfo__new(const char *path) argument 109 dso = dso__new(path); 114 if (is_regular_file(path) && filename__read_build_id(path, &bid) > 0) 129 return dinfo ? : __debuginfo__new(path); 40 debuginfo__init_offline_dwarf(struct debuginfo *dbg, const char *path) argument [all...] |
H A D | util.c | 94 int mkdir_p(char *path, mode_t mode) argument 98 char *d = path; 103 if (stat(path, &st) == 0) 110 err = stat(path, &st) && mkdir(path, mode); 117 return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0; 139 * 0 - will remove only files under the 'path' directory 140 * 1 .. x - will dive in x-level deep under the 'path' directory 151 static int rm_rf_depth_pat(const char *path, in argument 206 rm_rf_a_kcore_dir(const char *path, const char *name) argument 232 rm_rf_kcore_dir(const char *path) argument 254 rm_rf_perf_data(const char *path) argument 267 rm_rf(const char *path) argument 562 char path[PATH_MAX]; local [all...] |
/linux-master/fs/btrfs/ |
H A D | extent-tree.c | 63 static int find_next_key(struct btrfs_path *path, int level, 77 struct btrfs_path *path; local 79 path = btrfs_alloc_path(); 80 if (!path) 86 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); 87 btrfs_free_path(path); 108 struct btrfs_path *path; local 127 path = btrfs_alloc_path(); 128 if (!path) 132 path 440 lookup_extent_data_ref(struct btrfs_trans_handle *trans, struct btrfs_path *path, u64 bytenr, u64 parent, u64 root_objectid, u64 owner, u64 offset) argument 516 insert_extent_data_ref(struct btrfs_trans_handle *trans, struct btrfs_path *path, u64 bytenr, u64 parent, u64 root_objectid, u64 owner, u64 offset, int refs_to_add) argument 595 remove_extent_data_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int refs_to_drop) argument 641 extent_data_ref_count(struct btrfs_path *path, struct btrfs_extent_inline_ref *iref) argument 682 lookup_tree_block_ref(struct btrfs_trans_handle *trans, struct btrfs_path *path, u64 bytenr, u64 parent, u64 root_objectid) argument 706 insert_tree_block_ref(struct btrfs_trans_handle *trans, struct btrfs_path *path, u64 bytenr, u64 parent, u64 root_objectid) argument 746 find_next_key(struct btrfs_path *path, int level, struct btrfs_key *key) argument 781 lookup_inline_extent_backref(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_extent_inline_ref **ref_ret, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, u64 owner, u64 offset, int insert) argument 991 setup_inline_extent_backref(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_extent_inline_ref *iref, u64 parent, u64 root_objectid, u64 owner, u64 offset, int refs_to_add, struct btrfs_delayed_extent_op *extent_op) argument 1051 lookup_extent_backref(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_extent_inline_ref **ref_ret, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, u64 owner, u64 offset) argument 1081 update_inline_extent_backref( struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_extent_inline_ref *iref, int refs_to_mod, struct btrfs_delayed_extent_op *extent_op) argument 1198 insert_inline_extent_backref(struct btrfs_trans_handle *trans, struct btrfs_path *path, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, u64 owner, u64 offset, int refs_to_add, struct btrfs_delayed_extent_op *extent_op) argument 1234 remove_extent_backref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_extent_inline_ref *iref, int refs_to_drop, int is_data) argument 1495 struct btrfs_path *path; local 1645 struct btrfs_path *path; local 2289 check_delayed_ref(struct btrfs_root *root, struct btrfs_path *path, u64 objectid, u64 offset, u64 bytenr) argument 2375 check_committed_ref(struct btrfs_root *root, struct btrfs_path *path, u64 objectid, u64 offset, u64 bytenr, bool strict) argument 2468 btrfs_cross_ref_exist(struct btrfs_root *root, u64 objectid, u64 offset, u64 bytenr, bool strict, struct btrfs_path *path) argument 3109 struct btrfs_path *path; local 4825 struct btrfs_path *path; local 4900 struct btrfs_path *path; local 5259 reada_walk_down(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct walk_control *wc, struct btrfs_path *path) argument 5347 walk_down_proc(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct walk_control *wc, int lookup_info) argument 5423 struct btrfs_path *path; local 5455 do_walk_down(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct walk_control *wc, int *lookup_info) argument 5672 walk_up_proc(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct walk_control *wc) argument 5778 walk_down_tree(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct walk_control *wc) argument 5810 walk_up_tree(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct walk_control *wc, int max_level) argument 5863 struct btrfs_path *path; local 6131 struct btrfs_path *path; local [all...] |
/linux-master/tools/testing/selftests/openat2/ |
H A D | helpers.h | 28 * Arguments for how openat2(2) should open the target path. If @resolve is 96 int raw_openat2(int dfd, const char *path, void *how, size_t size); 97 int sys_openat2(int dfd, const char *path, struct open_how *how); 98 int sys_openat(int dfd, const char *path, struct open_how *how); 102 int touchat(int dfd, const char *path); 104 bool fdequal(int fd, int dfd, const char *path);
|
/linux-master/include/linux/ |
H A D | lsm_audit.h | 22 #include <linux/path.h> 46 struct path path; member in struct:lsm_ioctlop_audit 81 struct path path; member in union:common_audit_data::__anon2823
|
H A D | proc_ns.h | 12 struct path; 76 extern int ns_get_path(struct path *path, struct task_struct *task, 79 extern int ns_get_path_cb(struct path *path, ns_get_path_helper_t ns_get_cb,
|
/linux-master/tools/bpf/bpftool/ |
H A D | iter.c | 18 const char *objfile, *path; local 28 path = GET_ARG(); 79 err = mount_bpffs_for_pin(path, false); 83 err = bpf_link__pin(link, path); 85 p_err("pin_iter failed for program %s to path %s", 86 bpf_program__name(prog), path);
|
/linux-master/fs/9p/ |
H A D | cache.c | 55 __le64 path; local 63 path = cpu_to_le64(v9inode->qid.path); 68 &path, sizeof(path),
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 38 #define format_cgroup_path_pid(buf, path, pid) \ 40 CGROUP_WORK_DIR, pid, path) 42 #define format_cgroup_path(buf, path) \ 43 format_cgroup_path_pid(buf, path, getpid()) 45 #define format_parent_cgroup_path(buf, path) \ 46 format_cgroup_path_pid(buf, path, getppid()) 61 char path[PATH_MAX + 1]; local 69 snprintf(path, sizeof(path), "%s/cgroup.controllers", 71 fd = open(path, O_RDONL 485 cgroup_setup_and_join(const char *path) argument [all...] |
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 119 * int chdir(const char *path); 123 int sys_chdir(const char *path) argument 125 return my_syscall1(__NR_chdir, path); 129 int chdir(const char *path) argument 131 return __sysret(sys_chdir(path)); 136 * int chmod(const char *path, mode_t mode); 140 int sys_chmod(const char *path, mode_t mode) argument 143 return my_syscall4(__NR_fchmodat, AT_FDCWD, path, mode, 0); 145 return my_syscall2(__NR_chmod, path, mode); 147 return __nolibc_enosys(__func__, path, mod 152 chmod(const char *path, mode_t mode) argument 163 sys_chown(const char *path, uid_t owner, gid_t group) argument 175 chown(const char *path, uid_t owner, gid_t group) argument 186 sys_chroot(const char *path) argument 192 chroot(const char *path) argument 614 sys_mkdir(const char *path, mode_t mode) argument 626 mkdir(const char *path, mode_t mode) argument 636 sys_rmdir(const char *path) argument 648 rmdir(const char *path) argument 659 sys_mknod(const char *path, mode_t mode, dev_t dev) argument 671 mknod(const char *path, mode_t mode, dev_t dev) argument 749 sys_open(const char *path, int flags, mode_t mode) argument 761 open(const char *path, int flags, ...) argument 1034 sys_statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) argument 1044 statx(int fd, const char *path, int flags, unsigned int mask, struct statx *buf) argument 1051 stat(const char *path, struct stat *buf) argument 1130 sys_umount2(const char *path, int flags) argument 1136 umount2(const char *path, int flags) argument 1147 sys_unlink(const char *path) argument 1159 unlink(const char *path) argument [all...] |
/linux-master/fs/devpts/ |
H A D | inode.c | 112 static int devpts_ptmx_path(struct path *path) argument 118 err = path_pts(path); 122 /* Is the path the root of a devpts filesystem? */ 123 sb = path->mnt->mnt_sb; 125 (path->mnt->mnt_root != sb->s_root)) 151 struct path path; local 154 path = filp->f_path; 155 path_get(&path); 183 struct path path; local [all...] |
/linux-master/fs/ |
H A D | file_table.c | 46 /* Container for backing file with optional user path */ 49 struct path user_path; 57 struct path *backing_file_user_path(struct file *f) 278 * file_init_path - initialize a 'struct file' based on path 281 * @path: the (dentry, vfsmount) pair for the new file 284 static void file_init_path(struct file *file, const struct path *path, argument 287 file->f_path = *path; 288 file->f_inode = path->dentry->d_inode; 289 file->f_mapping = path 314 alloc_file(const struct path *path, int flags, const struct file_operations *fop) argument 325 alloc_path_pseudo(const char *name, struct inode *inode, struct vfsmount *mnt, struct path *path) argument 343 struct path path; local 365 struct path path; local [all...] |