Home
last modified time | relevance | path

Searched refs:ctx_tname (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Dbtf.c5619 const char *tname, *ctx_tname; in btf_get_prog_ctx_type() local
5652 ctx_tname = btf_name_by_offset(btf_vmlinux, ctx_struct->name_off); in btf_get_prog_ctx_type()
5653 if (!ctx_tname) { in btf_get_prog_ctx_type()
5665 if (strcmp(ctx_tname, "__sk_buff") == 0 && strcmp(tname, "sk_buff") == 0) in btf_get_prog_ctx_type()
5667 if (strcmp(ctx_tname, "xdp_md") == 0 && strcmp(tname, "xdp_buff") == 0) in btf_get_prog_ctx_type()
5669 if (strcmp(ctx_tname, tname)) { in btf_get_prog_ctx_type()