Lines Matching refs:last
67 dma_resv_assert_held(pos->last->bo->base.resv);
71 &pos->last->lru);
88 if (pos->last != res) {
91 list_move(&res->lru, &pos->last->lru);
92 pos->last = res;
104 pos->last = res;
116 if (unlikely(WARN_ON(!pos->first || !pos->last) ||
117 (pos->first == res && pos->last == res))) {
119 pos->last = NULL;
122 } else if (pos->last == res) {
123 pos->last = list_prev_entry(res, lru);
125 list_move(&res->lru, &pos->last->lru);