Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dhelpers.c2652 * @buffer__opt: User-provided buffer to copy contents into. May be NULL
2659 * If buffer__opt is NULL, the call will fail if buffer_opt was needed.
2677 void *buffer__opt, u32 buffer__szk) in bpf_dynptr_slice() argument
2698 if (buffer__opt) in bpf_dynptr_slice()
2699 return skb_header_pointer(ptr->data, ptr->offset + offset, len, buffer__opt); in bpf_dynptr_slice()
2708 if (!buffer__opt) in bpf_dynptr_slice()
2710 bpf_xdp_copy_buf(ptr->data, ptr->offset + offset, buffer__opt, len, false); in bpf_dynptr_slice()
2711 return buffer__opt; in bpf_dynptr_slice()
2723 * @buffer__opt: User-provided buffer to copy contents into. May be NULL
2730 * If buffer__opt i
2762 bpf_dynptr_slice_rdwr(const struct bpf_dynptr * p,u32 offset,void * buffer__opt,u32 buffer__szk) bpf_dynptr_slice_rdwr() argument
[all...]
/linux/include/linux/
H A Dbpf.h1371 void *buffer__opt, u32 buffer__szk);