Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
arch/x86/kvm/../../../virt/kvm/guest_memfd.c kvm_gmem_alloc_inode() -> mpol_shared_policy_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sp | 1-u64max |
| PARAM_VALUE | 1 | mpol | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sb->s_fs_info->bitmap_lock | ||
| HALF_LOCKED2 | &sb->s_fs_info->hpfs_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
mm/shmem.c __shmem_get_inode() -> mpol_shared_policy_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sp | 4096-ptr_max |
| PARAM_VALUE | 1 | mpol | 0,4096-ptr_max |
| MEM_ZERO | 0 | sp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sb->s_umount |
mm/shmem.c __shmem_get_inode() -> mpol_shared_policy_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sp | 4096-ptr_max |
| PARAM_VALUE | 1 | mpol | 0 |
| MEM_ZERO | 0 | sp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sb->s_umount |