Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/huge_memory.c move_pages_huge_pmd() -> double_pt_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptl1 | 4096-ptr_max |
| PARAM_VALUE | 0 | ptl1->rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ptl1 | r pmd_lockptr |
| DATA_SOURCE | 1 | ptl2 | r pmd_lockptr |
| NOCHECK_CALL | |||
| LOCK2 | &ctx->map_changing_lock | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |
mm/userfaultfd.c move_present_ptes() -> double_pt_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptl1 | 4096-ptr_max |
| PARAM_VALUE | 0 | ptl1->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ptl2 | 4096-ptr_max |
| PARAM_VALUE | 1 | ptl2->rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ptl1 | $11 |
| DATA_SOURCE | 1 | ptl2 | $12 |
| NOCHECK_CALL | |||
| LOCK2 | &ctx->map_changing_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |
mm/userfaultfd.c move_swap_pte() -> double_pt_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptl1 | 4096-ptr_max |
| PARAM_VALUE | 0 | ptl1->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ptl2 | 4096-ptr_max |
| PARAM_VALUE | 1 | ptl2->rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ptl1 | $10 |
| DATA_SOURCE | 1 | ptl2 | $11 |
| NOCHECK_CALL | |||
| LOCK2 | &ctx->map_changing_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |
mm/userfaultfd.c move_zeropage_pte() -> double_pt_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptl1 | 4096-ptr_max |
| PARAM_VALUE | 0 | ptl1->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ptl2 | 4096-ptr_max |
| PARAM_VALUE | 1 | ptl2->rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ptl1 | $11 |
| DATA_SOURCE | 1 | ptl2 | $12 |
| NOCHECK_CALL | |||
| LOCK2 | &ctx->map_changing_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |