Searched refs:rwflag (Results 1 – 2 of 2) sorted by relevance
/arch/m68k/emu/ |
D | nfblock.c | 34 static inline s32 nfhd_read_write(u32 major, u32 minor, u32 rwflag, u32 recno, in nfhd_read_write() argument 37 return nf_call(nfhd_id + NFHD_READ_WRITE, major, minor, rwflag, recno, in nfhd_read_write()
|
/arch/powerpc/kvm/ |
D | book3s_64_mmu_hv.c | 1948 int rwflag; in kvm_vm_ioctl_get_htab_fd() local 1962 rwflag = (ghf->flags & KVM_GET_HTAB_WRITE) ? O_WRONLY : O_RDONLY; in kvm_vm_ioctl_get_htab_fd() 1963 ret = anon_inode_getfd("kvm-htab", &kvm_htab_fops, ctx, rwflag | O_CLOEXEC); in kvm_vm_ioctl_get_htab_fd() 1970 if (rwflag == O_RDONLY) { in kvm_vm_ioctl_get_htab_fd()
|