Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/ttm/ttm_device.c ttm_device_prepare_hibernation() -> ttm_device_swapout()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
PARAM_VALUE 1 ctx 5856602347096760320
PARAM_VALUE 1 ctx->resv 0
PARAM_VALUE 2 gfp_flags 3264
DATA_SOURCE 0 bdev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &vgasr_mutex

drivers/gpu/drm/ttm/ttm_device.c ttm_global_swapout() -> ttm_device_swapout()

Type Parameter Key Value
PARAM_VALUE 2 gfp_flags 3264
BUF_SIZE 1 ctx (-1),24
BUF_SIZE 1 ctx (-1),24
DATA_SOURCE 1 ctx $0
DATA_SOURCE 2 gfp_flags $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ctx->allow_res_evict 0-1
NO_OVERFLOW_SIMPLE 1 ctx->bytes_moved
LOCK2 global &ttm_global_mutex
HALF_LOCKED2 &m->lock

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_pm_freeze() -> ttm_device_swapout()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
PARAM_VALUE 1 ctx 7659563292216958976
PARAM_VALUE 1 ctx->resv 0
PARAM_VALUE 2 gfp_flags 3264
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_pm_freeze() -> ttm_device_swapout()

Type Parameter Key Value
PARAM_VALUE 0 bdev 4096-ptr_max
PARAM_VALUE 1 ctx 7659563292216958976
PARAM_VALUE 1 ctx->resv 0
PARAM_VALUE 2 gfp_flags 3264
RX_PATH
TASK_NOT_RUNNING