Defined in 28 files as a member:

Defined in 2 files as a function:

Referenced in 322 files:

Smatch caller information:

drivers/comedi/drivers.c comedi_device_detach_locked() -> (struct comedi_driver)->detach()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->attach_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->attach_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dev->attach_lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 dev->attach_lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 dev->attach_lock.first_waiter->type 0-1
PARAM_VALUE 0 dev->attach_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->attach_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->attach_lock.wait_lock.owner (-1)
PARAM_VALUE 0 dev->attach_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->attached 0
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->attach 0,4096-ptr_max
PARAM_VALUE 0 dev->driver->auto_attach 0,4096-ptr_max
PARAM_VALUE 0 dev->driver->board_name 0,4096-ptr_max
PARAM_VALUE 0 dev->driver->detach 4096-ptr_max
PARAM_VALUE 0 dev->driver->module 0
PARAM_VALUE 0 dev->driver->num_names 0-5,7-8,11,13-14,18,22
PARAM_VALUE 0 dev->driver->offset 0,8,16,24,32,40,48
PARAM_VALUE 0 dev->mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dev->mutex.wait_lock.owner_cpu u32max
DATA_SOURCE 0 dev $0
CONTAINER 0 -32-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->attach_lock
LOCK2 0 &dev->mutex
TYPE_LOCK (struct comedi_device)->attach_lock
TYPE_LOCK (struct comedi_device)->mutex

Smatch assignments to (struct dma_buf_ops)->detach:

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c (null)() -> (struct dma_buf_ops)->detach [0]

drivers/iommu/iommufd/selftest.c (null)() -> (struct dma_buf_ops)->detach [5837649161315487744]

drivers/gpu/drm/panthor/panthor_gem.c (null)() -> (struct dma_buf_ops)->detach [7268653860534677504]

drivers/gpu/drm/tegra/gem.c (null)() -> (struct dma_buf_ops)->detach [0]

drivers/accel/amdxdna/amdxdna_gem.c (null)() -> (struct dma_buf_ops)->detach [7268653860534677504]

drivers/media/common/videobuf2/videobuf2-vmalloc.c (null)() -> (struct dma_buf_ops)->detach [367747123758788608]

drivers/misc/fastrpc.c (null)() -> (struct dma_buf_ops)->detach [7181639608781029376]

drivers/gpu/drm/virtio/virtgpu_prime.c (null)() -> (struct dma_buf_ops)->detach [7268653860534677504]

drivers/gpu/drm/vmwgfx/ttm_object.c ttm_object_device_release() -> (struct dma_buf_ops)->detach [min-max]

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c (null)() -> (struct dma_buf_ops)->detach [0,617263449852665856]

drivers/dma-buf/heaps/system_heap.c (null)() -> (struct dma_buf_ops)->detach [1518345843724288000]

drivers/infiniband/core/uverbs_std_types_dmabuf.c (null)() -> (struct dma_buf_ops)->detach [0]

drivers/tee/tee_heap.c (null)() -> (struct dma_buf_ops)->detach [6560896044460859392]

drivers/gpu/drm/panfrost/panfrost_gem.c (null)() -> (struct dma_buf_ops)->detach [7268653860534677504]

drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c (null)() -> (struct dma_buf_ops)->detach [0]

drivers/accel/ivpu/ivpu_gem_userptr.c (null)() -> (struct dma_buf_ops)->detach [0]

sound/soc/fsl/fsl_asrc_m2m.c (null)() -> (struct dma_buf_ops)->detach [0]

drivers/media/common/videobuf2/videobuf2-dma-sg.c (null)() -> (struct dma_buf_ops)->detach [6386078356335284224]

drivers/accel/amdxdna/amdxdna_ubuf.c (null)() -> (struct dma_buf_ops)->detach [0]

samples/vfio-mdev/mbochs.c (null)() -> (struct dma_buf_ops)->detach [0]

drivers/gpu/drm/xe/xe_dma_buf.c (null)() -> (struct dma_buf_ops)->detach [1967865663842521088]

drivers/gpu/drm/msm/msm_gem_prime.c (null)() -> (struct dma_buf_ops)->detach [7268653860534677504]

drivers/gpu/drm/drm_prime.c (null)() -> (struct dma_buf_ops)->detach [7268653860534677504]

drivers/vfio/pci/vfio_pci_dmabuf.c (null)() -> (struct dma_buf_ops)->detach [0]

drivers/dma-buf/heaps/cma_heap.c (null)() -> (struct dma_buf_ops)->detach [835499085272330240]

drivers/media/common/videobuf2/videobuf2-dma-contig.c (null)() -> (struct dma_buf_ops)->detach [2511342688688037888]

drivers/accel/habanalabs/common/memory.c (null)() -> (struct dma_buf_ops)->detach [0]

drivers/dma-buf/udmabuf.c (null)() -> (struct dma_buf_ops)->detach [0]

drivers/accel/amdxdna/amdxdna_cbuf.c (null)() -> (struct dma_buf_ops)->detach [0]

drivers/xen/gntdev-dmabuf.c (null)() -> (struct dma_buf_ops)->detach [7156723262356791296]

drivers/gpu/drm/vmwgfx/vmwgfx_prime.c (null)() -> (struct dma_buf_ops)->detach [8894511743179894784]