Searched refs:local_name (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/tools/lib/bpf/ |
| D | relo_core.c | 325 const char *local_name, *targ_name; in bpf_core_fields_are_compat() local 328 local_name = btf__name_by_offset(local_btf, in bpf_core_fields_are_compat() 331 local_len = bpf_core_essential_name_len(local_name); in bpf_core_fields_are_compat() 336 strncmp(local_name, targ_name, local_len) == 0); in bpf_core_fields_are_compat() 380 const char *local_name, *targ_name; in bpf_core_match_member() local 393 local_name = btf__name_by_offset(local_btf, local_member->name_off); in bpf_core_match_member() 418 } else if (strcmp(local_name, targ_name) == 0) { in bpf_core_match_member() 1155 const char *local_name; in bpf_core_apply_relo_insn() local 1165 local_name = btf__name_by_offset(local_btf, local_type->name_off); in bpf_core_apply_relo_insn() 1166 if (!local_name) in bpf_core_apply_relo_insn() [all …]
|
| D | libbpf.c | 5122 const char *local_name; in bpf_core_apply_relo() local 5143 local_name = btf__name_by_offset(local_btf, local_type->name_off); in bpf_core_apply_relo() 5144 if (!local_name) in bpf_core_apply_relo() 5150 local_name, relo->kind); in bpf_core_apply_relo() 5160 local_name, PTR_ERR(cands)); in bpf_core_apply_relo() 6685 const char *targ_name, *local_name; in bpf_object__resolve_ksym_var_btf_id() local 6688 local_name = btf__name_by_offset(obj->btf, local_type->name_off); in bpf_object__resolve_ksym_var_btf_id() 6693 btf_kind_str(local_type), local_name, targ_type_id, in bpf_object__resolve_ksym_var_btf_id()
|
| /Linux-v5.15/drivers/staging/android/ |
| D | ashmem.c | 567 char local_name[ASHMEM_NAME_LEN]; in set_name() local 578 len = strncpy_from_user(local_name, name, ASHMEM_NAME_LEN); in set_name() 587 strscpy(asma->name + ASHMEM_NAME_PREFIX_LEN, local_name, in set_name() 604 char local_name[ASHMEM_NAME_LEN]; in get_name() local 613 memcpy(local_name, asma->name + ASHMEM_NAME_PREFIX_LEN, len); in get_name() 616 memcpy(local_name, ASHMEM_NAME_DEF, len); in get_name() 624 if (copy_to_user(name, local_name, len)) in get_name()
|