Searched refs:O_WRONLY (Results 76 - 100 of 160) sorted by relevance
1234567
/linux-master/sound/core/seq/oss/ |
H A D | seq_oss_init.c | 282 if ((file->f_flags & O_ACCMODE) != O_WRONLY)
|
/linux-master/tools/testing/selftests/mm/ |
H A D | vm_util.c | 134 int fd = open("/proc/self/clear_refs", O_WRONLY);
|
/linux-master/fs/vboxsf/ |
H A D | file.c | 87 case O_WRONLY:
|
/linux-master/drivers/media/dvb-core/ |
H A D | dmxdev.c | 141 * - 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 D | delegation.c | 528 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 D | ima_fs.c | 387 if (!(filp->f_flags & O_WRONLY)) {
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-pid-vm.c | 196 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700);
|
/linux-master/scripts/ |
H A D | checkkconfigsymbols.py | 476 devnull = os.open(os.devnull, os.O_WRONLY)
|
/linux-master/samples/bpf/ |
H A D | task_fd_query_user.c | 240 kfd = open(buf, O_WRONLY | O_TRUNC, 0);
|
/linux-master/tools/accounting/ |
H A D | getdelays.c | 393 fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC,
|
/linux-master/tools/perf/bench/ |
H A D | inject-buildid.c | 308 dev_null_fd = open("/dev/null", O_WRONLY);
|
/linux-master/tools/testing/selftests/powerpc/ |
H A D | utils.c | 132 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
/linux-master/kernel/ |
H A D | acct.c | 226 file = file_open_name(pathname, O_WRONLY|O_APPEND|O_LARGEFILE, 0);
|
/linux-master/tools/testing/selftests/iommu/ |
H A D | iommufd_fail_nth.c | 33 fd = openat(dfd, fn, O_WRONLY);
|
/linux-master/tools/testing/selftests/filesystems/statmount/ |
H A D | statmount_test.c | 82 int fd = open(path, O_WRONLY);
|
/linux-master/fs/ocfs2/dlmfs/ |
H A D | dlmfs.c | 95 * O_WRONLY -> EXMODE level 103 if (open_flags & (O_WRONLY|O_RDWR))
|
/linux-master/tools/testing/selftests/resctrl/ |
H A D | resctrlfs.c | 628 fd = open(controlgroup, O_WRONLY);
|
/linux-master/tools/perf/util/ |
H A D | data-convert-json.c | 361 fd = open(output_name, O_CREAT | O_WRONLY | (opts->force ? O_TRUNC : O_EXCL), 0666);
|
/linux-master/drivers/vfio/pci/pds/ |
H A D | lm.c | 354 lm_file = pds_vfio_get_lm_file(&pds_vfio_restore_fops, O_WRONLY, size);
|
/linux-master/fs/bcachefs/ |
H A D | thread_with_file.c | 35 fd_flags |= O_WRONLY;
|
/linux-master/tools/mm/ |
H A D | page-types.c | 542 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 D | profiler.inc.h | 17 #define O_WRONLY 00000001 macro 768 if ((flags & (O_RDWR | O_WRONLY)) == 0)
|
/linux-master/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 94 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 D | bdev.c | 941 * 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 D | acpi_dbg.c | 476 if ((file->f_flags & O_ACCMODE) != O_WRONLY) {
|
Completed in 266 milliseconds
1234567