Searched refs:B_ASYNC (Results 1 – 6 of 6) sorted by relevance
/openbsd/sys/kern/ |
H A D | vfs_bio.c | 495 (void) bio_doread(vp, rablks[i], rasizes[i], B_ASYNC); in breadn() 564 if (ISSET(bp->b_flags, B_ASYNC)) { in bread_cluster_callback() 645 SET(xbpp[i]->b_flags, B_DMA | B_READ | B_ASYNC); in bread_cluster() 657 SET(bp->b_flags, B_READ | B_ASYNC | B_CALL); in bread_cluster() 694 async = ISSET(bp->b_flags, B_ASYNC); in bwrite() 815 SET(bp->b_flags, B_ASYNC); in bawrite() 919 CLR(bp->b_flags, (B_AGE | B_ASYNC | B_NOCACHE | B_DEFERRED)); in brelse() 1243 KASSERT(!(bp->b_flags & B_ASYNC)); in biowait() 1307 if (ISSET(bp->b_flags, B_ASYNC)) {/* if async, release it */ in biodone()
|
/openbsd/sys/nfs/ |
H A D | nfs_bio.c | 154 rabp->b_flags |= (B_READ | B_ASYNC); in nfs_bioread() 398 bp->b_flags |= B_ASYNC; in nfs_write() 634 if ((bp->b_flags & (B_ASYNC | B_NEEDCOMMIT | B_NOCACHE)) == B_ASYNC) in nfs_doio() 670 if (!(bp->b_flags & B_ASYNC) && error) in nfs_doio()
|
H A D | nfs_vnops.c | 3009 if ((bp->b_flags & (B_PHYS|B_ASYNC)) == (B_PHYS|B_ASYNC)) in nfs_strategy() 3011 if (bp->b_flags & B_ASYNC) in nfs_strategy() 3020 if ((bp->b_flags & B_ASYNC) == 0 || nfs_asyncio(bp, 0)) in nfs_strategy() 3129 bp->b_flags |= B_ASYNC; in nfs_flush() 3167 bp->b_flags |= B_ASYNC; in nfs_flush() 3169 bp->b_flags |= (B_ASYNC|B_WRITEINPROG|B_NEEDCOMMIT); in nfs_flush() 3343 if ((oldflags & B_ASYNC) && !(oldflags & B_DELWRI) && p) in nfs_writebp() 3416 if( (oldflags & B_ASYNC) == 0) { in nfs_writebp()
|
H A D | nfs_syscalls.c | 659 nbp->b_flags |= B_ASYNC; in nfssvc_iod()
|
/openbsd/sys/sys/ |
H A D | buf.h | 177 #define B_ASYNC 0x00000004 /* Start I/O, do not wait. */ macro
|
/openbsd/sys/uvm/ |
H A D | uvm_swap.c | 1649 ((flags & PGO_SYNCIO) ? 0 : B_ASYNC)); in uvm_swap_put() 1706 async = (flags & B_ASYNC) != 0; 1849 flags &= ~B_ASYNC; 1857 bp->b_flags = B_BUSY | B_NOCACHE | B_RAW | (flags & (B_READ|B_ASYNC));
|