Home
last modified time | relevance | path

Searched refs:b_flags (Results 1 – 25 of 86) sorted by relevance

1234

/openbsd/sys/kern/
H A Dvfs_bio.c410 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 Dvfs_biomem.c65 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 Dkern_physio.c86 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 Dnfs_bio.c171 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 Ddisksubr.c85 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 Ddisksubr.c85 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 Ddisksubr.c85 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 Ddisksubr.c86 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 Ddisksubr.c84 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 Ddisksubr.c86 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 Ddisksubr.c86 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 Ddisksubr.c93 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 Ddisksubr.c116 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 Ddkcsum.c116 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 Ddisksubr.c116 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 Ddkcsum.c116 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 Dudf_subr.c115 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 Ddisksubr.c93 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 Ddisksubr.c87 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 Dffs_vnops.c374 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 Ddisksubr.c154 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 Dvm_machdep.c137 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 Dfsck.h57 int b_flags; member
83 (bp)->b_flags = 0;
/openbsd/sys/arch/octeon/dev/
H A Damdcf.c465 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 Ddisksubr.c131 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()

1234