bpf_core_spec
struct bpf_core_spec *specs;
static int btfgen_record_field_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec)
static int btfgen_record_type_match_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec)
static int btfgen_record_type_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec)
static int btfgen_record_enumval_relo(struct btfgen_info *info, struct bpf_core_spec *targ_spec)
static int btfgen_record_reloc(struct btfgen_info *info, struct bpf_core_spec *res)
struct bpf_core_spec specs_scratch[3] = {};
struct bpf_core_spec specs_scratch[3] = {};
struct bpf_core_spec spec;
int bpf_core_format_spec(char *buf, size_t buf_sz, const struct bpf_core_spec *spec)
struct bpf_core_spec *specs_scratch,
struct bpf_core_spec *local_spec = &specs_scratch[0];
struct bpf_core_spec *cand_spec = &specs_scratch[1];
struct bpf_core_spec *targ_spec = &specs_scratch[2];
struct bpf_core_spec *spec)
struct bpf_core_spec *spec,
static int bpf_core_spec_match(struct bpf_core_spec *local_spec,
struct bpf_core_spec *targ_spec)
const struct bpf_core_spec *spec,
const struct bpf_core_spec *spec,
const struct bpf_core_spec *spec,
const struct bpf_core_spec *local_spec,
const struct bpf_core_spec *targ_spec,
struct bpf_core_spec *specs_scratch,
struct bpf_core_spec *spec);
int bpf_core_format_spec(char *buf, size_t buf_sz, const struct bpf_core_spec *spec);