Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/bpf/syscall.c map_freeze() -> bpf_map_write_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &map->freeze_mutex | 1 |
| DATA_SOURCE | 0 | map | r __bpf_map_get |
| LOCK2 | 0 | &map->freeze_mutex | |
| TYPE_LOCK | (struct bpf_map)->freeze_mutex |
kernel/bpf/verifier.c bpf_map_is_rdonly() -> bpf_map_write_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| DATA_SOURCE | 0 | map | $0 |
| BIT_INFO | 0 | map->map_flags | 0x80,0xffffffff |
kernel/bpf/verifier.c bpf_prog_verify_signature() -> bpf_map_write_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |