Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- kernel/bpf/bpf_cgrp_storage.c, line 170
- kernel/bpf/bpf_inode_storage.c, line 208
- kernel/bpf/bpf_task_storage.c, line 233
- net/core/bpf_sk_storage.c, line 326
Smatch caller information:
kernel/bpf/syscall.c bpf_map_memory_usage() -> (struct bpf_map_ops)->map_mem_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | map->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->owner_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | map | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | map | $0 |
| CONTAINER | 0 | -328-32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |