/openbsd-current/sys/ufs/ext2fs/ |
H A D | ext2fs_readwrite.c | 244 int blkoffset, error, extended, flags, ioflag, size, xfersize; local 249 ioflag = ap->a_ioflag; 268 if (ioflag & IO_APPEND) 277 if ((ioflag & IO_SYNC) == 0) 289 if ((error = vn_fsizechk(vp, uio, ioflag, &overrun))) 294 flags = ioflag & IO_SYNC ? B_SYNC : 0; 338 if (ioflag & IO_NOCACHE) 341 if (ioflag & IO_SYNC) 361 if (ioflag & IO_UNIT) { 363 ioflag [all...] |
/openbsd-current/sys/ufs/ffs/ |
H A D | ffs_vnops.c | 282 int blkoffset, error, extended, flags, ioflag, size, xfersize; local 287 ioflag = ap->a_ioflag; 306 if (ioflag & IO_APPEND) 314 if ((ioflag & IO_SYNC) == 0) 327 if ((error = vn_fsizechk(vp, uio, ioflag, &overrun))) 332 flags = ioflag & IO_SYNC ? B_SYNC : 0; 373 if (ioflag & IO_NOCACHE) 376 if (ioflag & IO_SYNC) 398 if (ioflag & IO_UNIT) { 400 ioflag [all...] |
/openbsd-current/sys/dev/pci/bktr/ |
H A D | bktr_core.h | 96 int vbi_read( bktr_ptr_t bktr, struct uio *uio, int ioflag );
|
H A D | bktr_os.c | 395 bktr_read(dev_t dev, struct uio *uio, int ioflag) argument 408 return(vbi_read(bktr, uio, ioflag)); 419 bktr_write(dev_t dev, struct uio *uio, int ioflag) argument
|
/openbsd-current/sys/kern/ |
H A D | vfs_vnops.c | 247 vn_fsizechk(struct vnode *vp, struct uio *uio, int ioflag, ssize_t *overrun) argument 252 if (vp->v_type == VREG && p != NULL && !(ioflag & IO_NOLIMIT)) { 390 int error, ioflag = IO_UNIT; local 398 ioflag |= IO_APPEND; 400 ioflag |= IO_NDELAY; 403 ioflag |= IO_SYNC; 408 error = VOP_WRITE(vp, uio, ioflag, cred); 411 if (ioflag & IO_APPEND)
|
H A D | vfs_vops.c | 214 VOP_READ(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred) argument 219 a.a_ioflag = ioflag; 231 VOP_WRITE(struct vnode *vp, struct uio *uio, int ioflag, argument 237 a.a_ioflag = ioflag;
|
/openbsd-current/sys/net/ |
H A D | if_tun.c | 796 tunread(dev_t dev, struct uio *uio, int ioflag) argument 798 return (tun_dev_read(dev, uio, ioflag)); 802 tapread(dev_t dev, struct uio *uio, int ioflag) argument 804 return (tun_dev_read(dev, uio, ioflag)); 808 tun_dev_read(dev_t dev, struct uio *uio, int ioflag) argument 821 error = ifq_deq_sleep(&ifp->if_snd, &m0, ISSET(ioflag, IO_NDELAY), 856 tunwrite(dev_t dev, struct uio *uio, int ioflag) argument 858 return (tun_dev_write(dev, uio, ioflag, 0)); 862 tapwrite(dev_t dev, struct uio *uio, int ioflag) argument 864 return (tun_dev_write(dev, uio, ioflag, ETHER_ALIG 868 tun_dev_write(dev_t dev, struct uio *uio, int ioflag, int align) argument [all...] |
H A D | if_pppx.c | 279 pppxread(dev_t dev, struct uio *uio, int ioflag) argument 290 if (ISSET(ioflag, IO_NDELAY)) 317 pppxwrite(dev_t dev, struct uio *uio, int ioflag) argument 1095 pppacread(dev_t dev, struct uio *uio, int ioflag) argument 1108 if (ISSET(ioflag, IO_NDELAY)) 1140 pppacwrite(dev_t dev, struct uio *uio, int ioflag) argument
|
H A D | bpf.c | 453 bpfread(dev_t dev, struct uio *uio, int ioflag) argument 512 if (ISSET(ioflag, IO_NDELAY)) { 638 bpfwrite(dev_t dev, struct uio *uio, int ioflag) argument
|
/openbsd-current/sys/nfs/ |
H A D | nfs_bio.c | 66 nfs_bioread(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred) argument 250 int ioflag = ap->a_ioflag; local 272 if (ioflag & (IO_APPEND | IO_SYNC)) { 279 if (ioflag & IO_APPEND) { 293 if ((error = vn_fsizechk(vp, uio, ioflag, &overrun))) 391 if (ioflag & IO_SYNC) {
|
/openbsd-current/sys/dev/ |
H A D | midi.c | 119 midiread(dev_t dev, struct uio *uio, int ioflag) argument 139 if (ioflag & IO_NDELAY) { 247 midiwrite(dev_t dev, struct uio *uio, int ioflag) argument 270 if ((ioflag & IO_NDELAY) && MIDIBUF_ISFULL(mb) && (uio->uio_resid > 0)) { 277 if (ioflag & IO_NDELAY) {
|
H A D | rd.c | 343 rdread(dev_t dev, struct uio *uio, int ioflag) argument 349 rdwrite(dev_t dev, struct uio *uio, int ioflag) argument
|
H A D | audio.c | 1592 audio_read(struct audio_softc *sc, struct uio *uio, int ioflag) argument 1615 if (ioflag & IO_NDELAY) { 1654 audio_write(struct audio_softc *sc, struct uio *uio, int ioflag) argument 1672 if (uio->uio_resid > 0 && (ioflag & IO_NDELAY)) { 1684 if (ioflag & IO_NDELAY) { 1927 audio_mixer_read(struct audio_softc *sc, struct uio *uio, int ioflag) argument 1943 if (ioflag & IO_NDELAY) { 2062 audioread(dev_t dev, struct uio *uio, int ioflag) argument 2072 error = audio_read(sc, uio, ioflag); 2075 error = audio_mixer_read(sc, uio, ioflag); 2085 audiowrite(dev_t dev, struct uio *uio, int ioflag) argument [all...] |
H A D | video.c | 176 videoread(dev_t dev, struct uio *uio, int ioflag) argument
|
H A D | rnd.c | 694 randomread(dev_t dev, struct uio *uio, int ioflag) argument
|
/openbsd-current/sys/msdosfs/ |
H A D | msdosfs_vnops.c | 579 int ioflag = ap->a_ioflag; local 588 printf("msdosfs_write(vp %p, uio %p, ioflag %08x, cred %p\n", 589 vp, uio, ioflag, cred); 596 if (ioflag & IO_APPEND) 618 if ((error = vn_fsizechk(vp, uio, ioflag, &overrun))) 647 (error != ENOSPC || (ioflag & IO_UNIT))) 723 if (ioflag & IO_NOCACHE) 726 if (ioflag & IO_SYNC) 747 if (ioflag & IO_UNIT) { 748 detrunc(dep, osize, ioflag [all...] |
/openbsd-current/sys/miscfs/fuse/ |
H A D | fuse_device.c | 402 fuseread(dev_t dev, struct uio *uio, int ioflag) argument 421 if (ioflag & O_NONBLOCK) 457 fusewrite(dev_t dev, struct uio *uio, int ioflag) argument
|
H A D | fuse_vnops.c | 1159 int ioflag = ap->a_ioflag; local 1174 if (ioflag & IO_APPEND) {
|
/openbsd-current/sys/arch/sparc64/dev/ |
H A D | vldcp.c | 365 vldcpread(dev_t dev, struct uio *uio, int ioflag) argument 427 vldcpwrite(dev_t dev, struct uio *uio, int ioflag) argument
|
/openbsd-current/sys/arch/hppa/hppa/ |
H A D | mem.c | 302 mmopen(dev_t dev, int flag, int ioflag, struct proc *p) argument
|
/openbsd-current/sys/sys/ |
H A D | conf.h | 138 int (*d_read)(dev_t dev, struct uio *uio, int ioflag); 139 int (*d_write)(dev_t dev, struct uio *uio, int ioflag);
|
/openbsd-current/sys/tmpfs/ |
H A D | tmpfs_vnops.c | 538 /* const int ioflag = ap->a_ioflag; */ 586 const int ioflag = ap->a_ioflag; local 604 if (ioflag & IO_APPEND) { 613 if ((error = vn_fsizechk(vp, uio, ioflag, &overrun)))
|
/openbsd-current/sys/dev/pci/drm/ |
H A D | drm_drv.c | 1858 drmread(dev_t kdev, struct uio *uio, int ioflag) argument 1883 if (ioflag & IO_NDELAY) {
|
/openbsd-current/sys/scsi/ |
H A D | sd.c | 820 sdread(dev_t dev, struct uio *uio, int ioflag) argument 826 sdwrite(dev_t dev, struct uio *uio, int ioflag) argument
|
H A D | cd.c | 704 cdread(dev_t dev, struct uio *uio, int ioflag) argument 710 cdwrite(dev_t dev, struct uio *uio, int ioflag) argument
|