Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 71 files:

Smatch caller information:

kernel/dma/ops_helpers.c dma_common_get_sgtable() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table (-1),16
BUF_SIZE 0 table (-1),16
DATA_SOURCE 0 table $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ccdc->ioctl_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &stat->ioctl_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &qdev_mutex

net/ceph/messenger_v2.c setup_message_sgs() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 1405262920899645440,1511820765958483968
PARAM_VALUE 0 table->nents 0
PARAM_VALUE 0 table->orig_nents 0
PARAM_VALUE 0 table->sgl 0
PARAM_VALUE 2 gfp_mask 3072
DATA_SOURCE 0 table $0
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &pool->lock

drivers/target/target_core_sbc.c compare_and_write_callback() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 445980850868240384
PARAM_VALUE 0 table->nents 0
PARAM_VALUE 0 table->orig_nents 0
PARAM_VALUE 0 table->sgl 0
PARAM_VALUE 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 nents
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_mgr_alloc_sgt() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 0-s32max
PARAM_VALUE 2 gfp_mask 3264
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attach->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv

drivers/gpu/drm/nouveau/nvkm/core/firmware.c nvkm_firmware_ctor() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 0-524287,4294443008-u32max
PARAM_VALUE 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 &subdev->use.mutex

drivers/hsi/hsi_core.c hsi_alloc_msg() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1-u32max
PARAM_VALUE 2 gfp_mask 2080,3264
DATA_SOURCE 1 nents $0
DATA_SOURCE 2 gfp_mask $1
HARD_MAX 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cl_data->lock

drivers/nvme/target/pci-epf.c nvmet_pci_epf_alloc_iod_data_buf() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 0,2-u32max
PARAM_VALUE 2 gfp_mask 3264
UNITS 1 nents unit_array_size
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c nvkm_gsp_sg() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 5831258479015508784,9091186704665589312,9091186704665590656,9091186704665590704
PARAM_VALUE 2 gfp_mask 3264
DATA_SOURCE 0 table $2
RX_PATH
TASK_NOT_RUNNING

kernel/dma/map_benchmark.c dma_sg_map_benchmark_prepare() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_mmio_remap_alloc_sgt() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
DATA_SOURCE 0 table r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attach->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv

drivers/crypto/qce/aead.c qce_aead_ccm_prepare_buf_assoclen() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 4294967275-4294967276
PARAM_VALUE 2 gfp_mask 2080,3264
FUZZY_MAX 2 gfp_mask 3264
BIT_INFO 1 nents 0xffffffe8,0xffffffef
BIT_INFO 2 gfp_mask 0x800,0xce0
HARD_MAX 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/crypto/qce/aead.c qce_aead_prepare_dst_buf() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 2080,3264
FUZZY_MAX 2 gfp_mask 3264
BIT_INFO 2 gfp_mask 0x800,0xce0
HARD_MAX 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/mtd/nand/raw/stm32_fmc2_nand.c stm32_fmc2_nfc_dma_setup() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 16
PARAM_VALUE 2 gfp_mask 3264
MEM_ZERO 0 table
RX_PATH
TASK_NOT_RUNNING

drivers/mtd/nand/raw/stm32_fmc2_nand.c stm32_fmc2_nfc_dma_setup() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 16
PARAM_VALUE 2 gfp_mask 3264
MEM_ZERO 0 table
RX_PATH
TASK_NOT_RUNNING

drivers/media/common/videobuf2/videobuf2-vmalloc.c vb2_vmalloc_dmabuf_ops_attach() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock

drivers/usb/chipidea/udc.c sglist_do_bounce() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
CAPPED_DATA 1 nents 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 &ci->lock
HALF_LOCKED2 flags
HALF_LOCKED2 hwep->lock

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c i915_gem_map_dma_buf() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attach->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c mock_map_dma_buf() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attachment->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv

