Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/android/
Dashmem.c526 char local_name[ASHMEM_NAME_LEN]; in set_name() local
537 len = strncpy_from_user(local_name, name, ASHMEM_NAME_LEN); in set_name()
541 local_name[ASHMEM_NAME_LEN - 1] = '\0'; in set_name()
547 strcpy(asma->name + ASHMEM_NAME_PREFIX_LEN, local_name); in set_name()
563 char local_name[ASHMEM_NAME_LEN]; in get_name() local
572 memcpy(local_name, asma->name + ASHMEM_NAME_PREFIX_LEN, len); in get_name()
575 memcpy(local_name, ASHMEM_NAME_DEF, len); in get_name()
583 if (copy_to_user(name, local_name, len)) in get_name()
/Linux-v5.4/tools/lib/bpf/
Dlibbpf.c2505 const char *local_name, *targ_name; in bpf_core_find_cands() local
2515 local_name = btf__name_by_offset(local_btf, t->name_off); in bpf_core_find_cands()
2516 if (str_is_empty(local_name)) in bpf_core_find_cands()
2518 local_essent_len = bpf_core_essential_name_len(local_name); in bpf_core_find_cands()
2535 if (strncmp(local_name, targ_name, local_essent_len) == 0) { in bpf_core_find_cands()
2537 local_type_id, local_name, i, targ_name); in bpf_core_find_cands()
2631 const char *local_name, *targ_name; in bpf_core_match_member() local
2644 local_name = btf__name_by_offset(local_btf, local_member->name_off); in bpf_core_match_member()
2674 } else if (strcmp(local_name, targ_name) == 0) { in bpf_core_match_member()
3009 const char *local_name, *cand_name; in bpf_core_reloc_offset() local
[all …]