Searched refs:b_flags (Results 1 - 25 of 53) sorted by relevance

123

/freebsd-11-stable/sys/kern/
H A Dvfs_cluster.c132 if (bp->b_flags & B_CACHE) {
135 } else if ((bp->b_flags & B_RAM) == 0) {
138 bp->b_flags &= ~B_RAM;
146 if (rbp == NULL || (rbp->b_flags & B_INVAL))
158 rbp->b_flags |= B_RAM;
226 bp->b_flags |= B_RAM;
236 if ((bp->b_flags & B_CLUSTER) == 0) {
239 bp->b_flags &= ~B_INVAL;
241 if ((bp->b_flags & B_ASYNC) || bp->b_iodone != NULL)
276 if (rbp->b_flags
[all...]
H A Dvfs_bio.c544 KASSERT((bp->b_flags & B_MALLOC) == 0,
748 KASSERT((bp->b_flags & B_MALLOC) != 0,
842 if (bp->b_flags & B_CACHE) {
845 bp->b_flags &= ~B_CACHE;
1065 bp->b_flags = B_INVAL;
1196 if (((bp->b_flags & B_INVAL) == 0 && BUF_ISLOCKED(bp)) ||
1197 ((bp->b_flags & (B_DELWRI | B_INVAL)) == B_DELWRI))
1291 nbusy, bp, bp->b_vp, bp->b_flags,
1366 if (bp->b_flags & B_REMFREE) {
1381 if (bp->b_flags
[all...]
H A Dvfs_subr.c1811 if (((bp->b_flags & (B_DELWRI | B_INVAL)) == B_DELWRI) &&
1814 bp->b_flags |= B_ASYNC;
1820 bp->b_flags |= (B_INVAL | B_RELBUF);
1821 bp->b_flags &= ~B_ASYNC;
1861 if ((bp->b_flags & B_MANAGED) == 0)
1863 bp->b_flags |= B_RELBUF;
1870 if ((bp->b_flags & B_VMIO) != 0)
1871 bp->b_flags |= B_NOREUSE;
1915 bp->b_flags |= (B_INVAL | B_RELBUF);
1916 bp->b_flags
[all...]
/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_io.c232 if ((bp->b_flags & B_CACHE) == 0) {
442 save = bp->b_flags & B_CACHE;
445 bp->b_flags |= save;
496 bp->b_flags |= B_CACHE;
497 bp->b_flags &= ~B_INVAL;
500 if ((bp->b_flags & B_CACHE) == 0) {
570 bp->b_flags &= ~(B_NEEDCOMMIT | B_CLUSTEROK);
643 bp->b_flags &= ~B_INVAL;
646 KASSERT(!(bp->b_flags & B_DONE),
691 if (bp->b_flags
[all...]
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clbio.c498 if ((rabp->b_flags & (B_CACHE|B_DELWRI)) == 0) {
499 rabp->b_flags |= B_ASYNC;
503 rabp->b_flags |= B_INVAL;
535 if ((bp->b_flags & B_CACHE) == 0) {
564 if ((bp->b_flags & B_CACHE) == 0) {
590 if ((bp->b_flags & B_CACHE) == 0) {
620 if ((bp->b_flags & B_CACHE) == 0) {
628 if (error == 0 && (bp->b_flags & B_INVAL))
656 (bp->b_flags & B_INVAL) == 0 &&
662 if ((rabp->b_flags
[all...]
H A Dnfs_clsubs.c357 (bp->b_flags & (B_DELWRI | B_NEEDCOMMIT))
359 bp->b_flags &= ~(B_NEEDCOMMIT | B_CLUSTEROK);
/freebsd-11-stable/sys/vm/
H A Dvm_pager.c365 bp->b_flags = 0;
493 bp->b_flags |= B_PAGING;
511 bp->b_flags |= B_PAGING;
529 bp->b_flags &= ~B_PAGING;
545 bp->b_flags &= ~B_PAGING;
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_io.c375 || (!error && (bp->b_flags & B_NEEDCOMMIT))) {
379 bp->b_flags &= ~(B_INVAL|B_NOCACHE);
380 if ((bp->b_flags & B_ASYNC) == 0)
381 bp->b_flags |= B_EINTR;
382 if ((bp->b_flags & B_PAGING) == 0) {
384 bp->b_flags &= ~B_DONE;
386 if ((bp->b_flags & B_ASYNC) == 0)
387 bp->b_flags |= B_EINTR;
/freebsd-11-stable/sys/fs/nandfs/
H A Dnandfs.h306 #define NANDFS_GATHER(x) ((x)->b_flags |= B_FS_FLAG1)
307 #define NANDFS_UNGATHER(x) ((x)->b_flags &= ~B_FS_FLAG1)
308 #define NANDFS_ISGATHERED(x) ((x)->b_flags & B_FS_FLAG1)
H A Dnandfs_segment.c168 bp->b_flags |= B_MANAGED;
200 bp->b_flags &= ~B_MANAGED;
251 bp->b_flags |= B_MANAGED;
309 bp->b_flags |= B_MANAGED;
312 bp->b_flags &= ~B_INVAL;
346 bp->b_flags |= B_MANAGED;
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);
936 bp->b_flags
[all...]
H A Dnandfs_subr.c220 ((*bpp)->b_flags & B_CACHE) && node->nn_ino != NANDFS_DAT_INO) {
244 ((*bpp)->b_flags & B_CACHE) && node->nn_ino != NANDFS_DAT_INO) {
928 if ((bp->b_flags & (B_MANAGED | B_DELWRI)) == (B_MANAGED | B_DELWRI)) {
943 bp->b_flags |= B_MANAGED;
994 if (bp->b_flags & B_DELWRI) {
995 bp->b_flags &= ~(B_DELWRI|B_MANAGED);
1001 bp->b_flags &= ~B_DEFERRED;
/freebsd-11-stable/sys/geom/
H A Dgeom_vfs.c189 if ((bp->b_flags & B_BARRIER) != 0) {
191 bp->b_flags &= ~B_BARRIER;
/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_balloc.c211 bp->b_flags |= B_CLUSTEROK;
241 bp->b_flags |= B_CLUSTEROK;
H A Dext2_inode.c179 bp->b_flags |= B_CLUSTEROK;
211 bp->b_flags |= B_CLUSTEROK;
411 if ((bp->b_flags & (B_DONE | B_DELWRI)) == 0) {
432 bp->b_flags |= B_INVAL;
H A Dext2_bmap.c236 if ((bp->b_flags & B_CACHE) == 0) {
243 bp->b_flags &= ~B_INVAL;
/freebsd-11-stable/sys/ufs/ffs/
H A Dffs_balloc.c364 bp->b_flags |= B_CLUSTEROK;
430 bp->b_flags |= B_CLUSTEROK;
497 bp->b_flags |= B_INVAL | B_RELBUF | B_NOCACHE;
498 bp->b_flags &= ~(B_ASYNC | B_CACHE);
520 bp->b_flags |= B_CLUSTEROK;
954 bp->b_flags |= B_CLUSTEROK;
1020 bp->b_flags |= B_CLUSTEROK;
1093 bp->b_flags |= B_INVAL | B_RELBUF | B_NOCACHE;
1094 bp->b_flags &= ~(B_ASYNC | B_CACHE);
1116 bp->b_flags |
[all...]
H A Dffs_vfsops.c938 bp->b_flags |= B_INVAL | B_NOCACHE;
1960 bp->b_flags |= B_VALIDSUSPWRT;
1995 bp->b_flags |= B_VALIDSUSPWRT;
2069 bp->b_flags |= B_NOCACHE;
2070 bp->b_flags &= ~B_CACHE;
2080 bp->b_flags |= B_INVAL;
2116 CTR3(KTR_BUF, "bufwrite(%p) vp %p flags %X", bp, bp->b_vp, bp->b_flags);
2117 if (bp->b_flags & B_INVAL) {
2131 if (bp->b_flags & B_ASYNC) {
2154 (bp->b_flags
[all...]
H A Dffs_vnops.c288 if ((bp->b_flags & B_DELWRI) == 0)
302 if ((bp->b_flags & B_DEFERRED) == 0) {
303 bp->b_flags |= B_DEFERRED;
312 } else if ((bp->b_flags & B_CLUSTEROK)) {
758 bp->b_flags |= B_NOCACHE;
794 if (error != 0 && (bp->b_flags & B_CACHE) == 0 &&
812 bp->b_flags |= B_CLUSTEROK;
816 bp->b_flags |= B_CLUSTEROK;
823 bp->b_flags |= B_CLUSTEROK;
826 bp->b_flags |
[all...]
H A Dffs_inode.c184 bp->b_flags |= B_CLUSTEROK;
343 bp->b_flags |= B_CLUSTEROK;
464 bp->b_flags |= B_CLUSTEROK;
688 if ((bp->b_flags & B_CACHE) == 0) {
698 bp->b_flags &= ~B_INVAL;
775 bp->b_flags |= B_INVAL | B_NOCACHE;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Darc.c1108 arc_flags_t b_flags; member in struct:arc_buf_hdr
1261 #define HDR_IN_HASH_TABLE(hdr) ((hdr)->b_flags & ARC_FLAG_IN_HASH_TABLE)
1262 #define HDR_IO_IN_PROGRESS(hdr) ((hdr)->b_flags & ARC_FLAG_IO_IN_PROGRESS)
1263 #define HDR_IO_ERROR(hdr) ((hdr)->b_flags & ARC_FLAG_IO_ERROR)
1264 #define HDR_PREFETCH(hdr) ((hdr)->b_flags & ARC_FLAG_PREFETCH)
1266 ((hdr)->b_flags & ARC_FLAG_PRESCIENT_PREFETCH)
1268 ((hdr)->b_flags & ARC_FLAG_COMPRESSED_ARC)
1270 #define HDR_L2CACHE(hdr) ((hdr)->b_flags & ARC_FLAG_L2CACHE)
1272 (((hdr)->b_flags & ARC_FLAG_IO_IN_PROGRESS) && \
1273 ((hdr)->b_flags
[all...]
/freebsd-11-stable/cddl/lib/libdtrace/
H A Dio.d56 int b_flags; /* flags */
71 b_flags = B->bio_flags;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Darc.h84 * will show up in b_flags in the arc_hdr_buf_t. These flags should
136 arc_buf_flags_t b_flags; member in struct:arc_buf
/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_bmap.c215 if ((bp->b_flags & B_CACHE) == 0) {
222 bp->b_flags &= ~B_INVAL;
/freebsd-11-stable/sbin/fsck_ffs/
H A Dfsck.h141 int b_flags; member in struct:bufarea
214 (bp)->b_flags = 0; \
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c1193 ASSERT((bp->b_flags & B_DONE) == 0);
1194 bp->b_flags |= B_DONE;
1204 bp->b_flags |= B_ERROR;
1206 bp->b_flags &= ~B_ERROR;
1217 if (bp->b_flags & B_ERROR) {

Completed in 392 milliseconds

123