Searched refs:B_INVAL (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-10.3-release/sys/kern/
H A Dvfs_bio.c551 if ((bp->b_flags & B_INVAL) || (bp->b_flags & B_DELWRI) == 0) {
793 bp->b_flags = B_INVAL | B_INFREECNT;
998 if ((bp->b_flags & B_INVAL) || !(bp->b_flags & B_DELWRI))
1077 * clear BIO_ERROR and B_INVAL prior to initiating I/O . If B_CACHE is set,
1096 rabp->b_flags &= ~B_INVAL;
1115 * must clear BIO_ERROR and B_INVAL prior to initiating I/O. If B_CACHE
1139 bp->b_flags &= ~B_INVAL;
1178 bp->b_flags |= B_INVAL | B_RELBUF;
1183 if (bp->b_flags & B_INVAL) {
1319 if (bp->b_flags & B_INVAL) {
[all...]
H A Dvfs_cluster.c143 if (rbp == NULL || (rbp->b_flags & B_INVAL))
236 bp->b_flags &= ~B_INVAL;
289 rbp->b_flags &= ~B_INVAL;
564 tbp->b_flags &= ~B_INVAL;
810 if ((tbp->b_flags & (B_INVAL | B_DELWRI)) != B_DELWRI) {
912 B_INVAL | B_DELWRI | B_NEEDCOMMIT))
H A Dkern_shutdown.c318 if (((bp->b_flags & (B_INVAL | B_PERSISTENT)) == 0 &&
320 ((bp->b_flags & (B_DELWRI | B_INVAL)) == B_DELWRI))
H A Dvfs_subr.c1503 if (((bp->b_flags & (B_DELWRI | B_INVAL)) == B_DELWRI) &&
1512 bp->b_flags |= (B_INVAL | B_RELBUF);
1562 bp->b_flags |= (B_INVAL | B_RELBUF);
1585 bp->b_flags |= (B_INVAL | B_RELBUF);
/freebsd-10.3-release/sys/fs/fuse/
H A Dfuse_io.c495 bp->b_flags &= ~B_INVAL;
637 * clear BIO_ERROR and B_INVAL state prior to initiating the I/O. We
641 bp->b_flags &= ~B_INVAL;
713 bp->b_flags &= ~(B_INVAL | B_NOCACHE);
724 bp->b_flags |= B_INVAL;
/freebsd-10.3-release/sys/fs/nfsclient/
H A Dnfs_clbio.c507 rabp->b_flags |= B_INVAL;
628 * no error + B_INVAL == directory EOF,
631 if (error == 0 && (bp->b_flags & B_INVAL))
659 (bp->b_flags & B_INVAL) == 0 &&
670 rabp->b_flags |= B_INVAL;
1111 bp->b_flags &= ~B_INVAL;
1275 * The caller must carefully deal with the possible B_INVAL state of
1276 * the buffer. ncl_doio() clears B_INVAL (and ncl_asyncio() clears it
1278 * the B_INVAL state. We have to be a little more careful when dealing
1394 * Note: ncl_asyncio() does not clear (BIO_ERROR|B_INVAL) bu
[all...]
H A Dnfs_clvnops.c3171 if (bp->b_flags & B_INVAL) {
/freebsd-10.3-release/sys/nfsclient/
H A Dnfs_bio.c498 rabp->b_flags |= B_INVAL;
619 * no error + B_INVAL == directory EOF,
622 if (error == 0 && (bp->b_flags & B_INVAL))
650 (bp->b_flags & B_INVAL) == 0 &&
661 rabp->b_flags |= B_INVAL;
1098 bp->b_flags &= ~B_INVAL;
1224 * The caller must carefully deal with the possible B_INVAL state of
1225 * the buffer. nfs_doio() clears B_INVAL (and nfs_asyncio() clears it
1227 * the B_INVAL state. We have to be a little more careful when dealing
1332 * Note: nfs_asyncio() does not clear (BIO_ERROR|B_INVAL) bu
[all...]
/freebsd-10.3-release/sys/fs/ext2fs/
H A Dext2_subr.c145 if (ep == bp || (ep->b_flags & B_INVAL))
H A Dext2_bmap.c234 bp->b_flags &= ~B_INVAL;
H A Dext2_inode.c428 bp->b_flags |= B_INVAL;
H A Dext2_vfsops.c464 bp->b_flags |= B_INVAL;
/freebsd-10.3-release/sys/ufs/ffs/
H A Dffs_suspend.c146 bp->b_flags |= B_INVAL | B_NOCACHE;
H A Dffs_subr.c182 if (ep == bp || (ep->b_flags & B_INVAL) ||
H A Dffs_inode.c617 bp->b_flags &= ~B_INVAL;
694 bp->b_flags |= B_INVAL | B_NOCACHE;
H A Dffs_vfsops.c899 bp->b_flags |= B_INVAL | B_NOCACHE;
2010 bp->b_flags |= B_INVAL;
2047 if (bp->b_flags & B_INVAL) {
2106 newbp->b_flags &= ~B_INVAL;
H A Dffs_balloc.c483 bp->b_flags |= (B_INVAL | B_RELBUF);
1054 bp->b_flags |= (B_INVAL | B_RELBUF);
H A Dffs_softdep.c3418 bp->b_flags |= B_INVAL | B_NOCACHE;
3444 bp->b_flags &= ~B_INVAL;
3700 bp->b_flags |= B_INVAL | B_NOCACHE;
6227 bp->b_flags &= ~B_INVAL;
7119 bp->b_flags |= B_INVAL | B_NOCACHE | B_RELBUF;
7285 bp->b_flags |= B_INVAL | B_NOCACHE;
8188 bp->b_flags |= B_INVAL | B_NOCACHE;
10940 if ((bp->b_ioflags & BIO_ERROR) != 0 && (bp->b_flags & B_INVAL) == 0)
11605 sbp->b_flags |= B_INVAL | B_NOCACHE;
H A Dffs_snapshot.c503 bp->b_flags |= B_INVAL | B_NOCACHE;
/freebsd-10.3-release/sys/fs/nandfs/
H A Dnandfs_segment.c312 bp->b_flags &= ~B_INVAL;
721 bp->b_flags &= ~(B_ASYNC|B_INVAL|B_MANAGED);
739 bp->b_flags &= ~(B_ASYNC|B_INVAL|B_MANAGED);
935 bp->b_flags |= (B_INVAL | B_RELBUF);
H A Dnandfs_vnops.c548 bp->b_flags |= (B_INVAL | B_RELBUF);
562 bp->b_flags |= (B_INVAL | B_RELBUF);
/freebsd-10.3-release/sys/ufs/ufs/
H A Dufs_bmap.c221 bp->b_flags &= ~B_INVAL;
/freebsd-10.3-release/sys/sys/
H A Dbuf.h165 * the caller is expected to clear BIO_ERROR and B_INVAL,
206 #define B_INVAL 0x00002000 /* Does not contain valid info. */ macro
/freebsd-10.3-release/sys/fs/smbfs/
H A Dsmbfs_io.c379 bp->b_flags &= ~(B_INVAL|B_NOCACHE);
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vnops.c4510 pvn_write_done(pp, B_INVAL|B_FORCE|B_ERROR);
4700 if ((flags & B_INVAL) || ((flags & B_ASYNC) == 0)) {
4702 (flags & (B_INVAL | B_FREE)) ? SE_EXCL : SE_SHARED);

Completed in 400 milliseconds

12