Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dnetif_receive_skb.c173 TEST_BTF_C(str, enum bpf_cmd, 0, BPF_MAP_CREATE); in BPF_PROG()
176 BPF_MAP_CREATE); in BPF_PROG()
181 BPF_MAP_CREATE); in BPF_PROG()
183 "BPF_MAP_CREATE", BPF_MAP_CREATE); in BPF_PROG()
Dsyscall.c103 ret = bpf_sys_bpf(BPF_MAP_CREATE, &map_create_attr, sizeof(map_create_attr)); in bpf_prog()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
Dobj_name.c60 fd = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in test_obj_name()
/Linux-v6.6/Documentation/bpf/
Dmaps.rst37 **BPF_MAP_CREATE**
53 fd = bpf(BPF_MAP_CREATE, &attr, sizeof(attr));
Dbtf.rst559 * BPF_MAP_CREATE: map creation with btf key and value type info.
572 BPF_MAP_CREATE and BPF_PROG_LOAD
604 3.2 BPF_MAP_CREATE
624 them to BPF_MAP_CREATE attributes automatically.
/Linux-v6.6/tools/lib/bpf/
Dskel_internal.h236 return skel_sys_bpf(BPF_MAP_CREATE, &attr, attr_sz); in skel_map_create()
Dgen_loader.c499 emit_sys_bpf(gen, BPF_MAP_CREATE, map_create_attr, attr_size); in bpf_gen__map_create()
Dbpf.c201 fd = sys_bpf_fd(BPF_MAP_CREATE, &attr, attr_sz); in bpf_map_create()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h867 BPF_MAP_CREATE, enumerator
/Linux-v6.6/include/uapi/linux/
Dbpf.h867 BPF_MAP_CREATE, enumerator
/Linux-v6.6/kernel/bpf/
Dsyscall.c1107 err = CHECK_ATTR(BPF_MAP_CREATE); in map_create()
5325 case BPF_MAP_CREATE: in __sys_bpf()
5466 case BPF_MAP_CREATE: in BPF_CALL_3()
/Linux-v6.6/security/selinux/
Dhooks.c6706 case BPF_MAP_CREATE: in selinux_bpf()