Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_bo.c xe_bo_shrink_purge() -> xe_tt_unmap_sg()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
PARAM_VALUE 1 tt 4096-ptr_max
PARAM_VALUE 1 tt->restore->alloced_page 0-s64max
PARAM_VALUE 1 tt->restore->alloced_pages 0-s64max
PARAM_VALUE 1 tt->restore->first_dma 0-s64max
PARAM_VALUE 1 tt->restore->order 0-4294967295
PARAM_VALUE 1 tt->restore->page_caching 0-4294967295
PARAM_VALUE 1 tt->restore->restored_pages 0-s64max
DATA_SOURCE 0 xe r ttm_to_xe_device
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &bch_register_lock

drivers/gpu/drm/xe/xe_bo.c xe_ttm_tt_unpopulate() -> xe_tt_unmap_sg()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
PARAM_VALUE 1 tt 4096-ptr_max
BUF_SIZE 1 tt (-1),64
BUF_SIZE 1 tt (-1),64
BUF_SIZE 1 tt->sg (-1),16
DATA_SOURCE 0 xe r ttm_to_xe_device
DATA_SOURCE 1 tt $1
BIT_INFO 1 tt->page_flags 0x0,0xffffffff
NOSPEC 1 tt->num_pages
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 tt->num_pages 0-u32max[c]
USER_DATA 1 tt->sg->nents 2-s32max[c]
NO_OVERFLOW_SIMPLE 1 tt->cached_rsgt.size
NO_OVERFLOW_SIMPLE 1 tt->dma_ttm.sg->orig_nents
NO_OVERFLOW_SIMPLE 1 tt->gobj->size
NO_OVERFLOW_SIMPLE 1 tt->num_pages
NO_OVERFLOW_SIMPLE 1 tt->restore->snapshot_alloc.remaining_pages
NO_OVERFLOW_SIMPLE 1 tt->sg->orig_nents
NO_OVERFLOW_SIMPLE 1 tt->ttm.num_pages
NO_OVERFLOW_SIMPLE 1 tt->ttm.sg->orig_nents