| /openbsd-src/sys/kern/ |
| H A D | vfs_bio.c | 114 if (ISSET(bp->b_flags, B_DELWRI)) in buf_put() 369 KASSERT(ISSET(bp->b_flags, B_BC)); 370 KASSERT(ISSET(bp->b_flags, B_DMA)); 378 KASSERT(!ISSET(bp->b_flags, B_DMA)); in buf_flip_high() 395 KASSERT(ISSET(bp->b_flags, B_BC)); 396 KASSERT(ISSET(bp->b_flags, B_BUSY)); 401 if (!ISSET(bp->b_flags, B_DMA)) { in buf_flip_dma() 405 KASSERT(ISSET(bp->b_flags, B_DMA)); in buf_flip_dma() 410 CLR(bp->b_flags, B_COLD); in buf_flip_dma() 411 CLR(bp->b_flags, B_WAR in buf_flip_dma() [all...] |
| H A D | vfs_biomem.c | 60 KASSERT((bp->b_flags & B_BUSY) == 0); in buf_acquire() 65 SET(bp->b_flags, B_BUSY); in buf_acquire() 76 SET(bp->b_flags, B_BUSY); in buf_acquire_nomap() 143 KASSERT(bp->b_flags & B_BUSY); in buf_release() 155 CLR(bp->b_flags, B_BUSY); in buf_release() 180 if (bp->b_flags & B_BUSY) in buf_dealloc_mem() 193 if (!(bp->b_flags & B_BUSY)) { /* XXX - need better test */ 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() 234 KASSERT((bp->b_flags in buf_unmap() [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-src/sys/nfs/ |
| H A D | nfs_bio.c | 153 if ((rabp->b_flags & (B_DELWRI | B_DONE)) == 0) { in nfs_bioread() 154 rabp->b_flags |= (B_READ | B_ASYNC); in nfs_bioread() 156 rabp->b_flags |= B_INVAL; in nfs_bioread() 170 if ((bp->b_flags & (B_DONE | B_DELWRI)) == 0) { in nfs_bioread() 171 bp->b_flags |= B_READ; in nfs_bioread() 185 bp->b_flags |= B_INVAFTERWRITE; in nfs_bioread() 187 if ((bp->b_flags & B_DELWRI) == 0) in nfs_bioread() 205 if ((bp->b_flags & B_DONE) == 0) { in nfs_bioread() 206 bp->b_flags |= B_READ; in nfs_bioread() 353 bp->b_flags | in nfs_write() [all...] |
| /openbsd-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/sbin/fsck_ext2fs/ |
| H A D | fsck.h | 57 int b_flags; member 83 (bp)->b_flags = 0;
|
| /openbsd-src/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-src/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()
|