Lines Matching refs:iter
342 struct bpf_iter_target_info *tinfo = NULL, *iter; in bpf_iter_prog_supported() local
351 list_for_each_entry(iter, &targets, list) { in bpf_iter_prog_supported()
352 if (iter->btf_id && iter->btf_id == prog_btf_id) { in bpf_iter_prog_supported()
353 tinfo = iter; in bpf_iter_prog_supported()
356 if (!strcmp(attach_fname + prefix_len, iter->reg_info->target)) { in bpf_iter_prog_supported()
357 cache_btf_id(iter, prog); in bpf_iter_prog_supported()
358 tinfo = iter; in bpf_iter_prog_supported()
459 char __user *ubuf = u64_to_user_ptr(info->iter.target_name); in bpf_iter_link_fill_link_info()
461 u32 ulen = info->iter.target_name_len; in bpf_iter_link_fill_link_info()
470 info->iter.target_name_len = target_len + 1; in bpf_iter_link_fill_link_info()
510 struct bpf_iter_target_info *tinfo = NULL, *iter; in bpf_iter_link_attach() local
540 list_for_each_entry(iter, &targets, list) { in bpf_iter_link_attach()
541 if (iter->btf_id == prog_btf_id) { in bpf_iter_link_attach()
542 tinfo = iter; in bpf_iter_link_attach()