/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/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/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...] |
/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...] |
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...] |
/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/fs/tmpfs/ |
tmpfs_vnops.c | 521 const int ioflag = ap->a_ioflag; local in function:tmpfs_read 554 error = ubc_uiomove(uobj, uio, len, IO_ADV_DECODE(ioflag), 575 const int ioflag = ap->a_ioflag; local in function:tmpfs_write 599 if (ioflag & IO_APPEND) { 645 error = ubc_uiomove(uobj, uio, len, IO_ADV_DECODE(ioflag),
|
/src/sys/nfs/ |
nfs_bio.c | 81 nfs_bioread(struct vnode *vp, struct uio *uio, int ioflag, 149 advice = IO_ADV_DECODE(ioflag); 457 int ioflag = ap->a_ioflag; local in function:nfs_write 474 if (ioflag & IO_APPEND) { 566 if (error == 0 && (ioflag & IO_SYNC) != 0) {
|
/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/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/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))
|
/src/sys/fs/msdosfs/ |
msdosfs_vnops.c | 551 int ioflag = ap->a_ioflag; local in function:msdosfs_write 565 printf("msdosfs_write(vp %p, uio %p, ioflag %x, cred %p\n", 566 vp, uio, ioflag, cred); 573 if (ioflag & IO_APPEND) 637 IO_ADV_DECODE(ioflag), UBC_WRITE | UBC_VNODE_FLAGS(vp)); 656 if (error == 0 && ioflag & IO_SYNC) { 669 msdosfs_detrunc(dep, osize, ioflag & IO_SYNC, NOCRED); 672 } else if ((ioflag & IO_SYNC) == IO_SYNC)
|
/src/sys/fs/udf/ |
udf_vnops.c | 192 int ioflag = ap->a_ioflag; local in function:udf_read 217 if ((ioflag & IO_ALTSEMANTICS) == 0) { 261 if ((ioflag & IO_SYNC) == IO_SYNC) { 286 int ioflag = ap->a_ioflag; local in function:udf_write 295 int aflag = ioflag & IO_SYNC ? B_SYNC : 0; 314 if ((ioflag & IO_ALTSEMANTICS) == 0) { 337 if (ioflag & IO_APPEND) 413 if ((resid > uio->uio_resid) && ((ioflag & IO_SYNC) == IO_SYNC))
|
/src/sys/fs/nfs/server/ |
nfs_nfsdport.c | 645 int error = 0, len, left, siz, tlen, ioflag = 0; local in function:nfsvno_read 696 ioflag |= nh->nh_seqcount << IO_SEQSHIFT; 699 error = VOP_READ(vp, uiop, IO_NODELOCKED | ioflag, cred);
|