Searched refs:O_CREAT (Results 1 - 25 of 105) sorted by path

12345

/linux-master/arch/alpha/include/uapi/asm/
H A Dfcntl.h5 #define O_CREAT 01000 /* not fcntl */ macro
/linux-master/arch/arm/vdso/
H A Dvdsomunge.c179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
/linux-master/arch/powerpc/boot/
H A Dmktree.c87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) {
/linux-master/arch/sparc/include/uapi/asm/
H A Dfcntl.h7 #define O_CREAT 0x0200 /* not fcntl */ macro
/linux-master/tools/firmware/
H A Dihex2fw.c120 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644);
/linux-master/tools/perf/trace/beauty/
H A Dopen_flags.c84 if (!(flags & O_CREAT))
/linux-master/tools/testing/selftests/efivarfs/
H A Dopen-unlink.c89 fd = open(path, O_WRONLY | O_CREAT, 0600);
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c202 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 Dmqueue-lat.c66 q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL);
/linux-master/arch/alpha/boot/tools/
H A Dobjstrip.c99 ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666);
/linux-master/arch/mips/boot/
H A Delf2ecoff.c507 if ((outfile = open(argv[2], O_WRONLY | O_CREAT, 0777)) < 0) {
/linux-master/arch/mips/include/uapi/asm/
H A Dfcntl.h17 #define O_CREAT 0x0100 /* not fcntl */ macro
/linux-master/arch/parisc/include/uapi/asm/
H A Dfcntl.h6 #define O_CREAT 000000400 /* not fcntl */ macro
/linux-master/arch/um/os-Linux/
H A Dfile.c194 f |= O_CREAT;
H A Dumid.c223 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644);
/linux-master/drivers/crypto/ccp/
H A Dsev-dev.c310 fp = open_file_as_root(init_ex_path, O_CREAT | O_WRONLY, 0600);
/linux-master/drivers/infiniband/core/
H A Duverbs_cmd.c594 if (!xrcd && !(cmd.oflags & O_CREAT)) {
/linux-master/drivers/mtd/nand/raw/
H A Dnandsim.c542 cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600);
/linux-master/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.c132 O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH,
/linux-master/drivers/target/
H A Dtarget_core_alua.c859 struct file *file = filp_open(path, O_RDWR | O_CREAT | O_TRUNC, 0600);
H A Dtarget_core_file.c124 flags = O_RDWR | O_CREAT | O_LARGEFILE | O_DSYNC;
829 int ret, flags = O_RDWR | O_CREAT | O_LARGEFILE | O_DSYNC;
H A Dtarget_core_pr.c1959 int flags = O_RDWR | O_CREAT | O_TRUNC;
/linux-master/fs/9p/
H A Dvfs_inode.c605 * 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 Dvfs_inode_dotl.c123 { O_CREAT, P9_DOTL_CREATE },
207 if (!(flags & O_CREAT) || d_really_is_positive(dentry))
/linux-master/fs/ceph/
H A Dfile.c44 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)

Completed in 403 milliseconds

12345