Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
lib/maple_tree.c mas_alloc_cyclic() -> mas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 490740092738199552,3625433611361931264 |
| PARAM_VALUE | 0 | mas->sheaf->capacity | s32min-4294967295 |
| PARAM_VALUE | 0 | mas->sheaf->node | s32min-s32max |
| PARAM_VALUE | 0 | mas->sheaf->pfmemalloc | 0-1 |
| PARAM_VALUE | 0 | mas->sheaf->size | s32min-4294967295 |
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | mas | $0 |
| DATA_SOURCE | 1 | gfp | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mt->ma_lock | ||
| TYPE_LOCK | (struct maple_tree)->ma_lock |
lib/maple_tree.c mas_erase() -> mas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 4096-ptr_max |
| PARAM_VALUE | 0 | mas->mas_flags | 0,2-254 |
| PARAM_VALUE | 0 | mas->node | 0 |
| PARAM_VALUE | 0 | mas->node_request | 0 |
| PARAM_VALUE | 0 | mas->sheaf | 0 |
| PARAM_VALUE | 0 | mas->status | 1 |
| PARAM_VALUE | 0 | mas->tree | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 0 | mas | $0 |
| NOSPEC | 0 | mas->last | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mas->last | 0-u64max |
| HALF_LOCKED2 | &(&mas)->tree->ma_lock | ||
| HALF_LOCKED2 | &mt->ma_lock | ||
| HALF_LOCKED2 | &ub->mutex | ||
| HALF_LOCKED2 | &uvmm->mutex | ||
| HALF_LOCKED2 | _T->lock |
lib/maple_tree.c mas_store_gfp() -> mas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 4096-ptr_max |
| PARAM_VALUE | 0 | mas->tree | 4096-ptr_max |
| DATA_SOURCE | 0 | mas | $0 |
| DATA_SOURCE | 1 | gfp | $2 |
| NOSPEC | 0 | mas->index | |
| NOSPEC | 0 | mas->last | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mas->index | 0-u64max |
| USER_DATA | 0 | mas->last | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | mas->sheaf->capacity | |
| HALF_LOCKED2 | &(&mas)->tree->ma_lock | ||
| HALF_LOCKED2 | &(&newmas)->tree->ma_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &mt->ma_lock | ||
| HALF_LOCKED2 | &mt_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | &sched->mutex | ||
| HALF_LOCKED2 | &uvmm->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | map->lock_arg | ||
| HALF_LOCKED2 | mutex | ||
| HALF_LOCKED2 | rcu_read |
lib/maple_tree.c mtree_alloc_range() -> mas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 51657533444714496 |
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 1 | gfp | $6 |
| LOCK2 | &mt->ma_lock | ||
| TYPE_LOCK | (struct maple_tree)->ma_lock |
lib/maple_tree.c mtree_alloc_rrange() -> mas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 7661151743779176448 |
| PARAM_VALUE | 1 | gfp | 3264 |
| DATA_SOURCE | 1 | gfp | $6 |
| LOCK2 | &mt->ma_lock | ||
| TYPE_LOCK | (struct maple_tree)->ma_lock |
lib/maple_tree.c mtree_insert_range() -> mas_nomem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 1296178078301794304 |
| PARAM_VALUE | 1 | gfp | 3136,3264 |
| DATA_SOURCE | 1 | gfp | $4 |
| HARD_MAX | 1 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mt->ma_lock | ||
| HALF_LOCKED2 | &ub->mutex | ||
| TYPE_LOCK | (struct maple_tree)->ma_lock |