Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_ttm_tt_shmem_populate() -> shmem_sg_free_table()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->sgl 0
PARAM_VALUE 1 mapping->host->i_mapping 4096-ptr_max
PARAM_VALUE 1 mapping->host->i_mapping->i_pages.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 mapping->host->i_sb->s_fs_info->used_blocks->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 dirty 0
PARAM_VALUE 3 backup 0
BUF_SIZE 0 st 16
CAPPED_DATA 1 mapping->host->i_mapping 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 st->nents

drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_ttm_tt_shmem_unpopulate() -> shmem_sg_free_table()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
BUF_SIZE 0 st 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/i915/gem/i915_gem_shmem.c i915_gem_object_put_pages_shmem() -> shmem_sg_free_table()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 2 dirty 0
DATA_SOURCE 0 st $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/gem/i915_gem_shmem.c shmem_get_pages() -> shmem_sg_free_table()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->sgl 0
PARAM_VALUE 1 mapping->host->i_mapping 4096-ptr_max
PARAM_VALUE 1 mapping->host->i_mapping->i_pages.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 mapping->host->i_sb->s_fs_info->used_blocks->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 dirty 0
PARAM_VALUE 3 backup 0
BUF_SIZE 0 st 16
CAPPED_DATA 1 mapping->host->i_mapping 1
DATA_SOURCE 0 st r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/gem/i915_gem_shmem.c shmem_get_pages() -> shmem_sg_free_table()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->sgl 0
PARAM_VALUE 1 mapping->host->i_mapping 4096-ptr_max
PARAM_VALUE 1 mapping->host->i_mapping->i_pages.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 mapping->host->i_sb->s_fs_info->used_blocks->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 dirty 0
PARAM_VALUE 3 backup 0
BUF_SIZE 0 st 16
CAPPED_DATA 1 mapping->host->i_mapping 1
DATA_SOURCE 0 st r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/gem/i915_gem_shmem.c shmem_sg_alloc_table() -> shmem_sg_free_table()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->orig_nents 0
PARAM_VALUE 0 st->sgl 0
PARAM_VALUE 1 mapping 4096-ptr_max
PARAM_VALUE 1 mapping->host 4096-ptr_max
PARAM_VALUE 1 mapping->host->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 mapping->host->i_mapping 4096-ptr_max
PARAM_VALUE 1 mapping->host->i_sb->s_fs_info->used_blocks.lock.dep_map->name 0-255
PARAM_VALUE 2 dirty 0
PARAM_VALUE 3 backup 0
BUF_SIZE 0 st 16
DATA_SOURCE 0 st $1
DATA_SOURCE 1 mapping $4
MEM_ZERO 0 st
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL