Lines Matching refs:history
1530 struct drm_dp_mst_topology_ref_history *history,
1545 for (i = 0; i < history->len; i++) {
1546 if (history->entries[i].backtrace == backtrace) {
1547 entry = &history->entries[i];
1555 int new_len = history->len + 1;
1557 new = krealloc(history->entries, sizeof(*new) * new_len,
1562 entry = &new[history->len];
1563 history->len = new_len;
1564 history->entries = new;
1598 struct drm_dp_mst_topology_ref_history *history,
1608 if (!history->len)
1614 sort(history->entries, history->len, sizeof(*history->entries),
1617 drm_printf(&p, "%s (%p) topology count reached 0, dumping history:\n",
1620 for (i = 0; i < history->len; i++) {
1622 &history->entries[i];
1634 /* Now free the history, since this is the only time we expose it */
1635 kfree(history->entries);