Searched refs:willneed_count (Results 1 – 2 of 2) sorted by relevance
140 u32 willneed_count; member
287 * Increments willneed_count and, on a 0->1 transition, promotes the BO300 if (bo->purgeable.willneed_count++ == 0 && xe_bo_madv_is_dontneed(bo)) in xe_bo_willneed_get_locked() 308 * Decrements willneed_count and, on a 1->0 transition, marks the BO324 xe_assert(xe_bo_device(bo), bo->purgeable.willneed_count > 0); in xe_bo_willneed_put_locked() 325 if (--bo->purgeable.willneed_count == 0 && bo->purgeable.vma_count > 0 && in xe_bo_willneed_put_locked()