/external/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify.h | 50 int dfd, const char *pathname) 52 return syscall(__NR_fanotify_mark, fd, flags, mask, dfd, pathname); 49 fanotify_mark(int fd, unsigned int flags, uint64_t mask, int dfd, const char *pathname) argument
|
/external/toybox/toys/other/ |
H A D | acpi.c | 46 int dfd, fd, len, on; local 55 if (0 <= (dfd = open((TT.cpath=dirtree_path(tree, NULL)), O_RDONLY))) { 56 if ((fd = openat(dfd, "type", O_RDONLY)) < 0) goto done; 65 if ((cap = read_int_at(dfd, "capacity")) < 0) { 66 if ((max = read_int_at(dfd, "charge_full")) > 0) 67 curr = read_int_at(dfd, "charge_now"); 68 else if ((max = read_int_at(dfd, "energy_full")) > 0) 69 curr = read_int_at(dfd, "energy_now"); 75 if ((on = read_int_at(dfd, "online")) >= 0) 79 close(dfd); 87 int dfd, temp; local 110 int dfd=5, cur, max; local [all...] |
/external/valgrind/memcheck/tests/solaris/ |
H A D | syscall_at.c | 1 /* Tests various combinations of dfd and pathname for *at syscalls. 2 In particular, dfd should not be checked when pathname is absolute. 22 int dfd = open(DIRECTORY, O_RDONLY); local 25 linkat(dfd, FILENAME, dfd, FILENAME, 0); 31 symlinkat(FILENAME, dfd, FILENAME); 37 readlinkat(dfd, FILENAME, buf, 1); 44 syscall(SYS_frealpathat, dfd, FILENAME, buf, 1); 50 faccessat(dfd, FILENAME, F_OK, 0); 56 fchownat(dfd, FILENAM [all...] |
H A D | scalar.stderr.exp | 252 Syscall param readlinkat(dfd) contains uninitialised byte(s)
|
/external/valgrind/memcheck/tests/linux/ |
H A D | sys-openat.c | 11 int dfd = open ("/tmp", O_RDONLY); local 12 __attribute__((unused)) int fd1 = openat (dfd, "abc", O_RDONLY);
|
/external/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 1566 #define __sanitizer_syscall_pre_mknodat(dfd, filename, mode, dev) \ 1567 __sanitizer_syscall_pre_impl_mknodat((long)(dfd), (long)(filename), \ 1569 #define __sanitizer_syscall_post_mknodat(res, dfd, filename, mode, dev) \ 1570 __sanitizer_syscall_post_impl_mknodat(res, (long)(dfd), (long)(filename), \ 1572 #define __sanitizer_syscall_pre_mkdirat(dfd, pathname, mode) \ 1573 __sanitizer_syscall_pre_impl_mkdirat((long)(dfd), (long)(pathname), \ 1575 #define __sanitizer_syscall_post_mkdirat(res, dfd, pathname, mode) \ 1576 __sanitizer_syscall_post_impl_mkdirat(res, (long)(dfd), (long)(pathname), \ 1578 #define __sanitizer_syscall_pre_unlinkat(dfd, pathname, flag) \ 1579 __sanitizer_syscall_pre_impl_unlinkat((long)(dfd), (lon [all...] |
/external/e2fsprogs/util/ |
H A D | symlinks.c | 276 DIR *dfd; local 280 if ((dfd = opendir(path)) == NULL) { 289 while ((dp = readdir(dfd)) != NULL ) { 303 closedir(dfd);
|
/external/kmod/tools/ |
H A D | depmod.c | 1114 int err = 0, dfd = dirfd(d); local 1140 if (fstatat(dfd, name, &st, 0) < 0) { 1141 ERR("fstatat(%d, %s): %m\n", dfd, name); 1161 fd = openat(dfd, name, O_RDONLY); 1164 dfd, name); 2230 int dfd, err = 0; local 2233 dfd = -1; 2235 dfd = open(dname, O_RDONLY); 2236 if (dfd < 0) { 2254 fd = openat(dfd, tm 2425 int err = 1, dfd = dirfd(d); local [all...] |
/external/syslinux/extlinux/ |
H A D | main.c | 1182 static int validate_device_btrfs(int pfd, int dfd) argument 1204 if (xpread(dfd, &sb2, sizeof sb2, BTRFS_SUPER_INFO_OFFSET) != sizeof sb2) 1230 int pfd, dfd; local 1235 pfd = dfd = -1; 1257 dfd = open((const char *)devinfo.path, O_RDONLY); 1258 if (dfd < 0) 1261 if (!validate_device_btrfs(pfd, dfd)) 1267 if (dfd >= 0) 1268 close(dfd);
|
/external/kmod/libkmod/ |
H A D | libkmod-module.c | 1800 int dfd, cfd; local 1810 dfd = open(line, O_RDONLY|O_CLOEXEC); 1811 if (dfd < 0) 1815 cfd = openat(dfd, "coresize", O_RDONLY|O_CLOEXEC); 1829 close(dfd); 1865 close(dfd); 2002 int dfd; local 2016 dfd = dirfd(d); 2031 fd = openat(dfd, dent->d_name, O_RDONLY|O_CLOEXEC);
|
/external/icu/icu4c/ |
H A D | icu4c.css | 351 background-color: #dfd;
|
/external/valgrind/coregrind/m_syswrap/ |
H A D | syswrap-linux.c | 1961 int, dfd, const char *, pathname); 1970 int, dfd, const char *, pathname); 4486 int, dfd, const char *, filename, int, flags, int, mode); 4492 int, dfd, const char *, filename, int, flags); 4497 /* For absolute filenames, dfd is ignored. If dfd is AT_FDCWD, 4498 filename is relative to cwd. When comparing dfd against AT_FDCWD, 4563 int, dfd, const char *, pathname, int, mode); 4572 int, dfd, const char *, pathname, int, mode, unsigned, dev); 4581 int, dfd, cons [all...] |
H A D | syswrap-arm-linux.c | 405 int, dfd, char *, file_name, struct stat64 *, buf);
|
H A D | syswrap-mips32-linux.c | 599 int, dfd, char *, file_name, struct stat64 *, buf, int, flags);
|
H A D | syswrap-ppc32-linux.c | 476 int, dfd, char *, file_name, struct stat64 *, buf);
|
H A D | syswrap-solaris.c | 2282 /* ssize_t readlinkat(int dfd, const char *path, char *buf, 2289 Int dfd = (Int) ARG1; local 2291 PRINT("sys_readlinkat ( %d, %#lx(%s), %#lx, %ld )", dfd, ARG2, 2293 PRE_REG_READ4(long, "readlinkat", int, dfd, const char *, path, 2298 /* Be strict but ignore dfd for absolute path. */ 2299 if (dfd != VKI_AT_FDCWD 2302 && !ML_(fd_allowed)(dfd, "readlinkat", tid, False)) { 2314 SET_STATUS_from_SysRes(VG_(do_syscall4)(saved, dfd, (UWord)name, ARG3, 4039 Int dfd = (Int) ARG1; local 4042 PRINT("sys_unlinkat ( %d, %#lx(%s), %ld )", dfd, ARG [all...] |
H A D | syswrap-x86-linux.c | 1274 int, dfd, char *, file_name, struct stat64 *, buf, int, flags);
|
H A D | syswrap-darwin.c | 9704 int, dfd, const char *, path, char *, buf, int, bufsiz);
|