Lines Matching refs:spec
97 struct __bpf_usdt_spec *spec; in bpf_usdt_arg_cnt() local
104 spec = bpf_map_lookup_elem(&__bpf_usdt_specs, &spec_id); in bpf_usdt_arg_cnt()
105 if (!spec) in bpf_usdt_arg_cnt()
108 return spec->arg_cnt; in bpf_usdt_arg_cnt()
118 struct __bpf_usdt_spec *spec; in bpf_usdt_arg_size() local
125 spec = bpf_map_lookup_elem(&__bpf_usdt_specs, &spec_id); in bpf_usdt_arg_size()
126 if (!spec) in bpf_usdt_arg_size()
132 if (arg_num >= spec->arg_cnt) in bpf_usdt_arg_size()
135 arg_spec = &spec->args[arg_num]; in bpf_usdt_arg_size()
150 struct __bpf_usdt_spec *spec; in bpf_usdt_arg() local
161 spec = bpf_map_lookup_elem(&__bpf_usdt_specs, &spec_id); in bpf_usdt_arg()
162 if (!spec) in bpf_usdt_arg()
168 if (arg_num >= spec->arg_cnt) in bpf_usdt_arg()
171 arg_spec = &spec->args[arg_num]; in bpf_usdt_arg()
233 struct __bpf_usdt_spec *spec; in bpf_usdt_cookie() local
240 spec = bpf_map_lookup_elem(&__bpf_usdt_specs, &spec_id); in bpf_usdt_cookie()
241 if (!spec) in bpf_usdt_cookie()
244 return spec->usdt_cookie; in bpf_usdt_cookie()