Defined in 1 files as a function:

Referenced in 15 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/vmm.c r535_mmu_vaspace_new() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->handle 2431713280,3671720002
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subdev->use.mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/ofa.c r570_ofa_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->client->gsp 4096-ptr_max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &svmm->mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvenc.c r535_nvenc_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->client->gsp 4096-ptr_max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &svmm->mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/disp.c r570_dmac_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c nvkm_gsp_rm_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 4096-ptr_max
PARAM_VALUE 0 object->client->gsp 4096-ptr_max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 1-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &svmm->mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/client.c r535_gsp_client_ctor() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->handle 0,1048576-u32max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subdev->use.mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gr.c nvkm_gsp_rm_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 95278062890299392
PARAM_VALUE 0 object->client 4096-ptr_max
PARAM_VALUE 0 object->handle 2533359616
PARAM_VALUE 0 object->parent 7992373685240045584
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 0 object->parent->handle 4059037696
PARAM_VALUE 1 argv 1-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
LOCK2 &subdev->use.mutex
TYPE_LOCK (struct nvkm_subdev)->use.mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvdec.c r535_nvdec_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->client->gsp 4096-ptr_max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &svmm->mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c nvkm_gsp_rm_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4031827201882886616,4031827201882886640
PARAM_VALUE 0 object->client 4096-ptr_max
PARAM_VALUE 0 object->handle 0,65536-4294901760
PARAM_VALUE 0 object->parent 4031827201882886568
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 1-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subdev->use.mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c r535_curs_init() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 2626173023850242208
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c r535_dmac_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fifo.c r570_chan_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->handle 3671720005,4059037696-4059037760
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 0 object $12
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subdev->use.mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvjpg.c r535_nvjpg_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->client->gsp 4096-ptr_max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &svmm->mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ce.c r535_ce_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->client->gsp 4096-ptr_max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &svmm->mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gr.c nvkm_gsp_rm_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 4096-ptr_max
PARAM_VALUE 0 object->handle 3671720006
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 0 object->parent->handle 3671720005
PARAM_VALUE 1 argv 1-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subdev->use.mutex
HALF_LOCKED2 flags

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c nvkm_gsp_rm_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 4096-ptr_max
PARAM_VALUE 0 object->handle 1562181632
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 0 object->parent->handle 3726442496
PARAM_VALUE 1 argv 1-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subdev->use.mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c r535_gsp_device_ctor() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->handle 3726442496
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subdev->use.mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c r535_gsp_device_event_ctor() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 2368579706525094624,2368579706525094688
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->handle 8257536-8257537
PARAM_VALUE 0 object->parent 2368579706525094336
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
LOCK2 &subdev->use.mutex
TYPE_LOCK (struct nvkm_subdev)->use.mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/client.c r570_gsp_client_ctor() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->handle 0,1048576-u32max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subdev->use.mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ofa.c r535_ofa_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->client->gsp 4096-ptr_max
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 0 object $4
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &svmm->mutex

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c r535_chan_alloc() -> nvkm_gsp_rm_alloc_wr()

Type Parameter Key Value
PARAM_VALUE 0 object 4096-ptr_max
PARAM_VALUE 0 object->client 0,4096-ptr_max
PARAM_VALUE 0 object->handle 3671720005,4059037696-4059037760
PARAM_VALUE 0 object->parent 4096-ptr_max
PARAM_VALUE 0 object->parent->client 4096-ptr_max
PARAM_VALUE 1 argv 4096-ptr_max
DATA_SOURCE 0 object $12
DATA_SOURCE 1 argv r nvkm_gsp_rm_alloc_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subdev->use.mutex