drivers/crypto/ccp/ccp-crypto-aes-cmac.c ccp_do_cmac_update() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 2080,3264
FUZZY_MAX 2 gfp_mask 3264
BIT_INFO 2 gfp_mask 0x800,0xce0
HARD_MAX 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/i915_vma.c intel_partial_pages() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 &gt->perf.lock
HALF_LOCKED2 __flags
HALF_LOCKED2 bo->base.resv
HALF_LOCKED2 ce->timeline->hwsp_ggtt->obj->base.resv
HALF_LOCKED2 engine->legacy.ring->vma->obj->base.resv
HALF_LOCKED2 obj->base.resv
HALF_LOCKED2 obj->base.resv
HALF_LOCKED2 rpcs->base.resv
HALF_LOCKED2 timeline->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/i915_vma.c intel_remap_pages() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
DATA_SOURCE 1 nents r intel_remapped_info_size
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->perf.lock
HALF_LOCKED2 __flags
HALF_LOCKED2 bo->base.resv
HALF_LOCKED2 ce->timeline->hwsp_ggtt->obj->base.resv
HALF_LOCKED2 engine->legacy.ring->vma->obj->base.resv
HALF_LOCKED2 obj->base.resv
HALF_LOCKED2 obj->base.resv
HALF_LOCKED2 rpcs->base.resv
HALF_LOCKED2 timeline->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/i915_vma.c intel_rotate_pages() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
DATA_SOURCE 1 nents r intel_rotation_info_size
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->perf.lock
HALF_LOCKED2 __flags
HALF_LOCKED2 bo->base.resv
HALF_LOCKED2 ce->timeline->hwsp_ggtt->obj->base.resv
HALF_LOCKED2 engine->legacy.ring->vma->obj->base.resv
HALF_LOCKED2 obj->base.resv
HALF_LOCKED2 obj->base.resv
HALF_LOCKED2 rpcs->base.resv
HALF_LOCKED2 timeline->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/i915_gem_gtt.c fake_get_pages() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 76992
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 nents
HALF_LOCKED2 obj->base.resv

drivers/fpga/tests/fpga-mgr-test.c fpga_mgr_test_img_load_sgt() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 16,4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r kunit_kzalloc
MEM_ZERO 0 table

drivers/spi/spi-ep93xx.c ep93xx_spi_dma_prepare() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->sgl 0
PARAM_VALUE 1 nents 0-1048576
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
PARAM_COMPARE 1 nents != $0->nents
RX_PATH
TASK_NOT_RUNNING
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/iommu/dma-iommu.c iommu_dma_get_sgtable() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table (-1),16
BUF_SIZE 0 table (-1),16
DATA_SOURCE 0 table $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ccdc->ioctl_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &stat->ioctl_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &qdev_mutex

drivers/mmc/core/sdio_ops.c mmc_io_rw_extended() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 2729538301290926080
PARAM_VALUE 1 nents 2-u32max
PARAM_VALUE 2 gfp_mask 3264
FUZZY_MAX 1 nents 2
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c amdgpu_gart_table_ram_alloc() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/block/rnbd/rnbd-clt.c rnbd_get_iu() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/dma-buf/heaps/system_heap.c dup_sg_table() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
DATA_SOURCE 0 table $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock

drivers/dma-buf/heaps/system_heap.c system_heap_allocate() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1-s32max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16

drivers/dma-buf/dma-buf.c dma_buf_wrap_sg_table() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attach->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv

drivers/tee/tee_heap.c copy_sg_table() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
DATA_SOURCE 0 table $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock

drivers/tee/tee_heap.c protmem_pool_op_static_alloc() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
DATA_SOURCE 0 table $1

drivers/gpu/drm/tests/drm_gem_shmem_test.c drm_gem_shmem_test_obj_create_private() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kzalloc_noprof

drivers/gpu/drm/i915/gem/i915_gem_shmem.c shmem_sg_alloc_table() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 11456
BUF_SIZE 0 table 16
DATA_SOURCE 0 table $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nents 0-u32max[c]
UNITS 1 nents unit_page

drivers/gpu/drm/virtio/virtgpu_vq.c vmalloc_to_sgt() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1-1048576
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/dma-buf/dma-buf-mapping.c dma_buf_phys_vec_to_sgt() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3520
DATA_SOURCE 1 nents r calc_sg_nents
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attach->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv

drivers/crypto/ccp/ccp-crypto-sha.c ccp_do_sha_update() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 2080,3264
FUZZY_MAX 2 gfp_mask 3264
BIT_INFO 2 gfp_mask 0x800,0xce0
HARD_MAX 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gem/i915_gem_object.c fake_get_huge_pages() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 76992
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/gem/i915_gem_object.c fake_get_huge_pages_single() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 76992
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/gem/i915_gem_object.c get_huge_pages() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 76992
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/gem/i915_gem_object.c huge_get_pages() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 27840
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 obj->base.resv

drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap_config_hma() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

