Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
lib/test_hmm.c dmirror_atomic_map() -> xa_tag_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| DATA_SOURCE | 0 | p | $1 |
| LOCK2 | &dmirror->mutex | ||
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct dmirror)->mutex | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
lib/test_hmm.c dmirror_do_fault() -> xa_tag_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tag | 3 |
| LOCK2 | &dmirror->mutex | ||
| TYPE_LOCK | (struct dmirror)->mutex |
lib/test_hmm.c dmirror_migrate_finalize_and_map() -> xa_tag_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 3 |
| UNITS | 0 | p | unit_page |
| LOCK2 | &dmirror->mutex | ||
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct dmirror)->mutex | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
drivers/iommu/iommu.c iommu_make_pasid_array_entry() -> xa_tag_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| DATA_SOURCE | 0 | p | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &group->mutex | ||
| HALF_LOCKED2 | &igroup->lock | ||
| TYPE_LOCK | (struct iommu_group)->mutex |
drivers/iommu/iommu.c iommu_make_pasid_array_entry() -> xa_tag_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| BUF_SIZE | 0 | p | (-1),112 |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &group->mutex | ||
| HALF_LOCKED2 | &igroup->lock | ||
| HALF_LOCKED2 | global &iommu_sva_lock | ||
| TYPE_LOCK | (struct iommu_group)->mutex |