Lines Matching refs:et
222 epoch_trace_enter(struct thread *td, epoch_t epoch, epoch_tracker_t et,
235 et->et_epoch = epoch;
236 et->et_file = file;
237 et->et_line = line;
238 et->et_flags = 0;
239 SLIST_INSERT_HEAD(&td->td_epochs, et, et_tlink);
243 epoch_trace_exit(struct thread *td, epoch_t epoch, epoch_tracker_t et,
247 if (SLIST_FIRST(&td->td_epochs) != et) {
255 /* This will panic if et is not anywhere on td_epochs. */
256 SLIST_REMOVE(&td->td_epochs, et, epoch_tracker, et_tlink);
259 if (et->et_flags & ET_REPORT_EXIT)
463 _epoch_enter_preempt(epoch_t epoch, epoch_tracker_t et EPOCH_FILE_LINE)
470 MPASS(kstack_contains(td, (vm_offset_t)et, sizeof(*et)));
476 epoch_trace_enter(td, epoch, et, file, line);
478 et->et_td = td;
482 et->et_old_priority = td->td_priority;
486 TAILQ_INSERT_TAIL(&er->er_tdlist, et, et_link);
487 ck_epoch_begin(&er->er_record, &et->et_section);
513 _epoch_exit_preempt(epoch_t epoch, epoch_tracker_t et EPOCH_FILE_LINE)
525 MPASS(et != NULL);
526 MPASS(et->et_td == td);
528 et->et_td = (void*)0xDEADBEEF;
532 ck_epoch_end(&er->er_record, &et->et_section);
533 TAILQ_REMOVE(&er->er_tdlist, et, et_link);
535 if (__predict_false(et->et_old_priority != td->td_priority))
536 epoch_adjust_prio(td, et->et_old_priority);
539 epoch_trace_exit(td, epoch, et, file, line);