Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
Dlibbpf_internal.h301 size_t opts_sz, size_t user_sz, in libbpf_validate_opts() argument
304 if (user_sz < sizeof(size_t)) { in libbpf_validate_opts()
305 pr_warn("%s size (%zu) is too small\n", type_name, user_sz); in libbpf_validate_opts()
308 if (!libbpf_is_mem_zeroed(opts + opts_sz, (ssize_t)user_sz - opts_sz)) { in libbpf_validate_opts()