Searched refs:sys_bpf (Results 1 – 3 of 3) sorted by relevance
/third_party/libbpf/src/ |
D | bpf.c | 72 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf() function 83 fd = sys_bpf(cmd, attr, size); in sys_bpf_fd() 393 ret = sys_bpf(BPF_MAP_UPDATE_ELEM, &attr, attr_sz); in bpf_map_update_elem() 408 ret = sys_bpf(BPF_MAP_LOOKUP_ELEM, &attr, attr_sz); in bpf_map_lookup_elem() 424 ret = sys_bpf(BPF_MAP_LOOKUP_ELEM, &attr, attr_sz); in bpf_map_lookup_elem_flags() 439 ret = sys_bpf(BPF_MAP_LOOKUP_AND_DELETE_ELEM, &attr, attr_sz); in bpf_map_lookup_and_delete_elem() 455 ret = sys_bpf(BPF_MAP_LOOKUP_AND_DELETE_ELEM, &attr, attr_sz); in bpf_map_lookup_and_delete_elem_flags() 469 ret = sys_bpf(BPF_MAP_DELETE_ELEM, &attr, attr_sz); in bpf_map_delete_elem() 484 ret = sys_bpf(BPF_MAP_DELETE_ELEM, &attr, attr_sz); in bpf_map_delete_elem_flags() 499 ret = sys_bpf(BPF_MAP_GET_NEXT_KEY, &attr, attr_sz); in bpf_map_get_next_key() [all …]
|
/third_party/libbpf/docs/ |
D | libbpf_naming_convention.rst | 19 sys_bpf system call. These wrappers should go to ``bpf.h`` header file 23 command of sys_bpf, ``bpf_prog_attach`` wraps ``BPF_PROG_ATTACH``, etc.
|
/third_party/libbpf/include/uapi/linux/ |
D | bpf.h | 5848 FN(sys_bpf, 166, ##ctx) \
|