/src/sys/ufs/ufs/ |
ufs_readwrite.c | 75 int error, ioflag, advice; local in function:READ 81 ioflag = ap->a_ioflag; 89 return BUFRD(vp, uio, ioflag, ap->a_cred); 96 return ffs_snapshot_read(vp, uio, ioflag); 104 if (ioflag & IO_DIRECT) { 105 genfs_directio(vp, uio, ioflag); 125 BUFRD(struct vnode *vp, struct uio *uio, int ioflag, kauth_cred_t cred) 202 error = ufs_post_read_update(vp, ioflag, error); 207 ufs_post_read_update(struct vnode *vp, int ioflag, int oerror) 214 if ((ioflag & IO_SYNC) == IO_SYNC) 248 int blkoffset, error, flags, ioflag, resid; local in function:WRITE [all...] |
ufsmount.h | 156 #define UFS_BUFRD(vp, uio, ioflag, cred) \ 157 (*UFS_OPS(vp)->uo_bufrd)((vp), (uio), (ioflag), (cred)) 158 #define UFS_BUFWR(vp, uio, ioflag, cred) \ 159 (*UFS_OPS(vp)->uo_bufwr)((vp), (uio), (ioflag), (cred))
|
ufs_extattr.c | 1357 int error = 0, ioflag; local in function:ufs_extattr_set 1426 ioflag = IO_NODELOCKED; 1428 ioflag |= IO_SYNC; 1429 error = VOP_WRITE(attribute->uele_backing_vnode, &local_aio, ioflag, 1445 ioflag = IO_NODELOCKED; 1447 ioflag |= IO_SYNC; 1448 error = VOP_WRITE(attribute->uele_backing_vnode, uio, ioflag, 1475 int error = 0, ioflag; local in function:ufs_extattr_rm 1515 ioflag = IO_NODELOCKED; 1517 ioflag |= IO_SYNC [all...] |
ufs_inode.c | 295 ufs_truncate_retry(struct vnode *vp, int ioflag, uint64_t newsize, 312 error = UFS_TRUNCATE(vp, newsize, ioflag, cred);
|
/src/sys/ufs/lfs/ |
ulfs_readwrite.c | 71 int error, ioflag, advice; local in function:READ 77 ioflag = ap->a_ioflag; 85 return BUFRD(vp, uio, ioflag, ap->a_cred); 88 return BUFRD(vp, uio, ioflag, ap->a_cred); 101 if (ioflag & IO_DIRECT) { 102 genfs_directio(vp, uio, ioflag); 122 BUFRD(struct vnode *vp, struct uio *uio, int ioflag, kauth_cred_t cred) 199 error = ulfs_post_read_update(vp, ioflag, error); 204 ulfs_post_read_update(struct vnode *vp, int ioflag, int oerror) 211 if ((ioflag & IO_SYNC) == IO_SYNC) 240 int blkoffset, error, flags, ioflag, resid; local in function:WRITE [all...] |
ulfs_extattr.c | 1368 int error = 0, ioflag; local in function:ulfs_extattr_set 1437 ioflag = IO_NODELOCKED; 1439 ioflag |= IO_SYNC; 1440 error = VOP_WRITE(attribute->uele_backing_vnode, &local_aio, ioflag, 1456 ioflag = IO_NODELOCKED; 1458 ioflag |= IO_SYNC; 1459 error = VOP_WRITE(attribute->uele_backing_vnode, uio, ioflag, 1486 int error = 0, ioflag; local in function:ulfs_extattr_rm 1526 ioflag = IO_NODELOCKED; 1528 ioflag |= IO_SYNC [all...] |
lfs_inode.c | 213 lfs_truncate(struct vnode *ovp, off_t length, int ioflag, kauth_cred_t cred) 276 if (ioflag & IO_SYNC) 290 ioflag & IO_SYNC, cred); 293 if (ioflag & IO_SYNC) { 306 ioflag & IO_SYNC, cred); 359 if (ioflag & IO_SYNC) 401 aflags = ioflag & IO_SYNC ? B_SYNC : 0; 418 ((ioflag & IO_SYNC) ? PGO_SYNCIO : 0));
|
/src/sys/ufs/ext2fs/ |
ext2fs_readwrite.c | 153 ext2fs_bufrd(struct vnode *vp, struct uio *uio, int ioflag, kauth_cred_t cred) 231 error = ext2fs_post_read_update(vp, ioflag, error); 236 ext2fs_post_read_update(struct vnode *vp, int ioflag, int oerror) 243 if ((ioflag & IO_SYNC) == IO_SYNC) 271 int blkoffset, error, ioflag, resid; local in function:ext2fs_write 278 ioflag = ap->a_ioflag; 279 advice = IO_ADV_DECODE(ioflag); 289 if (ioflag & IO_APPEND) 345 if (error == 0 && ioflag & IO_SYNC) { 352 error = ext2fs_post_write_update(vp, uio, ioflag, ap->a_cred, osize [all...] |
/src/bin/dd/ |
args.c | 441 static const struct ioflag { struct 474 u_int ioflag = 0; local in function:f_ioflag 475 const struct ioflag *cp; 476 struct ioflag tmp; 497 ioflag |= cp->set; 501 return ioflag; 508 return (strcmp(((const struct ioflag *)a)->name, 509 ((const struct ioflag *)b)->name));
|
/src/share/examples/puffs/rot13fs/ |
rot13fs.c | 220 const struct puffs_cred *pcr, int ioflag) 226 rv = puffs_null_node_read(pu, opc, buf, offset, resid, pcr, ioflag); 238 const struct puffs_cred *pcr, int ioflag) 242 return puffs_null_node_write(pu, opc, buf, offset, resid, pcr, ioflag);
|
/src/sys/dev/pci/bktr/ |
bktr_core.h | 98 int vbi_read(bktr_ptr_t bktr, struct uio *uio, int ioflag);
|
bktr_os.c | 715 bktr_read(dev_t dev, struct uio *uio, int ioflag) 733 return(vbi_read(bktr, uio, ioflag)); 743 bktr_write(dev_t dev, struct uio *uio, int ioflag) 1191 bktr_read(dev_t dev, struct uio *uio, int ioflag) 1206 return(vbi_read(bktr, uio, ioflag)); 1216 bktr_write(dev_t dev, struct uio *uio, int ioflag) 1716 bktr_read(dev_t dev, struct uio *uio, int ioflag) 1729 return(vbi_read(bktr, uio, ioflag)); 1740 bktr_write(dev_t dev, struct uio *uio, int ioflag)
|
/src/sys/kern/ |
vfs_vnops.c | 497 enforce_rlimit_fsize(struct vnode *vp, struct uio *uio, int ioflag) 506 if (ioflag & IO_APPEND) 650 int error, ioflag, fflag; local in function:vn_read 653 ioflag = IO_ADV_ENCODE(fp->f_advice); 656 ioflag |= IO_NDELAY; 658 ioflag |= IO_SYNC; 660 ioflag |= IO_ALTSEMANTICS; 662 ioflag |= IO_DIRECT; 675 error = VOP_READ(vp, uio, ioflag, cred); 690 int error, ioflag, fflag local in function:vn_write [all...] |
/src/sys/ufs/ffs/ |
ffs_extattr.c | 129 #define vfs_bio_brelse(bp, ioflag) brelse(bp, 0) 131 #define vfs_bio_set_flags(bp, ioflag) __nothing 137 ffs_extread(struct vnode *vp, struct uio *uio, int ioflag) 239 vfs_bio_brelse(bp, ioflag); 249 vfs_bio_brelse(bp, ioflag); 256 ffs_extwrite(struct vnode *vp, struct uio *uio, int ioflag, kauth_cred_t ucred) 276 if (ioflag & IO_APPEND) 286 if (ioflag & IO_SYNC) 331 vfs_bio_set_flags(bp, ioflag); 340 if (ioflag & IO_SYNC) [all...] |
ffs_inode.c | 207 ffs_truncate(struct vnode *ovp, off_t length, int ioflag, kauth_cred_t cred) 243 if ((ioflag & (IO_EXT | IO_NORMAL)) == 0) 244 ioflag |= IO_NORMAL; 254 if ((ioflag & IO_EXT) && extblocks > 0) { 288 if ((ioflag & IO_NORMAL) == 0) 313 aflag = ioflag & IO_SYNC ? B_SYNC : 0; 333 ioflag & IO_SYNC, cred); 336 if (ioflag & IO_SYNC) { 347 (void) ffs_truncate(ovp, osize, ioflag & IO_SYNC, cred); 393 ((ioflag & IO_SYNC) ? PGO_SYNCIO : 0)) [all...] |
/src/sys/arch/i386/isa/ |
cmos.c | 144 cmos_read(dev_t dev, struct uio *uio, int ioflag) 160 cmos_write(dev_t dev, struct uio *uio, int ioflag)
|
/src/sys/fs/nfs/client/ |
nfs_clbio.c | 69 struct ucred *cred, int ioflag); 404 ncl_bioread(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred) 442 if (newnfs_directio_enable && (ioflag & IO_DIRECT) && (vp->v_type == VREG)) 447 seqcount = (int)((off_t)(ioflag >> IO_SEQSHIFT) * biosize / BKVASIZE); 702 nfs_directio_write(vp, uiop, cred, ioflag) 706 int ioflag; 717 if (ioflag & IO_SYNC) { 849 int ioflag = ap->a_ioflag; local in function:ncl_write 886 if (ioflag & (IO_APPEND | IO_SYNC)) { 896 if (ioflag & IO_NDELAY [all...] |
/src/sys/external/bsd/drm/dist/bsd-core/ |
drm_fops.c | 169 int drm_read(DRM_CDEV kdev, struct uio *uio, int ioflag)
|
/src/sys/ufs/chfs/ |
chfs_vnops.c | 630 int error, ioflag; local in function:chfs_read 640 ioflag = ap->a_ioflag; 670 if (ioflag & IO_DIRECT) { 671 genfs_directio(vp, uio, ioflag); 773 int blkoffset, error, flags, ioflag, resid; local in function:chfs_write 781 ioflag = ap->a_ioflag; 793 if (ioflag & IO_APPEND) 801 if ((ioflag & IO_SYNC) == 0) 835 flags = ioflag & IO_SYNC ? B_SYNC : 0; 844 aflag = ioflag & IO_SYNC ? B_SYNC : 0 [all...] |
/src/sys/dev/ieee1394/ |
fwdev.c | 230 fw_read(dev_t dev, struct uio *uio, int ioflag) 244 return physio(fw_strategy, NULL, dev, ioflag, minphys, uio); 251 return fw_read_async(d, uio, ioflag); 307 fw_write(dev_t dev, struct uio *uio, int ioflag) 321 return physio(fw_strategy, NULL, dev, ioflag, minphys, uio); 328 return fw_write_async(d, uio, ioflag); 815 fw_read_async(struct fw_drv1 *d, struct uio *uio, int ioflag) 863 fw_write_async(struct fw_drv1 *d, struct uio *uio, int ioflag)
|
/src/sbin/mount_portal/ |
puffs_portal.c | 657 const struct puffs_cred *pcr, int ioflag) 681 if (ioflag & PUFFS_IO_NDELAY) { 699 assert(ioflag & PUFFS_IO_NDELAY); 731 const struct puffs_cred *pcr, int ioflag) 745 if (ioflag & PUFFS_IO_NDELAY) {
|
/src/sys/rump/librump/rumpvfs/ |
rumpvnode_if.c | 212 int ioflag, 218 error = VOP_READ(vp, uio, ioflag, cred); 227 int ioflag, 233 error = VOP_WRITE(vp, uio, ioflag, cred);
|
/src/sys/fs/nfs/common/ |
nfs_lock.c | 126 nfslock_read(struct cdev *dev, struct uio *uio, int ioflag) 155 nfslock_write(struct cdev *dev, struct uio *uio, int ioflag)
|
/src/sys/arch/mac68k/obio/ |
asc.c | 264 ascread(dev_t dev, struct uio *uio, int ioflag) 270 ascwrite(dev_t dev, struct uio *uio, int ioflag)
|
/src/sys/fs/nilfs/ |
nilfs_vnops.c | 139 int ioflag = ap->a_ioflag; local in function:nilfs_read 156 if ((ioflag & IO_ALTSEMANTICS) == 0) { 190 if ((ioflag & IO_SYNC) == IO_SYNC) 210 int ioflag = ap->a_ioflag; local in function:nilfs_write 227 if ((ioflag & IO_ALTSEMANTICS) == 0) { 243 if (ioflag & IO_APPEND) 298 if ((resid > uio->uio_resid) && ((ioflag & IO_SYNC) == IO_SYNC))
|