/linux-master/tools/hv/ |
H A D | hv_fcopy_daemon.c | 75 O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0744);
|
/linux-master/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 284 /* O_CREAT should handle trailing symlinks correctly. */ 285 { .name = "[in_root] O_CREAT of relative path inside $root", 286 .path = "newfile1", .how.flags = O_CREAT, 290 { .name = "[in_root] O_CREAT of absolute path", 291 .path = "/newfile2", .how.flags = O_CREAT, 295 { .name = "[in_root] O_CREAT of tricky symlink outside root", 296 .path = "/creatlink", .how.flags = O_CREAT, 455 if (!(test->how.flags & O_CREAT))
|
/linux-master/kernel/ |
H A D | usermode_driver.c | 29 file = file_open_root_mnt(mnt, name, O_CREAT | O_WRONLY, 0700);
|
/linux-master/tools/testing/selftests/kcmp/ |
H A D | kcmp_test.c | 42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | write_to_hugetlbfs.c | 167 fd = open(path, O_CREAT | O_RDWR, 0777);
|
H A D | soft-dirty.c | 140 test_fd = open(fname, O_RDWR | O_CREAT, 0664);
|
H A D | split_huge_page_test.c | 226 fd = open(testfile, O_CREAT|O_WRONLY, 0664); 307 *fd = open(testfile, O_CREAT | O_RDWR, 0664);
|
H A D | gup_test.c | 206 filed = open(file, O_RDWR|O_CREAT, 0664);
|
/linux-master/tools/usb/usbip/src/ |
H A D | usbip_attach.c | 63 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | d_path.c | 63 localfd = open("/tmp/d_path_loadgen.txt", O_CREAT | O_RDONLY, 0644);
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | hardware_disable_test.c | 160 sem = sem_open("vm_sem", O_CREAT | O_EXCL, 0644, 0);
|
/linux-master/tools/testing/selftests/filesystems/overlayfs/ |
H A D | dev_in_maps.c | 132 fd = openat(ovl, "test", O_RDWR | O_CREAT, 0644);
|
/linux-master/tools/testing/selftests/mqueue/ |
H A D | mq_open_tests.c | 202 int flags = O_RDWR | O_EXCL | O_CREAT; 224 int flags = O_RDWR | O_EXCL | O_CREAT;
|
/linux-master/fs/ |
H A D | open.c | 971 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); 1187 #define WILL_CREATE(flags) (flags & (O_CREAT | __O_TMPFILE)) 1249 * Block bugs where O_DIRECTORY | O_CREAT created regular files. 1250 * Note, that blocking O_DIRECTORY | O_CREAT here also protects 1253 if ((flags & (O_DIRECTORY | O_CREAT)) == (O_DIRECTORY | O_CREAT)) 1299 if (flags & O_CREAT) { 1324 if (flags & (O_TRUNC | O_CREAT | __O_TMPFILE)) 1338 * @mode: mode for the new file if O_CREAT is set, else ignored 1359 * @mode: mode for the new file if O_CREAT i [all...] |
/linux-master/tools/perf/util/ |
H A D | data.c | 60 ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR); 306 fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC,
|
/linux-master/tools/testing/selftests/exec/ |
H A D | execveat.c | 157 int out_fd = open(dest, O_RDWR|O_CREAT|O_TRUNC, 0755); 406 fd = open("subdir.ephemeral/script", O_RDWR|O_CREAT|O_TRUNC, 0755);
|
/linux-master/tools/firmware/ |
H A D | ihex2fw.c | 120 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644);
|
/linux-master/tools/bpf/ |
H A D | bpf_jit_disasm.c | 309 ofd = open(ofile, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE);
|
/linux-master/arch/alpha/boot/tools/ |
H A D | objstrip.c | 99 ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666);
|
/linux-master/fs/coda/ |
H A D | coda_linux.c | 60 if (flags & O_CREAT)
|
/linux-master/tools/power/x86/intel-speed-select/ |
H A D | isst-daemon.c | 203 pid_file_handle = open(pidfile, O_RDWR | O_CREAT, 0600);
|
/linux-master/arch/um/os-Linux/ |
H A D | umid.c | 223 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644);
|
/linux-master/init/ |
H A D | initramfs.c | 370 int openflags = O_WRONLY|O_CREAT|O_LARGEFILE; 685 file = filp_open("/initrd.image", O_WRONLY|O_CREAT|O_LARGEFILE, 0700);
|
/linux-master/tools/perf/jvmti/ |
H A D | jvmti_agent.c | 284 fd = open(dump_path, O_CREAT|O_TRUNC|O_RDWR, 0666);
|
/linux-master/scripts/dtc/ |
H A D | util.c | 311 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666);
|