Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk110.c gk110_chan_preempt() -> gf100_chan_preempt()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->cgrp 4096-ptr_max
PARAM_VALUE 0 chan->cgrp->hw 0
PARAM_VALUE 0 chan->cgrp->runl->fifo->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->func 4096-ptr_max
PARAM_VALUE 0 chan->func->preempt 0,7540588757345890304,8026934487175327744
DATA_SOURCE 0 chan $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &device->intr.lock
HALF_LOCKED2 flags
HALF_LOCKED2 0 &chan->cgrp->lock
HALF_LOCKED2 0 &chan->cgrp->mutex
HALF_LOCKED2 0 &chan->cgrp->runl->mutex
HALF_LOCKED2 0 &chan->lock

drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c nvkm_chan_error() -> (struct nvkm_chan_func)->preempt()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->cgrp->runl->fifo->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->func 4096-ptr_max
DATA_SOURCE 0 chan $0
CONTAINER 0 -56-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &device->intr.lock
LOCK2 flags
LOCK2 flags
LOCK2 0 &chan->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct nvkm_chan)->lock
TYPE_LOCK (struct nvkm_device)->intr.lock

drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c nvkm_chan_preempt_locked() -> (struct nvkm_chan_func)->preempt()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->cgrp 4096-ptr_max
PARAM_VALUE 0 chan->cgrp->runl->fifo->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chan->cgrp->runl->mutex.dep_map->name 0-255
PARAM_VALUE 0 chan->cgrp->runl->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chan->cgrp->runl->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chan->cgrp->runl->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 chan->cgrp->runl->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 chan->cgrp->runl->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 chan->func 4096-ptr_max
PARAM_VALUE 0 chan->func->preempt 7540588757345890304,8026934487175327744
PARAM_VALUE 0 chan->lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 chan $0
CONTAINER 0 -56-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &runl->mutex
HALF_LOCKED2 0 &chan->cgrp->mutex
HALF_LOCKED2 0 &chan->cgrp->runl->mutex
TYPE_LOCK (struct nvkm_runl)->mutex