Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/fork.c mpol_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 1-u64max |
| DATA_SOURCE | 0 | pol | $0 |
| NOCHECK_CALL |
arch/x86/kvm/../../../virt/kvm/guest_memfd.c mpol_cond_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 4096-ptr_max |
| DATA_SOURCE | 0 | pol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mapping->invalidate_lock |
mm/mmap.c mpol_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 4096-ptr_max |
| PARAM_VALUE | 0 | pol->refcnt.counter | 1 |
| DATA_SOURCE | 0 | pol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
fs/proc/task_mmu.c mpol_cond_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 4096-ptr_max |
| DATA_SOURCE | 0 | pol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/proc/task_mmu.c mpol_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 1-u64max |
| DATA_SOURCE | 0 | pol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &m->lock | ||
| HALF_LOCKED2 | &priv->lock_ctx.mm->mmap_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
mm/shmem.c mpol_cond_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 4096-ptr_max |
| DATA_SOURCE | 0 | pol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/shmem.c mpol_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 1-u64max |
| DATA_SOURCE | 0 | pol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/hugetlb.c mpol_cond_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 4096-ptr_max |
| DATA_SOURCE | 0 | pol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pol->flags | 0,24,8192-57368[c] |
| USER_DATA | 0 | pol->home_node | 0-1023 |
| HALF_LOCKED2 | &state.ctx->map_changing_lock |
mm/vma.c mpol_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 1-u64max |
| DATA_SOURCE | 0 | pol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/mempolicy.c mpol_cond_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 4096-ptr_max |
| BUF_SIZE | 0 | pol | (-1),288 |
| BUF_SIZE | 0 | pol | (-1),288 |
| CAPPED_DATA | 0 | pol | 1 |
| DATA_SOURCE | 0 | pol | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pol->flags | 0,24,8192-57368[c] |
| USER_DATA | 0 | pol->home_node | 0-1023 |
| USER_DATA | 0 | pol->mode | 2-3,5-u16max |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | vmf->ptl |
mm/mempolicy.c mpol_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 1-u64max |
| BUF_SIZE | 0 | pol | (-1),288 |
| BUF_SIZE | 0 | pol | (-1),288 |
| DATA_SOURCE | 0 | pol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pol->flags | 0-1,24-25,8192-57369[c] |
| USER_DATA | 0 | pol->home_node | 0-1023 |
| USER_DATA | 0 | pol->mode | 2-3,5-u16max |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/swap_state.c mpol_cond_put() -> __mpol_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pol | 4096-ptr_max |
| BUF_SIZE | 0 | pol | (-1),288 |
| BUF_SIZE | 0 | pol | (-1),288 |
| DATA_SOURCE | 0 | pol | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pol->flags | 0,24,8192-57368[c] |
| USER_DATA | 0 | pol->home_node | 0-1023 |
| USER_DATA | 0 | pol->mode | 2,5,7-u16max |