Lines Matching refs:trh
962 struct transit_list_head *trh;
966 trh = &transit_list_head;
972 mutex_enter(&trh->trh_lock);
973 /* ASSERT(my_tlp->trl_spans == NULL || tlp_in_list(trh, my_tlp)); */
974 for (tlp = trh->trh_head; tlp != NULL; tlp = tlp->trl_next) {
997 mutex_exit(&trh->trh_lock);
1007 struct transit_list_head *trh;
1010 trh = &transit_list_head;
1014 mutex_enter(&trh->trh_lock);
1042 mutex_exit(&trh->trh_lock);
2842 struct transit_list_head *trh;
2844 trh = &transit_list_head;
2845 mutex_enter(&trh->trh_lock);
2847 mutex_exit(&trh->trh_lock);
2853 struct transit_list_head *trh;
2855 trh = &transit_list_head;
2856 ASSERT(MUTEX_HELD(&trh->trh_lock));
2857 tlp->trl_next = trh->trh_head;
2858 trh->trh_head = tlp;
2864 struct transit_list_head *trh;
2867 trh = &transit_list_head;
2868 tlpp = &trh->trh_head;
2869 ASSERT(MUTEX_HELD(&trh->trh_lock));
2879 pfnum_to_transit_list(struct transit_list_head *trh, pfn_t pfnum)
2883 for (tlp = trh->trh_head; tlp != NULL; tlp = tlp->trl_next) {
2900 struct transit_list_head *trh;
2904 trh = &transit_list_head;
2905 if (trh->trh_head == NULL)
2908 mutex_enter(&trh->trh_lock);
2909 tlp = pfnum_to_transit_list(trh, pfnum);
2911 mutex_exit(&trh->trh_lock);