Searched refs:value_name (Results 1 – 2 of 2) sorted by relevance
/linux/kernel/bpf/ |
H A D | bpf_struct_ops.c | 91 const char *value_name) in is_valid_value_type() argument 100 value_name, btf_vlen(vt)); in is_valid_value_type() 109 value_name); in is_valid_value_type() 116 value_name, btf_name_by_offset(btf, type->name_off)); in is_valid_value_type() 336 char value_name[128]; in bpf_struct_ops_desc_init() local 341 sizeof(value_name)) { in bpf_struct_ops_desc_init() 346 sprintf(value_name, "%s%s", VALUE_PREFIX, st_ops->name); in bpf_struct_ops_desc_init() 367 value_id = btf_find_by_name_kind(btf, value_name, in bpf_struct_ops_desc_init() 371 value_name, btf_get_name(btf)); in bpf_struct_ops_desc_init() 374 if (!is_valid_value_type(btf, value_id, t, value_name)) in bpf_struct_ops_desc_init()
|
/linux/drivers/platform/x86/dell/ |
H A D | dell-smbios-base.c | 495 char *value_name; in build_tokens_sysfs() local 528 value_name = kasprintf(GFP_KERNEL, "%04x_value", in build_tokens_sysfs() 530 if (!value_name) { in build_tokens_sysfs() 536 token_entries[i].value_attr.attr.name = value_name; in build_tokens_sysfs()
|