/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_pvn.c | 256 if (pvn_write_noklust || ((flags & B_INVAL) && IS_SWAPVP(vp))) { in pvn_write_kluster() 262 if (flags & (B_FREE | B_INVAL)) in pvn_write_kluster() 333 VN_DISPOSE(pp, B_INVAL, 0, kcred); in pvn_read_done() 425 if ((flags & (B_INVAL|B_FORCE)) == (B_INVAL|B_FORCE)) { in pvn_write_done() 428 VN_DISPOSE(pp, B_INVAL, 0, kcred); in pvn_write_done() 434 } else if (flags & B_INVAL) { in pvn_write_done() 441 VN_DISPOSE(pp, B_INVAL, 0, kcred); in pvn_write_done() 583 ASSERT((flags & (B_INVAL | B_FREE)) ? in pvn_getdirty() 592 if ((flags & (B_INVAL | B_FREE)) && !(flags & (B_TRUNC|B_FORCE)) && in pvn_getdirty() 610 if ((flags & B_DELWRI) || ((flags & (B_INVAL | B_ASYNC)) == B_ASYNC)) { in pvn_getdirty() [all …]
|
H A D | vpm.c | 1101 bflags |= B_INVAL; in vpm_sync_pages() 1103 bflags |= (B_INVAL|B_TRUNC); in vpm_sync_pages()
|
H A D | vm_swap.c | 1622 VN_DISPOSE(pp, B_INVAL, 0, kcred); in swapslot_free() 1633 VN_DISPOSE(pp, B_INVAL, 0, kcred); in swapslot_free() 1653 VN_DISPOSE(pp, B_INVAL, 0, kcred); in swapslot_free()
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_node.c | 243 err = syncpcp(pcp, B_INVAL); in pc_rele() 245 (void) syncpcp(pcp, B_INVAL | B_FORCE); in pc_rele() 253 pcfs_putapage, B_INVAL, (struct cred *)NULL); in pc_rele() 424 pcfs_putapage, B_INVAL | B_TRUNC, CRED()); in pc_truncate() 441 pcfs_putapage, B_INVAL | B_TRUNC, CRED()); in pc_truncate() 719 B_INVAL | B_TRUNC, in pc_diskchanged() 751 B_INVAL | B_TRUNC, in pc_diskchanged()
|
H A D | pc_vnops.c | 933 pcfs_putapage, B_INVAL, (struct cred *)NULL); in pcfs_inactive() 963 pcfs_putapage, B_INVAL | B_TRUNC, in pcfs_inactive() 1708 if ((flags & B_INVAL) || ((flags & B_ASYNC) == 0)) { in pcfs_putpage() 1710 (flags & (B_INVAL | B_FREE)) ? in pcfs_putpage() 1734 if (err == 0 && (flags & B_INVAL) && in pcfs_putpage()
|
/illumos-gate/usr/src/uts/common/fs/swapfs/ |
H A D | swap_vnops.c | 562 if (!nowait && ((flags & B_INVAL) || in swap_putpage() 567 (flags & (B_FREE | B_INVAL)) ? in swap_putpage() 582 (flags & B_INVAL) && vn_has_cached_data(vp)) { in swap_putpage()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_thread.c | 194 if ((bp->b_flags & B_INVAL) == 0) { in log_roll_read() 284 ASSERT((bp->b_flags & B_INVAL) == 0); in log_roll_write_bufs()
|
H A D | ufs_directio.c | 586 B_INVAL, cr, NULL); in ufs_directio_write() 723 B_INVAL, cr, NULL); in ufs_directio_write() 899 B_INVAL, cr, NULL); in ufs_directio_read()
|
H A D | ufs_thread.c | 671 (TRANS_ISERROR(ufsvfsp)) ? B_INVAL | B_FORCE : B_INVAL, in ufs_idle_free() 744 ufs_putapage, B_INVAL | B_TRUNC, in ufs_idle_free()
|
H A D | quotacalls.c | 271 B_INVAL, kcred, NULL); in opendq() 642 qip->i_fs->fs_bsize, B_INVAL, kcred, NULL); in setquota()
|
H A D | ufs_lockfs.c | 321 if (error = TRANS_SYNCIP(ip, B_INVAL, 0, TOP_SYNCIP_FLUSHI)) in ufs_flush_inode() 380 (offset_t)0, 0, B_INVAL, CRED(), NULL)) > 0) in ufs_flush() 492 (void) TRANS_SYNCIP(ip, B_INVAL | B_FORCE, 0, TOP_SYNCIP_HLOCK); in ufs_thaw_hlock()
|
H A D | ufs_extvnops.c | 502 (void) VOP_PUTPAGE(vnodep, 0, 0, B_INVAL, credp, NULL); in ufs_alloc_data()
|
/illumos-gate/usr/src/uts/common/fs/dcfs/ |
H A D | dc_vnops.c | 637 se_t se = (flags & (B_INVAL | B_FREE)) ? SE_EXCL : SE_SHARED; in dc_putpage() 647 if ((flags & B_INVAL) || ((flags & B_ASYNC) == 0)) in dc_putpage() 667 B_ERROR | B_WRITE | B_INVAL | B_FORCE); in dc_putpage() 872 (void) pvn_vplist_dirty(vp, 0, dc_putapage, B_INVAL, NULL); in dcnode_recycle()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_client.c | 240 error = VOP_PUTPAGE(vp, (u_offset_t)0, 0, B_INVAL, cr, NULL); in nfs_purge_caches() 1566 flags &= ~(B_INVAL | B_FORCE); in nfs_async_putapage() 1698 flags &= ~(B_INVAL | B_FORCE); in nfs_async_pageio() 2429 flags = (flags & ~B_FREE) | B_INVAL | B_FORCE; in nfs_putpages() 2472 (flags & (B_INVAL | B_FORCE)) != (B_INVAL | B_FORCE)) { in nfs_putpages() 2497 if ((flags & B_INVAL) || !(flags & B_ASYNC)) { in nfs_putpages() 2499 (flags & (B_INVAL | B_FREE)) ? in nfs_putpages() 2547 B_INVAL | B_TRUNC, cr); in nfs_invalidate_pages()
|
H A D | nfs4_client.c | 350 error = VOP_PUTPAGE(vp, (u_offset_t)0, 0, B_INVAL, cr, NULL); in nfs4_flush_pages() 1793 flags &= ~(B_INVAL | B_FORCE); in nfs4_async_putapage() 1925 flags &= ~(B_INVAL | B_FORCE); in nfs4_async_pageio() 2441 flags = (flags & ~B_FREE) | B_INVAL | B_FORCE; in nfs4_putpages() 2484 (flags & (B_INVAL | B_FORCE)) != (B_INVAL | B_FORCE)) { in nfs4_putpages() 2507 if ((flags & B_INVAL) || !(flags & B_ASYNC)) { in nfs4_putpages() 2509 (flags & (B_INVAL | B_FREE)) ? in nfs4_putpages() 2559 B_INVAL | B_TRUNC, cr); in nfs4_invalidate_pages()
|
H A D | nfs_common.c | 602 B_INVAL, cr, NULL); in nfs_directio()
|
H A D | nfs_vnops.c | 3518 (B_INVAL|B_FORCE|B_ASYNC)) == in nfs_bio() 3519 (B_INVAL|B_FORCE|B_ASYNC)) { in nfs_bio() 4093 if (len == 0 && !(flags & B_INVAL) && vn_is_readonly(vp)) in nfs_putpage() 4254 (flags & (B_INVAL|B_FORCE)) != (B_INVAL|B_FORCE)) { in nfs_sync_putapage() 4281 B_INVAL | B_FORCE, cr, NULL); in nfs_sync_putapage() 4542 error = nfs_putpage(vp, (offset_t)0, 0, B_INVAL, cr, ct); in nfs_frlock() 4799 B_INVAL, dmapp->cr, NULL); in nfs_delmap_callback()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vnops.c | 4107 flags = (flags & ~B_FREE) | B_INVAL | B_FORCE; in smbfs_putpage() 4141 (flags & (B_INVAL | B_FORCE)) != (B_INVAL | B_FORCE)) { in smbfs_putpage() 4168 if ((flags & B_INVAL) || !(flags & B_ASYNC)) { in smbfs_putpage() 4170 (flags & (B_INVAL | B_FREE)) ? in smbfs_putpage() 4326 (flags & (B_INVAL|B_FORCE)) != (B_INVAL|B_FORCE)) { in smbfs_putapage() 4353 B_INVAL | B_FORCE, cr, NULL); in smbfs_putapage() 4405 B_INVAL | B_TRUNC, cr); in smbfs_invalidate_pages() 4688 B_INVAL, dmapp->dm_cr, NULL); in smbfs_delmap_async()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vfsops.c | 361 (void) ud_syncip(rip, B_INVAL, I_SYNC); in udf_unmount() 383 (void) VOP_PUTPAGE(bvp, (offset_t)0, (uint32_t)0, B_INVAL, cr, NULL); in udf_unmount() 570 (uint32_t)0, B_INVAL, CRED(), NULL); in udf_mountroot() 692 B_INVAL, CRED(), NULL); in ud_mountfs() 784 (uint32_t)0, B_INVAL, cr, NULL); in ud_mountfs()
|
H A D | udf_inode.c | 291 if (ud_syncip(ip, B_INVAL, I_SYNC) != 0) { in ud_iget() 1637 ud_putapage, B_INVAL | B_TRUNC, CRED()); in ud_itrunc() 1653 ud_putapage, B_INVAL | B_TRUNC, CRED()); in ud_itrunc() 1911 (void) ud_syncip(ip, B_INVAL, I_SYNC); in ud_iflush()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | buf.h | 181 #define B_INVAL 0x010000 /* destroy page when done */ macro
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_file.c | 156 (void) VOP_PUTPAGE(vf->vf_vnode, 0, 0, B_INVAL, kcred, NULL); in vdev_file_close()
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vnops.c | 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() 2013 (flags & (B_INVAL | B_FREE)) ? in tmp_putpage() 2032 (flags & B_INVAL) && vn_has_cached_data(vp)) { in tmp_putpage() 2117 if (flags & B_INVAL) in tmp_putapage()
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_node.c | 324 hsfs_putapage, B_INVAL, in hs_getfree() 465 hsfs_putapage, B_INVAL, in hs_synchash() 689 hsfs_putapage, B_INVAL, (struct cred *)NULL); in hs_freenode()
|
H A D | hsfs_vnops.c | 1562 pvn_write_done(pp, B_ERROR | B_WRITE | B_INVAL | B_FORCE | flags); in hsfs_putapage() 1568 * The only flags we support are B_INVAL, B_FREE and B_DONTNEED. 1569 * B_INVAL is set by: 1618 if ((flags & B_INVAL) || ((flags & B_ASYNC) == 0)) { in hsfs_putpage() 1620 (flags & (B_INVAL | B_FREE)) ? in hsfs_putpage() 1643 B_ERROR | B_WRITE | B_INVAL | B_FORCE); in hsfs_putpage()
|