drivers/spi/spi-pl022.c configure_dma() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1-1048576
PARAM_VALUE 2 gfp_mask 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-pl022.c configure_dma() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1-1048576
PARAM_VALUE 2 gfp_mask 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi.c spi_map_buf_attrs() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
DATA_SOURCE 0 table $2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 nents 0-s32max[c]
USER_DATA 1 nents 0-s32max[c]
HALF_LOCKED2 &ctlr->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/media/platform/st/stm32/stm32-dcmi.c dcmi_buf_prepare() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdev->req_queue_mutex
HALF_LOCKED2 vb->vb2_queue->lock

drivers/media/platform/st/stm32/stm32-dcmi.c dcmi_buf_prepare() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 2080
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdev->req_queue_mutex
HALF_LOCKED2 vb->vb2_queue->lock

drivers/media/common/videobuf2/videobuf2-dma-sg.c vb2_dma_sg_dmabuf_ops_attach() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock

drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_sdiod_sgtable_alloc() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING

drivers/spi/spi-stm32.c stm32_spi_prepare_rx_dma_mdma_chaining() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 23859163398266880
PARAM_VALUE 2 gfp_mask 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ctrl->io_mutex
LOCK2 &spi->lock
LOCK2 flags
HALF_LOCKED2 &ctrl->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex
TYPE_LOCK (struct stm32_spi)->lock

drivers/spi/spi-stm32.c stm32_spi_prepare_rx_dma_mdma_chaining() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 2954763425104834560
PARAM_VALUE 1 nents 1-u32max
PARAM_VALUE 2 gfp_mask 2080
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ctrl->io_mutex
LOCK2 &spi->lock
LOCK2 flags
HALF_LOCKED2 &ctrl->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex
TYPE_LOCK (struct stm32_spi)->lock

drivers/gpu/drm/i915/gem/i915_gem_stolen.c i915_pages_create_for_stolen() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 obj->base.resv

drivers/infiniband/ulp/rtrs/rtrs-srv.c map_cont_bufs() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_array_size
LOCK2 &srv->paths_mutex
HALF_LOCKED2 &id_priv->handler_mutex
HALF_LOCKED2 &listen_id->handler_mutex
TYPE_LOCK (struct rtrs_srv_sess)->paths_mutex

drivers/gpu/drm/virtio/virtgpu_vram.c virtio_gpu_vram_map_dma_buf() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attach->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv

drivers/gpu/drm/xe/xe_ttm_vram_mgr.c xe_ttm_vram_mgr_alloc_sgt() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 0-s32max
PARAM_VALUE 2 gfp_mask 3264
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attach->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv

drivers/gpu/drm/i915/gem/i915_gem_internal.c i915_gem_object_get_pages_internal() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 obj->base.resv

drivers/usb/gadget/function/uvc_video.c uvc_video_alloc_requests() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 2-979,1048578
PARAM_VALUE 2 gfp_mask 3264
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/gpu/drm/i915/gem/i915_gem_phys.c i915_gem_object_get_pages_phys() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 obj->base.resv

net/smc/smc_core.c smcr_buf_map_link() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 1 nents 0-524287,4294443008-u32max
PARAM_VALUE 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 &lgr->llc_conf_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 lock

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c create_sg_table() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &p->mutex

drivers/media/common/videobuf2/videobuf2-dma-contig.c vb2_dc_dmabuf_ops_attach() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock

drivers/gpu/drm/i915/gvt/dmabuf.c vgpu_gem_get_pages() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 obj->base.resv

drivers/accel/habanalabs/common/memory.c alloc_sgt_from_device_pages() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1-u32max
PARAM_VALUE 2 gfp_mask 3520
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kzalloc_noprof
FUZZY_MAX 1 nents 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attachment->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv

drivers/gpu/drm/omapdrm/omap_gem.c omap_gem_get_sg() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
LOCK2 &omap_obj->lock
HALF_LOCKED2 &bo->lock
HALF_LOCKED2 &dbc->ch_lock
HALF_LOCKED2 &qdev->dev_lock
HALF_LOCKED2 &usr->qddev_lock
HALF_LOCKED2 attachment->dmabuf->resv
HALF_LOCKED2 bo->base.base.resv
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 resv
TYPE_LOCK (struct omap_gem_object)->lock

net/ceph/crypto.c setup_sgtable() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 3384612243073269760,4868402234414284800,7854656253969461248
PARAM_VALUE 1 nents 2-1048575
PARAM_VALUE 2 gfp_mask 3136
DATA_SOURCE 0 table $0
USER_DATA 1 nents 2-1048575[c]
UNITS 1 nents unit_page
HALF_LOCKED2 &ac->mutex

