Home
last modified time | relevance | path

Searched refs:segkp (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kp.h128 extern struct seg *segkp;
130 #define SEG_IS_SEGKP(SEG) ((SEG) == segkp)
H A Dseg_kmem.c469 return (SEGOP_FAULT(hat, segkp, addr, size, type, rw)); in segkmem_fault()
531 return (SEGOP_SETPROT(segkp, addr, size, prot)); in segkmem_setprot()
558 return (SEGOP_CHECKPROT(segkp, addr, size, prot)); in segkmem_checkprot()
582 return (SEGOP_KLUSTER(segkp, addr, delta)); in segkmem_kluster()
709 return (SEGOP_PAGELOCK(segkp, addr, len, ppp, type, rw)); in segkmem_pagelock()
769 return (SEGOP_GETMEMID(segkp, addr, memidp)); in segkmem_getmemid()
H A Dseg_kp.c225 kpsd->kpsd_hash = kmem_zalloc(SEGKP_HASHSZ * sizeof (struct segkp *), in segkp_create()
1359 if ((kpd = segkp_find(segkp, v)) != NULL) in swapsize()
H A Dseg_dev.c3925 if ((buf = segkp_get(segkp, len, iflags)) == NULL) { in ddi_umem_alloc()
3988 segkp_release(segkp, cp->cvaddr); in ddi_umem_free()
/illumos-gate/usr/src/uts/common/os/
H A Dsched.c575 err = segkp_fault(segkp->s_as->a_hat, segkp, in swapin()
709 err = segkp_fault(segkp->s_as->a_hat, in swapout()
710 segkp, tp->t_swap, stack_size, in swapout()
875 err = segkp_fault(segkp->s_as->a_hat, segkp, tp->t_swap, in process_swap_queue()
H A Dschedctl.c653 kaddr = segkp_get_withanonmap(segkp, PAGESIZE, in schedctl_getpage()
685 segkp_release(segkp, kaddr); in schedctl_freepage()
H A Dlwp.c212 if ((lwpdata = (caddr_t)segkp_get(segkp, stksize, in lwp_create()
/illumos-gate/usr/src/uts/common/disp/
H A Dthread_intr.c107 cp->cpu_intr_stack = (caddr_t)segkp_get(segkp, INTR_STACK_SIZE, in cpu_intr_alloc()
H A Dthread.c267 segkp_lwp = segkp_cache_init(segkp, lwp_cache_sz, in thread_init()
271 segkp_thread = segkp_cache_init(segkp, t_cache_sz, in thread_init()
361 stk = (caddr_t)segkp_get(segkp, stksize, in thread_create()
792 segkp_release(segkp, swap); in thread_free()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dstartup.c297 struct seg *segkp = &kpseg; /* Pageable kernel virtual memory segment */ variable
2028 segkp->s_as = &kas; in startup_vm()
2030 segkp) < 0) { in startup_vm()
2035 if (segkp_create(segkp) != 0) { in startup_vm()
2039 PRM_DEBUG(segkp); in startup_vm()
H A Dmp_startup.c529 segkp_release(segkp, in mp_cpu_unconfigure_common()
/illumos-gate/usr/src/uts/sun4/os/
H A Dmp_startup.c491 segkp_release(segkp, cp->cpu_intr_stack); in cleanup_cpu_common()
H A Dstartup.c200 struct seg *segkp = &kpseg; /* Pageable kernel virtual memory segment */ variable
1935 if (seg_attach(&kas, va, i, segkp) < 0) in startup_vm()
1937 if (segkp_create(segkp) != 0) in startup_vm()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c2354 uintptr_t segkp; in typegraph_known_nodes() local
2356 if (mdb_readvar(&segkp, "segkp") == -1) { in typegraph_known_nodes()
2361 if (mdb_vread(&seg, sizeof (seg), segkp) == -1) { in typegraph_known_nodes()
2362 mdb_warn("couldn't read seg at %p", segkp); in typegraph_known_nodes()