• Home
  • Raw
  • Download

Lines Matching refs:reg_info

12 	const struct bpf_iter_reg *reg_info;  member
73 return tinfo->reg_info->feature & BPF_ITER_RESCHED; in bpf_iter_target_support_resched()
253 return link->tinfo->reg_info->seq_info; in __get_seq_info()
296 int bpf_iter_reg_target(const struct bpf_iter_reg *reg_info) in bpf_iter_reg_target() argument
304 tinfo->reg_info = reg_info; in bpf_iter_reg_target()
314 void bpf_iter_unreg_target(const struct bpf_iter_reg *reg_info) in bpf_iter_unreg_target() argument
321 if (reg_info == tinfo->reg_info) { in bpf_iter_unreg_target()
356 if (!strcmp(attach_fname + prefix_len, iter->reg_info->target)) { in bpf_iter_prog_supported()
365 prog->aux->ctx_arg_info_size = tinfo->reg_info->ctx_arg_info_size; in bpf_iter_prog_supported()
366 prog->aux->ctx_arg_info = tinfo->reg_info->ctx_arg_info; in bpf_iter_prog_supported()
381 const struct bpf_iter_reg *reg_info; in bpf_iter_get_func_proto() local
383 reg_info = tinfo->reg_info; in bpf_iter_get_func_proto()
384 if (reg_info->get_func_proto) in bpf_iter_get_func_proto()
385 fn = reg_info->get_func_proto(func_id, prog); in bpf_iter_get_func_proto()
399 if (iter_link->tinfo->reg_info->detach_target) in bpf_iter_link_release()
400 iter_link->tinfo->reg_info->detach_target(&iter_link->aux); in bpf_iter_link_release()
447 iter_link->tinfo->reg_info->target); in bpf_iter_link_show_fdinfo()
449 show_fdinfo = iter_link->tinfo->reg_info->show_fdinfo; in bpf_iter_link_show_fdinfo()
468 target_name = iter_link->tinfo->reg_info->target; in bpf_iter_link_fill_link_info()
487 fill_link_info = iter_link->tinfo->reg_info->fill_link_info; in bpf_iter_link_fill_link_info()
567 if (tinfo->reg_info->attach_target) { in bpf_iter_link_attach()
568 err = tinfo->reg_info->attach_target(prog, &linfo, &link->aux); in bpf_iter_link_attach()