Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/arraymap.c __fd_array_map_delete_elem() -> (struct bpf_map_ops)->map_fd_put_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_alloc_check | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_check_btf | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_delete_batch | 0,5247200330534285312 |
| PARAM_VALUE | 0 | map->ops->map_mem_usage | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_poke_run | 0,4643623037940723712 |
| PARAM_VALUE | 0 | map->ops->map_release | 0,7496606770224660480 |
| PARAM_VALUE | 1 | ptr | 1-u64max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map->btf | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map->excl_prog_sha | (-1),32 |
| BUF_SIZE | 0 | map->ops | (-1),352 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 2 | need_defer | $2 |
| CONTAINER | 0 | -168-32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *map->excl_prog_sha | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | map->record->cnt | |
| USER_PTR | 0 | map->excl_prog_sha | |
| HALF_LOCKED2 | rcu_read |
kernel/bpf/arraymap.c bpf_fd_array_map_update_elem() -> (struct bpf_map_ops)->map_fd_put_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_type | 3-4,8,12 |
| PARAM_VALUE | 0 | map->ops | 4096-8176211074560897023,8176211074560897025-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_poke_run | 0,4643623037940723712 |
| PARAM_VALUE | 0 | map->ops->map_update_batch | 0,7911141981172039680 |
| PARAM_VALUE | 1 | ptr | 1-u64max |
| PARAM_VALUE | 2 | need_defer | 1 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | map | 1 |
| DATA_SOURCE | 0 | map | $0 |
| FUZZY_MAX | 0 | map->map_type | 12 |
| CONTAINER | 0 | -168-32+0 | $(-1) |
| NOCHECK_CALL |
kernel/bpf/hashtab.c bpf_fd_htab_map_update_elem() -> (struct bpf_map_ops)->map_fd_put_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_type | 13 |
| PARAM_VALUE | 0 | map->ops | 4096-8176211074560897023,8176211074560897025-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_update_batch | 0,7911141981172039680 |
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | need_defer | 0 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | ptr | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| CONTAINER | 0 | -168-32+0 | $(-1) |
| NOCHECK_CALL |
kernel/bpf/hashtab.c fd_htab_map_free() -> (struct bpf_map_ops)->map_fd_put_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->inner_map_meta | 4096-ptr_max |
| PARAM_VALUE | 0 | map->inner_map_meta->btf->refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | map->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_alloc_check | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_check_btf | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_mem_usage | 0,4096-ptr_max |
| PARAM_VALUE | 2 | need_defer | 0 |
| BUF_SIZE | 0 | map->btf | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | map->excl_prog_sha | (-1),32 |
| BUF_SIZE | 0 | map->ops | (-1),352 |
| CAPPED_DATA | 0 | map->excl_prog_sha | 1 |
| CAPPED_DATA | 0 | map->inner_map_meta | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 1 | ptr | r fd_htab_map_get_ptr |
| CONTAINER | 0 | -168-32+0 | $(-1) |
| NOSPEC | 0 | map->map_type | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | map->btf_key_type_id | 0-u32max |
| USER_DATA | 0 | map->btf_value_type_id | 0-u32max |
| USER_DATA | 0 | map->btf_vmlinux_value_type_id | 0-u32max |
| USER_DATA | 0 | map->map_type | 1-34[c] |
| USER_DATA | 0 | *map->excl_prog_sha | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | map->record->cnt | |
| USER_PTR | 0 | map->excl_prog_sha |
kernel/bpf/hashtab.c htab_map_update_elem_in_place() -> (struct bpf_map_ops)->map_fd_put_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->map_type | 13 |
| PARAM_VALUE | 0 | map->ops | 4096-8176211074560897023,8176211074560897025-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_update_batch | 0,7911141981172039680 |
| PARAM_VALUE | 1 | ptr | 1-u64max |
| PARAM_VALUE | 2 | need_defer | 1 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| CONTAINER | 0 | -168-32+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | rcu_read |
kernel/bpf/hashtab.c htab_put_fd_value() -> (struct bpf_map_ops)->map_fd_put_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops->map_fd_put_ptr | 954796670128615424,1165868147663527936,3150913106273550336,3726323154509201408 |
| PARAM_VALUE | 2 | need_defer | 1 |
| BUF_SIZE | 0 | map | 520 |
| DATA_SOURCE | 1 | ptr | r fd_htab_map_get_ptr |
| CONTAINER | 0 | -168-32+0 | $(-1) |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |