Home
last modified time | relevance | path

Searched refs:bpf_queue_stack (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/kernel/bpf/
Dqueue_stack_maps.c16 struct bpf_queue_stack { struct
25 static struct bpf_queue_stack *bpf_queue_stack(struct bpf_map *map) in bpf_queue_stack() argument
27 return container_of(map, struct bpf_queue_stack, map); in bpf_queue_stack()
30 static bool queue_stack_map_is_empty(struct bpf_queue_stack *qs) in queue_stack_map_is_empty()
35 static bool queue_stack_map_is_full(struct bpf_queue_stack *qs) in queue_stack_map_is_full()
67 struct bpf_queue_stack *qs; in queue_stack_map_alloc()
89 struct bpf_queue_stack *qs = bpf_queue_stack(map); in queue_stack_map_free()
96 struct bpf_queue_stack *qs = bpf_queue_stack(map); in __queue_map_get()
130 struct bpf_queue_stack *qs = bpf_queue_stack(map); in __stack_map_get()
192 struct bpf_queue_stack *qs = bpf_queue_stack(map); in queue_stack_map_push_elem()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dmap_ptr_kern.c575 struct bpf_queue_stack { struct
587 struct bpf_queue_stack *queue = (struct bpf_queue_stack *)&m_queue; in check_queue() argument
603 struct bpf_queue_stack *stack = (struct bpf_queue_stack *)&m_stack; in check_stack()