Searched refs:dirfd (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/tools/testing/selftests/proc/ |
| D | read.c | 45 fd = openat(dirfd(d), filename, O_RDONLY|O_NONBLOCK); in f_reg() 58 fd = openat(dirfd(d), filename, O_WRONLY); in f_reg_write() 71 rv = readlinkat(dirfd(d), filename, buf, sizeof(buf)); in f_lnk() 107 fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY); in f() 135 if (fstatfs(dirfd(d), &sfs) == -1) { in main()
|
| D | fd-003-kthread.c | 116 static inline int sys_statx(int dirfd, const char *pathname, int flags, in sys_statx() argument 119 return syscall(SYS_statx, dirfd, pathname, flags, mask, stx); in sys_statx()
|
| D | proc-pid-vm.c | 49 static inline long sys_execveat(int dirfd, const char *pathname, char **argv, char **envp, int flag… in sys_execveat() argument 51 return syscall(SYS_execveat, dirfd, pathname, argv, envp, flags); in sys_execveat()
|
| D | fd-001-lookup.c | 136 if (fd == dirfd(d)) in main()
|
| /Linux-v5.4/tools/testing/selftests/bpf/ |
| D | cgroup_helpers.c | 248 int dirfd, err, flags, mount_id, fhsize; in get_cgroup_id() local 259 dirfd = AT_FDCWD; in get_cgroup_id() 267 err = name_to_handle_at(dirfd, cgroup_workdir, fhp, &mount_id, flags); in get_cgroup_id() 279 err = name_to_handle_at(dirfd, cgroup_workdir, fhp2, &mount_id, flags); in get_cgroup_id()
|
| /Linux-v5.4/fs/ |
| D | fs_parser.c | 215 result->uint_32 = param->dirfd; in fs_parse() 282 ret = filename_lookup(param->dirfd, f, flags, _path, NULL); in fs_lookup_param()
|
| D | fsopen.c | 419 param.dirfd = aux; in SYSCALL_DEFINE5() 429 param.dirfd = aux; in SYSCALL_DEFINE5()
|
| /Linux-v5.4/include/linux/ |
| D | fs_context.h | 74 int dirfd; member
|
| /Linux-v5.4/Documentation/filesystems/ |
| D | mount_api.txt | 429 fs_value_is_filename, Value is a filename* + dirfd 430 fs_value_is_filename_empty, Value is a filename* + dirfd + AT_EMPTY_PATH
|