Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/slub.c alloc_empty_sheaf() -> __alloc_empty_sheaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->sheaf_capacity | 1-u32max |
| PARAM_VALUE | 1 | gfp | 0,2-u32max |
| PARAM_VALUE | 3 | capacity | 1-u32max |
| BUF_SIZE | 0 | s->cpu_sheaves | (-1),88 |
| BUF_SIZE | 0 | s->name | (-1),11,16 |
| CAPPED_DATA | 0 | s->sheaf_capacity | 1 |
| CAPPED_DATA | 3 | capacity | 1 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | gfp | $1 [m] |
| DATA_SOURCE | 2 | alloc_flags | $2 |
| STR_LEN | 0 | s | (-1),10,15 |
| STR_LEN | 0 | s | (-1),10,15 |
| BIT_INFO | 1 | gfp | 0x0,0xff9b7fee |
| BIT_INFO | 2 | alloc_flags | 0x0,0xfffffffb |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/slub.c bootstrap_cache_sheaves() -> __alloc_empty_sheaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->per_node | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| PARAM_VALUE | 2 | alloc_flags | 0 |
| PARAM_VALUE | 3 | capacity | 1-536870907,4294967292-u32max |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 3 | capacity | r calculate_sheaf_capacity |
| NO_OVERFLOW_SIMPLE | 3 | capacity | |
| LOCK2 | irq |
mm/slub.c kmem_cache_prefill_sheaf() -> __alloc_empty_sheaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->sheaf_capacity | 0-4294967294 |
| PARAM_VALUE | 2 | alloc_flags | 0 |
| PARAM_VALUE | 3 | capacity | 1-u32max |
| CAPPED_DATA | 0 | s->sheaf_capacity | 1 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | gfp | $1 |
| DATA_SOURCE | 3 | capacity | $2 |
| PARAM_COMPARE | 0 | s->sheaf_capacity | < $3 |
| PARAM_COMPARE | 3 | capacity | > $0->sheaf_capacity |
| RX_PATH | |||
| TASK_NOT_RUNNING |