| /freebsd-12-stable/sys/kern/ |
| D | vfs_cluster.c | 137 if (bp->b_flags & B_CACHE) { in cluster_read() 140 } else if ((bp->b_flags & B_RAM) == 0) { in cluster_read() 143 bp->b_flags &= ~B_RAM; in cluster_read() 151 if (rbp == NULL || (rbp->b_flags & B_INVAL)) in cluster_read() 163 rbp->b_flags |= B_RAM; in cluster_read() 231 bp->b_flags |= B_RAM; in cluster_read() 241 if ((bp->b_flags & B_CLUSTER) == 0) { in cluster_read() 244 bp->b_flags &= ~B_INVAL; in cluster_read() 246 if ((bp->b_flags & B_ASYNC) || bp->b_iodone != NULL) in cluster_read() 281 if (rbp->b_flags & B_DELWRI) { in cluster_read() [all …]
|
| D | vfs_bio.c | 665 KASSERT((bp->b_flags & B_MALLOC) == 0, in bufspace_adjust() 865 KASSERT((bp->b_flags & B_MALLOC) != 0, in bufmallocadjust() 959 if (bp->b_flags & B_CACHE) { in vfs_buf_test_cache() 962 bp->b_flags &= ~B_CACHE; in vfs_buf_test_cache() 1174 bp->b_flags = B_INVAL; in bufinit() 1327 if (((bp->b_flags & B_INVAL) == 0 && BUF_ISLOCKED(bp)) || in isbufbusy() 1328 ((bp->b_flags & (B_DELWRI | B_INVAL)) == B_DELWRI)) in isbufbusy() 1417 nbusy, bp, bp->b_vp, bp->b_flags, in bufshutdown() 1536 if (bp->b_flags & B_REMFREE) { in binsfree() 1538 bp->b_flags |= B_REUSE; in binsfree() [all …]
|
| D | vfs_subr.c | 1870 if (((bp->b_flags & (B_DELWRI | B_INVAL)) == B_DELWRI) && in flushbuflist() 1873 bp->b_flags |= B_ASYNC; in flushbuflist() 1879 bp->b_flags |= (B_INVAL | B_RELBUF); in flushbuflist() 1880 bp->b_flags &= ~B_ASYNC; in flushbuflist() 1920 if ((bp->b_flags & B_MANAGED) == 0) in bnoreuselist() 1922 bp->b_flags |= B_RELBUF; in bnoreuselist() 1929 if ((bp->b_flags & B_VMIO) != 0) in bnoreuselist() 1930 bp->b_flags |= B_NOREUSE; in bnoreuselist() 1980 VNASSERT((bp->b_flags & B_DELWRI), vp, in vtruncbuf() 2047 bp->b_flags |= B_INVAL | B_RELBUF; in v_inval_buf_range_locked() [all …]
|
| /freebsd-12-stable/cddl/usr.sbin/dwatch/libexec/ |
| D | io | 29 this int b_flags; 57 this->b_flags = (int)this->bufinfo.b_flags; 58 this->bio_flags = bio_flag_string[this->b_flags & BIO_ERROR]; 64 append_bio_flag[this->b_flags, BIO_DONE]; 65 append_bio_flag[this->b_flags, BIO_ONQUEUE]; 66 append_bio_flag[this->b_flags, BIO_ORDERED]; 67 append_bio_flag[this->b_flags, BIO_UNMAPPED]; 68 append_bio_flag[this->b_flags, BIO_TRANSIENT_MAPPING]; 69 append_bio_flag[this->b_flags, BIO_VLIST];
|
| /freebsd-12-stable/sys/fs/nfsclient/ |
| D | nfs_clbio.c | 503 if ((rabp->b_flags & (B_CACHE|B_DELWRI)) == 0) { in ncl_bioread() 504 rabp->b_flags |= B_ASYNC; in ncl_bioread() 508 rabp->b_flags |= B_INVAL; in ncl_bioread() 542 if ((bp->b_flags & B_CACHE) == 0) { in ncl_bioread() 573 if ((bp->b_flags & B_CACHE) == 0) { in ncl_bioread() 605 if ((bp->b_flags & B_CACHE) == 0) { in ncl_bioread() 642 if ((bp->b_flags & B_CACHE) == 0) { in ncl_bioread() 650 if (error == 0 && (bp->b_flags & B_INVAL)) in ncl_bioread() 679 (bp->b_flags & B_INVAL) == 0 && in ncl_bioread() 686 if ((rabp->b_flags & (B_CACHE|B_DELWRI)) == 0) { in ncl_bioread() [all …]
|
| D | nfs_clsubs.c | 365 (bp->b_flags & (B_DELWRI | B_NEEDCOMMIT)) in ncl_clearcommit() 367 bp->b_flags &= ~(B_NEEDCOMMIT | B_CLUSTEROK); in ncl_clearcommit()
|
| D | nfs_clvnops.c | 2773 KASSERT(!(bp->b_flags & B_DONE), in nfs_strategy() 2790 if ((bp->b_flags & B_ASYNC) == 0 || in nfs_strategy() 2874 (bp->b_flags & (B_DELWRI | B_NEEDCOMMIT)) in ncl_flush() 2910 if ((bp->b_flags & (B_DELWRI | B_NEEDCOMMIT)) != in ncl_flush() 2996 bp->b_flags &= ~(B_NEEDCOMMIT | B_CLUSTEROK); in ncl_flush() 3012 bp->b_flags |= B_ASYNC; in ncl_flush() 3014 bp->b_flags &= ~B_DONE; in ncl_flush() 3061 if ((bp->b_flags & B_DELWRI) == 0) in ncl_flush() 3063 if ((passone || !commit) && (bp->b_flags & B_NEEDCOMMIT)) { in ncl_flush() 3070 bp->b_flags |= B_ASYNC; in ncl_flush() [all …]
|
| /freebsd-12-stable/sys/fs/fuse/ |
| D | fuse_io.c | 156 if ((bp->b_flags & B_CACHE) != 0 && bp->b_dirtyend >= left_on) { in fuse_inval_buf_range() 175 if ((bp->b_flags & B_CACHE) != 0 && bp->b_dirtyoff < right_on) { in fuse_inval_buf_range() 751 uint32_t save = bp->b_flags & B_CACHE; in fuse_write_biobackend() 753 bp->b_flags |= save; in fuse_write_biobackend() 799 bp->b_flags |= B_CACHE; in fuse_write_biobackend() 800 bp->b_flags &= ~B_INVAL; in fuse_write_biobackend() 803 if ((bp->b_flags & B_CACHE) == 0) { in fuse_write_biobackend() 906 bp->b_flags |= B_FUSEFS_WRITE_CACHE; in fuse_write_biobackend() 910 bp->b_flags &= ~B_FUSEFS_WRITE_CACHE; in fuse_write_biobackend() 915 bp->b_flags |= B_CLUSTEROK; in fuse_write_biobackend() [all …]
|
| /freebsd-12-stable/tools/debugscripts/ |
| D | gdbinit.kernel | 33 printf " flags 0x%x: ", $bp->b_flags 34 if $bp->b_flags & 0x10 37 if $bp->b_flags & 0x40 40 if $bp->b_flags & 0x200 43 if $bp->b_flags & 0x800 46 if $bp->b_flags & 0x40000 49 if $bp->b_flags & 0x100000 66 output $bp->b_flags 152 printf "\n b_flags " 153 output/x bp->b_flags
|
| /freebsd-12-stable/sys/vm/ |
| D | vm_pager.c | 369 bp->b_flags = 0; in initpbuf() 499 bp->b_flags |= B_PAGING; in pbgetvp() 517 bp->b_flags |= B_PAGING; in pbgetbo() 535 bp->b_flags &= ~B_PAGING; in pbrelvp() 551 bp->b_flags &= ~B_PAGING; in pbrelbo()
|
| /freebsd-12-stable/sys/fs/smbfs/ |
| D | smbfs_io.c | 379 || (!error && (bp->b_flags & B_NEEDCOMMIT))) { in smbfs_doio() 380 bp->b_flags &= ~(B_INVAL|B_NOCACHE); in smbfs_doio() 381 if ((bp->b_flags & B_ASYNC) == 0) in smbfs_doio() 382 bp->b_flags |= B_EINTR; in smbfs_doio() 383 if ((bp->b_flags & B_PAGING) == 0) { in smbfs_doio() 385 bp->b_flags &= ~B_DONE; in smbfs_doio() 387 if ((bp->b_flags & B_ASYNC) == 0) in smbfs_doio() 388 bp->b_flags |= B_EINTR; in smbfs_doio()
|
| /freebsd-12-stable/sys/ufs/ffs/ |
| D | ffs_balloc.c | 285 bp->b_flags |= B_CLUSTEROK; in ffs_balloc_ufs1() 364 nbp->b_flags |= B_CLUSTEROK; in ffs_balloc_ufs1() 383 bp->b_flags |= B_CLUSTEROK; in ffs_balloc_ufs1() 453 bp->b_flags |= B_CLUSTEROK; in ffs_balloc_ufs1() 520 bp->b_flags |= B_INVAL | B_RELBUF | B_NOCACHE; in ffs_balloc_ufs1() 521 bp->b_flags &= ~(B_ASYNC | B_CACHE); in ffs_balloc_ufs1() 543 bp->b_flags |= B_CLUSTEROK; in ffs_balloc_ufs1() 892 bp->b_flags |= B_CLUSTEROK; in ffs_balloc_ufs2() 972 nbp->b_flags |= B_CLUSTEROK; in ffs_balloc_ufs2() 991 bp->b_flags |= B_CLUSTEROK; in ffs_balloc_ufs2() [all …]
|
| D | ffs_vfsops.c | 1104 bp->b_flags |= B_INVAL | B_NOCACHE; in ffs_use_bread() 1954 bp->b_flags |= B_VALIDSUSPWRT; in ffs_use_bwrite() 1986 bp->b_flags |= B_VALIDSUSPWRT; in ffs_use_bwrite() 2060 bp->b_flags |= B_NOCACHE; in ffs_backgroundwritedone() 2061 bp->b_flags &= ~B_CACHE; in ffs_backgroundwritedone() 2071 bp->b_flags |= B_INVAL; in ffs_backgroundwritedone() 2108 CTR3(KTR_BUF, "bufwrite(%p) vp %p flags %X", bp, bp->b_vp, bp->b_flags); in ffs_bufwrite() 2109 if (bp->b_flags & B_INVAL) { in ffs_bufwrite() 2123 if (bp->b_flags & B_ASYNC) { in ffs_bufwrite() 2146 (bp->b_flags & B_ASYNC) && in ffs_bufwrite() [all …]
|
| D | ffs_vnops.c | 296 if ((bp->b_flags & B_DELWRI) == 0) in ffs_syncvnode() 310 if ((bp->b_flags & B_DEFERRED) == 0) { in ffs_syncvnode() 311 bp->b_flags |= B_DEFERRED; in ffs_syncvnode() 320 } else if ((bp->b_flags & B_CLUSTEROK)) { in ffs_syncvnode() 785 bp->b_flags |= B_NOCACHE; 821 if (error != 0 && (bp->b_flags & B_CACHE) == 0 && 839 bp->b_flags |= B_CLUSTEROK; 843 bp->b_flags |= B_CLUSTEROK; 850 bp->b_flags |= B_CLUSTEROK; 853 bp->b_flags |= B_CLUSTEROK; [all …]
|
| D | ffs_inode.c | 186 bp->b_flags |= B_CLUSTEROK; 346 bp->b_flags |= B_CLUSTEROK; 467 bp->b_flags |= B_CLUSTEROK; 697 if ((bp->b_flags & B_CACHE) == 0) { 707 bp->b_flags &= ~B_INVAL; 786 bp->b_flags |= B_INVAL | B_NOCACHE;
|
| /freebsd-12-stable/sys/fs/nandfs/ |
| D | nandfs.h | 308 #define NANDFS_GATHER(x) ((x)->b_flags |= B_FS_FLAG1) 309 #define NANDFS_UNGATHER(x) ((x)->b_flags &= ~B_FS_FLAG1) 310 #define NANDFS_ISGATHERED(x) ((x)->b_flags & B_FS_FLAG1)
|
| D | nandfs_segment.c | 171 bp->b_flags |= B_MANAGED; in create_segment() 203 bp->b_flags &= ~B_MANAGED; in delete_segment() 254 bp->b_flags |= B_MANAGED; in nandfs_create_superroot_block() 312 bp->b_flags |= B_MANAGED; in nandfs_add_superroot() 315 bp->b_flags &= ~B_INVAL; in nandfs_add_superroot() 349 bp->b_flags |= B_MANAGED; in nandfs_add_segsum_block() 724 bp->b_flags &= ~(B_ASYNC|B_INVAL|B_MANAGED); in nandfs_save_buf() 742 bp->b_flags &= ~(B_ASYNC|B_INVAL|B_MANAGED); in nandfs_clean_buf() 938 bp->b_flags |= (B_INVAL | B_RELBUF); in nandfs_invalidate_bufs() 939 bp->b_flags &= ~(B_ASYNC | B_MANAGED); in nandfs_invalidate_bufs()
|
| D | nandfs_subr.c | 223 ((*bpp)->b_flags & B_CACHE) && node->nn_ino != NANDFS_DAT_INO) { in nandfs_bread() 247 ((*bpp)->b_flags & B_CACHE) && node->nn_ino != NANDFS_DAT_INO) { in nandfs_bread_meta() 931 if ((bp->b_flags & (B_MANAGED | B_DELWRI)) == (B_MANAGED | B_DELWRI)) { in _nandfs_dirty_buf() 946 bp->b_flags |= B_MANAGED; in _nandfs_dirty_buf() 997 if (bp->b_flags & B_DELWRI) { in nandfs_undirty_buf_fsdev() 998 bp->b_flags &= ~(B_DELWRI|B_MANAGED); in nandfs_undirty_buf_fsdev() 1004 bp->b_flags &= ~B_DEFERRED; in nandfs_undirty_buf_fsdev()
|
| /freebsd-12-stable/sys/fs/ext2fs/ |
| D | ext2_inode.c | 155 if ((bp->b_flags & (B_DONE | B_DELWRI)) == 0) { in ext2_indirtrunc() 176 bp->b_flags |= B_INVAL; in ext2_indirtrunc() 272 bp->b_flags |= B_CLUSTEROK; in ext2_ind_truncate() 304 bp->b_flags |= B_CLUSTEROK; in ext2_ind_truncate() 492 bp->b_flags |= B_CLUSTEROK; in ext2_ext_truncate() 523 bp->b_flags |= B_CLUSTEROK; in ext2_ext_truncate()
|
| D | ext2_balloc.c | 267 bp->b_flags |= B_CLUSTEROK; in ext2_balloc() 299 bp->b_flags |= B_CLUSTEROK; in ext2_balloc()
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | arc.c | 1185 arc_flags_t b_flags; member 1349 #define HDR_IN_HASH_TABLE(hdr) ((hdr)->b_flags & ARC_FLAG_IN_HASH_TABLE) 1350 #define HDR_IO_IN_PROGRESS(hdr) ((hdr)->b_flags & ARC_FLAG_IO_IN_PROGRESS) 1351 #define HDR_IO_ERROR(hdr) ((hdr)->b_flags & ARC_FLAG_IO_ERROR) 1352 #define HDR_PREFETCH(hdr) ((hdr)->b_flags & ARC_FLAG_PREFETCH) 1354 ((hdr)->b_flags & ARC_FLAG_PRESCIENT_PREFETCH) 1356 ((hdr)->b_flags & ARC_FLAG_COMPRESSED_ARC) 1358 #define HDR_L2CACHE(hdr) ((hdr)->b_flags & ARC_FLAG_L2CACHE) 1360 (((hdr)->b_flags & ARC_FLAG_IO_IN_PROGRESS) && \ 1361 ((hdr)->b_flags & ARC_FLAG_HAS_L2HDR)) [all …]
|
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libzpool/common/ |
| D | kernel.c | 1207 ASSERT((bp->b_flags & B_DONE) == 0); in biodone() 1208 bp->b_flags |= B_DONE; in biodone() 1218 bp->b_flags |= B_ERROR; in bioerror() 1220 bp->b_flags &= ~B_ERROR; in bioerror() 1231 if (bp->b_flags & B_ERROR) { in geterror()
|
| /freebsd-12-stable/cddl/lib/libdtrace/ |
| D | io.d | 56 int b_flags; /* flags */ member 71 b_flags = B->bio_flags;
|
| /freebsd-12-stable/sys/geom/ |
| D | geom_vfs.c | 191 if ((bp->b_flags & B_BARRIER) != 0) { in g_vfs_strategy() 193 bp->b_flags &= ~B_BARRIER; in g_vfs_strategy()
|
| /freebsd-12-stable/sbin/fsck_ffs/ |
| D | inode.c | 210 bp->b_flags &= ~B_INUSE; in iblock() 230 bp->b_flags &= ~B_INUSE; in iblock() 237 bp->b_flags &= ~B_INUSE; in iblock() 301 pbp->b_flags &= ~B_INUSE; in ginode()
|