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

12

/macosx-10.10/xnu-2782.1.97/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.c163 random_write (dev_t dev, struct uio *uio, __unused int ioflag) argument
192 random_read(__unused dev_t dev, struct uio *uio, __unused int ioflag) argument
/macosx-10.10/xnu-2782.1.97/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);
/macosx-10.10/smb-759.0/kernel/smbfs/
H A Dsmbfs_io.c372 u_quad_t to, int ioflag, vfs_context_t context)
387 error = smb_smb_write(share, fid, uio, ioflag, context);
413 u_quad_t to, int ioflag, vfs_context_t context)
433 error = smbfs_zero_fill(share, fid, from, to, ioflag, context);
442 error = smb_smb_write(share, fid, uio, ioflag, context);
494 SMBFID fid, int ioflag, vfs_context_t context)
510 error = smbfs_0extend(share, fid, endOfFile, uio_offset(uiop), ioflag, context);
514 error = smb_smb_write(share, fid, uiop, ioflag, context);
371 smbfs_zero_fill(struct smb_share *share, SMBFID fid, u_quad_t from, u_quad_t to, int ioflag, vfs_context_t context) argument
412 smbfs_0extend(struct smb_share *share, SMBFID fid, u_quad_t from, u_quad_t to, int ioflag, vfs_context_t context) argument
493 smbfs_dowrite(struct smb_share *share, off_t endOfFile, uio_t uiop, SMBFID fid, int ioflag, vfs_context_t context) argument
H A Dsmbfs_node.h351 u_quad_t to, int ioflag, vfs_context_t context);
355 SMBFID fid, int ioflag, vfs_context_t context);
H A Dsmbfs_subr_2.h61 SMBFID *fidp, int ioflag,
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_vnops.c944 int ioflag; local
962 ioflag = IO_SYSCALL_DISPATCH;
965 ioflag |= IO_NDELAY;
967 ioflag |= IO_NOCACHE;
969 ioflag |= IO_ENCRYPTED;
972 ioflag |= IO_RAOFF;
987 error = VNOP_READ(vp, uio, ioflag, ctx);
1009 int error, ioflag; local
1035 ioflag = (IO_UNIT | IO_SYSCALL_DISPATCH);
1038 ioflag |
[all...]
/macosx-10.10/IOSerialFamily-74/IOSerialFamily.kmodproj/
H A DIOSerialBSDClient.h188 static int iossread(dev_t dev, struct uio *uio, int ioflag);
189 static int iosswrite(dev_t dev, struct uio *uio, int ioflag);
H A DIOSerialBSDClient.cpp1179 iossread(dev_t dev, struct uio *uio, int ioflag)
1199 error = bsdld_read(tp, uio, ioflag);
1215 iosswrite(dev_t dev, struct uio *uio, int ioflag)
1237 error = bsdld_write(tp, uio, ioflag);
/macosx-10.10/xnu-2782.1.97/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
554 error = vnread_shadow(vn, uio, ioflag, &context);
557 error = VNOP_READ(vn->sc_vp, uio, ioflag, &context);
565 vnwrite(dev_t dev, struct uio *uio, int ioflag) argument
631 error = vnwrite_shadow(vn, uio, ioflag, &context);
634 error = VNOP_WRITE(vn->sc_vp, uio, ioflag,
[all...]
/macosx-10.10/smb-759.0/kernel/netsmb/
H A Dsmb_conn_2.h123 int smb_smb_write(struct smb_share *share, SMBFID fid, uio_t uio, int ioflag,
H A Dsmb_conn.h510 int smb1_write(struct smb_share *share, SMBFID fid, uio_t uio, int ioflag,
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dconf.h109 typedef int read_write_fcn_t(dev_t dev, struct uio *uio, int ioflag);
H A Dvnode_internal.h530 errno_t vnode_setsize(vnode_t, off_t, int ioflag, vfs_context_t);
/macosx-10.10/msdosfs-209.1.1/msdosfs.kextproj/msdosfs.kmodproj/
H A Dmsdosfs_vnops.c859 int ioflag = ap->a_ioflag; local
896 if (ioflag & IO_APPEND) {
954 lflag = ioflag;
989 if (ioflag & IO_UNIT) {
991 msdosfs_detrunc(dep, original_size, ioflag, context);
996 msdosfs_detrunc(dep, dep->de_FileSize, ioflag, context);
998 } else if (ioflag & IO_SYNC)
1000 msdosfs_meta_flush(pmp, (ioflag & IO_SYNC));
/macosx-10.10/xnu-2782.1.97/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
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_symfile.c492 kern_write_file(struct kern_direct_file_io_ref_t * ref, off_t offset, caddr_t addr, vm_size_t len, int ioflag) argument
496 UIO_SYSSPACE, ioflag|IO_SYNC|IO_NODELOCKED|IO_UNIT,
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_readwrite.c307 int ioflag = ap->a_ioflag; local
350 if ((ioflag & (IO_SKIP_ENCRYPTION|IO_SYSCALL_DISPATCH)) ==
387 ioflag |= IO_SYNC;
391 if ((ioflag & (IO_SINGLE_WRITER | IO_SYSCALL_DISPATCH)) ==
404 if (ioflag & IO_APPEND || took_truncate_lock) {
413 if (ioflag & IO_APPEND) {
576 lflag = ioflag & ~(IO_TAILZEROFILL | IO_HEADZEROFILL | IO_NOZEROVALID | IO_NOZERODIRTY);
772 if (flush_cache_on_write && ((ioflag & IO_NOCACHE) || vnode_isnocache(vp))) {
801 if (ioflag & IO_UNIT) {
802 (void)hfs_truncate(vp, origFileSize, ioflag
[all...]
H A Dhfs_cprotect.c795 cp_handle_vnop(struct vnode *vp, int vnop, int ioflag) argument
866 if ((vnop == CP_READ_ACCESS) && (ioflag & IO_ENCRYPTED)) {
913 if ((vnop == CP_READ_ACCESS) && (ioflag & IO_ENCRYPTED)) {
/macosx-10.10/xnu-2782.1.97/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...]
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Dbpf.c854 bpfread(dev_t dev, struct uio *uio, int ioflag) argument
899 if ((d->bd_immediate || timed_out || (ioflag & IO_NDELAY))
924 if (ioflag & IO_NDELAY) {
1167 bpfwrite(dev_t dev, struct uio *uio, __unused int ioflag) argument
/macosx-10.10/xnu-2782.1.97/iokit/IOKit/
H A DIOHibernatePrivate.h338 kern_write_file(struct kern_direct_file_io_ref_t * ref, off_t offset, caddr_t addr, vm_size_t len, int ioflag);
/macosx-10.10/Security-57031.1.35/Security/tlsnke/tlsnke/
H A Dtlsnke.c967 static int tlsnkedev_read(dev_t dev, struct uio *uio, int ioflag) argument
1013 static int tlsnkedev_write(dev_t dev, struct uio *uio, int ioflag) argument
/macosx-10.10/webdavfs-367/webdav_fs.kextproj/webdav_fs.kmodproj/
H A Dwebdav_vnops.c2032 int ioflag; local
2042 ioflag = ap->a_ioflag;
2094 ( (!(reading) && (ioflag & IO_APPEND)) || (rounded_iolength > (off_t)attrbuf.va_data_size) ) )

Completed in 522 milliseconds

12