Lines Matching refs:mhp

769 	struct mem_handle *mhp;  in kphysm_allocate_mem_handle()  local
771 mhp = kmem_zalloc(sizeof (struct mem_handle), KM_SLEEP); in kphysm_allocate_mem_handle()
772 mutex_init(&mhp->mh_mutex, NULL, MUTEX_DEFAULT, NULL); in kphysm_allocate_mem_handle()
774 mutex_enter(&mhp->mh_mutex); in kphysm_allocate_mem_handle()
776 mhp->mh_exthandle = (memhandle_t)(uintptr_t)(++handle_gen); in kphysm_allocate_mem_handle()
777 mhp->mh_next = mem_handle_head; in kphysm_allocate_mem_handle()
778 mem_handle_head = mhp; in kphysm_allocate_mem_handle()
781 return (mhp); in kphysm_allocate_mem_handle()
785 kphysm_free_mem_handle(struct mem_handle *mhp) in kphysm_free_mem_handle() argument
789 ASSERT(mutex_owned(&mhp->mh_mutex)); in kphysm_free_mem_handle()
790 ASSERT(mhp->mh_state == MHND_FREE); in kphysm_free_mem_handle()
796 mutex_exit(&mhp->mh_mutex); in kphysm_free_mem_handle()
800 while (*mhpp != NULL && *mhpp != mhp) in kphysm_free_mem_handle()
802 ASSERT(*mhpp == mhp); in kphysm_free_mem_handle()
808 *mhpp = mhp->mh_next; in kphysm_free_mem_handle()
811 mutex_destroy(&mhp->mh_mutex); in kphysm_free_mem_handle()
812 kmem_free(mhp, sizeof (struct mem_handle)); in kphysm_free_mem_handle()
822 struct mem_handle *mhp; in kphysm_lookup_mem_handle() local
825 for (mhp = mem_handle_head; mhp != NULL; mhp = mhp->mh_next) { in kphysm_lookup_mem_handle()
826 if (mhp->mh_exthandle == handle) { in kphysm_lookup_mem_handle()
827 mutex_enter(&mhp->mh_mutex); in kphysm_lookup_mem_handle()
832 if (mhp->mh_state == MHND_FREE) { in kphysm_lookup_mem_handle()
833 mutex_exit(&mhp->mh_mutex); in kphysm_lookup_mem_handle()
840 return (mhp); in kphysm_lookup_mem_handle()
846 struct mem_handle *mhp; in kphysm_del_gethandle() local
848 mhp = kphysm_allocate_mem_handle(); in kphysm_del_gethandle()
854 ASSERT(mhp->mh_state == MHND_FREE); in kphysm_del_gethandle()
855 mhp->mh_state = MHND_INIT; in kphysm_del_gethandle()
856 *xmhp = mhp->mh_exthandle; in kphysm_del_gethandle()
857 mutex_exit(&mhp->mh_mutex); in kphysm_del_gethandle()
1089 struct mem_handle *mhp; in kphysm_del_span() local
1098 mhp = kphysm_lookup_mem_handle(handle); in kphysm_del_span()
1099 if (mhp == NULL) { in kphysm_del_span()
1102 if (mhp->mh_state != MHND_INIT) { in kphysm_del_span()
1103 mutex_exit(&mhp->mh_mutex); in kphysm_del_span()
1123 mutex_exit(&mhp->mh_mutex); in kphysm_del_span()
1129 if (delspan_insert(&mhp->mh_transit, mdsp_new) == 0) { in kphysm_del_span()
1135 for (mdsp = mhp->mh_transit.trl_spans; mdsp != NULL; in kphysm_del_span()
1143 mutex_exit(&mhp->mh_mutex); in kphysm_del_span()
1162 for (mdsp = mhp->mh_transit.trl_spans; mdsp != NULL; in kphysm_del_span()
1256 mhp->mh_phys_pages += phys_pages; in kphysm_del_span()
1257 mhp->mh_vm_pages += vm_pages; in kphysm_del_span()
1262 delspan_remove(&mhp->mh_transit, base, npgs); in kphysm_del_span()
1264 mutex_exit(&mhp->mh_mutex); in kphysm_del_span()
1430 struct mem_handle *mhp; in kphysm_del_release() local
1432 mhp = kphysm_lookup_mem_handle(handle); in kphysm_del_release()
1433 if (mhp == NULL) { in kphysm_del_release()
1436 switch (mhp->mh_state) { in kphysm_del_release()
1439 mutex_exit(&mhp->mh_mutex); in kphysm_del_release()
1442 ASSERT(mhp->mh_state != MHND_FREE); in kphysm_del_release()
1443 mutex_exit(&mhp->mh_mutex); in kphysm_del_release()
1450 mutex_exit(&mhp->mh_mutex); in kphysm_del_release()
1455 (void *)mhp, mhp->mh_state); in kphysm_del_release()
1457 mutex_exit(&mhp->mh_mutex); in kphysm_del_release()
1465 mhp->mh_state = MHND_RELEASE; in kphysm_del_release()
1470 mutex_exit(&mhp->mh_mutex); in kphysm_del_release()
1472 delspan_remove(&mhp->mh_transit, 0, 0); in kphysm_del_release()
1473 mhp->mh_phys_pages = 0; in kphysm_del_release()
1474 mhp->mh_vm_pages = 0; in kphysm_del_release()
1475 mhp->mh_hold_todo = 0; in kphysm_del_release()
1476 mhp->mh_delete_complete = NULL; in kphysm_del_release()
1477 mhp->mh_delete_complete_arg = NULL; in kphysm_del_release()
1478 mhp->mh_cancel = 0; in kphysm_del_release()
1480 mutex_enter(&mhp->mh_mutex); in kphysm_del_release()
1481 ASSERT(mhp->mh_state == MHND_RELEASE); in kphysm_del_release()
1482 mhp->mh_state = MHND_FREE; in kphysm_del_release()
1484 kphysm_free_mem_handle(mhp); in kphysm_del_release()
1495 struct mem_handle *mhp; in kphysm_del_cancel() local
1497 mhp = kphysm_lookup_mem_handle(handle); in kphysm_del_cancel()
1498 if (mhp == NULL) { in kphysm_del_cancel()
1501 if (mhp->mh_state != MHND_STARTING && mhp->mh_state != MHND_RUNNING) { in kphysm_del_cancel()
1502 mutex_exit(&mhp->mh_mutex); in kphysm_del_cancel()
1510 if (mhp->mh_cancel == 0) { in kphysm_del_cancel()
1511 mhp->mh_cancel = KPHYSM_ECANCELLED; in kphysm_del_cancel()
1512 cv_signal(&mhp->mh_cv); in kphysm_del_cancel()
1514 mutex_exit(&mhp->mh_mutex); in kphysm_del_cancel()
1523 struct mem_handle *mhp; in kphysm_del_status() local
1525 mhp = kphysm_lookup_mem_handle(handle); in kphysm_del_status()
1526 if (mhp == NULL) { in kphysm_del_status()
1533 if (mhp->mh_state != MHND_INIT && mhp->mh_state != MHND_STARTING && in kphysm_del_status()
1534 mhp->mh_state != MHND_RUNNING) { in kphysm_del_status()
1535 mutex_exit(&mhp->mh_mutex); in kphysm_del_status()
1538 mdstp->phys_pages = mhp->mh_phys_pages; in kphysm_del_status()
1539 mdstp->managed = mhp->mh_vm_pages; in kphysm_del_status()
1540 mdstp->collected = mhp->mh_vm_pages - mhp->mh_hold_todo; in kphysm_del_status()
1541 mutex_exit(&mhp->mh_mutex); in kphysm_del_status()
1596 delthr_get_freemem(struct mem_handle *mhp) in delthr_get_freemem() argument
1601 ASSERT(MUTEX_HELD(&mhp->mh_mutex)); in delthr_get_freemem()
1603 MDSTAT_INCR(mhp, need_free); in delthr_get_freemem()
1608 if (free_get > mhp->mh_hold_todo) in delthr_get_freemem()
1609 free_get = mhp->mh_hold_todo; in delthr_get_freemem()
1615 while (!mhp->mh_cancel) { in delthr_get_freemem()
1616 mutex_exit(&mhp->mh_mutex); in delthr_get_freemem()
1617 MDSTAT_INCR(mhp, free_loop); in delthr_get_freemem()
1623 MDSTAT_INCR(mhp, free_low); in delthr_get_freemem()
1629 MDSTAT_INCR(mhp, free_failed); in delthr_get_freemem()
1633 mutex_enter(&mhp->mh_mutex); in delthr_get_freemem()
1643 mutex_enter(&mhp->mh_mutex); in delthr_get_freemem()
1644 (void) cv_reltimedwait(&mhp->mh_cv, &mhp->mh_mutex, in delthr_get_freemem()
1646 mutex_exit(&mhp->mh_mutex); in delthr_get_freemem()
1649 mutex_enter(&mhp->mh_mutex); in delthr_get_freemem()
1671 struct mem_handle *mhp; in dr_aio_cleanup_thread() local
1674 mhp = (struct mem_handle *)amhp; in dr_aio_cleanup_thread()
1675 ASSERT(mhp != NULL); in dr_aio_cleanup_thread()
1676 pcancel = &mhp->mh_dr_aio_cleanup_cancel; in dr_aio_cleanup_thread()
1678 mhp->mh_aio_cleanup_done = 1; in dr_aio_cleanup_thread()
1685 mhp->mh_aio_cleanup_done = 1; in dr_aio_cleanup_thread()
1711 mhp->mh_aio_cleanup_done = 1; in dr_aio_cleanup_thread()
1718 struct mem_handle *mhp; in delete_memory_thread() local
1734 mhp = (struct mem_handle *)amhp; in delete_memory_thread()
1740 CALLB_CPR_INIT(&cprinfo, &mhp->mh_mutex, in delete_memory_thread()
1743 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
1744 ASSERT(mhp->mh_state == MHND_STARTING); in delete_memory_thread()
1746 mhp->mh_state = MHND_RUNNING; in delete_memory_thread()
1747 mhp->mh_thread_id = curthread; in delete_memory_thread()
1749 mhp->mh_hold_todo = mhp->mh_vm_pages; in delete_memory_thread()
1750 mutex_exit(&mhp->mh_mutex); in delete_memory_thread()
1759 if (!get_availrmem(mhp->mh_vm_pages)) { in delete_memory_thread()
1761 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
1765 ret = kphysm_setup_pre_del(mhp->mh_vm_pages); in delete_memory_thread()
1767 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
1770 mhp->mh_cancel = KPHYSM_EREFUSED; in delete_memory_thread()
1774 transit_list_collect(mhp, 1); in delete_memory_thread()
1776 for (mdsp = mhp->mh_transit.trl_spans; mdsp != NULL; in delete_memory_thread()
1796 mhp->mh_dr_aio_cleanup_cancel = 0; in delete_memory_thread()
1797 mhp->mh_aio_cleanup_done = 0; in delete_memory_thread()
1799 (caddr_t)mhp, 0, &p0, TS_RUN, maxclsyspri - 1); in delete_memory_thread()
1800 while ((mhp->mh_hold_todo != 0) && (mhp->mh_cancel == 0)) { in delete_memory_thread()
1803 MDSTAT_INCR(mhp, nloop); in delete_memory_thread()
1805 for (mdsp = mhp->mh_transit.trl_spans; (mdsp != NULL) && in delete_memory_thread()
1806 (mhp->mh_cancel == 0); mdsp = mdsp->mds_next) { in delete_memory_thread()
1811 (mhp->mh_cancel == 0); pfn++) { in delete_memory_thread()
1822 MDSTAT_INCR(mhp, already_done); in delete_memory_thread()
1826 freemem_left += delthr_get_freemem(mhp); in delete_memory_thread()
1836 mutex_exit(&mhp->mh_mutex); in delete_memory_thread()
1837 MDSTAT_INCR(mhp, ncheck); in delete_memory_thread()
1845 MDSTAT_INCR(mhp, nopaget); in delete_memory_thread()
1846 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
1857 MDSTAT_INCR(mhp, lockfail); in delete_memory_thread()
1858 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
1868 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
1869 mhp->mh_cancel = KPHYSM_ENONRELOC; in delete_memory_thread()
1879 MDSTAT_INCR(mhp, retired); in delete_memory_thread()
1880 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
1886 mhp->mh_hold_todo--; in delete_memory_thread()
1895 MDSTAT_INCR(mhp, nfree); in delete_memory_thread()
1907 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
1908 page_delete_collect(pp, mhp); in delete_memory_thread()
1916 MDSTAT_INCR(mhp, first_notfree); in delete_memory_thread()
1918 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
1926 MDSTAT_INCR(mhp, toxic); in delete_memory_thread()
1928 MDSTAT_INCR(mhp, failing); in delete_memory_thread()
1953 MDSTAT_INCR(mhp, in delete_memory_thread()
1957 &mhp->mh_mutex); in delete_memory_thread()
1960 MDSTAT_INCR(mhp, npplocked); in delete_memory_thread()
1971 MDSTAT_PGRP(mhp, in delete_memory_thread()
1973 MDSTAT_INCR(mhp, in delete_memory_thread()
1984 MDSTAT_PGRP(mhp, ntick_pgrp); in delete_memory_thread()
1985 MDSTAT_INCR(mhp, nnorepl); in delete_memory_thread()
1986 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
1994 MDSTAT_INCR(mhp, npplkdtoxic); in delete_memory_thread()
1996 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2018 MDSTAT_INCR(mhp, gptlmodfail); in delete_memory_thread()
2020 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2026 MDSTAT_INCR(mhp, nmodreloc); in delete_memory_thread()
2032 MDSTAT_PGRP(mhp, ntick_pgrp); in delete_memory_thread()
2039 MDSTAT_INCR(mhp, demotefail); in delete_memory_thread()
2045 MDSTAT_PGRP(mhp, ntick_pgrp); in delete_memory_thread()
2046 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2054 MDSTAT_INCR(mhp, ndestroy); in delete_memory_thread()
2070 MDSTAT_PGRP(mhp, ntick_pgrp); in delete_memory_thread()
2071 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2072 page_delete_collect(pp, mhp); in delete_memory_thread()
2088 MDSTAT_PGRP(mhp, ntick_pgrp); in delete_memory_thread()
2089 MDSTAT_INCR(mhp, modtoxic); in delete_memory_thread()
2090 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2093 MDSTAT_INCR(mhp, nputpage); in delete_memory_thread()
2105 MDSTAT_PGRP(mhp, ntick_pgrp); in delete_memory_thread()
2112 MDSTAT_INCR(mhp, nnoreclaim); in delete_memory_thread()
2123 (void *)mhp, pfn); in delete_memory_thread()
2125 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2135 MDSTAT_INCR(mhp, nnoreclaim); in delete_memory_thread()
2136 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2146 MDSTAT_INCR(mhp, nreloc); in delete_memory_thread()
2164 MDSTAT_PGRP(mhp, ntick_pgrp); in delete_memory_thread()
2166 MDSTAT_INCR(mhp, nrelocfail); in delete_memory_thread()
2176 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2184 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2190 (!mhp->mh_cancel)) { in delete_memory_thread()
2192 delthr_get_freemem(mhp); in delete_memory_thread()
2198 if (mhp->mh_cancel) { in delete_memory_thread()
2243 page_delete_collect(tpp, mhp); in delete_memory_thread()
2252 if ((mhp->mh_cancel == 0) && (mhp->mh_hold_todo != 0) && in delete_memory_thread()
2262 MDSTAT_INCR(mhp, ndelay); in delete_memory_thread()
2264 (void) cv_reltimedwait(&mhp->mh_cv, &mhp->mh_mutex, in delete_memory_thread()
2266 CALLB_CPR_SAFE_END(&cprinfo, &mhp->mh_mutex); in delete_memory_thread()
2270 mhp->mh_dr_aio_cleanup_cancel = 1; in delete_memory_thread()
2271 transit_list_collect(mhp, 0); in delete_memory_thread()
2280 MDSTAT_TOTAL(mhp, ntick_total); in delete_memory_thread()
2281 MDSTAT_PRINT(mhp); in delete_memory_thread()
2288 for (mdsp = mhp->mh_transit.trl_spans; mdsp != NULL; in delete_memory_thread()
2298 if (mhp->mh_cancel) { in delete_memory_thread()
2317 if (mhp->mh_cancel != 0) { in delete_memory_thread()
2323 mhp->mh_hold_todo++; in delete_memory_thread()
2334 for (mdsp = mhp->mh_transit.trl_spans; mdsp != NULL; in delete_memory_thread()
2345 while (!(mhp->mh_aio_cleanup_done)) { in delete_memory_thread()
2348 CALLB_CPR_SAFE_END(&cprinfo, &mhp->mh_mutex); in delete_memory_thread()
2351 if (mhp->mh_cancel != 0) { in delete_memory_thread()
2354 comp_code = mhp->mh_cancel; in delete_memory_thread()
2359 while ((pp = mhp->mh_deleted) != NULL) { in delete_memory_thread()
2360 mhp->mh_deleted = pp->p_next; in delete_memory_thread()
2361 mhp->mh_hold_todo++; in delete_memory_thread()
2362 mutex_exit(&mhp->mh_mutex); in delete_memory_thread()
2371 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2373 ASSERT(mhp->mh_hold_todo == mhp->mh_vm_pages); in delete_memory_thread()
2375 mutex_exit(&mhp->mh_mutex); in delete_memory_thread()
2376 put_availrmem(mhp->mh_vm_pages); in delete_memory_thread()
2377 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2386 mhp->mh_deleted = NULL; in delete_memory_thread()
2388 kphysm_del_cleanup(mhp); in delete_memory_thread()
2394 for (mdsp = mhp->mh_transit.trl_spans; mdsp != NULL; in delete_memory_thread()
2405 mutex_exit(&mhp->mh_mutex); in delete_memory_thread()
2406 kphysm_setup_post_del(mhp->mh_vm_pages, in delete_memory_thread()
2408 mutex_enter(&mhp->mh_mutex); in delete_memory_thread()
2412 mhp->mh_state = MHND_DONE; in delete_memory_thread()
2413 del_complete_funcp = mhp->mh_delete_complete; in delete_memory_thread()
2414 del_complete_arg = mhp->mh_delete_complete_arg; in delete_memory_thread()
2430 struct mem_handle *mhp; in kphysm_del_start() local
2432 mhp = kphysm_lookup_mem_handle(handle); in kphysm_del_start()
2433 if (mhp == NULL) { in kphysm_del_start()
2436 switch (mhp->mh_state) { in kphysm_del_start()
2438 ASSERT(mhp->mh_state != MHND_FREE); in kphysm_del_start()
2439 mutex_exit(&mhp->mh_mutex); in kphysm_del_start()
2445 mutex_exit(&mhp->mh_mutex); in kphysm_del_start()
2448 mutex_exit(&mhp->mh_mutex); in kphysm_del_start()
2451 mutex_exit(&mhp->mh_mutex); in kphysm_del_start()
2456 (void *)mhp, mhp->mh_state); in kphysm_del_start()
2458 mutex_exit(&mhp->mh_mutex); in kphysm_del_start()
2462 if (mhp->mh_transit.trl_spans == NULL) { in kphysm_del_start()
2463 mutex_exit(&mhp->mh_mutex); in kphysm_del_start()
2468 mhp->mh_delete_complete = complete; in kphysm_del_start()
2469 mhp->mh_delete_complete_arg = complete_arg; in kphysm_del_start()
2470 mhp->mh_state = MHND_STARTING; in kphysm_del_start()
2474 mutex_exit(&mhp->mh_mutex); in kphysm_del_start()
2481 (void) thread_create(NULL, 0, delete_memory_thread, mhp, 0, &p0, in kphysm_del_start()
2641 kphysm_del_cleanup(struct mem_handle *mhp) in kphysm_del_cleanup() argument
2652 avpgs = mhp->mh_vm_pages; in kphysm_del_cleanup()
2661 for (mdsp = mhp->mh_transit.trl_spans; mdsp != NULL; in kphysm_del_cleanup()
2706 mutex_exit(&mhp->mh_mutex); in kphysm_del_cleanup()
2807 mutex_enter(&mhp->mh_mutex); in kphysm_del_cleanup()
2815 struct mem_handle *mhp) in page_delete_collect() argument
2833 pp->p_next = mhp->mh_deleted; in page_delete_collect()
2834 mhp->mh_deleted = pp; in page_delete_collect()
2835 ASSERT(mhp->mh_hold_todo != 0); in page_delete_collect()
2836 mhp->mh_hold_todo--; in page_delete_collect()
2840 transit_list_collect(struct mem_handle *mhp, int v) in transit_list_collect() argument
2846 mhp->mh_transit.trl_collect = v; in transit_list_collect()
2919 mem_del_stat_print_func(struct mem_handle *mhp) in mem_del_stat_print_func() argument
2925 (uint_t)mhp->mh_transit.trl_spans->mds_base, in mem_del_stat_print_func()
2926 (uint_t)mhp->mh_transit.trl_spans->mds_npgs, in mem_del_stat_print_func()
2927 (mhp->mh_cancel ? " (cancelled)" : "")); in mem_del_stat_print_func()
2928 printf("\t%8u nloop\n", mhp->mh_delstat.nloop); in mem_del_stat_print_func()
2929 printf("\t%8u need_free\n", mhp->mh_delstat.need_free); in mem_del_stat_print_func()
2930 printf("\t%8u free_loop\n", mhp->mh_delstat.free_loop); in mem_del_stat_print_func()
2931 printf("\t%8u free_low\n", mhp->mh_delstat.free_low); in mem_del_stat_print_func()
2932 printf("\t%8u free_failed\n", mhp->mh_delstat.free_failed); in mem_del_stat_print_func()
2933 printf("\t%8u ncheck\n", mhp->mh_delstat.ncheck); in mem_del_stat_print_func()
2934 printf("\t%8u nopaget\n", mhp->mh_delstat.nopaget); in mem_del_stat_print_func()
2935 printf("\t%8u lockfail\n", mhp->mh_delstat.lockfail); in mem_del_stat_print_func()
2936 printf("\t%8u nfree\n", mhp->mh_delstat.nfree); in mem_del_stat_print_func()
2937 printf("\t%8u nreloc\n", mhp->mh_delstat.nreloc); in mem_del_stat_print_func()
2938 printf("\t%8u nrelocfail\n", mhp->mh_delstat.nrelocfail); in mem_del_stat_print_func()
2939 printf("\t%8u already_done\n", mhp->mh_delstat.already_done); in mem_del_stat_print_func()
2940 printf("\t%8u first_notfree\n", mhp->mh_delstat.first_notfree); in mem_del_stat_print_func()
2941 printf("\t%8u npplocked\n", mhp->mh_delstat.npplocked); in mem_del_stat_print_func()
2942 printf("\t%8u nlockreloc\n", mhp->mh_delstat.nlockreloc); in mem_del_stat_print_func()
2943 printf("\t%8u nnorepl\n", mhp->mh_delstat.nnorepl); in mem_del_stat_print_func()
2944 printf("\t%8u nmodreloc\n", mhp->mh_delstat.nmodreloc); in mem_del_stat_print_func()
2945 printf("\t%8u ndestroy\n", mhp->mh_delstat.ndestroy); in mem_del_stat_print_func()
2946 printf("\t%8u nputpage\n", mhp->mh_delstat.nputpage); in mem_del_stat_print_func()
2947 printf("\t%8u nnoreclaim\n", mhp->mh_delstat.nnoreclaim); in mem_del_stat_print_func()
2948 printf("\t%8u ndelay\n", mhp->mh_delstat.ndelay); in mem_del_stat_print_func()
2949 printf("\t%8u demotefail\n", mhp->mh_delstat.demotefail); in mem_del_stat_print_func()
2950 printf("\t%8u retired\n", mhp->mh_delstat.retired); in mem_del_stat_print_func()
2951 printf("\t%8u toxic\n", mhp->mh_delstat.toxic); in mem_del_stat_print_func()
2952 printf("\t%8u failing\n", mhp->mh_delstat.failing); in mem_del_stat_print_func()
2953 printf("\t%8u modtoxic\n", mhp->mh_delstat.modtoxic); in mem_del_stat_print_func()
2954 printf("\t%8u npplkdtoxic\n", mhp->mh_delstat.npplkdtoxic); in mem_del_stat_print_func()
2955 printf("\t%8u gptlmodfail\n", mhp->mh_delstat.gptlmodfail); in mem_del_stat_print_func()
2956 printf("\t%8u gptllckfail\n", mhp->mh_delstat.gptllckfail); in mem_del_stat_print_func()
2957 tmp = mhp->mh_delstat.nticks_total / hz; /* seconds */ in mem_del_stat_print_func()
2960 mhp->mh_delstat.nticks_total, tmp / 60, tmp % 60); in mem_del_stat_print_func()
2962 tmp = mhp->mh_delstat.nticks_pgrp / hz; /* seconds */ in mem_del_stat_print_func()
2965 mhp->mh_delstat.nticks_pgrp, tmp / 60, tmp % 60); in mem_del_stat_print_func()