Searched refs:seqcount (Results 1 - 9 of 9) sorted by relevance

/freebsd-12-stable/sys/fs/ext2fs/
H A Dext2_balloc.c307 int seqcount = (flags & BA_SEQMASK) >> BA_SEQSHIFT; local
309 if (seqcount && (vp->v_mount->mnt_flag & MNT_NOCLUSTERR) == 0) {
312 MAXBSIZE, seqcount, 0, &nbp);
H A Dext2_vnops.c2048 int error, orig_resid, seqcount; local
2055 seqcount = ap->a_ioflag >> IO_SEQSHIFT;
2096 NOCRED, blkoffset + uio->uio_resid, seqcount,
2098 } else if (seqcount > 1) {
2186 int blkoffset, error, flags, ioflag, resid, size, seqcount, xfersize; local
2192 seqcount = ioflag >> IO_SEQSHIFT;
2234 if (seqcount > BA_SEQMAX)
2237 flags = seqcount << BA_SEQSHIFT;
2313 cluster_write(vp, bp, ip->i_size, seqcount, 0);
/freebsd-12-stable/sys/fs/fuse/
H A Dfuse_io.c347 int err, n = 0, on = 0, seqcount; local
357 seqcount = ioflag >> IO_SEQSHIFT;
392 seqcount = MIN(seqcount,
395 totread, seqcount, 0, &bp);
396 } else if (seqcount > 1 && data->max_readahead_blocks >= 1) {
678 int n, on, seqcount, err = 0; local
683 seqcount = ioflag >> IO_SEQSHIFT;
913 cluster_write(vp, bp, filesize, seqcount, 0);
/freebsd-12-stable/sys/kern/
H A Dvfs_cluster.c92 struct ucred *cred, long totread, int seqcount, int gbflags,
114 maxra = seqcount;
138 if (!seqcount) {
652 cluster_write(struct vnode *vp, struct buf *bp, u_quad_t filesize, int seqcount, argument
692 * seqcount heuristic, otherwise leave the buffer
700 if (!async && seqcount > 0) {
723 * in the logical file (seqcount > 1),
732 if (seqcount > 1) {
778 * At end of cluster, write it out if seqcount tells us we
783 if (seqcount >
91 cluster_read(struct vnode *vp, u_quad_t filesize, daddr_t lblkno, long size, struct ucred *cred, long totread, int seqcount, int gbflags, struct buf **bpp) argument
[all...]
/freebsd-12-stable/sys/ufs/ffs/
H A Dffs_vnops.c508 int bflag, error, ioflag, seqcount; local
529 seqcount = ap->a_ioflag >> IO_SEQSHIFT;
600 seqcount, bflag, &bp);
601 } else if (seqcount > 1) {
698 int seqcount; local
711 seqcount = ap->a_ioflag >> IO_SEQSHIFT;
752 if (seqcount > BA_SEQMAX)
755 flags = seqcount << BA_SEQSHIFT;
844 cluster_write(vp, bp, ip->i_size, seqcount,
H A Dffs_balloc.c462 int seqcount = (flags & BA_SEQMASK) >> BA_SEQSHIFT; local
463 if (seqcount != 0 &&
468 MAXBSIZE, seqcount, gbflags, &nbp);
1076 int seqcount = (flags & BA_SEQMASK) >> BA_SEQSHIFT; local
1077 if (seqcount != 0 &&
1082 MAXBSIZE, seqcount, gbflags, &nbp);
/freebsd-12-stable/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c531 int seqcount; local
553 seqcount = ap->a_ioflag >> IO_SEQSHIFT;
581 NOCRED, on + uio->uio_resid, seqcount, 0, &bp);
582 } else if (seqcount > 1) {
622 int seqcount; local
705 seqcount = ioflag >> IO_SEQSHIFT;
801 seqcount, 0);
/freebsd-12-stable/sys/fs/cd9660/
H A Dcd9660_vnops.c308 int seqcount; local
314 seqcount = ap->a_ioflag >> IO_SEQSHIFT;
340 if (seqcount > 1 &&
/freebsd-12-stable/sys/fs/nfsclient/
H A Dnfs_clbio.c432 int biosize, bcount, error, i, n, nra, on, save2, seqcount; local
467 seqcount = (int)((off_t)(ioflag >> IO_SEQSHIFT) * biosize / BKVASIZE);
491 for (nra = 0; nra < nmp->nm_readahead && nra < seqcount &&

Completed in 146 milliseconds