Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c, line 119
- drivers/infiniband/sw/rxe/rxe_mr.c, line 134
- drivers/infiniband/sw/siw/siw_mem.c, line 365
- include/linux/scatterlist.h
- lib/scatterlist.c
- sound/core/memalloc.c, line 618
Smatch caller information:
drivers/gpu/drm/msm/adreno/a2xx_gpummu.c a2xx_gpummu_map() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 7795450819126657024 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| HALF_LOCKED2 | &vm->mmu_lock |
sound/core/memalloc.c snd_dma_noncontig_iter_set() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 48428183701012480,5355193299123015680,6208016492203802624 |
| PARAM_VALUE | 3 | pgoffset | 0-4503599627370495 |
| DATA_SOURCE | 0 | piter | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | pgoffset | 0-4503599627370495[c] |
| UNITS | 1 | sglist | unit_byte |
| UNITS | 3 | pgoffset | unit_page |
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c nvkm_gsp_radix3_sg() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 3752262979203342336 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c nvkm_gsp_radix3_sg() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 3752262979203342336 |
| PARAM_VALUE | 0 | piter->__pg_advance | 0 |
| PARAM_VALUE | 0 | piter->sg_pgoffset | 0 |
| PARAM_VALUE | 2 | nents | 0-s32max |
| PARAM_VALUE | 3 | pgoffset | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/media/common/saa7146/saa7146_core.c saa7146_pgtable_build_single() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 509523289211355136 |
| PARAM_VALUE | 1 | sglist | 4096-ptr_max |
| PARAM_VALUE | 2 | nents | 1-u32max |
| PARAM_VALUE | 3 | pgoffset | 0 |
| BUF_SIZE | 1 | sglist | (-1)-0,768-11296,12032-22560 |
| BUF_SIZE | 1 | sglist | (-1)-0,768-11296,12032-22560 |
| DATA_SOURCE | 1 | sglist | $2 |
| DATA_SOURCE | 2 | nents | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | nents | |
| UNITS | 1 | sglist | unit_byte |
drivers/dma-buf/heaps/system_heap.c system_heap_do_vmap() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 7215305419183722496 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| LOCK2 | &buffer->lock | ||
| HALF_LOCKED2 | &etnaviv_obj->lock | ||
| HALF_LOCKED2 | dmabuf->resv | ||
| TYPE_LOCK | (struct system_heap_buffer)->lock |
drivers/infiniband/sw/rdmavt/mr.c rvt_reg_user_mr() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 7333057022583463936 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
drivers/accel/ivpu/ivpu_gem_userptr.c ivpu_gem_userptr_dmabuf_release() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 4458866921304731648 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
drivers/infiniband/sw/rxe/rxe_mr.c rxe_mr_fill_pages_from_sgt() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 188188343389057024 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
lib/scatterlist.c sg_miter_start() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 4096-ptr_max |
| PARAM_VALUE | 3 | pgoffset | 0 |
| BUF_SIZE | 1 | sglist | (-1)-s32max |
| BUF_SIZE | 1 | sglist | (-1)-s32max |
| DATA_SOURCE | 1 | sglist | $1 |
| DATA_SOURCE | 2 | nents | $2 |
| MEM_ZERO | 0 | piter | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sglist->length | 0-2147483646[c] |
| USER_DATA | 1 | sglist->length | 1-u32max[c] |
| USER_DATA | 1 | sglist->offset | 0-2147551739[c] |
| USER_DATA | 2 | nents | 1-5[c] |
| NO_OVERFLOW_SIMPLE | 0 | piter->__nents | |
| UNITS | 1 | sglist | unit_byte |
| UNITS | 2 | nents | unit_array_size |
| HALF_LOCKED2 | &dum->lock | ||
| HALF_LOCKED2 | &host->cmd_mutex | ||
| HALF_LOCKED2 | &host->lock | ||
| HALF_LOCKED2 | &host->mmc_serializer | ||
| HALF_LOCKED2 | &host->thread_lock | ||
| HALF_LOCKED2 | &musb->lock | ||
| HALF_LOCKED2 | &udev->cmdr_lock | ||
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/lima/lima_vm.c lima_vm_bo_add() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 5824308408235614208 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| LOCK2 | &bo->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file->driver_priv->mutex | ||
| HALF_LOCKED2 | &file->prime.lock | ||
| HALF_LOCKED2 | &obj->dev->object_name_lock | ||
| TYPE_LOCK | (struct lima_bo)->lock | ||
| TYPE_LOCK | (struct lima_vm)->lock |
drivers/gpu/drm/lima/lima_vm.c lima_vm_map_bo() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 4992843553738686464 |
| PARAM_VALUE | 3 | pgoffset | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 3 | pgoffset | $2 |
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| UNITS | 3 | pgoffset | unit_page |
| LOCK2 | &bo->lock | ||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct lima_bo)->lock | ||
| TYPE_LOCK | (struct lima_vm)->lock |
drivers/gpu/drm/drm_prime.c drm_prime_sg_to_dma_addr_array() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 4850184587726221312 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
drivers/gpu/drm/drm_prime.c drm_prime_sg_to_page_array() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 665696025689055232 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/infiniband/sw/siw/siw_mem.c siw_umem_get() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 3757648274153824256 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
drivers/gpu/drm/radeon/radeon_ttm.c radeon_ttm_tt_unpin_userptr() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 4969727975844876288 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
drivers/media/common/saa7146/saa7146_video.c saa7146_pgtable_build() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 7795448270238294016 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
drivers/media/platform/rockchip/rga/rga-buf.c fill_descriptors() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 3274556456448798720 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| HALF_LOCKED2 | &mdev->req_queue_mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/gpu/drm/i915/i915_scatterlist.c expect_pfn_sg_page_iter() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 2184110879603552256 |
| PARAM_VALUE | 1 | sglist | 0 |
| PARAM_VALUE | 2 | nents | 0 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | nents | |
| UNITS | 1 | sglist | unit_byte |
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c vmw_piter_start() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 1627973114866065424,2718897440354467856,5716402610510315536,7235731709200728080 |
| PARAM_VALUE | 3 | pgoffset | 0-4503599627370495 |
| DATA_SOURCE | 3 | pgoffset | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| UNITS | 3 | pgoffset | unit_page |
| HALF_LOCKED2 | bo->base.resv |
drivers/gpu/drm/panfrost/panfrost_dump.c panfrost_core_dump() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 8651130627325575168 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2_vb2_buf_init() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 5068322487207211008 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
drivers/vfio/pci/virtio/migrate.c virtiovf_free_data_buffer() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 6184422983008428032 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
| HALF_LOCKED2 | &migf->lock | ||
| HALF_LOCKED2 | &migf->virtvdev->state_mutex | ||
| HALF_LOCKED2 | &virtvdev->state_mutex |
drivers/gpu/drm/drm_cache.c drm_clflush_sg() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 2768697011936215040 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |
drivers/xen/gntdev-dmabuf.c dmabuf_imp_to_refs() -> __sg_page_iter_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | piter | 4328328921332363264 |
| PARAM_VALUE | 1 | sglist | 4096-ptr_max |
| PARAM_VALUE | 2 | nents | 0 |
| PARAM_VALUE | 3 | pgoffset | 0 |
| NOCHECK_CALL | |||
| UNITS | 1 | sglist | unit_byte |