Searched refs:O_WRONLY (Results 101 - 125 of 163) sorted by relevance

1234567

/linux-master/drivers/acpi/
H A Dacpi_dbg.c476 if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
/linux-master/tools/power/cpupower/lib/
H A Dcpufreq.c46 fd = open(path, O_WRONLY);
/linux-master/arch/um/os-Linux/
H A Dfile.c188 f = O_WRONLY;
/linux-master/drivers/most/
H A Dmost_cdev.c127 ((filp->f_flags & O_ACCMODE) != O_WRONLY))) {
/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/sound/core/
H A Dinfo.c243 ((mode == O_WRONLY || mode == O_RDWR) && !entry->c.ops->write)) {
H A Dcompress_offload.c84 if ((f->f_flags & O_ACCMODE) == O_WRONLY)
/linux-master/security/integrity/ima/
H A Dima_fs.c490 if (!(filp->f_flags & O_WRONLY)) {
H A Dima_crypto.c550 int flags = file->f_flags & ~(O_WRONLY | O_APPEND |
/linux-master/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c559 prov_fd = open(prov_file, O_WRONLY);
/linux-master/drivers/vfio/pci/qat/
H A Dmain.c361 migf->filp = anon_inode_getfile("qat_vf_mig", &qat_vf_resume_fops, migf, O_WRONLY);
/linux-master/drivers/staging/axis-fifo/
H A Daxis-fifo.c681 if (((f->f_flags & O_ACCMODE) == O_WRONLY) ||
/linux-master/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c176 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW);
1052 img_fd = openat(-EBADF, "/mnt/C/ext4.img", O_CREAT | O_WRONLY, 0600);
/linux-master/fs/overlayfs/
H A Dcopy_up.c633 new_file = ovl_path_open(temp, O_LARGEFILE | O_WRONLY);
1258 return ovl_copy_up_flags(dentry, O_WRONLY);
/linux-master/fs/
H A Dopen.c105 error = break_lease(inode, O_WRONLY);
1492 int flags = O_CREAT | O_WRONLY | O_TRUNC;
/linux-master/fs/smb/client/
H A Dfile.c403 else if ((flags & O_ACCMODE) == O_WRONLY)
424 else if ((flags & O_ACCMODE) == O_WRONLY)
547 if (cifs_fscache_enabled(inode) && (f_flags & O_ACCMODE) == O_WRONLY)
1226 if (cifs_fscache_enabled(inode) && (cfile->f_flags & O_ACCMODE) == O_WRONLY)
3081 break_lease(inode, O_WRONLY);
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-config.c495 fd = open(buffer, O_WRONLY);
1691 fd = open(buffer, O_WRONLY);
1799 fd = open(buffer, O_WRONLY);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_progs.c957 fd = open(BPF_TESTMOD_TEST_FILE, O_WRONLY);
974 fd = open(sysctl, O_WRONLY);
/linux-master/tools/perf/util/
H A Djitdump.c89 fd = open(filename, O_CREAT|O_TRUNC|O_WRONLY, 0644);
/linux-master/tools/perf/
H A Dbuiltin-ftrace.c67 int flags = O_WRONLY;
/linux-master/fs/lockd/
H A Dsvclock.c690 lock->fl.c.flc_file = file->f_file[O_WRONLY];
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c237 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW);
/linux-master/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c753 fd = open(path, O_WRONLY);
/linux-master/drivers/s390/char/
H A Dvmur.c739 ((accmode == O_WRONLY) && (urd->class != DEV_CLASS_UR_O))) {

Completed in 240 milliseconds

1234567