/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_kp.h | 128 extern struct seg *segkp; 130 #define SEG_IS_SEGKP(SEG) ((SEG) == segkp)
|
H A D | seg_kmem.c | 469 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 D | seg_kp.c | 225 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 D | seg_dev.c | 3925 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 D | sched.c | 575 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 D | schedctl.c | 653 kaddr = segkp_get_withanonmap(segkp, PAGESIZE, in schedctl_getpage() 685 segkp_release(segkp, kaddr); in schedctl_freepage()
|
H A D | lwp.c | 212 if ((lwpdata = (caddr_t)segkp_get(segkp, stksize, in lwp_create()
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | thread_intr.c | 107 cp->cpu_intr_stack = (caddr_t)segkp_get(segkp, INTR_STACK_SIZE, in cpu_intr_alloc()
|
H A D | thread.c | 267 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 D | startup.c | 297 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 D | mp_startup.c | 529 segkp_release(segkp, in mp_cpu_unconfigure_common()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mp_startup.c | 491 segkp_release(segkp, cp->cpu_intr_stack); in cleanup_cpu_common()
|
H A D | startup.c | 200 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 D | typegraph.c | 2354 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()
|