Lines Matching +full:not +full:- +full:swapped
3 * Copyright (c) 2006-2009 Vmware, Inc., Palo Alto, CA., USA
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
44 * struct ttm_tt - This is a structure holding the pages, caching- and aperture
57 * and swapped out by TTM. Calling ttm_tt_populate() will then swap the
65 * externally, like with dma-buf or userptr. This effectively disables
85 * not encrypted. The framework will try to match what the dma layer
93 * TTM_TT_FLAG_PRIV_POPULATED: TTM internal only. DO NOT USE. This is
109 /** @sg: for SG objects via dma-buf. */
132 * struct ttm_kmap_iter_tt - Specialization of a mappig iterator for a tt.
145 return tt->page_flags & TTM_TT_FLAG_PRIV_POPULATED; in ttm_tt_is_populated()
149 * ttm_tt_is_swapped() - Whether the ttm_tt is swapped out or backed up
152 * Return: true if swapped or backed up, false otherwise.
156 return tt->page_flags & (TTM_TT_FLAG_SWAPPED | TTM_TT_FLAG_BACKED_UP); in ttm_tt_is_swapped()
160 * ttm_tt_is_backed_up() - Whether the ttm_tt backed up
163 * Return: true if swapped or backed up, false otherwise.
167 return tt->page_flags & TTM_TT_FLAG_BACKED_UP; in ttm_tt_is_backed_up()
171 * ttm_tt_clear_backed_up() - Clear the ttm_tt backed-up status
174 * Drivers can use this functionto clear the backed-up status,
175 * for example before destroying or re-validating a purged tt.
179 tt->page_flags &= ~TTM_TT_FLAG_BACKED_UP; in ttm_tt_clear_backed_up()
244 * ttm_tt_populate - allocate pages for a ttm
256 * ttm_tt_unpopulate - free pages from a ttm
266 * ttm_tt_mark_for_clear - Mark pages for clearing on populate.
275 ttm->page_flags |= TTM_TT_FLAG_ZERO_ALLOC; in ttm_tt_mark_for_clear()
285 * struct ttm_backup_flags - Flags to govern backup behaviour.