Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_tt_get_user_pages() -> amdgpu_ttm_tt_is_readonly()

Type Parameter Key Value
LOCK2 &mm->mmap_lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &process_info->lock
TYPE_LOCK (struct mm_struct)->mmap_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_tt_pte_flags() -> amdgpu_ttm_tt_is_readonly()

Type Parameter Key Value
BUF_SIZE 0 ttm (-1),64
BUF_SIZE 0 ttm (-1),64
BUF_SIZE 0 ttm->sg (-1),16
DATA_SOURCE 0 ttm $1
NOSPEC 0 ttm->num_pages
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ttm->num_pages 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 ttm->cached_rsgt.size
NO_OVERFLOW_SIMPLE 0 ttm->dma_ttm.sg->orig_nents
NO_OVERFLOW_SIMPLE 0 ttm->gobj->size
NO_OVERFLOW_SIMPLE 0 ttm->num_pages
NO_OVERFLOW_SIMPLE 0 ttm->sg->orig_nents
NO_OVERFLOW_SIMPLE 0 ttm->ttm.num_pages
NO_OVERFLOW_SIMPLE 0 ttm->ttm.sg->orig_nents
HALF_LOCKED2 &entity->lock
HALF_LOCKED2 &mgr->lock