/openbsd/sys/kern/ |
H A D | vfs_bio.c | 410 CLR(bp->b_flags, B_COLD); in buf_flip_dma() 411 CLR(bp->b_flags, B_WARM); in buf_flip_dma() 804 SET(bp->b_flags, B_DONE); in bdwrite() 815 SET(bp->b_flags, B_ASYNC); in bawrite() 879 if (ISSET(bp->b_flags, B_ERROR) && !ISSET(bp->b_flags, B_READ)) { in brelse() 1170 SET(bp->b_flags, B_BC); in buf_get() 1297 (!(ISSET(bp->b_flags, B_RAW) || ISSET(bp->b_flags, B_PHYS)))) { in biodone() 1514 CLR(bp->b_flags, B_WARM); in bufcache_getcleanbuf() 1515 CLR(bp->b_flags, B_COLD); in bufcache_getcleanbuf() 1589 SET(bp->b_flags, B_BUSY); in bufcache_recover_dmapages() [all …]
|
H A D | vfs_biomem.c | 65 SET(bp->b_flags, B_BUSY); in buf_acquire() 76 SET(bp->b_flags, B_BUSY); in buf_acquire_nomap() 155 CLR(bp->b_flags, B_BUSY); in buf_release() 180 if (bp->b_flags & B_BUSY) in buf_dealloc_mem() 197 CLR(bp->b_flags, B_BUSY); in buf_dealloc_mem() 203 SET(bp->b_flags, B_RELEASED); in buf_dealloc_mem() 245 if (bp->b_flags & B_RELEASED) in buf_unmap() 286 SET(bp->b_flags, B_DMA); in buf_alloc_pages() 316 CLR(bp->b_flags, B_DMA); in buf_free_pages() 386 SET(bp->b_flags, B_DMA); in buf_realloc_pages() [all …]
|
H A D | kern_physio.c | 86 bp->b_flags = B_BUSY; in physio() 106 CLR(bp->b_flags, B_DONE | B_ERROR); in physio() 107 bp->b_flags |= (B_BUSY | B_PHYS | B_RAW | flags); in physio() 165 while ((bp->b_flags & B_DONE) == 0) in physio() 169 bp->b_flags |= B_BUSY; in physio() 183 if (bp->b_flags & B_ERROR) in physio()
|
/openbsd/sys/nfs/ |
H A D | nfs_bio.c | 171 bp->b_flags |= B_READ; in nfs_bioread() 206 bp->b_flags |= B_READ; in nfs_bioread() 353 bp->b_flags |= B_ERROR; in nfs_write() 398 bp->b_flags |= B_ASYNC; in nfs_write() 511 bp->b_flags |= B_WRITEINPROG; in nfs_asyncio() 552 if (bp->b_flags & B_PHYS) { in nfs_doio() 568 bp->b_flags |= B_ERROR; in nfs_doio() 621 bp->b_flags |= B_ERROR; in nfs_doio() 643 bp->b_flags |= B_NEEDCOMMIT; in nfs_doio() 671 bp->b_flags |= B_EINTR; in nfs_doio() [all …]
|
/openbsd/sys/arch/powerpc64/powerpc64/ |
H A D | disksubr.c | 85 bp->b_flags |= B_INVAL; in readdisklabel() 120 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 121 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 127 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/arch/arm64/arm64/ |
H A D | disksubr.c | 85 bp->b_flags |= B_INVAL; in readdisklabel() 120 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 121 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 127 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/arch/arm/arm/ |
H A D | disksubr.c | 85 bp->b_flags |= B_INVAL; in readdisklabel() 120 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 121 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 127 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/arch/loongson/loongson/ |
H A D | disksubr.c | 86 bp->b_flags |= B_INVAL; in readdisklabel() 121 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 122 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 128 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/arch/riscv64/riscv64/ |
H A D | disksubr.c | 84 bp->b_flags |= B_INVAL; in readdisklabel() 119 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 120 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 126 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/arch/octeon/octeon/ |
H A D | disksubr.c | 86 bp->b_flags |= B_INVAL; in readdisklabel() 121 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 122 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 128 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/arch/landisk/landisk/ |
H A D | disksubr.c | 86 bp->b_flags |= B_INVAL; in readdisklabel() 121 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 122 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 128 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/arch/alpha/alpha/ |
H A D | disksubr.c | 93 bp->b_flags |= B_INVAL; in readdisklabel() 128 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 129 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 135 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/arch/i386/i386/ |
H A D | disksubr.c | 116 bp->b_flags |= B_INVAL; in readdisklabel() 151 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 152 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 158 bp->b_flags |= B_INVAL; in writedisklabel()
|
H A D | dkcsum.c | 116 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE | B_ERROR); in dkcsumattach() 117 SET(bp->b_flags, B_BUSY | B_READ | B_RAW); in dkcsumattach() 228 bp->b_flags |= B_INVAL; in dkcsumattach()
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | disksubr.c | 116 bp->b_flags |= B_INVAL; in readdisklabel() 151 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 152 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 158 bp->b_flags |= B_INVAL; in writedisklabel()
|
H A D | dkcsum.c | 116 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE | B_ERROR); in dkcsumattach() 117 SET(bp->b_flags, B_BUSY | B_READ | B_RAW); in dkcsumattach() 228 bp->b_flags |= B_INVAL; in dkcsumattach()
|
/openbsd/sys/isofs/udf/ |
H A D | udf_subr.c | 115 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in udf_disklabelspoof() 116 SET(bp->b_flags, B_BUSY | B_READ | B_RAW); in udf_disklabelspoof() 136 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in udf_disklabelspoof() 137 SET(bp->b_flags, B_BUSY | B_READ | B_RAW); in udf_disklabelspoof() 182 bp->b_flags |= B_INVAL; in udf_disklabelspoof()
|
/openbsd/sys/arch/macppc/macppc/ |
H A D | disksubr.c | 93 bp->b_flags |= B_INVAL; in readdisklabel() 213 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 214 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 220 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/arch/hppa/hppa/ |
H A D | disksubr.c | 87 bp->b_flags |= B_INVAL; in readdisklabel() 253 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 254 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 260 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/ufs/ffs/ |
H A D | ffs_vnops.c | 374 bp->b_flags |= B_NOCACHE; in ffs_write() 433 bp->b_flags &= ~B_SCANNED; in ffs_fsync() 444 if (bp->b_flags & (B_BUSY | B_SCANNED)) in ffs_fsync() 446 if ((bp->b_flags & B_DELWRI) == 0) in ffs_fsync() 453 bp->b_flags |= B_SCANNED; in ffs_fsync()
|
/openbsd/sys/arch/luna88k/luna88k/ |
H A D | disksubr.c | 154 bp->b_flags |= B_INVAL; in readdisklabel() 181 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 182 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 188 bp->b_flags |= B_INVAL; in writedisklabel()
|
/openbsd/sys/arch/m88k/m88k/ |
H A D | vm_machdep.c | 137 if ((bp->b_flags & B_PHYS) == 0) in vmapbuf() 175 if ((bp->b_flags & B_PHYS) == 0) in vunmapbuf()
|
/openbsd/sbin/fsck_ext2fs/ |
H A D | fsck.h | 57 int b_flags; member 83 (bp)->b_flags = 0;
|
/openbsd/sys/arch/octeon/dev/ |
H A D | amdcf.c | 465 bp->b_flags |= B_ERROR; in amdcfstrategy() 616 bp->b_flags |= B_ERROR; in _amdcfstart() 624 if (bp->b_flags & B_READ) in _amdcfstart() 643 bp->b_flags |= B_ERROR; in amdcfdone() 646 bp->b_blkno, (bp->b_flags & B_READ)); in amdcfdone() 658 bp->b_flags |= B_ERROR; in amdcf_disk_read() 694 bp->b_flags |= B_ERROR; in amdcf_disk_write()
|
/openbsd/sys/arch/sparc64/sparc64/ |
H A D | disksubr.c | 131 bp->b_flags |= B_INVAL; in readdisklabel() 158 CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); in writedisklabel() 159 SET(bp->b_flags, B_BUSY | B_WRITE | B_RAW); in writedisklabel() 165 bp->b_flags |= B_INVAL; in writedisklabel()
|