Searched refs:ioflag (Results 1 - 19 of 19) sorted by relevance

/darwin-on-arm/xnu/bsd/dev/random/
H A Drandomdev.h53 int random_read(dev_t dev, struct uio *uio, int ioflag);
54 int random_write(dev_t dev, struct uio *uio, int ioflag);
H A Drandomdev.c475 random_write (__unused dev_t dev, struct uio *uio, __unused int ioflag) argument
522 random_read(__unused dev_t dev, struct uio *uio, __unused int ioflag) argument
/darwin-on-arm/xnu/bsd/dev/arm/
H A Dcons.c71 int cnread(__unused dev_t dev, struct uio *uio, int ioflag);
72 int cnwrite(__unused dev_t dev, struct uio *uio, int ioflag);
96 int cnread(__unused dev_t dev, struct uio *uio, int ioflag) argument
99 return ((*cdevsw[major(dev)].d_read) (dev, uio, ioflag));
102 int cnwrite(__unused dev_t dev, struct uio *uio, int ioflag) argument
105 return ((*cdevsw[major(dev)].d_write) (dev, uio, ioflag));
H A Dkm.c173 int kmread(dev_t dev, struct uio *uio, int ioflag) argument
179 ret = (*linesw[tp->t_line].l_read) (tp, uio, ioflag);
185 int kmwrite(dev_t dev, struct uio *uio, int ioflag) argument
191 ret = (*linesw[tp->t_line].l_write) (tp, uio, ioflag);
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dcons.c71 int cnread(__unused dev_t dev, struct uio *uio, int ioflag);
72 int cnwrite(__unused dev_t dev, struct uio *uio, int ioflag);
102 cnread(__unused dev_t dev, struct uio *uio, int ioflag) argument
105 return ((*cdevsw[major(dev)].d_read)(dev, uio, ioflag));
110 cnwrite(__unused dev_t dev, struct uio *uio, int ioflag) argument
113 return ((*cdevsw[major(dev)].d_write)(dev, uio, ioflag));
H A Dkm.c177 kmread(dev_t dev, struct uio *uio, int ioflag) argument
183 ret = (*linesw[tp->t_line].l_read)(tp, uio, ioflag);
190 kmwrite(dev_t dev, struct uio *uio, int ioflag) argument
196 ret = (*linesw[tp->t_line].l_write)(tp, uio, ioflag);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_vnops.c891 int error, ioflag; local
908 ioflag = IO_SYSCALL_DISPATCH;
911 ioflag |= IO_NDELAY;
913 ioflag |= IO_NOCACHE;
915 ioflag |= IO_ENCRYPTED;
918 ioflag |= IO_RAOFF;
928 error = VNOP_READ(vp, uio, ioflag, ctx);
945 int error, ioflag; local
970 ioflag = (IO_UNIT | IO_SYSCALL_DISPATCH);
973 ioflag |
[all...]
H A Dvfs_fsevents.c1906 fseventsread(__unused dev_t dev, __unused struct uio *uio, __unused int ioflag) argument
2022 fseventswrite(__unused dev_t dev, struct uio *uio, __unused int ioflag) argument
H A Dkpi_vfs.c3656 VNOP_READ(vnode_t vp, struct uio * uio, int ioflag, vfs_context_t ctx) argument
3672 a.a_ioflag = ioflag;
3718 VNOP_WRITE(vnode_t vp, struct uio * uio, int ioflag, vfs_context_t ctx) argument
3734 a.a_ioflag = ioflag;
H A Dvfs_subr.c5083 vnode_setsize(vnode_t vp, off_t size, int ioflag, vfs_context_t ctx) argument
5089 va.va_vaflags = ioflag & 0xffff;
/darwin-on-arm/xnu/bsd/dev/vn/
H A Dvn.c289 vnread_shadow(struct vn_softc * vn, struct uio *uio, int ioflag, argument
330 error = VNOP_READ(vp, uio, ioflag, ctx);
382 vnwrite_shadow(struct vn_softc * vn, struct uio *uio, int ioflag, argument
472 error = VNOP_WRITE(vn->sc_shadow_vp, uio, ioflag, ctx);
491 vnread(dev_t dev, struct uio *uio, int ioflag) argument
556 error = vnread_shadow(vn, uio, ioflag, &context);
559 error = VNOP_READ(vn->sc_vp, uio, ioflag, &context);
568 vnwrite(dev_t dev, struct uio *uio, int ioflag) argument
636 error = vnwrite_shadow(vn, uio, ioflag, &context);
639 error = VNOP_WRITE(vn->sc_vp, uio, ioflag,
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dconf.h115 typedef int read_write_fcn_t(dev_t dev, struct uio *uio, int ioflag);
H A Dvnode_internal.h506 errno_t vnode_setsize(vnode_t, off_t, int ioflag, vfs_context_t);
/darwin-on-arm/xnu/bsd/dev/
H A Dmemdev.c110 static int mdevrw(dev_t dev, struct uio *uio, int ioflag);
201 static int mdevrw(dev_t dev, struct uio *uio, __unused int ioflag) { argument
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_cprotect.c681 cp_handle_vnop(struct vnode *vp, int vnop, int ioflag) argument
743 if ((vnop == CP_READ_ACCESS) && (ioflag & IO_ENCRYPTED)) {
781 if ((vnop == CP_READ_ACCESS) && (ioflag & IO_ENCRYPTED)) {
H A Dhfs_readwrite.c285 int ioflag = ap->a_ioflag; local
358 ioflag |= IO_SYNC;
362 if ((ioflag & (IO_SINGLE_WRITER | IO_RETURN_ON_THROTTLE)) ==
375 if (ioflag & IO_APPEND || took_truncate_lock) {
384 if (ioflag & IO_APPEND) {
547 lflag = ioflag & ~(IO_TAILZEROFILL | IO_HEADZEROFILL | IO_NOZEROVALID | IO_NOZERODIRTY);
748 if (flush_cache_on_write && ((ioflag & IO_NOCACHE) || vnode_isnocache(vp))) {
770 if (ioflag & IO_UNIT) {
775 (void)hfs_truncate(vp, origFileSize, ioflag & IO_SYNC,
782 } else if ((ioflag
[all...]
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_bio.c1838 nfs_buf_readahead(nfsnode_t np, int ioflag, daddr64_t *rabnp, daddr64_t lastrabn, thread_t thd, kauth_cred_t cred) argument
1867 if ((ioflag & IO_NOCACHE) && ISSET(bp->nb_flags, NB_CACHE) &&
1876 if (ioflag & IO_NOCACHE)
1895 nfs_bioread(nfsnode_t np, uio_t uio, int ioflag, vfs_context_t ctx) argument
1908 FSDBG_TOP(514, np, uio_offset(uio), uio_resid(uio), ioflag);
1987 if (!(ioflag & IO_NOCACHE) &&
2012 if ((!(ioflag & IO_NOCACHE) || !readaheads) &&
2053 error = nfs_buf_readahead(np, ioflag, &rabn, lastrabn, thd, cred);
2084 if ((ioflag & IO_NOCACHE) && ISSET(bp->nb_flags, NB_CACHE)) {
2171 if (ioflag
[all...]
H A Dnfs_vnops.c2504 int ioflag = ap->a_ioflag; local
2516 FSDBG_TOP(515, np, uio_offset(uio), uio_resid(uio), ioflag);
2553 if (ioflag & (IO_APPEND | IO_SYNC)) {
2568 if (ioflag & IO_APPEND) {
2589 if (((uio_offset(uio) + uio_resid(uio)) > (off_t)np->n_size) && !(ioflag & IO_APPEND)) {
2615 if (ioflag & IO_NOCACHE)
2752 if (ioflag & IO_NOCACHE)
3015 if (ioflag & IO_SYNC) {
3019 } else if (((n + on) == biosize) || (ioflag & IO_APPEND) ||
3020 (ioflag
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dbpf.c843 bpfread(dev_t dev, struct uio *uio, int ioflag) argument
878 if ((d->bd_immediate || timed_out || (ioflag & IO_NDELAY))
903 if (ioflag & IO_NDELAY) {
1051 bpfwrite(dev_t dev, struct uio *uio, __unused int ioflag) argument

Completed in 101 milliseconds