Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/pagewalk.c pgd_none_or_clear_bad() -> pgd_clear_bad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgd | 4096-ptr_max |
| DATA_SOURCE | 0 | pgd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/swapfile.c pgd_none_or_clear_bad() -> pgd_clear_bad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgd | 4096-ptr_max |
| DATA_SOURCE | 0 | pgd | $0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/mprotect.c pgd_none_or_clear_bad() -> pgd_clear_bad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgd | 4096-ptr_max |
| DATA_SOURCE | 0 | pgd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dst_mm->mmap_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | _T->lock |
mm/mremap.c pgd_none_or_clear_bad() -> pgd_clear_bad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgd | 4096-ptr_max |
| DATA_SOURCE | 0 | pgd | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/memory.c __apply_to_page_range() -> pgd_clear_bad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgd | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ggtt->vm.gt->reset.backoff_srcu | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | obj->base.resv |
mm/memory.c pgd_none_or_clear_bad() -> pgd_clear_bad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgd | 4096-ptr_max |
| DATA_SOURCE | 0 | pgd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock |
mm/vmalloc.c pgd_none_or_clear_bad() -> pgd_clear_bad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgd | 4096-ptr_max |
| DATA_SOURCE | 0 | pgd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |