/external/libchrome/base/files/ |
D | file_posix.cc | 448 int open_flags = 0; in DoInitialize() local 450 open_flags = O_CREAT | O_EXCL; in DoInitialize() 455 DCHECK(!open_flags); in DoInitialize() 457 open_flags = O_CREAT | O_TRUNC; in DoInitialize() 461 DCHECK(!open_flags); in DoInitialize() 463 open_flags = O_TRUNC; in DoInitialize() 466 if (!open_flags && !(flags & FLAG_OPEN) && !(flags & FLAG_OPEN_ALWAYS)) { in DoInitialize() 474 open_flags |= O_RDWR; in DoInitialize() 476 open_flags |= O_WRONLY; in DoInitialize() 485 open_flags |= O_NOCTTY | O_NDELAY; in DoInitialize() [all …]
|
/external/syzkaller/sys/linux/ |
D | sys.txt | 63 open(file ptr[in, filename], flags flags[open_flags], mode flags[open_mode]) fd 65 open$dir(file ptr[in, filename], flags flags[open_flags], mode flags[open_mode]) fd_dir 66 openat$dir(fd const[AT_FDCWD], file ptr[in, filename], flags flags[open_flags], mode flags[open_mod… 67 openat(fd fd_dir[opt], file ptr[in, filename], flags flags[open_flags], mode flags[open_mode]) fd 377 open_by_handle_at(mountdirfd fd, handle ptr[in, file_handle], flags flags[open_flags]) 508 #syz_open_dev$console(dev ptr[in, string["/dev/console"]], id const[0], flags flags[open_flags]) fd 513 syz_open_dev$floppy(dev ptr[in, string["/dev/fd#"]], id intptr, flags flags[open_flags]) fd 514 syz_open_dev$vcsn(dev ptr[in, string["/dev/vcs#"]], id intptr, flags flags[open_flags]) fd 515 syz_open_dev$vcsa(dev ptr[in, string["/dev/vcsa#"]], id intptr, flags flags[open_flags]) fd 516 syz_open_dev$usbmon(dev ptr[in, string["/dev/usbmon#"]], id intptr, flags flags[open_flags]) fd [all …]
|
D | random.txt | 8 openat$random(fd const[AT_FDCWD], file ptr[in, string["/dev/urandom"]], flags flags[open_flags], mo… 9 openat$urandom(fd const[AT_FDCWD], file ptr[in, string["/dev/urandom"]], flags flags[open_flags], m…
|
D | loop.txt | 8 syz_open_dev$loop(dev ptr[in, string["/dev/loop#"]], id intptr, flags flags[open_flags]) fd_loop 23 …onst[AT_FDCWD], file ptr[in, string["/dev/loop-control"]], flags flags[open_flags], mode const[0])…
|
D | input.txt | 9 syz_open_dev$mouse(dev ptr[in, string["/dev/input/mouse#"]], id intptr, flags flags[open_flags]) fd 10 syz_open_dev$mice(dev ptr[in, string["/dev/input/mice"]], id const[0], flags flags[open_flags]) fd 12 syz_open_dev$evdev(dev ptr[in, string["/dev/input/event#"]], id intptr, flags flags[open_flags]) fd…
|
D | nbd.txt | 8 syz_open_dev$ndb(dev ptr[in, string["/dev/nbd#"]], id proc[0, 1], flags flags[open_flags]) fd_ndb
|
D | sr.txt | 8 openat$sr(fd const[AT_FDCWD], file ptr[in, string["/dev/sr0"]], flags flags[open_flags], mode const…
|
/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 213 int open_flags = O_CLOEXEC; in Open() local 216 open_flags |= O_RDONLY; in Open() 219 open_flags |= O_WRONLY; in Open() 222 open_flags |= O_RDWR; in Open() 231 open_flags |= O_CREAT | O_TRUNC; in Open() 234 open_flags |= O_CREAT | O_EXCL; in Open() 237 open_flags |= O_TRUNC; in Open() 242 int fd = HANDLE_EINTR(open(path.value().c_str(), open_flags, creation_mode)); in Open() 272 int open_flags = O_CLOEXEC | O_RDWR | O_CREAT | O_TRUNC; in CreateTemporary() local 274 int fd = HANDLE_EINTR(open(path.value().c_str(), open_flags, creation_mode)); in CreateTemporary()
|
/external/syzkaller/sys/netbsd/ |
D | fs.txt | 16 open(file ptr[in, filename], flags flags[open_flags], mode flags[open_mode]) fd 18 open$dir(file ptr[in, filename], flags flags[open_flags], mode flags[open_mode]) fd_dir 19 openat(fd fd_dir[opt], file ptr[in, filename], flags flags[open_flags], mode flags[open_mode]) fd 66 open_flags = O_RDONLY, O_WRONLY, O_RDWR, O_APPEND, O_CREAT, O_TRUNC, O_EXCL, O_SHLOCK, O_EXLOCK, O_…
|
/external/syzkaller/sys/freebsd/ |
D | posix_fs.txt | 16 open(file ptr[in, filename], flags flags[open_flags], mode flags[open_mode]) fd 18 open$dir(file ptr[in, filename], flags flags[open_flags], mode flags[open_mode]) fd_dir 19 openat(fd fd_dir[opt], file ptr[in, filename], flags flags[open_flags], mode flags[open_mode]) fd 69 open_flags = O_RDONLY, O_WRONLY, O_RDWR, O_APPEND, FASYNC, O_CLOEXEC, O_CREAT, O_DIRECT, O_DIRECTOR…
|
/external/strace/ |
D | bpf_attr_check.c | 412 …static_assert(SoM(struct BPF_PROG_GET_NEXT_ID_struct, open_flags) == SoM(union bpf_attr, open_flag… 414 …ssert(offsetof(struct BPF_PROG_GET_NEXT_ID_struct, open_flags) == offsetof(union bpf_attr, open_fl… 436 …tatic_assert(SoM(struct BPF_PROG_GET_FD_BY_ID_struct, open_flags) == SoM(union bpf_attr, open_flag… 438 …sert(offsetof(struct BPF_PROG_GET_FD_BY_ID_struct, open_flags) == offsetof(union bpf_attr, open_fl… 460 …static_assert(SoM(struct BPF_MAP_GET_FD_BY_ID_struct, open_flags) == SoM(union bpf_attr, open_flag… 462 …ssert(offsetof(struct BPF_MAP_GET_FD_BY_ID_struct, open_flags) == offsetof(union bpf_attr, open_fl…
|
D | bpf_attr.h | 185 uint32_t open_flags; member 198 uint32_t open_flags; member 208 uint32_t open_flags; member
|
D | bpf.c | 390 if (len <= offsetof(struct BPF_PROG_GET_NEXT_ID_struct, open_flags)) in BEGIN_BPF_CMD_DECODER() 392 PRINT_FIELD_FLAGS(", ", attr, open_flags, bpf_file_mode_flags, in BEGIN_BPF_CMD_DECODER() 405 if (len <= offsetof(struct BPF_PROG_GET_FD_BY_ID_struct, open_flags)) in BEGIN_BPF_CMD_DECODER() 407 PRINT_FIELD_FLAGS(", ", attr, open_flags, bpf_file_mode_flags, in BEGIN_BPF_CMD_DECODER() 418 if (len <= offsetof(struct BPF_MAP_GET_FD_BY_ID_struct, open_flags)) in BEGIN_BPF_CMD_DECODER() 420 PRINT_FIELD_FLAGS(", ", attr, open_flags, bpf_file_mode_flags, in BEGIN_BPF_CMD_DECODER()
|
/external/strace/tests-m32/ |
D | file_handle.c | 189 static const struct strval open_flags[] = { in main() local 337 for (k = 0; k < ARRAY_SIZE(open_flags); k++) { in main() 342 open_flags[k].val, in main() 343 open_flags[k].str); in main()
|
D | qual_fault.c | 107 static const int open_flags = O_WRONLY | O_TRUNC | O_CREAT; in open_file() local 112 int fd = open(path, open_flags, 0600); in open_file()
|
D | bpf.c | 810 .open_flags = 0xffffff27 812 .size = offsetofend(struct BPF_PROG_GET_NEXT_ID_struct, open_flags), 840 .open_flags = 0xffffff27 842 .size = offsetofend(struct BPF_PROG_GET_FD_BY_ID_struct, open_flags), 868 .open_flags = 0xffffff27 870 .size = offsetofend(struct BPF_MAP_GET_FD_BY_ID_struct, open_flags),
|
/external/strace/tests-mx32/ |
D | file_handle.c | 189 static const struct strval open_flags[] = { in main() local 337 for (k = 0; k < ARRAY_SIZE(open_flags); k++) { in main() 342 open_flags[k].val, in main() 343 open_flags[k].str); in main()
|
D | qual_fault.c | 107 static const int open_flags = O_WRONLY | O_TRUNC | O_CREAT; in open_file() local 112 int fd = open(path, open_flags, 0600); in open_file()
|
D | bpf.c | 810 .open_flags = 0xffffff27 812 .size = offsetofend(struct BPF_PROG_GET_NEXT_ID_struct, open_flags), 840 .open_flags = 0xffffff27 842 .size = offsetofend(struct BPF_PROG_GET_FD_BY_ID_struct, open_flags), 868 .open_flags = 0xffffff27 870 .size = offsetofend(struct BPF_MAP_GET_FD_BY_ID_struct, open_flags),
|
/external/strace/tests/ |
D | file_handle.c | 189 static const struct strval open_flags[] = { in main() local 337 for (k = 0; k < ARRAY_SIZE(open_flags); k++) { in main() 342 open_flags[k].val, in main() 343 open_flags[k].str); in main()
|
D | qual_fault.c | 107 static const int open_flags = O_WRONLY | O_TRUNC | O_CREAT; in open_file() local 112 int fd = open(path, open_flags, 0600); in open_file()
|
D | bpf.c | 810 .open_flags = 0xffffff27 812 .size = offsetofend(struct BPF_PROG_GET_NEXT_ID_struct, open_flags), 840 .open_flags = 0xffffff27 842 .size = offsetofend(struct BPF_PROG_GET_FD_BY_ID_struct, open_flags), 868 .open_flags = 0xffffff27 870 .size = offsetofend(struct BPF_MAP_GET_FD_BY_ID_struct, open_flags),
|
/external/e2fsprogs/debugfs/ |
D | debugfs.c | 135 static void open_filesystem(char *device, int open_flags, blk64_t superblock, in open_filesystem() argument 150 if ((open_flags & EXT2_FLAG_IMAGE_FILE) == 0) { in open_filesystem() 165 open_flags |= EXT2_FLAG_SKIP_MMP | EXT2_FLAG_IGNORE_SB_ERRORS; in open_filesystem() 174 retval = ext2fs_open(device, open_flags, superblock, blocksize, in open_filesystem() 177 !(open_flags & EXT2_FLAG_IGNORE_CSUM_ERRORS)) { in open_filesystem() 178 open_flags |= EXT2_FLAG_IGNORE_CSUM_ERRORS; in open_filesystem() 228 int open_flags = EXT2_FLAG_SOFTSUPP_FEATURES | EXT2_FLAG_64BITS; in do_open_filesys() local 236 open_flags |= EXT2_FLAG_IMAGE_FILE; in do_open_filesys() 242 open_flags |= EXT2_FLAG_RW; in do_open_filesys() 246 open_flags |= EXT2_FLAG_FORCE; in do_open_filesys() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | inode_io.c | 119 int open_flags; in inode_open() local 153 open_flags = (flags & IO_FLAG_RW) ? EXT2_FILE_WRITE : 0; in inode_open() 156 &data->inode : 0, open_flags, in inode_open()
|
D | tdb.h | 147 int open_flags, mode_t mode); 149 int open_flags, mode_t mode,
|