Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- arch/powerpc/lib/code-patching.c
- arch/x86/kernel/alternative.c, line 2416
- arch/x86/kernel/ldt.c
- arch/x86/mm/init.c, line 850
- mm/memory.c
Smatch caller information:
arch/x86/mm/init.c poking_init() -> get_locked_pte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | ptl | 6042064985971802112 |
| DATA_SOURCE | 0 | mm | r mm_alloc |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | irq |
arch/x86/kernel/alternative.c __text_poke() -> get_locked_pte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ptl | 8069377635068661760 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pack_mutex | ||
| HALF_LOCKED2 | global &text_mutex |
mm/memory.c insert_page() -> get_locked_pte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 1 | addr | 0-18446744073709551614 |
| PARAM_VALUE | 2 | ptl | 2987800184378064896 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 1 | addr | $1 |
| NOSPEC | 1 | addr | |
| NOSPEC | 1 | addr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-18446744073709551614[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | addr | unit_byte |
mm/memory.c insert_pfn() -> get_locked_pte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 0-18446744073709551614 |
| PARAM_VALUE | 2 | ptl | 4396081170152116224 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 1 | addr | $1 |
| NOSPEC | 1 | addr | |
| NOSPEC | 1 | addr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-18446744073709551614[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | addr | unit_byte |
arch/x86/kernel/ldt.c map_ldt_struct() -> get_locked_pte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.ldt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | ptl | 825571238551494656 |
| DATA_SOURCE | 0 | mm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &old_mm->context.lock | ||
| HALF_LOCKED2 | &old_mm->mmap_lock | ||
| HALF_LOCKED2 | 0 | &mm->context.ldt_usr_sem | |
| HALF_LOCKED2 | 0 | &mm->mmap_lock |
arch/x86/kernel/ldt.c unmap_ldt_struct() -> get_locked_pte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.ldt | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.ldt->entries | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.ldt->nr_entries | 1-8192 |
| PARAM_VALUE | 0 | mm->context.ldt->slot | (-1)-1 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mm->context.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mm->context.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | ptl | 3282643322729156608 |
| DATA_SOURCE | 0 | mm | $0 |
| USER_DATA | 0 | mm->context.ldt->nr_entries | 1-8192[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | addr | unit_byte |
| LOCK2 | 0 | &mm->context.ldt_usr_sem | |
| TYPE_LOCK | (struct mm_context_t)->ldt_usr_sem |