Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
arch/x86/mm/pat/set_memory.c __cpa_collapse_large_pages() -> collapse_large_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pgtables | 7028056764440145920 |
| PARAM_VALUE | 1 | pgtables->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pgtables->prev | 7028056764440145920 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | addr | 0-u64max |
| LOCK2 | global &cpa_lock | ||
| LOCK2 | global &init_mm.mmap_lock | ||
| HALF_LOCKED2 | global &mem_enc_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
arch/x86/mm/pat/set_memory.c __cpa_collapse_large_pages() -> collapse_large_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 0,2097152-18446744073709551614 |
| PARAM_VALUE | 1 | pgtables | 7028056764440145920 |
| PARAM_VALUE | 1 | pgtables->next | 4096-ptr_max |
| PARAM_VALUE | 1 | pgtables->prev | 7028056764440145920 |
| CAPPED_DATA | 0 | addr | 1 |
| CAPPED_DATA | 0 | addr | 1 |
| NOSPEC | 0 | addr | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | addr | 0,2097152-18446744073709551614[c] |
| LOCK2 | global &cpa_lock | ||
| LOCK2 | global &init_mm.mmap_lock | ||
| HALF_LOCKED2 | global &mem_enc_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |