Lines Matching refs:sym
557 char *sym = prog->aux->ksym.name; in bpf_prog_ksym_set_name() local
558 const char *end = sym + KSYM_NAME_LEN; in bpf_prog_ksym_set_name()
573 sym += snprintf(sym, KSYM_NAME_LEN, "bpf_prog_"); in bpf_prog_ksym_set_name()
574 sym = bin2hex(sym, prog->tag, sizeof(prog->tag)); in bpf_prog_ksym_set_name()
581 snprintf(sym, (size_t)(end - sym), "_%s", func_name); in bpf_prog_ksym_set_name()
586 snprintf(sym, (size_t)(end - sym), "_%s", prog->aux->name); in bpf_prog_ksym_set_name()
588 *sym = 0; in bpf_prog_ksym_set_name()
690 unsigned long *off, char *sym) in __bpf_address_lookup() argument
701 strncpy(sym, ksym->name, KSYM_NAME_LEN); in __bpf_address_lookup()
703 ret = sym; in __bpf_address_lookup()
753 char *sym) in bpf_get_kallsym() argument
767 strncpy(sym, ksym->name, KSYM_NAME_LEN); in bpf_get_kallsym()