Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/userfaultfd.c move_present_ptes() -> is_pte_pages_stable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_pte | 4096-ptr_max |
| PARAM_VALUE | 1 | src_pte | 4096-ptr_max |
| PARAM_VALUE | 4 | dst_pmd | 4096-ptr_max |
| DATA_SOURCE | 0 | dst_pte | $5 |
| DATA_SOURCE | 1 | src_pte | $6 |
| DATA_SOURCE | 2 | orig_dst_pte | $7 |
| DATA_SOURCE | 3 | orig_src_pte | $8 |
| DATA_SOURCE | 4 | dst_pmd | $9 |
| DATA_SOURCE | 5 | dst_pmdval | $10 |
| LOCK2 | &ctx->map_changing_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |
mm/userfaultfd.c move_swap_pte() -> is_pte_pages_stable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_pte | 4096-ptr_max |
| PARAM_VALUE | 1 | src_pte | 4096-ptr_max |
| PARAM_VALUE | 4 | dst_pmd | 4096-ptr_max |
| DATA_SOURCE | 0 | dst_pte | $4 |
| DATA_SOURCE | 1 | src_pte | $5 |
| DATA_SOURCE | 2 | orig_dst_pte | $6 |
| DATA_SOURCE | 3 | orig_src_pte | $7 |
| DATA_SOURCE | 4 | dst_pmd | $8 |
| DATA_SOURCE | 5 | dst_pmdval | $9 |
| LOCK2 | &ctx->map_changing_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |
mm/userfaultfd.c move_zeropage_pte() -> is_pte_pages_stable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst_pte | 4096-ptr_max |
| PARAM_VALUE | 1 | src_pte | 4096-ptr_max |
| PARAM_VALUE | 4 | dst_pmd | 4096-ptr_max |
| DATA_SOURCE | 0 | dst_pte | $5 |
| DATA_SOURCE | 1 | src_pte | $6 |
| DATA_SOURCE | 2 | orig_dst_pte | $7 |
| DATA_SOURCE | 3 | orig_src_pte | $8 |
| DATA_SOURCE | 4 | dst_pmd | $9 |
| DATA_SOURCE | 5 | dst_pmdval | $10 |
| LOCK2 | &ctx->map_changing_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |