Searched refs:O_CREAT (Results 1 - 25 of 105) sorted by last modified time
12345
/linux-master/tools/testing/selftests/mm/ |
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 | soft-dirty.c | 140 test_fd = open(fname, O_RDWR | O_CREAT, 0664);
|
H A D | gup_test.c | 206 filed = open(file, O_RDWR|O_CREAT, 0664);
|
/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))
|
H A D | vfs_inode.c | 605 * open(.., O_CREAT) is handled in v9fs_vfs_atomic_open(). This is only called 750 if (!(flags & O_CREAT) || d_really_is_positive(dentry))
|
/linux-master/fs/smb/server/ |
H A D | smb2pdu.c | 2091 oflags |= O_CREAT; 2095 oflags &= ~O_CREAT; 2553 if (!(open_flags & O_CREAT)) 3175 if (open_flags & (O_CREAT | O_TRUNC)) { 3259 } else if (open_flags & O_CREAT) {
|
/linux-master/fs/fuse/ |
H A D | file.c | 33 inarg.flags = open_flags & ~(O_CREAT | O_EXCL | O_NOCTTY);
|
H A D | dir.c | 691 flags &= ~(O_CREAT | O_EXCL | O_TRUNC); 747 if (!(flags & O_CREAT) || d_really_is_positive(entry))
|
/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/crypto/ccp/ |
H A D | sev-dev.c | 310 fp = open_file_as_root(init_ex_path, O_CREAT | O_WRONLY, 0600);
|
/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/fs/smb/client/ |
H A D | file.c | 239 if (flags & O_CREAT) { 244 cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open. Ignoring O_EXCL\n", 265 if ((flags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) 267 else if ((flags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) 269 else if ((flags & O_CREAT) == O_CREAT) 367 * O_CREAT FILE_OPEN_IF 368 * O_CREAT | O_EXC [all...] |
H A D | dir.c | 288 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) 290 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) 292 else if ((oflags & O_CREAT) == O_CREAT) 461 if (!(oflags & O_CREAT)) { 509 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) 560 unsigned oflags = O_EXCL | O_CREAT | O_RDW [all...] |
/linux-master/fs/vboxsf/ |
H A D | file.c | 66 if (file->f_flags & O_CREAT) {
|
/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/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/scripts/kconfig/ |
H A D | confdata.c | 144 fd = open(depfile_path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
/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/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 594 if (!xrcd && !(cmd.oflags & O_CREAT)) {
|
/linux-master/fs/nfs/ |
H A D | nfs4proc.c | 1415 if (flags & O_CREAT) { 2707 !(o_arg->open_flags & O_CREAT)) 2714 if (o_arg->open_flags & O_CREAT) { 3198 if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) && 4710 * This is just for mknod. open(O_CREAT) will always do ->open_context().
|
/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/tools/perf/util/ |
H A D | symbol-elf.c | 2031 kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400);
|
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,
|
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/testing/selftests/filesystems/overlayfs/ |
H A D | dev_in_maps.c | 132 fd = openat(ovl, "test", O_RDWR | O_CREAT, 0644);
|
Completed in 609 milliseconds
12345