/linux-4.1.27/fs/ncpfs/ |
D | file.c | 68 case O_WRONLY: in ncp_make_open() 69 finfo.access = O_WRONLY; in ncp_make_open() 183 errno = ncp_make_open(inode, O_WRONLY); in ncp_file_write_iter()
|
D | symlink.c | 161 if (ncp_make_open(inode, O_WRONLY)) in ncp_symlink()
|
D | inode.c | 964 if ((result = ncp_make_open(inode, O_WRONLY)) < 0) { in ncp_notify_change()
|
D | dir.c | 951 opmode = O_WRONLY; in ncp_create_new()
|
/linux-4.1.27/Documentation/watchdog/src/ |
D | watchdog-simple.c | 8 int fd = open("/dev/watchdog", O_WRONLY); in main()
|
D | watchdog-test.c | 45 fd = open("/dev/watchdog", O_WRONLY); in main()
|
/linux-4.1.27/tools/usb/usbip/libsrc/ |
D | sysfs_utils.c | 15 fd = open(attr_path, O_WRONLY); in write_sysfs_attribute()
|
/linux-4.1.27/tools/cgroup/ |
D | cgroup_event_listener.c | 42 event_control = open(event_control_path, O_WRONLY); in main()
|
/linux-4.1.27/net/ceph/ |
D | ceph_fs.c | 41 case O_WRONLY: in ceph_flags_to_mode()
|
/linux-4.1.27/arch/um/drivers/ |
D | tty.c | 50 mode = O_WRONLY; in tty_open()
|
/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
D | msr.c | 61 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
D | sysfs.c | 170 fd = open(path, O_WRONLY); in sysfs_idlestate_write_file()
|
/linux-4.1.27/include/uapi/asm-generic/ |
D | fcntl.h | 20 #define O_WRONLY 00000001 macro
|
/linux-4.1.27/tools/testing/selftests/efivarfs/ |
D | open-unlink.c | 88 fd = open(path, O_WRONLY | O_CREAT, 0600); in main()
|
/linux-4.1.27/tools/testing/selftests/timers/ |
D | clocksource-switch.c | 102 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY); in change_clocksource()
|
/linux-4.1.27/kernel/power/ |
D | user.c | 88 data->mode = O_WRONLY; in snapshot_open() 266 if (data->mode != O_WRONLY || !data->frozen || in snapshot_ioctl()
|
/linux-4.1.27/tools/virtio/virtio-trace/ |
D | trace-agent-rw.c | 60 rw_ti->out_fd = open(out_path, O_WRONLY); in rw_thread_init()
|
/linux-4.1.27/tools/usb/usbip/src/ |
D | usbip_attach.c | 71 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, S_IRWXU); in record_connection()
|
/linux-4.1.27/fs/coda/ |
D | coda_linux.c | 53 if ((flags & O_ACCMODE) == O_WRONLY) in coda_flags_to_cflags()
|
/linux-4.1.27/tools/power/acpi/tools/ec/ |
D | ec_access.c | 215 file_mode = O_WRONLY; in main()
|
/linux-4.1.27/tools/testing/selftests/ipc/ |
D | msgque.c | 38 fd = open("/proc/sys/kernel/msg_next_id", O_WRONLY); in restore_queue()
|
/linux-4.1.27/arch/alpha/boot/tools/ |
D | objstrip.c | 98 ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666); in main()
|
/linux-4.1.27/firmware/ |
D | ihex2fw.c | 119 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644); in main()
|
/linux-4.1.27/drivers/s390/char/ |
D | hmcdrv_dev.c | 225 if (((fp->f_flags & O_ACCMODE) == O_WRONLY) || in hmcdrv_dev_read()
|
D | vmur.c | 733 ((accmode == O_WRONLY) && (urd->class != DEV_CLASS_UR_O))) { in ur_open()
|
/linux-4.1.27/init/ |
D | initramfs.c | 338 int openflags = O_WRONLY|O_CREAT; in do_name() 629 O_WRONLY|O_CREAT, 0700); in populate_rootfs()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | u_uac1.c | 230 snd->filp = filp_open(fn_play, O_WRONLY, 0); in gaudio_open_snd_dev()
|
/linux-4.1.27/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 72 fd = open(filename, O_WRONLY); in vmaybe_write_file()
|
/linux-4.1.27/security/tomoyo/ |
D | tomoyo.c | 317 O_WRONLY | (arg & O_APPEND)); in tomoyo_file_fcntl()
|
/linux-4.1.27/scripts/dtc/ |
D | util.c | 281 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666); in utilfdt_write_err()
|
/linux-4.1.27/security/integrity/ima/ |
D | ima_fs.c | 311 if (!(filp->f_flags & O_WRONLY)) in ima_open_policy()
|
/linux-4.1.27/fs/hostfs/ |
D | hostfs_user.c | 77 mode = O_WRONLY; in open_file()
|
/linux-4.1.27/drivers/media/dvb-core/ |
D | dmxdev.c | 161 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_open() 190 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_release() 226 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in dvb_dvr_write()
|
/linux-4.1.27/sound/core/seq/oss/ |
D | seq_oss_init.c | 301 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in translate_mode()
|
/linux-4.1.27/fs/overlayfs/ |
D | copy_up.c | 99 new_file = ovl_path_open(new, O_LARGEFILE | O_WRONLY); in ovl_copy_up_data()
|
/linux-4.1.27/tools/vm/ |
D | page-types.c | 498 hwpoison_inject_fd = checked_open(buf, O_WRONLY); in prepare_hwpoison_fd() 504 hwpoison_forget_fd = checked_open(buf, O_WRONLY); in prepare_hwpoison_fd()
|
/linux-4.1.27/sound/core/ |
D | info.c | 326 if (mode == O_WRONLY || mode == O_RDWR) { in snd_info_entry_open() 351 if (mode == O_WRONLY || mode == O_RDWR) { in snd_info_entry_open()
|
D | compress_offload.c | 92 if ((f->f_flags & O_ACCMODE) == O_WRONLY) in snd_compr_open()
|
/linux-4.1.27/Documentation/accounting/ |
D | getdelays.c | 370 fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, in main()
|
/linux-4.1.27/scripts/kconfig/ |
D | confdata.c | 918 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_split_config() 938 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_split_config()
|
/linux-4.1.27/arch/um/os-Linux/ |
D | file.c | 181 f = O_WRONLY; in os_open_file()
|
/linux-4.1.27/fs/ |
D | open.c | 99 error = break_lease(inode, O_WRONLY); in vfs_truncate() 1053 return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); in SYSCALL_DEFINE2()
|
D | fcntl.c | 744 O_RDONLY | O_WRONLY | O_RDWR | in fcntl_init()
|
D | pipe.c | 701 f->f_flags = O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)); in create_pipe_files()
|
D | namei.c | 3000 if (op->open_flag & (O_CREAT | O_TRUNC | O_WRONLY | O_RDWR)) { in do_last()
|
/linux-4.1.27/kernel/ |
D | acct.c | 204 file = file_open_name(pathname, O_WRONLY|O_APPEND|O_LARGEFILE, 0); in acct_on()
|
D | sysctl_binary.c | 1315 flags = O_WRONLY; in binary_sysctl()
|
/linux-4.1.27/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 120 if (open_flags & (O_WRONLY|O_RDWR)) in dlmfs_decode_open_flags()
|
/linux-4.1.27/tools/power/cpupower/lib/ |
D | sysfs.c | 73 fd = open(path, O_WRONLY); in sysfs_cpufreq_write_file()
|
/linux-4.1.27/fs/cifs/ |
D | file.c | 51 else if ((flags & O_ACCMODE) == O_WRONLY) in cifs_convert_flags() 71 else if ((flags & O_ACCMODE) == O_WRONLY) in cifs_posix_convert_flags() 2996 if ((file->f_flags & O_ACCMODE) == O_WRONLY) in cifs_user_readv() 3158 if ((file->f_flags & O_ACCMODE) == O_WRONLY) in cifs_read() 3733 if ((file->f_flags & O_ACCMODE) != O_WRONLY && !oncethru) { in cifs_write_begin() 3819 break_lease(inode, O_WRONLY); in cifs_oplock_break()
|
/linux-4.1.27/include/linux/ |
D | fs.h | 2095 ret = break_deleg(inode, O_WRONLY|O_NONBLOCK); in try_break_deleg() 2107 ret = break_deleg(*delegated_inode, O_WRONLY); in break_deleg_wait() 2118 wait ? O_WRONLY : O_WRONLY | O_NONBLOCK, in break_layout()
|
/linux-4.1.27/arch/mips/boot/ |
D | elf2ecoff.c | 505 if ((outfile = open(argv[2], O_WRONLY | O_CREAT, 0777)) < 0) { in main()
|
/linux-4.1.27/fs/hppfs/ |
D | hppfs.c | 416 return O_WRONLY; in file_mode()
|
/linux-4.1.27/fs/notify/fanotify/ |
D | fanotify_user.c | 712 case O_WRONLY: in SYSCALL_DEFINE2()
|
/linux-4.1.27/Documentation/x86/ |
D | mtrr.txt | 283 if ( ( fd = open ("/proc/mtrr", O_WRONLY, 0) ) == -1 )
|
/linux-4.1.27/fs/nfsd/ |
D | vfs.c | 667 mode = (access & NFSD_MAY_WRITE) ? O_WRONLY : O_RDONLY; in nfsd_open_break_lease() 736 flags = O_WRONLY|O_LARGEFILE; in nfsd_open()
|
D | nfs4state.c | 306 ret = __nfs4_get_fd(f, O_WRONLY); in find_writeable_file_locked() 356 ret = __nfs4_get_fd(f, O_WRONLY); in find_any_file() 406 atomic_inc(&fp->fi_access[O_WRONLY]); in __nfs4_file_get_access() 441 atomic_read(&fp->fi_access[O_WRONLY])) in nfs4_file_check_deny() 471 __nfs4_file_put_access(fp, O_WRONLY); in nfs4_file_put_access() 994 return O_WRONLY; in nfs4_access_to_omode()
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | OSS-Emulation.txt | 292 output_handle = open("device", O_WRONLY)
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | tracefile.c | 686 filp = filp_open(filename, O_CREAT|O_EXCL|O_WRONLY|O_LARGEFILE, 0600); in cfs_tracefile_dump_all_pages()
|
/linux-4.1.27/fs/nfs/ |
D | dir.c | 1448 if ((flags & O_ACCMODE) != O_WRONLY) in flags_to_mode() 2434 if ((openflags & O_ACCMODE) != O_WRONLY) in nfs_open_permission_mask()
|
/linux-4.1.27/fs/9p/ |
D | vfs_inode.c | 186 case O_WRONLY: in v9fs_uflags2omode()
|
/linux-4.1.27/fs/ceph/ |
D | file.c | 51 if (flags & (O_WRONLY|O_RDWR|O_CREAT|O_TRUNC)) in prepare_open_request()
|
/linux-4.1.27/ipc/ |
D | mqueue.c | 767 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY)) in do_open()
|
/linux-4.1.27/tools/perf/util/ |
D | symbol-elf.c | 1261 kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400); in kcore__init()
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_64_mmu_hv.c | 1474 rwflag = (ghf->flags & KVM_GET_HTAB_WRITE) ? O_WRONLY : O_RDONLY; in kvm_vm_ioctl_get_htab_fd()
|
/linux-4.1.27/drivers/ide/ |
D | ide-tape.c | 1520 if ((filp->f_flags & O_ACCMODE) == O_WRONLY || in idetape_chrdev_open()
|
/linux-4.1.27/kernel/printk/ |
D | printk.c | 758 if ((file->f_flags & O_ACCMODE) == O_WRONLY) in devkmsg_open()
|
/linux-4.1.27/Documentation/trace/ |
D | ftrace.txt | 1711 trace_fd = open(tracing_file("tracing_on"), O_WRONLY); 1823 ffd = open(tracing_file("current_tracer"), O_WRONLY); 1828 fd = open(tracing_file("set_ftrace_pid"), O_WRONLY);
|
/linux-4.1.27/drivers/scsi/ |
D | st.c | 1147 ((st_flags & O_ACCMODE) == O_WRONLY || in check_tape()
|
D | osst.c | 4765 if ((flags & O_ACCMODE) == O_WRONLY || (flags & O_ACCMODE) == O_RDWR) { in __os_scsi_tape_open()
|