Home
last modified time | relevance | path

Searched refs:pagedaemon_lwp (Results 1 – 22 of 22) sorted by relevance

/netbsd/sys/external/bsd/drm2/include/linux/
H A Dshrinker.h70 return curlwp == uvm.pagedaemon_lwp; in current_is_kswapd()
/netbsd/sys/uvm/
H A Duvm.h109 struct lwp *pagedaemon_lwp; /* daemon's lid */ member
H A Duvm_pdaemon.c141 if (uvm.pagedaemon_lwp == NULL) in uvm_wait()
150 if (curlwp == uvm.pagedaemon_lwp && uvmexp.paging == 0) { in uvm_wait()
266 uvm.pagedaemon_lwp = curlwp; in uvm_pageout()
H A Duvm_swap.c1876 KASSERT(curlwp != uvm.pagedaemon_lwp || write); in uvm_swap_io()
1877 KASSERT(curlwp != uvm.pagedaemon_lwp || async); in uvm_swap_io()
1878 bp = getiobuf(swapdev_vp, curlwp != uvm.pagedaemon_lwp); in uvm_swap_io()
1988 if (curlwp == uvm.pagedaemon_lwp) in uvm_swap_io()
H A Duvm_pager.c190 const bool pdaemon = (curlwp == uvm.pagedaemon_lwp); in uvm_pagermapin()
H A Duvm_page.c1044 curlwp != uvm.pagedaemon_lwp)) { in uvm_pagealloc_pgb()
/netbsd/sys/fs/puffs/
H A Dpuffs_msgif.c138 KASSERT(curlwp != uvm.pagedaemon_lwp || !waitok); in puffs_msgpark_alloc()
240 KASSERT(curlwp != uvm.pagedaemon_lwp || !cansleep); in puffs_msgmem_alloc()
989 KASSERT(curlwp != uvm.pagedaemon_lwp); in puffs_msgif_dispatch()
1013 KASSERT(curlwp != uvm.pagedaemon_lwp); in puffs_msgif_dispatch()
H A Dpuffs_node.c166 KASSERT(curlwp != uvm.pagedaemon_lwp); in puffs_newnode()
H A Dpuffs_vfsops.c226 KASSERT(curlwp != uvm.pagedaemon_lwp); in puffs_vfsop_mount()
414 KASSERT(curlwp != uvm.pagedaemon_lwp); in puffs_vfsop_unmount()
H A Dpuffs_vnops.c1336 KASSERT(curlwp != uvm.pagedaemon_lwp); in puffs_vnop_inactive()
1562 KASSERT(curlwp != uvm.pagedaemon_lwp); in puffs_vnop_readdir()
2779 cansleep = (curlwp == uvm.pagedaemon_lwp || dofaf) ? 0 : 1; in puffs_vnop_strategy()
2781 KASSERT(curlwp != uvm.pagedaemon_lwp || dofaf || BIOASYNC(bp)); in puffs_vnop_strategy()
3040 KASSERT(curlwp != uvm.pagedaemon_lwp || locked); in puffs_vnop_getpages()
/netbsd/sys/rump/librump/rumpkern/
H A Drump.c419 uvm_pageout, NULL, &uvm.pagedaemon_lwp, "pdaemon") != 0) in rump_init_callback()
422 uvm.pagedaemon_lwp = NULL; /* doesn't match curlwp */ in rump_init_callback()
H A Dvm.c676 bool ispagedaemon = curlwp == uvm.pagedaemon_lwp; in uvm_pagelookup()
1107 if (curlwp == uvm.pagedaemon_lwp) { in uvm_wait()
1301 curlwp == uvm.pagedaemon_lwp ? pdlimit : rump_physmemlimit; in rump_hypermalloc()
/netbsd/sys/ufs/lfs/
H A Dlfs_pages.c254 int pagedaemon = (curlwp == uvm.pagedaemon_lwp); in check_dirty()
444 pagedaemon = (curlwp == uvm.pagedaemon_lwp); in lfs_putpages()
/netbsd/sys/kern/
H A Dvfs_bio.c659 if (curlwp == uvm.pagedaemon_lwp) { in buf_alloc()
694 KASSERT(curlwp == uvm.pagedaemon_lwp); in bio_doread()
1440 if (!from_bufq || curlwp != uvm.pagedaemon_lwp) { in getnewbuf()
2187 if (curlwp == uvm.pagedaemon_lwp) { in bbusy()
H A Dvfs_vnode.c865 if ((curlwp == uvm.pagedaemon_lwp) || async) { in vrelel()
/netbsd/sys/miscfs/genfs/
H A Dgenfs_io.c881 bool pagedaemon = curlwp == uvm.pagedaemon_lwp; in genfs_do_putpages()
1490 if (curlwp == uvm.pagedaemon_lwp) in genfs_do_io()
/netbsd/sys/ufs/ffs/
H A Dffs_snapshot.c1994 if (curlwp == uvm.pagedaemon_lwp) { in ffs_copyonwrite()
2157 if (curlwp == uvm.pagedaemon_lwp) { in snapblkaddr()
/netbsd/sys/nfs/
H A Dnfs_bio.c801 if (curlwp == uvm.pagedaemon_lwp) { in nfs_asyncio()
/netbsd/sys/dev/
H A Dfss.c666 if (curlwp == uvm.pagedaemon_lwp) { in fss_copy_on_write()
H A Dvnd.c564 if (curlwp != vnd->sc_kthread && curlwp != uvm.pagedaemon_lwp) { in vndstrategy()
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Darc.c298 #define proc_pageout uvm.pagedaemon_lwp
5772 if (curlwp == uvm.pagedaemon_lwp) { in arc_memory_throttle()
5948 if (curlwp == uvm.pagedaemon_lwp) in arc_lowmem()
H A Dzfs_vnops.c6243 if (curlwp == uvm.pagedaemon_lwp) { in zfs_netbsd_putpages()