Searched refs:O_WRONLY (Results 76 - 100 of 160) sorted by relevance

1234567

/linux-master/sound/core/seq/oss/
H A Dseq_oss_init.c282 if ((file->f_flags & O_ACCMODE) != O_WRONLY)
/linux-master/tools/testing/selftests/mm/
H A Dvm_util.c134 int fd = open("/proc/self/clear_refs", O_WRONLY);
/linux-master/fs/vboxsf/
H A Dfile.c87 case O_WRONLY:
/linux-master/drivers/media/dvb-core/
H A Ddmxdev.c141 * - Write devices (access with O_WRONLY);
178 if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
207 if ((file->f_flags & O_ACCMODE) == O_WRONLY) {
251 if ((file->f_flags & O_ACCMODE) != O_WRONLY)
/linux-master/fs/nfs/
H A Ddelegation.c528 unsigned int mode = O_WRONLY | O_RDWR;
755 break_lease(inode, O_WRONLY | O_RDWR);
1060 break_lease(inode, O_WRONLY | O_RDWR | O_NONBLOCK);
/linux-master/security/integrity/ima/
H A Dima_fs.c387 if (!(filp->f_flags & O_WRONLY)) {
/linux-master/tools/testing/selftests/proc/
H A Dproc-pid-vm.c196 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700);
/linux-master/scripts/
H A Dcheckkconfigsymbols.py476 devnull = os.open(os.devnull, os.O_WRONLY)
/linux-master/samples/bpf/
H A Dtask_fd_query_user.c240 kfd = open(buf, O_WRONLY | O_TRUNC, 0);
/linux-master/tools/accounting/
H A Dgetdelays.c393 fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC,
/linux-master/tools/perf/bench/
H A Dinject-buildid.c308 dev_null_fd = open("/dev/null", O_WRONLY);
/linux-master/tools/testing/selftests/powerpc/
H A Dutils.c132 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/linux-master/kernel/
H A Dacct.c226 file = file_open_name(pathname, O_WRONLY|O_APPEND|O_LARGEFILE, 0);
/linux-master/tools/testing/selftests/iommu/
H A Diommufd_fail_nth.c33 fd = openat(dfd, fn, O_WRONLY);
/linux-master/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c82 int fd = open(path, O_WRONLY);
/linux-master/fs/ocfs2/dlmfs/
H A Ddlmfs.c95 * O_WRONLY -> EXMODE level
103 if (open_flags & (O_WRONLY|O_RDWR))
/linux-master/tools/testing/selftests/resctrl/
H A Dresctrlfs.c628 fd = open(controlgroup, O_WRONLY);
/linux-master/tools/perf/util/
H A Ddata-convert-json.c361 fd = open(output_name, O_CREAT | O_WRONLY | (opts->force ? O_TRUNC : O_EXCL), 0666);
/linux-master/drivers/vfio/pci/pds/
H A Dlm.c354 lm_file = pds_vfio_get_lm_file(&pds_vfio_restore_fops, O_WRONLY, size);
/linux-master/fs/bcachefs/
H A Dthread_with_file.c35 fd_flags |= O_WRONLY;
/linux-master/tools/mm/
H A Dpage-types.c542 hwpoison_inject_fd = checked_open(buf, O_WRONLY);
548 hwpoison_forget_fd = checked_open(buf, O_WRONLY);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h17 #define O_WRONLY 00000001 macro
768 if ((flags & (O_RDWR | O_WRONLY)) == 0)
/linux-master/tools/testing/selftests/memfd/
H A Dmemfd_test.c94 int fd = open("/proc/sys/vm/memfd_noexec", O_WRONLY | O_CLOEXEC);
109 int fd = open("/proc/sys/vm/memfd_noexec", O_WRONLY | O_CLOEXEC);
/linux-master/block/
H A Dbdev.c941 * It can also happen if a block device is opened as O_RDWR | O_WRONLY.
951 flags |= O_RDWR | O_WRONLY;
953 flags |= O_WRONLY;
/linux-master/drivers/acpi/
H A Dacpi_dbg.c476 if ((file->f_flags & O_ACCMODE) != O_WRONLY) {

Completed in 266 milliseconds

1234567