Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/vm/
H A Dvm_page.c6218 struct page_capture_callback pc_cb[PC_NUM_CALLBACKS]; variable
6286 ASSERT(pc_cb[index].cb_active == 0); in page_capture_register_callback()
6288 rw_enter(&pc_cb[index].cb_rwlock, RW_WRITER); in page_capture_register_callback()
6289 pc_cb[index].duration = duration; in page_capture_register_callback()
6290 pc_cb[index].cb_func = cb_func; in page_capture_register_callback()
6291 pc_cb[index].cb_active = 1; in page_capture_register_callback()
6292 rw_exit(&pc_cb[index].cb_rwlock); in page_capture_register_callback()
6304 rw_enter(&pc_cb[index].cb_rwlock, RW_WRITER); in page_capture_unregister_callback()
6305 ASSERT(pc_cb[index].cb_active == 1); in page_capture_unregister_callback()
6306 pc_cb[index].duration = 0; /* Paranoia */ in page_capture_unregister_callback()
[all …]