Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/mempolicy.c mpol_shared_policy_init() -> sp_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sp | 4096-ptr_max |
| PARAM_VALUE | 0 | sp->lock.magic | 3736018669 |
| PARAM_VALUE | 0 | sp->lock.owner | (-1) |
| PARAM_VALUE | 0 | sp->lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->end | 2251799813685247 |
| PARAM_VALUE | 1 | new->policy | 4096-ptr_max |
| PARAM_VALUE | 1 | new->start | 0 |
| DATA_SOURCE | 0 | sp | $0 |
| DATA_SOURCE | 1 | new | r sp_alloc |
| BIT_INFO | 0 | sp->root | 0x0,0x7fffffffffffffff |
| MEM_ZERO | 0 | sp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sb->s_umount |
mm/mempolicy.c shared_policy_replace() -> sp_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sp | 4096-ptr_max |
| PARAM_VALUE | 0 | sp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sp->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sp->lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->end | 2-u64max |
| PARAM_VALUE | 1 | new->policy | 4096-ptr_max |
| PARAM_VALUE | 1 | new->start | 1-18446744073709551614 |
| DATA_SOURCE | 0 | sp | $0 |
| DATA_SOURCE | 1 | new | r kmem_cache_alloc_noprof |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &sp->lock | |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct shared_policy)->lock |
mm/mempolicy.c shared_policy_replace() -> sp_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sp | 4096-ptr_max |
| PARAM_VALUE | 0 | sp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sp->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sp->lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->policy | 4096-ptr_max |
| DATA_SOURCE | 0 | sp | $0 |
| DATA_SOURCE | 1 | new | $3 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | new->policy->flags | 1,25,8193-57369[c] |
| USER_DATA | 1 | new->policy->home_node | 0-1023 |
| USER_DATA | 1 | new->policy->mode | 2-3,5-u16max |
| LOCK2 | 0 | &sp->lock | |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct shared_policy)->lock |