Searched refs:O_CREAT (Results 51 - 75 of 105) sorted by relevance
12345
/linux-master/tools/accounting/ |
H A D | procacct.c | 320 fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
H A D | getdelays.c | 393 fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC,
|
/linux-master/fs/hostfs/ |
H A D | hostfs_user.c | 189 fd = open64(name, O_CREAT | O_RDWR, mode);
|
/linux-master/tools/spi/ |
H A D | spidev_test.c | 158 out_fd = open(output_file, O_WRONLY | O_CREAT | O_TRUNC, 0666);
|
/linux-master/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 148 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700);
|
/linux-master/io_uring/ |
H A D | openclose.c | 42 * Don't bother trying for O_TRUNC, O_CREAT, or O_TMPFILE open, 47 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE);
|
/linux-master/fs/vboxsf/ |
H A D | file.c | 66 if (file->f_flags & O_CREAT) {
|
H A D | dir.c | 331 if (!(flags & O_CREAT) || d_really_is_positive(dentry))
|
/linux-master/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 632 fd = open("/mnt/A/AA/B/b", O_RDWR | O_CLOEXEC | O_CREAT | O_EXCL, 0777); 681 fd = open("/mnt/A/AA/B/b", O_RDWR | O_CLOEXEC | O_CREAT | O_EXCL, 0777); 1052 img_fd = openat(-EBADF, "/mnt/C/ext4.img", O_CREAT | O_WRONLY, 0600);
|
/linux-master/tools/perf/ |
H A D | builtin-daemon.c | 363 fd = open(SESSION_OUTPUT, O_RDWR|O_CREAT|O_TRUNC, 0644); 1150 fd = open(path, O_RDWR|O_CREAT|O_CLOEXEC, 0640); 1204 fd = open("output", O_RDWR|O_CREAT|O_TRUNC, 0644);
|
/linux-master/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixxf.c | 644 sem_open(semaphore_name, O_EXCL | O_CREAT, 0755,
|
/linux-master/tools/testing/selftests/powerpc/ |
H A D | utils.c | 132 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
/linux-master/ipc/ |
H A D | mqueue.c | 876 if (!(oflag & O_CREAT)) 886 if ((oflag & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL)) 1567 if (u_attr && oflag & O_CREAT) {
|
/linux-master/fs/nfs/ |
H A D | nfs4file.c | 55 openflags &= ~(O_CREAT|O_EXCL);
|
/linux-master/tools/perf/util/ |
H A D | data-convert-json.c | 361 fd = open(output_name, O_CREAT | O_WRONLY | (opts->force ? O_TRUNC : O_EXCL), 0666);
|
/linux-master/tools/hv/ |
H A D | hv_kvp_daemon.c | 261 fd = open(fname, O_RDWR | O_CREAT | O_CLOEXEC, 0644 /* rw-r--r-- */);
|
/linux-master/drivers/target/ |
H A D | target_core_file.c | 124 flags = O_RDWR | O_CREAT | O_LARGEFILE | O_DSYNC; 829 int ret, flags = O_RDWR | O_CREAT | O_LARGEFILE | O_DSYNC;
|
/linux-master/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 580 O_RDWR | O_CREAT | O_TRUNC, 598 O_RDWR | O_CREAT | O_TRUNC,
|
/linux-master/fs/ceph/ |
H A D | file.c | 44 ceph_sys2wire(O_CREAT); 185 int op = (flags & O_CREAT) ? CEPH_MDS_OP_CREATE : CEPH_MDS_OP_OPEN; 187 if (flags & (O_WRONLY|O_RDWR|O_CREAT|O_TRUNC)) 375 /* filter out O_CREAT|O_EXCL; vfs did that already. yuck. */ 376 flags = file->f_flags & ~(O_CREAT|O_EXCL); 780 if (flags & O_CREAT) { 821 if (flags & O_CREAT) { 880 err = ceph_mdsc_do_request(mdsc, (flags & O_CREAT) ? dir : NULL, req); 890 if (!err && (flags & O_CREAT) && !req->r_reply_info.head->is_dentry)
|
/linux-master/fs/ |
H A D | namei.c | 76 * New symlink semantics: when open() is called with flags O_CREAT | O_EXCL 106 * [Jun 2000 AV] Inconsistent behaviour of open() in case if flags==O_CREAT 1210 * may_create_in_sticky - Check whether an O_CREAT open in a sticky directory 1217 * Block an O_CREAT open of a FIFO (or a regular file) when: 3390 * Must be called with parent locked (exclusive in O_CREAT case). 3397 * In the latter case dentry returned in @path might be negative if O_CREAT 3445 * going to actually need it: O_CREAT opens should work as long as the 3447 * to check access and if not granted clear O_CREAT from the flags. 3455 if (open_flag & O_CREAT) { 3466 open_flag &= ~O_CREAT; [all...] |
/linux-master/fs/9p/ |
H A D | vfs_inode_dotl.c | 123 { O_CREAT, P9_DOTL_CREATE }, 207 if (!(flags & O_CREAT) || d_really_is_positive(dentry))
|
/linux-master/arch/um/os-Linux/ |
H A D | file.c | 194 f |= O_CREAT;
|
/linux-master/tools/testing/selftests/mqueue/ |
H A D | mq_perf_tests.c | 294 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK;
|
/linux-master/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_symbol.c | 132 O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH,
|
/linux-master/fs/overlayfs/ |
H A D | file.c | 162 file->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC);
|
Completed in 270 milliseconds
12345