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 mtree_alloc_cyclic() -> mas_alloc_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 490740092738199552 |
| PARAM_VALUE | 0 | mas->alloc | 0 |
| PARAM_VALUE | 0 | mas->depth | 0 |
| PARAM_VALUE | 0 | mas->end | 0 |
| PARAM_VALUE | 0 | mas->index | 0 |
| PARAM_VALUE | 0 | mas->last | 0 |
| PARAM_VALUE | 0 | mas->ld_seq | 0 |
| PARAM_VALUE | 0 | mas->mas_flags | 0 |
| PARAM_VALUE | 0 | mas->max | u64max |
| PARAM_VALUE | 0 | mas->min | 0 |
| PARAM_VALUE | 0 | mas->node | 0 |
| PARAM_VALUE | 0 | mas->node_request | 0 |
| PARAM_VALUE | 0 | mas->offset | 0 |
| PARAM_VALUE | 0 | mas->sheaf | 0 |
| PARAM_VALUE | 0 | mas->status | 1 |
| PARAM_VALUE | 0 | mas->store_type | 0 |
| PARAM_VALUE | 0 | mas->tree | 4096-ptr_max |
| PARAM_VALUE | 1 | startp | 5391481997246124032,8834062296746618880 |
| PARAM_VALUE | 2 | entry | 4096-ptr_max |
| PARAM_VALUE | 3 | range_lo | 2-3 |
| PARAM_VALUE | 4 | range_hi | 1024,2147483646,u64max |
| PARAM_VALUE | 5 | next | 4096-ptr_max |
| PARAM_VALUE | 6 | gfp | 3264 |
| BUF_SIZE | 2 | entry | (-1)-s32max |
| BUF_SIZE | 2 | entry | (-1)-s32max |
| DATA_SOURCE | 1 | startp | $1 |
| DATA_SOURCE | 2 | entry | $2 |
| DATA_SOURCE | 3 | range_lo | $3 |
| DATA_SOURCE | 4 | range_hi | $4 |
| DATA_SOURCE | 5 | next | $5 |
| DATA_SOURCE | 6 | gfp | $6 |
| HARD_MAX | 3 | range_lo | 3 |
| HARD_MAX | 4 | range_hi | u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mt->ma_lock | ||
| TYPE_LOCK | (struct maple_tree)->ma_lock |
lib/test_maple_tree.c alloc_cyclic_testing() -> mas_alloc_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 3625433611361931264 |
| PARAM_VALUE | 0 | mas->alloc | 0 |
| PARAM_VALUE | 0 | mas->mas_flags | 0,2-254 |
| PARAM_VALUE | 0 | mas->node_request | 0 |
| PARAM_VALUE | 0 | mas->sheaf | 0 |
| PARAM_VALUE | 1 | startp | 5391481997246124032 |
| PARAM_VALUE | 3 | range_lo | 2 |
| PARAM_VALUE | 4 | range_hi | u64max |
| PARAM_VALUE | 5 | next | 6526985842339024896 |
| PARAM_VALUE | 6 | gfp | 3264 |
| DATA_SOURCE | 2 | entry | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &mt->ma_lock | ||
| TYPE_LOCK | (struct maple_tree)->ma_lock |