Lines Matching refs:tcb_history
544 if (td->tcb_history == NULL) in add_tid_to_history()
548 if (td->tcb_history[tid] != NULL) { in add_tid_to_history()
561 td->tcb_history[tid] = te; in add_tid_to_history()
579 MPASS(td->tcb_history[te->te_tid] == te); in remove_tcb_histent()
581 td->tcb_history[te->te_tid] = NULL; in remove_tcb_histent()
595 if (td->tcb_history == NULL) in lookup_tcb_histent()
602 te = td->tcb_history[tid]; in lookup_tcb_histent()
1510 td->tcb_history = malloc(sc->tids.ntids * sizeof(*td->tcb_history), in alloc_tcb_history()
1521 if (td->tcb_history != NULL) { in free_tcb_history()
1523 MPASS(td->tcb_history[i] == NULL); in free_tcb_history()
1527 free(td->tcb_history, M_CXGBE); in free_tcb_history()