Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/syscall.c bpf_map_update_value() -> sock_map_update_elem_sys()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_type | 15,18 |
| PARAM_VALUE | 0 | map->ops | 0-8176211074560897023,8176211074560897025-u64max |
| PARAM_VALUE | 0 | map->ops->map_update_batch | 0,7911141981172039680 |
| PARAM_VALUE | 1 | key | 0,16,4096-ptr_max |
| PARAM_VALUE | 2 | value | 16,4096-ptr_max |
| PARAM_VALUE | 3 | flags | 4-u64max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | key | (-1)-s32max |
| BUF_SIZE | 1 | key | (-1)-s32max |
| BUF_SIZE | 2 | value | (-1)-s32max |
| BUF_SIZE | 2 | value | (-1)-s32max |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | key | $2 |
| DATA_SOURCE | 2 | value | $3 |
| DATA_SOURCE | 3 | flags | $4 |
| FUZZY_MAX | 0 | map->map_type | 18 |
| BIT_INFO | 0 | map->map_type | 0x2,0x1f |
| USER_DATA | 1 | *key | s64min-s64max |
| USER_DATA | 2 | *value | s64min-s64max |
| USER_DATA | 3 | flags | 4-u64max |
| USER_PTR | 1 | key | |
| USER_PTR | 2 | value |