Searched refs:BPF_MAP_TYPE_QUEUE (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/Documentation/bpf/ |
H A D | map_queue_stack.rst | 5 BPF_MAP_TYPE_QUEUE and BPF_MAP_TYPE_STACK 9 - ``BPF_MAP_TYPE_QUEUE`` and ``BPF_MAP_TYPE_STACK`` were introduced 12 ``BPF_MAP_TYPE_QUEUE`` provides FIFO storage and ``BPF_MAP_TYPE_STACK`` 22 ``BPF_MAP_TYPE_QUEUE`` and ``BPF_MAP_TYPE_STACK`` do not support 118 __uint(type, BPF_MAP_TYPE_QUEUE); 134 return bpf_map_create(BPF_MAP_TYPE_QUEUE,
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_queue_map.c | 3 #define MAP_TYPE BPF_MAP_TYPE_QUEUE
|
H A D | map_ptr_kern.c | 580 __uint(type, BPF_MAP_TYPE_QUEUE); 694 VERIFY_TYPE(BPF_MAP_TYPE_QUEUE, check_queue); in cg_skb()
|
/openbmc/linux/include/linux/ |
H A D | bpf_types.h | 127 BPF_MAP_TYPE(BPF_MAP_TYPE_QUEUE, queue_map_ops)
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 303 case BPF_MAP_TYPE_QUEUE: in probe_map_create()
|
H A D | libbpf.c | 167 [BPF_MAP_TYPE_QUEUE] = "queue", 5152 case BPF_MAP_TYPE_QUEUE: in bpf_object__create_map()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_maps.c | 550 fd = bpf_map_create(BPF_MAP_TYPE_QUEUE, NULL, 4, sizeof(val), MAP_SIZE, &map_opts); in test_queuemap() 553 fd = bpf_map_create(BPF_MAP_TYPE_QUEUE, NULL, 0, sizeof(val), MAP_SIZE, &map_opts); in test_queuemap() 1590 assert(map_type == BPF_MAP_TYPE_QUEUE || in test_map_wronly_stack_or_queue() 1623 test_map_wronly_stack_or_queue(BPF_MAP_TYPE_QUEUE); in test_map_wronly()
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 195 } else if (map->map_type == BPF_MAP_TYPE_QUEUE || in bpf_map_update_value() 235 } else if (map->map_type == BPF_MAP_TYPE_QUEUE || in bpf_map_copy_value() 1214 case BPF_MAP_TYPE_QUEUE: in map_create() 1934 (map->map_type == BPF_MAP_TYPE_QUEUE || in map_lookup_and_delete_elem() 1960 if (map->map_type == BPF_MAP_TYPE_QUEUE || in map_lookup_and_delete_elem()
|
H A D | verifier.c | 8863 case BPF_MAP_TYPE_QUEUE: in check_map_func_compatibility() 8974 if (map->map_type != BPF_MAP_TYPE_QUEUE && in check_map_func_compatibility() 8980 if (map->map_type != BPF_MAP_TYPE_QUEUE && in check_map_func_compatibility()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 953 BPF_MAP_TYPE_QUEUE, enumerator
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 953 BPF_MAP_TYPE_QUEUE, enumerator
|