Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/bpf/
Dbpf_iter.c513 u32 prog_btf_id, linfo_len; in bpf_iter_link_attach() local
523 linfo_len = attr->link_create.iter_info_len; in bpf_iter_link_attach()
524 if (bpfptr_is_null(ulinfo) ^ !linfo_len) in bpf_iter_link_attach()
529 linfo_len); in bpf_iter_link_attach()
532 linfo_len = min_t(u32, linfo_len, sizeof(linfo)); in bpf_iter_link_attach()
533 if (copy_from_bpfptr(&linfo, ulinfo, linfo_len)) in bpf_iter_link_attach()