| H A D | ringbuf.c | 83 struct bpf_map map; 194 static struct bpf_map *ringbuf_map_alloc(union bpf_attr *attr) in ringbuf_map_alloc() 244 static void ringbuf_map_free(struct bpf_map *map) in ringbuf_map_free() 253 static void *ringbuf_map_lookup_elem(struct bpf_map *map, void *key) in ringbuf_map_lookup_elem() 258 static long ringbuf_map_update_elem(struct bpf_map *map, void *key, void *value, in ringbuf_map_update_elem() 264 static long ringbuf_map_delete_elem(struct bpf_map *map, void *key) in ringbuf_map_delete_elem() 269 static int ringbuf_map_get_next_key(struct bpf_map *map, void *key, in ringbuf_map_get_next_key() 275 static int ringbuf_map_mmap_kern(struct bpf_map *map, struct vm_area_struct *vma) in ringbuf_map_mmap_kern() 291 static int ringbuf_map_mmap_user(struct bpf_map *map, struct vm_area_struct *vma) in ringbuf_map_mmap_user() 336 static __poll_t ringbuf_map_poll_kern(struct bpf_map *ma in ringbuf_map_poll_kern() 539 BPF_CALL_3(bpf_ringbuf_reserve,struct bpf_map *,map,u64,size,u64,flags) BPF_CALL_3() argument 612 BPF_CALL_4(bpf_ringbuf_output,struct bpf_map *,map,void *,data,u64,size,u64,flags) BPF_CALL_4() argument 640 BPF_CALL_2(bpf_ringbuf_query,struct bpf_map *,map,u64,flags) BPF_CALL_2() argument 669 BPF_CALL_4(bpf_ringbuf_reserve_dynptr,struct bpf_map *,map,u32,size,u64,flags,struct bpf_dynptr_kern *,ptr) BPF_CALL_4() argument 816 BPF_CALL_4(bpf_user_ringbuf_drain,struct bpf_map *,map,void *,callback_fn,void *,callback_ctx,u64,flags) BPF_CALL_4() argument [all...] |