Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/infiniband/core/umem.c, line 68
- drivers/vfio/pci/virtio/migrate.c, line 117
- lib/scatterlist.c
- tools/testing/scatterlist/main.c, line 125
Smatch caller information:
drivers/infiniband/core/umem.c __ib_umem_release() -> sg_free_append_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | table->total_nents | |
| HALF_LOCKED2 | &context->db_page_mutex |
lib/scatterlist.c sg_alloc_table_from_pages_segment() -> sg_free_append_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 3981068224430514176 |
| PARAM_VALUE | 0 | table->prv | 0 |
| PARAM_VALUE | 0 | table->sgt.sgl | 0,16,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | &pcl->lock | ||
| HALF_LOCKED2 | &pds_vfio->state_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &qdev_mutex | ||
| HALF_LOCKED2 | global &z_erofs_crypto_rwsem | ||
| HALF_LOCKED2 | obj->resv |
drivers/vfio/pci/virtio/migrate.c virtiovf_free_data_buffer() -> sg_free_append_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | table->total_nents | |
| HALF_LOCKED2 | &migf->lock | ||
| HALF_LOCKED2 | &migf->virtvdev->state_mutex | ||
| HALF_LOCKED2 | &virtvdev->state_mutex |