Lines Matching defs:expected_attach_type
365 /* expected_attach_type is optional, if kernel doesn't support that */
390 enum bpf_attach_type expected_attach_type;
455 enum bpf_attach_type expected_attach_type;
1203 prog->expected_attach_type = kern_member_idx;
1217 if (prog->expected_attach_type != kern_member_idx) {
1218 pr_warn("struct_ops init_kern %s func ptr %s: invalid reuse of prog %s in sec %s with type %u: expected_attach_type %u != kern_member_idx %u\n",
1220 prog->expected_attach_type, kern_member_idx);
7259 /* old kernels might not support specifying expected_attach_type */
7261 opts->expected_attach_type = 0;
7271 prog->expected_attach_type = BPF_TRACE_UPROBE_MULTI;
7380 /* allow prog_prepare_load_fn to change expected_attach_type */
7381 load_attr.expected_attach_type = prog->expected_attach_type;
7792 prog->expected_attach_type = prog->sec_def->expected_attach_type;
9156 return prog->expected_attach_type;
9165 prog->expected_attach_type = type;
9220 .expected_attach_type = atype, \
9373 sec_def->expected_attach_type = exp_attach_type;
9518 enum bpf_attach_type *expected_attach_type)
9529 *expected_attach_type = sec_def->expected_attach_type;
9855 enum bpf_attach_type attach_type = prog->expected_attach_type;
9920 *attach_type = sec_def->expected_attach_type;
13372 prog->expected_attach_type,