Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/slab_common.c create_boot_cache() -> do_kmem_cache_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 3 | args | 6990946144921493504 |
| PARAM_VALUE | 3 | args->align | 0,8-u32max |
| PARAM_VALUE | 3 | args->ctor | 0 |
| PARAM_VALUE | 3 | args->freeptr_offset | 0 |
| PARAM_VALUE | 3 | args->sheaf_capacity | 0 |
| PARAM_VALUE | 3 | args->use_freeptr_offset | 0 |
| PARAM_VALUE | 3 | args->useroffset | 0 |
| PARAM_VALUE | 4 | flags | 8,40,8200,32776,65544,65576,73736,98312,1048584,1114120,8396808,8462344,41943056 |
| BUF_SIZE | 0 | s | (-1),16792 |
| BUF_SIZE | 0 | s | (-1),16792 |
| BUF_SIZE | 1 | name | (-1),11,16 |
| BUF_SIZE | 1 | name | (-1),11,16 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | name | $1 |
| DATA_SOURCE | 2 | size | $2 |
| DATA_SOURCE | 4 | flags | $3 |
| STR_LEN | 0 | s | (-1),10,15 |
| STR_LEN | 0 | s | (-1),10,15 |
| BIT_INFO | 4 | flags | 0x0,0x291a038 |
| UNITS | 2 | size | unit_byte |
| LOCK2 | irq |
mm/slab_common.c create_cache() -> do_kmem_cache_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 0-4194304 |
| PARAM_VALUE | 3 | args | 4096-ptr_max |
| PARAM_VALUE | 3 | args->align | 0,8-u32max |
| PARAM_VALUE | 3 | args->sheaf_capacity | 0,32 |
| PARAM_VALUE | 4 | flags | 0-2162686 |
| CAPPED_DATA | 2 | size | 1 |
| CAPPED_DATA | 3 | args->useroffset | 1 |
| DATA_SOURCE | 0 | s | r kmem_cache_alloc_noprof |
| DATA_SOURCE | 1 | name | $0 |
| DATA_SOURCE | 2 | size | $1 |
| DATA_SOURCE | 3 | args | $2 |
| DATA_SOURCE | 4 | flags | $3 |
| BIT_INFO | 4 | flags | 0x0,0x15bfff |
| HARD_MAX | 2 | size | 4194304 |
| UNITS | 2 | size | unit_byte |
| LOCK2 | global &slab_mutex |