Home
last modified time | relevance | path

Searched refs:B_ASYNC (Results 1 – 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_extvnops.c90 if (flags & B_ASYNC) { in ufs_rdwr_data()
183 if ((flags & B_ASYNC) == 0) { in ufs_rdwr_data()
198 if (flags & B_ASYNC) { in ufs_rdwr_data()
207 if (io_started && flags & B_ASYNC) { in ufs_rdwr_data()
267 if ((fdbp != NULL) && (flags & B_ASYNC)) { in ufs_alloc_data()
281 if ((fdbp != NULL) && (flags & B_ASYNC)) { in ufs_alloc_data()
370 if ((flags & B_ASYNC) == 0) { in ufs_alloc_data()
442 if ((flags & B_ASYNC) == 0) { in ufs_alloc_data()
507 if ((fdbp != NULL) && (flags & B_ASYNC)) { in ufs_alloc_data()
521 if (io_started && (flags & B_ASYNC)) { in ufs_alloc_data()
H A Dufs_vnops.c293 B_ASYNC | B_FREE, cr); in ufs_close()
2480 (B_DONTNEED | B_FREE | B_FORCE | B_ASYNC), in ufs_readlink()
4950 bp = pageio_setup(pp, io_len, ip->i_devvp, B_READ | B_ASYNC); in ufs_getpage_ra()
5005 if (flags & B_ASYNC) { in ufs_putpage()
5007 (flags & ~(B_ASYNC|B_DONTNEED|B_FREE)) == 0) { in ufs_putpage()
5123 if (flags & B_ASYNC) { in ufs_putpages()
5162 if ((flags & B_INVAL) || ((flags & B_ASYNC) == 0)) { in ufs_putpages()
5308 if (flags & B_ASYNC) { in ufs_putapage()
5423 if (bp->b_flags & B_ASYNC) { in ufs_putapage()
5969 if ((flags & B_ASYNC) == 0) { in ufs_pageio()
[all …]
/illumos-gate/usr/src/uts/common/fs/swapfs/
H A Dswap_vnops.c230 flags = (pl == NULL ? B_ASYNC|B_READ : B_READ); in swap_getapage()
536 if (flags == (B_ASYNC | B_FREE) && in swap_putpage()
551 arg->a_flags = B_ASYNC | B_FREE; in swap_putpage()
563 (flags & (B_ASYNC | B_FREE)) == B_FREE)) in swap_putpage()
626 if (flags == (B_ASYNC | B_FREE) && in swap_putapage()
636 arg->a_flags = B_ASYNC | B_FREE; in swap_putapage()
655 err = (flags == (B_ASYNC | B_FREE) ? ENOMEM : 0); in swap_putapage()
669 if (flags == (B_ASYNC | B_FREE)) in swap_putapage()
733 if ((flags & B_ASYNC) == 0) in swap_putapage()
H A Dswap_subr.c257 (B_ASYNC | B_FREE), kcred, NULL); in swap_sync()
/illumos-gate/usr/src/uts/common/fs/
H A Dfdbuffer.c364 ASSERT(((b_flags & B_ASYNC) && in fdb_iosetup()
366 (!(b_flags & B_ASYNC) && in fdb_iosetup()
370 fdb->fd_state |= b_flags & B_ASYNC ? FDB_ASYNC : FDB_SYNC; in fdb_iosetup()
411 (b_flags & B_ASYNC) ? fdb_iodone : NULL, in fdb_iosetup()
416 if (b_flags & B_ASYNC) in fdb_iosetup()
417 bp->b_flags |= B_ASYNC; in fdb_iosetup()
H A Dfsflush.c304 (void) VOP_PUTPAGE(vp, offset, PAGESIZE, B_ASYNC, in fsflush_do_pages()
427 bp->b_flags |= B_ASYNC; in fsflush()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pvn.c610 if ((flags & B_DELWRI) || ((flags & (B_INVAL | B_ASYNC)) == B_ASYNC)) { in pvn_getdirty()
768 if ((vp->v_flag & VVMLOCK) && (flags & B_ASYNC)) { in pvn_vplist_dirty()
815 if (flags == B_ASYNC && vp->v_pages == mark) in pvn_vplist_dirty()
870 } else if (!(flags & B_ASYNC) && !hat_ismod(pp)) { in pvn_vplist_dirty()
903 if ((flags & B_INVAL) != 0 || (flags & B_ASYNC) == 0) { in pvn_vplist_dirty()
H A Dvpm.c1099 bflags |= B_ASYNC; in vpm_sync_pages()
/illumos-gate/usr/src/uts/common/os/
H A Dbio.c276 rabp->b_flags |= B_READ|B_ASYNC; in breada()
316 do_wait = ((flag & B_ASYNC) == 0 || force_wait); in bwrite_common()
400 bp->b_flags |= B_ASYNC; in bawrite()
512 bp->b_flags &= ~(B_WANTED|B_BUSY|B_ASYNC); in brelse()
928 bp->b_flags |= B_ASYNC; in bflush()
1233 if ((bp->b_flags & B_ASYNC) == 0) { in biowait()
1259 if (bp->b_flags & B_ASYNC) { in biodone()
1311 if ((flags & B_ASYNC) == 0) { in pageio_setup()
1670 bp->b_flags |= B_AGE | B_ASYNC; in bio_flushlist()
H A Dvm_pageout.c1635 arg->a_flags = B_ASYNC | B_FREE; in queue_io_request()
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvfsops.c157 (void) VOP_PUTPAGE(vp, (offset_t)0, (uint_t)0, B_ASYNC, cr, in spec_sync()
H A Dspecvnops.c1925 pl == NULL ? (B_ASYNC | B_READ) : B_READ); in spec_getapage()
1965 B_READ | B_ASYNC); in spec_getapage()
2072 if ((flags & B_INVAL) || ((flags & B_ASYNC) == 0)) { in spec_putpage()
2164 if ((flags & B_ASYNC) == 0) { in spec_putapage()
2603 if ((flags & B_ASYNC) == 0) { in spec_pageio()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.d.in47 inline int B_ASYNC = @B_ASYNC@; variable
48 #pragma D binding "1.0" B_ASYNC
H A Dio.sed.in48 SED_REPLACE(B_ASYNC)
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c280 B_ASYNC | B_FREE, cr); in udf_close()
1975 if (flags & B_ASYNC) { in udf_putpage()
1977 (flags & ~(B_ASYNC|B_DONTNEED|B_FREE)) == 0) { in udf_putpage()
2294 if ((flags & B_ASYNC) == 0) { in udf_pageio()
2309 if (flags & B_ASYNC) { in udf_pageio()
2494 (void) ud_page_fill(ip, pp, io_off, (B_READ|B_ASYNC), &pgoff); in ud_getpage_ra()
2612 if ((bflgs & B_ASYNC) == 0) { in ud_page_fill()
2709 if ((flags & B_INVAL) || ((flags & B_ASYNC) == 0)) { in ud_putpages()
2851 if (flags & B_ASYNC) { in ud_putapage()
2919 if ((flags & B_ASYNC) == 0) { in ud_putapage()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dbuf.h175 #define B_ASYNC 0x000400 /* don't wait for I/O completion */ macro
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c381 error = nfs_putpage(vp, (offset_t)0, 0, B_ASYNC, in nfs_close()
3499 !(bp->b_flags & B_ASYNC))) in nfs_bio()
3518 (B_INVAL|B_FORCE|B_ASYNC)) == in nfs_bio()
3519 (B_INVAL|B_FORCE|B_ASYNC)) { in nfs_bio()
4096 if (!(flags & B_ASYNC) && nfs_zone() != VTOMI(vp)->mi_zone) in nfs_putpage()
4131 ASSERT((flags & B_ASYNC) || nfs_zone() == VTOMI(vp)->mi_zone); in nfs_putapage()
4226 if (flags & B_ASYNC) { in nfs_putapage()
4279 if (!(flags & B_ASYNC)) { in nfs_sync_putapage()
4784 B_ASYNC, dmapp->cr, NULL); in nfs_delmap_callback()
4950 if (flags & B_ASYNC) { in nfs_pageio()
H A Dnfs3_vnops.c420 error = nfs3_putpage(vp, (offset_t)0, 0, B_ASYNC, in nfs3_close()
965 if ((flags & (B_WRITE|B_ASYNC)) == (B_WRITE|B_ASYNC) && in nfs3_rdwrlbn()
4407 !(bp->b_flags & B_ASYNC))) in nfs3_bio()
4426 (B_INVAL|B_FORCE|B_ASYNC)) == in nfs3_bio()
4427 (B_INVAL|B_FORCE|B_ASYNC)) { in nfs3_bio()
5010 if (!(flags & B_ASYNC) && nfs_zone() != VTOMI(vp)->mi_zone) in nfs3_putpage()
5044 ASSERT((flags & B_ASYNC) || nfs_zone() == VTOMI(vp)->mi_zone); in nfs3_putapage()
5137 if (flags & B_ASYNC) { in nfs3_putapage()
5192 if (!(flags & B_ASYNC)) { in nfs3_sync_putapage()
5701 B_ASYNC, dmapp->cr, NULL); in nfs3_delmap_callback()
[all …]
H A Dnfs_client.c1472 ASSERT(flags & B_ASYNC); in nfs_async_putapage()
1594 ASSERT(flags & B_ASYNC); in nfs_async_pageio()
2443 !(flags & B_ASYNC) && in nfs_putpages()
2449 } else if (flags & B_ASYNC && off == (u_offset_t)0) { in nfs_putpages()
2497 if ((flags & B_INVAL) || !(flags & B_ASYNC)) { in nfs_putpages()
H A Dnfs4_client.c1699 ASSERT(flags & B_ASYNC); in nfs4_async_putapage()
1823 ASSERT(flags & B_ASYNC); in nfs4_async_pageio()
2455 !(flags & B_ASYNC) && in nfs4_putpages()
2461 } else if (flags & B_ASYNC && off == (u_offset_t)0) { in nfs4_putpages()
2507 if ((flags & B_INVAL) || !(flags & B_ASYNC)) { in nfs4_putpages()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c1895 flags = (pl == NULL ? B_ASYNC|B_READ : B_READ); in tmp_getapage()
1898 if (flags & B_ASYNC) in tmp_getapage()
1959 if (flags != (B_ASYNC | B_FREE) && (flags & B_INVAL) == 0 && in tmp_putpage()
2011 if ((flags & B_INVAL) || ((flags & B_ASYNC) == 0)) { in tmp_putpage()
2149 if ((flags & B_ASYNC) == 0) { in tmp_putapage()
/illumos-gate/usr/src/uts/intel/io/dktp/drvobj/
H A Dstrategy.c885 const int paw_flags = B_PAGEIO | B_ASYNC | B_WRITE;
955 ((bp->b_flags & (B_ASYNC|B_READ|B_FREE)) == B_ASYNC)) { in que_insert()
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdb.c387 BLKIF_OP_READ) ? B_READ : (B_WRITE | B_ASYNC); in xdb_get_buf()
398 bp->b_flags |= isread ? B_READ : (B_WRITE | B_ASYNC); in xdb_get_buf()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr2.c1106 (void) VOP_PUTPAGE(vp, (u_offset_t)0, 0, B_ASYNC, cr, NULL); in smbfs_rflush()
H A Dsmbfs_vnops.c1225 if ((flags & (B_WRITE|B_ASYNC)) == (B_WRITE|B_ASYNC) && in smbfs_rdwrlbn()
4168 if ((flags & B_INVAL) || !(flags & B_ASYNC)) { in smbfs_putpage()
4351 if (!(flags & B_ASYNC)) { in smbfs_putapage()

12