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

/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dseqlock.h42 struct seqcount { struct
45 typedef struct seqcount seqcount_t;
49 struct seqcount seql_count;
60 __seqcount_init(struct seqcount *seqcount, const char *name __unused, argument
63 seqcount->seqc = 0;
65 #define seqcount_init(seqcount) __seqcount_init(seqcount, NULL, NULL)
68 seqcount_mutex_init(struct seqcount_mutex *seqcount, void *mutex __unused) argument
70 seqcount
[all...]
/freebsd-current/sys/fs/ext2fs/
H A Dext2_balloc.c301 int seqcount = (flags & BA_SEQMASK) >> BA_SEQSHIFT; local
303 if (seqcount && (vp->v_mount->mnt_flag & MNT_NOCLUSTERR) == 0) {
306 MAXBSIZE, seqcount, 0, &nbp);
H A Dext2_vnops.c2033 int error, orig_resid, seqcount; local
2040 seqcount = ap->a_ioflag >> IO_SEQSHIFT;
2082 NOCRED, blkoffset + uio->uio_resid, seqcount,
2084 } else if (seqcount > 1) {
2172 int blkoffset, error, flags, ioflag, resid, size, seqcount, xfersize; local
2178 seqcount = ioflag >> IO_SEQSHIFT;
2221 if (seqcount > BA_SEQMAX)
2224 flags = seqcount << BA_SEQSHIFT;
2301 ip->i_size, seqcount, 0);
/freebsd-current/sys/fs/fuse/
H A Dfuse_io.c134 int err, n = 0, on = 0, seqcount; local
144 seqcount = ioflag >> IO_SEQSHIFT;
179 seqcount = MIN(seqcount,
182 totread, seqcount, 0, &bp);
183 } else if (seqcount > 1 && data->max_readahead_blocks >= 1) {
479 int n, on, seqcount, err = 0; local
483 seqcount = ioflag >> IO_SEQSHIFT;
713 filesize, seqcount, 0);
/freebsd-current/sys/kern/
H A Dvfs_cluster.c90 struct ucred *cred, long totread, int seqcount, int gbflags,
112 maxra = seqcount;
136 if (!seqcount) {
642 u_quad_t filesize, int seqcount, int gbflags)
681 * seqcount heuristic, otherwise leave the buffer
689 if (!async && seqcount > 0) {
713 * in the logical file (seqcount > 1),
722 if (seqcount > 1) {
770 * At end of cluster, write it out if seqcount tells us we
776 if (seqcount >
89 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
641 cluster_write(struct vnode *vp, struct vn_clusterw *vnc, struct buf *bp, u_quad_t filesize, int seqcount, int gbflags) argument
[all...]
/freebsd-current/sys/ufs/ffs/
H A Dffs_vnops.c658 int bflag, error, ioflag, seqcount; local
679 seqcount = ap->a_ioflag >> IO_SEQSHIFT;
753 seqcount, bflag, &bp);
754 } else if (seqcount > 1) {
848 int seqcount; local
866 seqcount = ap->a_ioflag >> IO_SEQSHIFT;
910 if (seqcount > BA_SEQMAX)
913 flags = seqcount << BA_SEQSHIFT;
1011 ip->i_size, seqcount, GB_UNMAPPED);
H A Dffs_balloc.c463 int seqcount = (flags & BA_SEQMASK) >> BA_SEQSHIFT; local
464 if (seqcount != 0 &&
469 MAXBSIZE, seqcount, gbflags, &nbp);
1091 int seqcount = (flags & BA_SEQMASK) >> BA_SEQSHIFT; local
1092 if (seqcount != 0 &&
1097 MAXBSIZE, seqcount, gbflags, &nbp);
/freebsd-current/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
707 seqcount = ioflag >> IO_SEQSHIFT;
802 dep->de_FileSize, seqcount, 0);
/freebsd-current/sys/fs/cd9660/
H A Dcd9660_vnops.c280 int seqcount; local
286 seqcount = ap->a_ioflag >> IO_SEQSHIFT;
312 if (seqcount > 1 &&
/freebsd-current/sys/fs/nfsclient/
H A Dnfs_clbio.c440 int biosize, bcount, error, i, n, nra, on, save2, seqcount; local
475 seqcount = (int)((off_t)(ioflag >> IO_SEQSHIFT) * biosize / BKVASIZE);
502 for (nra = 0; nra < nmp->nm_readahead && nra < seqcount &&

Completed in 266 milliseconds