/linux-master/arch/alpha/include/uapi/asm/ |
H A D | fcntl.h | 5 #define O_CREAT 01000 /* not fcntl */ macro
|
/linux-master/arch/arm/vdso/ |
H A D | vdsomunge.c | 179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
|
/linux-master/arch/powerpc/boot/ |
H A D | mktree.c | 87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) {
|
/linux-master/arch/sparc/include/uapi/asm/ |
H A D | fcntl.h | 7 #define O_CREAT 0x0200 /* not fcntl */ macro
|
/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/perf/trace/beauty/ |
H A D | open_flags.c | 84 if (!(flags & O_CREAT))
|
/linux-master/tools/testing/selftests/efivarfs/ |
H A D | open-unlink.c | 89 fd = open(path, O_WRONLY | O_CREAT, 0600);
|
/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/tools/testing/selftests/timers/ |
H A D | mqueue-lat.c | 66 q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL);
|
/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/arch/mips/boot/ |
H A D | elf2ecoff.c | 507 if ((outfile = open(argv[2], O_WRONLY | O_CREAT, 0777)) < 0) {
|
/linux-master/arch/mips/include/uapi/asm/ |
H A D | fcntl.h | 17 #define O_CREAT 0x0100 /* not fcntl */ macro
|
/linux-master/arch/parisc/include/uapi/asm/ |
H A D | fcntl.h | 6 #define O_CREAT 000000400 /* not fcntl */ macro
|
/linux-master/arch/um/os-Linux/ |
H A D | file.c | 194 f |= O_CREAT;
|
H A D | umid.c | 223 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644);
|
/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/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 594 if (!xrcd && !(cmd.oflags & O_CREAT)) {
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | nandsim.c | 542 cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600);
|
/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/drivers/target/ |
H A D | target_core_alua.c | 859 struct file *file = filp_open(path, O_RDWR | O_CREAT | O_TRUNC, 0600);
|
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;
|
H A D | target_core_pr.c | 1959 int flags = O_RDWR | O_CREAT | O_TRUNC;
|
/linux-master/fs/9p/ |
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))
|
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/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)
|