Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Dlibbpf_internal.h328 size_t opts_sz, size_t user_sz, in libbpf_validate_opts() argument
331 if (user_sz < sizeof(size_t)) { in libbpf_validate_opts()
332 pr_warn("%s size (%zu) is too small\n", type_name, user_sz); in libbpf_validate_opts()
335 if (!libbpf_is_mem_zeroed(opts + opts_sz, (ssize_t)user_sz - opts_sz)) { in libbpf_validate_opts()