Searched refs:O_CREAT (Results 76 - 100 of 105) sorted by relevance

12345

/linux-master/security/integrity/ima/
H A Dima_crypto.c556 O_TRUNC | O_CREAT | O_NOCTTY | O_EXCL);
/linux-master/arch/mips/boot/
H A Delf2ecoff.c507 if ((outfile = open(argv[2], O_WRONLY | O_CREAT, 0777)) < 0) {
/linux-master/scripts/
H A Drecordmcount.c344 fd_map = open(tmp_file, O_WRONLY | O_TRUNC | O_CREAT, sb.st_mode);
/linux-master/fs/ntfs3/
H A Dnamei.c423 if (!(flags & O_CREAT) || d_really_is_positive(dentry)) {
/linux-master/fs/smb/client/
H A Dfile.c239 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...]
/linux-master/tools/testing/selftests/mm/
H A Dpagemap_ioctl.c1182 fd = open(__FILE__".tmp2", O_RDWR | O_CREAT, 0666);
1587 fd = open(__FILE__".tmp0", O_RDWR | O_CREAT, 0777);
H A Dkhugepaged.c376 fd = open(finfo.path, O_DSYNC | O_CREAT | O_RDWR | O_TRUNC | O_EXCL,
/linux-master/fs/gfs2/
H A Dinode.c1306 return excl && (flags & O_CREAT) ? -EEXIST : 0;
1312 if (!(flags & O_CREAT))
/linux-master/tools/perf/util/
H A Dprobe-file.c501 fd = open(cpath, O_CREAT | O_RDWR, 0644);
H A Djitdump.c89 fd = open(filename, O_CREAT|O_TRUNC|O_WRONLY, 0644);
/linux-master/tools/virtio/
H A Dvringh_test.c149 fd = open("/tmp/vringh_test-file", O_RDWR|O_CREAT|O_TRUNC, 0600);
/linux-master/tools/include/nolibc/
H A Dsys.h765 if (flags & O_CREAT) {
/linux-master/fs/nfs/
H A Ddir.c2085 if (open_flags & O_CREAT) {
2099 if (!(open_flags & O_CREAT) && !d_in_lookup(dentry)) {
2310 int open_flags = excl ? O_CREAT | O_EXCL : O_CREAT;
H A Dnfs4proc.c1415 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/fs/
H A Dcoredump.c651 int open_flags = O_CREAT | O_WRONLY | O_NOFOLLOW |
/linux-master/scripts/kconfig/
H A Dconfdata.c144 fd = open(depfile_path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/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))
/linux-master/fs/fuse/
H A Ddir.c691 flags &= ~(O_CREAT | O_EXCL | O_TRUNC);
747 if (!(flags & O_CREAT) || d_really_is_positive(entry))
/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_pr.c1959 int flags = O_RDWR | O_CREAT | O_TRUNC;
/linux-master/tools/bpf/bpftool/
H A Dprog.c748 fd = open(filepath, O_WRONLY | O_CREAT | O_TRUNC, 0600);
/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/fs/smb/server/
H A Dsmb2pdu.c2091 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/drivers/mtd/nand/raw/
H A Dnandsim.c542 cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600);
/linux-master/tools/lib/bpf/
H A Dlinker.c305 linker->fd = open(file, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644);

Completed in 424 milliseconds

12345