Home
last modified time | relevance | path

Searched refs:ioflag (Results 1 – 25 of 58) sorted by relevance

123

/titanic_50/usr/src/uts/common/syscall/
H A Drw.c82 int fflag, ioflag, rwflag; in read() local
175 ioflag = auio.uio_fmode & (FAPPEND|FSYNC|FDSYNC|FRSYNC); in read()
178 if ((ioflag & FRSYNC) == 0) in read()
179 ioflag &= ~(FSYNC|FDSYNC); in read()
180 error = VOP_READ(vp, &auio, ioflag, fp->f_cred, NULL); in read()
218 int fflag, ioflag, rwflag; in write() local
307 ioflag = auio.uio_fmode & (FAPPEND|FSYNC|FDSYNC|FRSYNC); in write()
309 error = VOP_WRITE(vp, &auio, ioflag, fp->f_cred, NULL); in write()
344 int fflag, ioflag, rwflag; in pread() local
450 ioflag = auio.uio_fmode & (FAPPEND|FSYNC|FDSYNC|FRSYNC); in pread()
[all …]
H A Dsendfile.c91 int ioflag; in sendvec_chunk64() local
155 ioflag = auio.uio_fmode & (FAPPEND|FSYNC|FDSYNC|FRSYNC); in sendvec_chunk64()
157 error = VOP_WRITE(vp, &auio, ioflag, in sendvec_chunk64()
263 ioflag = auio.uio_fmode & in sendvec_chunk64()
270 if ((ioflag & FRSYNC) == 0) in sendvec_chunk64()
271 ioflag &= ~(FSYNC|FDSYNC); in sendvec_chunk64()
272 error = VOP_READ(readvp, &auio, ioflag, in sendvec_chunk64()
312 ioflag = auio.uio_fmode & in sendvec_chunk64()
314 error = VOP_WRITE(vp, &auio, ioflag, in sendvec_chunk64()
401 int ioflag; in sendvec_small_chunk() local
[all …]
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_deleg_ops.c154 deleg_wr_read(femarg_t *arg, uio_t *uiop, int ioflag, cred_t *cr, in deleg_wr_read() argument
167 return (vnext_read(arg, uiop, ioflag, cr, ct)); in deleg_wr_read()
175 deleg_rd_write(femarg_t *arg, uio_t *uiop, int ioflag, cred_t *cr, in deleg_rd_write() argument
186 return (vnext_write(arg, uiop, ioflag, cr, ct)); in deleg_rd_write()
194 deleg_wr_write(femarg_t *arg, uio_t *uiop, int ioflag, cred_t *cr, in deleg_wr_write() argument
207 return (vnext_write(arg, uiop, ioflag, cr, ct)); in deleg_wr_write()
/titanic_50/usr/src/uts/common/fs/ufs/
H A Dufs_vnops.c303 ufs_read(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cr, in ufs_read() argument
342 error = rdip(ip, uiop, ioflag, cr); in ufs_read()
351 if (ulp && (ioflag & FRSYNC) && (ioflag & (FSYNC | FDSYNC)) && in ufs_read()
372 if (ulp && (ioflag & FRSYNC) && (ioflag & (FSYNC | FDSYNC)) && in ufs_read()
381 error = rdip(ip, uiop, ioflag, cr); in ufs_read()
405 ufs_check_rewrite(struct inode *ip, struct uio *uiop, int ioflag) in ufs_check_rewrite() argument
413 shared_write = (ioflag & FDSYNC) | ufs_allow_shared_writes; in ufs_check_rewrite()
423 return (((ip->i_mode & IFMT) == IFREG) && !(ioflag & FAPPEND) && in ufs_check_rewrite()
427 !(ioflag & FSYNC) && !bmap_has_holes(ip) && in ufs_check_rewrite()
433 ufs_write(struct vnode *vp, struct uio *uiop, int ioflag, cred_t *cr, in ufs_write() argument
[all …]
H A Dufs_trans.c924 int ioflag, in ufs_trans_write() argument
948 err = wrip(ip, uio, ioflag, cr); in ufs_trans_write()
963 if (ioflag & (FSYNC|FDSYNC)) { in ufs_trans_write()
978 if (ioflag & (FSYNC|FDSYNC)) { in ufs_trans_write()
/titanic_50/usr/src/uts/common/sys/
H A Dfem.h156 int (*femop_read)(femarg_t *vf, uio_t *uiop, int ioflag, \
158 int (*femop_write)(femarg_t *vf, uio_t *uiop, int ioflag, \
265 int (*femop_reqzcbuf)(femarg_t *vf, enum uio_rw ioflag, \
306 extern int vnext_read(femarg_t *vf, uio_t *uiop, int ioflag, cred_t *cr,
308 extern int vnext_write(femarg_t *vf, uio_t *uiop, int ioflag, cred_t *cr,
401 extern int vnext_reqzcbuf(femarg_t *vf, enum uio_rw ioflag, xuio_t *xuiop,
/titanic_50/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c293 int32_t ioflag, in udf_read() argument
320 error = ud_rdip(ip, uiop, ioflag, cr); in udf_read()
342 int32_t ioflag, in udf_write() argument
383 if ((ioflag & FAPPEND) != 0 && (ip->i_type == VREG)) { in udf_write()
389 error = ud_wrip(ip, uiop, ioflag, cr); in udf_write()
1251 uint32_t ioflag = 0; in udf_symlink() local
1337 ioflag = FWRITE; in udf_symlink()
1339 ioflag |= FDSYNC; in udf_symlink()
1341 error = ud_rdwri(UIO_WRITE, ioflag, ip, in udf_symlink()
2340 ud_rdwri(enum uio_rw rw, int32_t ioflag, in ud_rdwri() argument
[all …]
/titanic_50/usr/src/uts/common/fs/namefs/
H A Dnamevno.c192 nm_read(vnode_t *vp, struct uio *uiop, int ioflag, cred_t *crp, in nm_read() argument
195 return (VOP_READ(VTONM(vp)->nm_filevp, uiop, ioflag, crp, ct)); in nm_read()
199 nm_write(vnode_t *vp, struct uio *uiop, int ioflag, cred_t *crp, in nm_write() argument
202 return (VOP_WRITE(VTONM(vp)->nm_filevp, uiop, ioflag, crp, ct)); in nm_write()
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fem.c450 int ioflag, in smb_fem_oplock_read() argument
461 rc = vnext_read(arg, uiop, ioflag, cr, ct); in smb_fem_oplock_read()
475 int ioflag, in smb_fem_oplock_write() argument
484 rc = vnext_write(arg, uiop, ioflag, cr, ct); in smb_fem_oplock_write()
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_event.c134 int ioflag; in sol_uverbs_event_file_read() local
140 ioflag = uiop->uio_fmode & (FNONBLOCK | FNDELAY); in sol_uverbs_event_file_read()
151 if (ioflag) { in sol_uverbs_event_file_read()
167 if (ioflag) { in sol_uverbs_event_file_read()
/titanic_50/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_ncallio.c646 int ioflag; in nsc_rncio_io() local
657 ioflag = (read ? NSC_READ : NSC_WRITE); in nsc_rncio_io()
661 fd = nsc_open(rw->rw_path, NSC_CACHE | NSC_DEVICE | NSC_READ | ioflag, in nsc_rncio_io()
678 rc = nsc_alloc_buf(fd, pos, len, NSC_NOCACHE | ioflag, &bufp); in nsc_rncio_io()
/titanic_50/usr/src/uts/common/sys/fs/
H A Dufs_trans.h339 #define TRANS_WRITE(ip, uiop, ioflag, err, ulp, cr, resv, resid) \ argument
341 err = ufs_trans_write(ip, uiop, ioflag, cr, resv, resid); \
343 err = wrip(ip, uiop, ioflag, cr);
/titanic_50/usr/src/uts/sun/io/ttymux/
H A Dttymux.c351 sm_qs_without(sm_uqi_t *uqi, uint_t flag, uint_t ioflag) in sm_qs_without() argument
358 (lqi->sm_ioflag & ioflag) == 0) in sm_qs_without()
472 sm_associate(int unit, sm_lqi_t *plqi, ulong_t tag, uint_t ioflag, char *dp) in sm_associate() argument
478 (plqi) ? plqi->sm_linkid : 0, unit, ioflag)); in sm_associate()
489 if ((ioflag & FORIO) == 0) in sm_associate()
490 ioflag = FORIO; in sm_associate()
496 if ((ioflag & (uint_t)FORIO) != 0) in sm_associate()
498 (ioflag & (uint_t)FORIO); in sm_associate()
509 if ((ioflag & (uint_t)FORIO) != 0) in sm_associate()
510 plqi->sm_ioflag = (ioflag & (uint_t)FORIO); in sm_associate()
/titanic_50/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c170 socket_vop_read(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cr, in socket_vop_read() argument
184 socket_vop_write(struct vnode *vp, struct uio *uiop, int ioflag, in socket_vop_write() argument
H A Dsocksubr.c1884 int ioflag, rwflag; in soreadfile() local
1909 ioflag = auio.uio_fmode & (FAPPEND|FSYNC|FDSYNC|FRSYNC); in soreadfile()
1912 if ((ioflag & FRSYNC) == 0) in soreadfile()
1913 ioflag &= ~(FSYNC|FDSYNC); in soreadfile()
1914 error = VOP_READ(vp, &auio, ioflag, fp->f_cred, NULL); in soreadfile()
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c110 int ioflag, in fop_read() argument
165 int ioflag, in fop_write() argument
199 if (ioflag == FSYNC) { in fop_write()
1149 fop_reqzcbuf(vnode_t *vp, enum uio_rw ioflag, xuio_t *uiop, cred_t *cr, in fop_reqzcbuf() argument
/titanic_50/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c120 lo_read(vnode_t *vp, struct uio *uiop, int ioflag, struct cred *cr, in lo_read() argument
127 return (VOP_READ(vp, uiop, ioflag, cr, ct)); in lo_read()
131 lo_write(vnode_t *vp, struct uio *uiop, int ioflag, struct cred *cr, in lo_write() argument
138 return (VOP_WRITE(vp, uiop, ioflag, cr, ct)); in lo_write()
/titanic_50/usr/src/cmd/addbadsec/
H A Dix_altsctr.c97 int ioflag);
847 absdsk_io(int fd, uint_t srtsec, char *bufp, uint_t len, int ioflag) in absdsk_io() argument
853 switch (ioflag) in absdsk_io()
/titanic_50/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c224 int ioflag, in pcfs_read() argument
242 error = rwpcp(pcp, uiop, UIO_READ, ioflag); in pcfs_read()
258 int ioflag, in pcfs_write() argument
276 if (ioflag & FAPPEND) { in pcfs_write()
282 error = rwpcp(pcp, uiop, UIO_WRITE, ioflag); in pcfs_write()
285 if (ioflag & (FSYNC|FDSYNC)) in pcfs_write()
303 int ioflag) in rwpcp() argument
549 } else if (ioflag & (FSYNC|FDSYNC)) { in rwpcp()
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dzfs_log.c479 znode_t *zp, offset_t off, ssize_t resid, int ioflag) in zfs_log_write() argument
496 else if (ioflag & (FSYNC | FDSYNC)) in zfs_log_write()
540 if (!(ioflag & (FSYNC | FDSYNC)) && (zp->z_sync_cnt == 0) && in zfs_log_write()
H A Dzfs_vnops.c518 zfs_read(vnode_t *vp, uio_t *uio, int ioflag, cred_t *cr, caller_context_t *ct) in zfs_read() argument
565 if (ioflag & FRSYNC || zfsvfs->z_os->os_sync == ZFS_SYNC_ALWAYS) in zfs_read()
662 zfs_write(vnode_t *vp, uio_t *uio, int ioflag, cred_t *cr, caller_context_t *ct) in zfs_write() argument
723 ((zp->z_pflags & ZFS_APPENDONLY) && !(ioflag & FAPPEND) && in zfs_write()
734 woff = ioflag & FAPPEND ? zp->z_size : uio->uio_loffset; in zfs_write()
764 if (ioflag & FAPPEND) { in zfs_write()
1010 zfs_log_write(zilog, tx, TX_WRITE, zp, woff, tx_bytes, ioflag); in zfs_write()
1033 if (ioflag & (FSYNC | FDSYNC) || in zfs_write()
5091 zfs_reqzcbuf(vnode_t *vp, enum uio_rw ioflag, xuio_t *xuio, cred_t *cr, in zfs_reqzcbuf() argument
5111 switch (ioflag) { in zfs_reqzcbuf()
[all …]
/titanic_50/usr/src/uts/common/fs/
H A Dfem.c487 vhead_read(vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, in vhead_read() argument
500 errc = (*func)(arg0, uiop, ioflag, cr, ct); in vhead_read()
507 errc = (*func)(arg0, uiop, ioflag, cr, ct); in vhead_read()
514 vhead_write(vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr, in vhead_write() argument
527 errc = (*func)(arg0, uiop, ioflag, cr, ct); in vhead_write()
534 errc = (*func)(arg0, uiop, ioflag, cr, ct); in vhead_write()
1651 vhead_reqzcbuf(vnode_t *vp, enum uio_rw ioflag, xuio_t *xuiop, cred_t *cr, in vhead_reqzcbuf() argument
1664 errc = (*func)(arg0, ioflag, xuiop, cr, ct); in vhead_reqzcbuf()
1672 errc = (*func)(arg0, ioflag, xuiop, cr, ct); in vhead_reqzcbuf()
2073 vnext_read(femarg_t *vf, uio_t *uiop, int ioflag, cred_t *cr, in vnext_read() argument
[all …]
/titanic_50/usr/src/uts/common/fs/portfs/
H A Dport_fop.c216 static int port_fop_read(femarg_t *vf, uio_t *uiop, int ioflag, cred_t *cr,
218 static int port_fop_write(femarg_t *vf, uio_t *uiop, int ioflag, cred_t *cr,
2113 port_fop_write(femarg_t *vf, struct uio *uiop, int ioflag, struct cred *cr, in port_fop_write() argument
2119 retval = vnext_write(vf, uiop, ioflag, cr, ct); in port_fop_write()
2139 port_fop_read(femarg_t *vf, struct uio *uiop, int ioflag, struct cred *cr, in port_fop_read() argument
2145 retval = vnext_read(vf, uiop, ioflag, cr, ct); in port_fop_read()
/titanic_50/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c374 sdev_read(struct vnode *vp, struct uio *uio, int ioflag, struct cred *cred, in sdev_read() argument
394 error = VOP_READ(dv->sdev_attrvp, uio, ioflag, cred, ct); in sdev_read()
401 sdev_write(struct vnode *vp, struct uio *uio, int ioflag, struct cred *cred, in sdev_write() argument
421 error = VOP_WRITE(dv->sdev_attrvp, uio, ioflag, cred, ct); in sdev_write()
/titanic_50/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c294 sharefs_read(vnode_t *vp, uio_t *uio, int ioflag, cred_t *cr, in sharefs_read() argument

123