Searched refs:BPF_MAP_CREATE (Results 1 – 12 of 12) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | netif_receive_skb.c | 170 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 D | syscall.c | 141 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 D | btf_dump.c | 535 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 D | token.c | 998 .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 D | obj_name.c | 60 fd = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in test_obj_name()
|
/linux/Documentation/bpf/ |
H A D | maps.rst | 37 **BPF_MAP_CREATE** 53 fd = bpf(BPF_MAP_CREATE, &attr, sizeof(attr));
|
H A D | btf.rst | 588 * 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 D | skel_internal.h | 236 return skel_sys_bpf(BPF_MAP_CREATE, &attr, attr_sz); in skel_map_create()
|
/linux/kernel/bpf/ |
H A D | syscall.c | 1316 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 D | bpf.h | 923 BPF_MAP_CREATE, enumerator
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 923 BPF_MAP_CREATE, enumerator
|
/linux/security/selinux/ |
H A D | hooks.c | 6855 case BPF_MAP_CREATE: in selinux_bpf()
|