Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/memalloc.c bpf_mem_alloc_init() -> prefill_mem_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->batch | 1-69 |
| PARAM_VALUE | 0 | c->high_watermark | 3-96 |
| PARAM_VALUE | 0 | c->low_watermark | 1-32 |
| PARAM_VALUE | 0 | c->objcg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->objcg->refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | c->percpu_size | 0,16 |
| PARAM_VALUE | 0 | c->tgt | 4096-ptr_max |
| PARAM_VALUE | 0 | c->tgt->objcg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->tgt->percpu_size | 0,16 |
| PARAM_VALUE | 0 | c->tgt->tgt | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| BIT_INFO | 0 | c->percpu_size | 0x0,0x10 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | c->batch | 2-69[c] |
| USER_DATA | 0 | c->high_watermark | 4-95[c] |
| USER_DATA | 0 | c->low_watermark | 2-31[c] |
| USER_DATA | 0 | c->tgt->unit_size | s32min-s32max[c] |
| USER_DATA | 0 | c->unit_size | s32min-s32max[c] |
kernel/bpf/memalloc.c bpf_mem_alloc_init() -> prefill_mem_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->batch | 1-69 |
| PARAM_VALUE | 0 | c->high_watermark | 6,12,24,48,96 |
| PARAM_VALUE | 0 | c->low_watermark | 2,4,8,16,32 |
| PARAM_VALUE | 0 | c->objcg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->objcg->refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 0 | c->percpu_size | 0 |
| PARAM_VALUE | 0 | c->tgt | 4096-ptr_max |
| PARAM_VALUE | 0 | c->tgt->objcg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->tgt->percpu_size | 0 |
| PARAM_VALUE | 0 | c->tgt->tgt | 4096-ptr_max |
| PARAM_VALUE | 0 | c->tgt->unit_size | 16,32,64,96,128,192,256,512,1024,2048,4096 |
| PARAM_VALUE | 0 | c->unit_size | 16,32,64,96,128,192,256,512,1024,2048,4096 |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| NOCHECK_CALL |
kernel/bpf/memalloc.c bpf_mem_alloc_percpu_unit_init() -> prefill_mem_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->batch | 1 |
| PARAM_VALUE | 0 | c->high_watermark | 3 |
| PARAM_VALUE | 0 | c->low_watermark | 1 |
| PARAM_VALUE | 0 | c->objcg | 0 |
| PARAM_VALUE | 0 | c->percpu_size | 16 |
| PARAM_VALUE | 0 | c->tgt | 4096-ptr_max |
| PARAM_VALUE | 0 | c->tgt->objcg | 0 |
| PARAM_VALUE | 0 | c->tgt->percpu_size | 16 |
| PARAM_VALUE | 0 | c->tgt->tgt | 4096-ptr_max |
| PARAM_VALUE | 0 | c->tgt->unit_size | 16,32,64,96,128,192,256,512,1024,2048,4096 |
| PARAM_VALUE | 0 | c->unit_size | 16,32,64,96,128,192,256,512,1024,2048,4096 |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| NOCHECK_CALL | |||
| LOCK2 | global &bpf_percpu_ma_lock |