drivers/gpu/drm/i915/i915_scatterlist.c alloc_table() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 948712048651821056,5593747192644792320
PARAM_VALUE 2 gfp_mask 76992
DATA_SOURCE 1 nents $2
NO_OVERFLOW_SIMPLE 0 table->nents
NO_OVERFLOW_SIMPLE 1 nents

drivers/gpu/drm/i915/i915_scatterlist.c i915_rsgt_from_buddy_resource() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->sgl 0
PARAM_VALUE 2 gfp_mask 11456
BUF_SIZE 0 table 16
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nents 0-u32max[c]
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/i915_scatterlist.c i915_rsgt_from_mm_node() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->sgl 0
PARAM_VALUE 2 gfp_mask 11456
BUF_SIZE 0 table 16
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/i915_scatterlist.c i915_sg_trim() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 3330543365352697856
PARAM_VALUE 1 nents 1-u32max
PARAM_VALUE 2 gfp_mask 11456
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 nents

kernel/dma/mapping.c alloc_single_sgt() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 0,64-u32max
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
DATA_SOURCE 2 gfp_mask $3
BIT_INFO 2 gfp_mask 0x0,0xfffbffff
RX_PATH
TASK_NOT_RUNNING

drivers/crypto/qce/skcipher.c qce_skcipher_async_req_handle() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 2080,3264
FUZZY_MAX 2 gfp_mask 3264
BIT_INFO 2 gfp_mask 0x800,0xce0
HARD_MAX 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/accel/qaic/qaic_data.c clone_range_of_sgt_for_slice() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kzalloc_noprof
LOCK2 &bo->lock
LOCK2 &dbc->ch_lock
LOCK2 &qdev->dev_lock
LOCK2 &usr->qddev_lock
TYPE_LOCK (struct dma_bridge_chan)->ch_lock
TYPE_LOCK (struct qaic_bo)->lock
TYPE_LOCK (struct qaic_device)->dev_lock
TYPE_LOCK (struct qaic_user)->qddev_lock

drivers/accel/qaic/qaic_data.c create_sgt() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 0-s32max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
LOCK2 &qdev->dev_lock
LOCK2 &usr->qddev_lock
TYPE_LOCK (struct qaic_device)->dev_lock
TYPE_LOCK (struct qaic_user)->qddev_lock

drivers/accel/qaic/qaic_data.c qaic_get_sg_table() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 0 table r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/rapidio/devices/rio_mport_cdev.c rio_dma_transfer() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264

drivers/vdpa/mlx5/core/mr.c map_direct_mr() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 2 gfp_mask 3264
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mvdev->mres.lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &ndev->reslock
TYPE_LOCK (struct mlx5_vdpa_mr_resources)->lock

drivers/hwtracing/intel_th/msu.c __msc_buffer_win_alloc() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1-u32max
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table 16
DATA_SOURCE 1 nents $1
CAPABLE 0 17
RX_PATH
TASK_NOT_RUNNING
LOCK2 &msc->buf_mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct msc)->buf_mutex

drivers/hwtracing/intel_th/msu.c msc_buffer_contig_alloc() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->sgl 0
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
CAPABLE 0 17
RX_PATH
TASK_NOT_RUNNING
LOCK2 &msc->buf_mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct msc)->buf_mutex

kernel/dma/direct.c dma_direct_get_sgtable() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 1
PARAM_VALUE 2 gfp_mask 3264
BUF_SIZE 0 table (-1),16
BUF_SIZE 0 table (-1),16
DATA_SOURCE 0 table $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ccdc->ioctl_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &stat->ioctl_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &qdev_mutex

drivers/hwtracing/intel_th/msu-sink.c msu_sink_alloc_window() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 nents 0-1048575
PARAM_VALUE 2 gfp_mask 3264
CAPABLE 0 17
RX_PATH
TASK_NOT_RUNNING
LOCK2 &msc->buf_mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct msc)->buf_mutex

drivers/char/agp/intel-gtt.c intel_gtt_map_memory() -> sg_alloc_table()

Type Parameter Key Value
PARAM_VALUE 0 table 5784706535082049536
PARAM_VALUE 2 gfp_mask 3264
DATA_SOURCE 0 table $2
DATA_SOURCE 1 nents $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nents unit_page
HALF_LOCKED2 bo->base.resv