Home
last modified time | relevance | path

Searched refs:BPF_MAP_CREATE (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dnetif_receive_skb.c170 TEST_BTF_C(str, enum bpf_cmd, 0, BPF_MAP_CREATE); in BPF_PROG()
173 BPF_MAP_CREATE); in BPF_PROG()
178 BPF_MAP_CREATE); in BPF_PROG()
180 "BPF_MAP_CREATE", BPF_MAP_CREATE); in BPF_PROG()
H A Dsyscall.c141 ret = bpf_sys_bpf(BPF_MAP_CREATE, &map_create_attr, sizeof(map_create_attr)); in load_prog()
183 inner_fd = bpf_sys_bpf(BPF_MAP_CREATE, attr, attr_sz); in update_outer_map()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dump.c535 BPF_MAP_CREATE); in test_btf_dump_enum_data()
541 BPF_MAP_CREATE); in test_btf_dump_enum_data()
544 BPF_MAP_CREATE); in test_btf_dump_enum_data()
551 BPF_MAP_CREATE); in test_btf_dump_enum_data()
554 "BPF_MAP_CREATE", BPF_MAP_CREATE); in test_btf_dump_enum_data()
563 sizeof(enum bpf_cmd) - 1, "", BPF_MAP_CREATE); in test_btf_dump_enum_data()
H A Dtoken.c998 .cmds = bit(BPF_MAP_CREATE), in test_token()
1016 .cmds = bit(BPF_MAP_CREATE) | bit(BPF_PROG_LOAD), in test_token()
1027 .cmds = bit(BPF_BTF_LOAD) | bit(BPF_MAP_CREATE) | bit(BPF_PROG_LOAD), in test_token()
1038 .cmds = bit(BPF_BTF_LOAD) | bit(BPF_MAP_CREATE) | bit(BPF_PROG_LOAD), in test_token()
1049 .cmds = bit(BPF_BTF_LOAD) | bit(BPF_MAP_CREATE) | bit(BPF_PROG_LOAD), in test_token()
H A Dobj_name.c60 fd = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in test_obj_name()
/linux/Documentation/bpf/
H A Dmaps.rst37 **BPF_MAP_CREATE**
53 fd = bpf(BPF_MAP_CREATE, &attr, sizeof(attr));
H A Dbtf.rst588 * BPF_MAP_CREATE: map creation with btf key and value type info.
601 BPF_MAP_CREATE and BPF_PROG_LOAD
633 3.2 BPF_MAP_CREATE
653 them to BPF_MAP_CREATE attributes automatically.
/linux/tools/lib/bpf/
H A Dskel_internal.h236 return skel_sys_bpf(BPF_MAP_CREATE, &attr, attr_sz); in skel_map_create()
/linux/kernel/bpf/
H A Dsyscall.c1316 err = CHECK_ATTR(BPF_MAP_CREATE); in map_create()
1376 if (!bpf_token_allow_cmd(token, BPF_MAP_CREATE) || in map_create()
5771 case BPF_MAP_CREATE: in __sys_bpf()
5915 case BPF_MAP_CREATE: in BPF_CALL_3()
/linux/include/uapi/linux/
H A Dbpf.h923 BPF_MAP_CREATE, enumerator
/linux/tools/include/uapi/linux/
H A Dbpf.h923 BPF_MAP_CREATE, enumerator
/linux/security/selinux/
H A Dhooks.c6855 case BPF_MAP_CREATE: in selinux_bpf()