Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nouveau_abi16.c nouveau_abi16_ioctl_channel_alloc() -> nouveau_sched_create()

Type Parameter Key Value
PARAM_VALUE 0 psched 4096-ptr_max
PARAM_VALUE 1 drm 4096-ptr_max
PARAM_VALUE 1 drm->channel 1-u64max
PARAM_VALUE 3 credit_limit 1023
BUF_SIZE 1 drm s32min-(-2),1-s32max
BUF_SIZE 1 drm s32min-(-2),1-s32max
UNITS 1 drm unit_byte
LOCK2 &file_priv->driver_priv->mutex

drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_cli_init() -> nouveau_sched_create()

Type Parameter Key Value
PARAM_VALUE 0 psched 4096-ptr_max
PARAM_VALUE 1 drm 4096-ptr_max
PARAM_VALUE 1 drm->client_mutex.dep_map->name 0-255
PARAM_VALUE 1 drm->client_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 drm->client_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 drm->client_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 drm->client_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 drm->client_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 drm->client_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 drm->client_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 drm->client_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 drm->client_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 2 wq 0
PARAM_VALUE 3 credit_limit 1
BUF_SIZE 1 drm s32min-(-1),1-s32max
BUF_SIZE 1 drm s32min-(-1),1-s32max
BUF_SIZE 1 drm->sched_wq (-1),512,528-8720
CAPPED_DATA 1 &drm->_client 1
CAPPED_DATA 1 &drm->client_mutex 1
DATA_SOURCE 1 drm $0
STR_LEN 0 psched 3,31
STR_LEN 1 drm 3,31
RX_PATH
TASK_NOT_RUNNING
UNITS 1 drm unit_byte