Lines Matching defs:size
116 #define BTF_VAR_SECINFO_ENC(type, offset, size) (type), (offset), (size)
225 static inline void *libbpf_reallocarray(void *ptr, size_t nmemb, size_t size)
230 if (unlikely(__builtin_mul_overflow(nmemb, size, &total)))
233 if (size == 0 || nmemb > ULONG_MAX / size)
235 total = nmemb * size;
332 pr_warn("%s size (%zu) is too small\n", type_name, user_sz);
456 * record size for struct bpf_func_info in the func_info subsection
465 * Note that the bpf_func_info record size in .BTF.ext may not
653 int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size, int attempts);