Searched refs:pathname (Results 76 - 100 of 135) sorted by relevance

123456

/linux-master/drivers/acpi/
H A Dutils.c248 acpi_string pathname,
260 status = acpi_evaluate_object(handle, pathname, arguments, &buffer);
262 acpi_util_eval_error(handle, pathname, status);
267 acpi_util_eval_error(handle, pathname, AE_BAD_DATA);
332 bool acpi_evaluate_reference(acpi_handle handle, acpi_string pathname, argument
347 status = acpi_evaluate_object(handle, pathname, arguments, &buffer);
392 acpi_util_eval_error(handle, pathname, status);
247 acpi_evaluate_integer(acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, unsigned long long *data) argument
/linux-master/fs/nfs/
H A Dmount_clnt.c303 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) argument
305 const u32 pathname_len = strlen(pathname);
309 xdr_encode_opaque(p, pathname, pathname_len);
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-core.c73 const char *pathname = "/dev/isst_interface"; local
77 fd = open(pathname, O_RDWR);
79 err(-1, "%s open failed", pathname);
H A Disst-core-mbox.c79 const char *pathname = "/dev/isst_interface"; local
86 fd = open(pathname, O_RDWR);
88 err(-1, "%s open failed", pathname);
127 const char *pathname = "/dev/isst_interface"; local
183 fd = open(pathname, O_RDWR);
185 err(-1, "%s open failed", pathname);
H A Disst-config.c243 const char *pathname = "/var/run/isst_cpu_topology.dat"; local
248 fp = fopen(pathname, "rb");
275 const char *pathname = "/var/run/isst_cpu_topology.dat"; local
279 fp = fopen(pathname, "rb");
286 fp = fopen(pathname, "wb");
288 fprintf(stderr, "Can't create file:%s\n", pathname);
315 fprintf(stderr, "Can't write to:%s\n", pathname);
734 const char *pathname = "/dev/isst_interface"; local
745 fd = open(pathname, O_RDWR);
747 err(-1, "%s open failed", pathname);
1067 const char *pathname = "/dev/isst_interface"; local
3136 const char *pathname = "/dev/isst_interface"; local
[all...]
/linux-master/drivers/acpi/acpica/
H A Dacutils.h621 void ut_convert_backslashes(char *pathname);
710 char *pathname,
717 char *pathname,
724 char *pathname,
/linux-master/tools/perf/util/
H A Dpmu.h266 int perf_pmu__event_source_devices_scnprintf(char *pathname, size_t size);
H A Dprobe-file.c825 const char *pathname,
839 sdtgrp, note->name, pathname,
907 int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname) argument
917 ret = get_sdt_note_list(&sdtlist, pathname);
943 buf = synthesize_sdt_probe_command(note, pathname, sdtgrp);
824 synthesize_sdt_probe_command(struct sdt_note *note, const char *pathname, const char *sdtgrp) argument
/linux-master/fs/smb/server/
H A Dvfs_cache.c762 char *pathname, *ab_pathname; local
765 pathname = kmalloc(PATH_MAX, GFP_KERNEL);
766 if (!pathname)
769 ab_pathname = d_path(&fp->filp->f_path, pathname, PATH_MAX);
771 kfree(pathname);
780 kfree(pathname);
/linux-master/tools/lib/bpf/
H A Dbpf.c582 int bpf_obj_pin_opts(int fd, const char *pathname, const struct bpf_obj_pin_opts *opts) argument
593 attr.pathname = ptr_to_u64((void *)pathname);
601 int bpf_obj_pin(int fd, const char *pathname) argument
603 return bpf_obj_pin_opts(fd, pathname, NULL);
606 int bpf_obj_get(const char *pathname) argument
608 return bpf_obj_get_opts(pathname, NULL);
611 int bpf_obj_get_opts(const char *pathname, const struct bpf_obj_get_opts *opts) argument
622 attr.pathname = ptr_to_u64((void *)pathname);
[all...]
/linux-master/fs/
H A Dopen.c122 long do_sys_truncate(const char __user *pathname, loff_t length) argument
132 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path);
231 COMPAT_SYSCALL_DEFINE3(truncate64, const char __user *, pathname,
234 return ksys_truncate(pathname, compat_arg_u64_glue(length));
1491 SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode)
1497 return do_sys_open(AT_FDCWD, pathname, flags, mode);
H A Dnamei.c12 /* [Feb 1997 T. Schoebel-Theuer] Complete rewrite of the pathname
48 * Fundamental changes in the pathname lookup mechanisms (namei)
50 * to know the _real_ pathname, not the user-supplied one, in case
60 * With the new dcache, the pathname is stored at each inode, at least as
102 * if the pathname has trailing slashes - follow.
122 * POSIX.1 2.4: an empty pathname is invalid (ENOENT).
159 * names_cache allocation for the pathname, and re-do the copy from
2243 * This is the basic name resolution function, turning a pathname into
2319 /* pathname or trailing symlink, done */
2393 /* Absolute pathname
3818 do_filp_open(int dfd, struct filename *pathname, const struct open_flags *op) argument
3929 kern_path_create(int dfd, const char *pathname, struct path *path, unsigned int lookup_flags) argument
3949 user_path_create(int dfd, const char __user *pathname, struct path *path, unsigned int lookup_flags) argument
[all...]
H A Dstat.c290 * empty path, and avoid doing all the extra pathname work.
487 static int do_readlinkat(int dfd, const char __user *pathname, argument
499 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty);
523 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname,
526 return do_readlinkat(dfd, pathname, buf, bufsiz);
H A Dinternal.h178 extern struct file *do_filp_open(int dfd, struct filename *pathname,
/linux-master/tools/testing/selftests/proc/
H A Dproc-pid-vm.c51 static inline long sys_execveat(int dirfd, const char *pathname, char **argv, char **envp, int flags) argument
53 return syscall(SYS_execveat, dirfd, pathname, argv, envp, flags);
/linux-master/kernel/
H A Dacct.c212 static int acct_on(struct filename *pathname) argument
226 file = file_open_name(pathname, O_WRONLY|O_APPEND|O_LARGEFILE, 0);
/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs-pri.h229 * @pathname: Path name chosen by client
233 u8 pathname[NAME_MAX]; member in struct:rtrs_msg_info_req
H A Drtrs-srv.c752 const char *pathname, const uuid_t *path_uuid)
769 if (strlen(srv_path->s.sessname) == strlen(pathname) &&
770 !strcmp(srv_path->s.sessname, pathname)) {
804 if (strchr(msg->pathname, '/') || strchr(msg->pathname, '.')) {
805 rtrs_err(s, "pathname cannot contain / and .\n");
810 msg->pathname, &srv_path->srv->paths_uuid)) {
811 rtrs_err(s, "pathname is duplicated: %s\n", msg->pathname);
814 strscpy(srv_path->s.sessname, msg->pathname,
751 exist_pathname(struct rtrs_srv_ctx *ctx, const char *pathname, const uuid_t *path_uuid) argument
1302 rtrs_srv_get_path_name(struct rtrs_srv_sess *srv, char *pathname, size_t len) argument
[all...]
/linux-master/drivers/block/rnbd/
H A Drnbd-srv-sysfs.c120 return sysfs_emit(page, "%s\n", sess_dev->pathname);
/linux-master/arch/alpha/kernel/
H A Dosf_sys.c344 SYSCALL_DEFINE3(osf_statfs, const char __user *, pathname,
348 int error = user_statfs(pathname, &linux_stat);
400 SYSCALL_DEFINE3(osf_statfs64, char __user *, pathname,
404 int error = user_statfs(pathname, &linux_stat);
/linux-master/include/linux/
H A Dcompat.h601 asmlinkage long compat_sys_statfs(const char __user *pathname,
603 asmlinkage long compat_sys_statfs64(const char __user *pathname,
864 asmlinkage long compat_sys_truncate64(const char __user *pathname, compat_arg_u64(len));
926 int kcompat_sys_statfs64(const char __user * pathname, compat_size_t sz,
H A Dsyscalls.h393 asmlinkage long sys_mkdirat(int dfd, const char __user * pathname, umode_t mode);
394 asmlinkage long sys_unlinkat(int dfd, const char __user * pathname, int flag);
863 const char __user *pathname);
1001 asmlinkage long sys_unlink(const char __user *pathname);
1007 asmlinkage long sys_mkdir(const char __user *pathname, umode_t mode);
1008 asmlinkage long sys_rmdir(const char __user *pathname);
1060 asmlinkage long sys_creat(const char __user *pathname, umode_t mode);
1254 extern long do_sys_truncate(const char __user *pathname, loff_t length);
1256 static inline long ksys_truncate(const char __user *pathname, loff_t length) argument
1258 return do_sys_truncate(pathname, lengt
[all...]
/linux-master/block/
H A Dbdev.c1118 * @pathname: Name of the block device in the filesystem.
1121 * Lookup the block device's dev_t at @pathname in the current
1127 int lookup_bdev(const char *pathname, dev_t *dev) argument
1133 if (!pathname || !*pathname)
1136 error = kern_path(pathname, LOOKUP_FOLLOW, &path);
/linux-master/fs/notify/fanotify/
H A Dfanotify_user.c1740 int dfd, const char __user *pathname)
1756 pr_debug("%s: fanotify_fd=%d flags=%x dfd=%d pathname=%p mask=%llx\n",
1757 __func__, fanotify_fd, flags, dfd, pathname, mask);
1887 ret = fanotify_find_path(dfd, pathname, &path, flags,
1974 const char __user *, pathname)
1976 return do_fanotify_mark(fanotify_fd, flags, mask, dfd, pathname);
1984 const char __user *, pathname)
1987 dfd, pathname);
1739 do_fanotify_mark(int fanotify_fd, unsigned int flags, __u64 mask, int dfd, const char __user *pathname) argument
/linux-master/fs/autofs/
H A Ddev-ioctl.c183 static int find_autofs_mount(const char *pathname, argument
191 err = kern_path(pathname, LOOKUP_MOUNTPOINT, &path);

Completed in 271 milliseconds

123456