Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/platform/x86/dell/
A Ddell-smbios-base.c29 static struct device_attribute *token_value_attrs; variable
485 token_value_attrs = kzalloc(size, GFP_KERNEL); in build_tokens_sysfs()
486 if (!token_value_attrs) in build_tokens_sysfs()
515 sysfs_attr_init(&token_value_attrs[i].attr); in build_tokens_sysfs()
516 token_value_attrs[i].attr.name = value_name; in build_tokens_sysfs()
517 token_value_attrs[i].attr.mode = 0444; in build_tokens_sysfs()
518 token_value_attrs[i].show = value_show; in build_tokens_sysfs()
536 kfree(token_value_attrs[i].attr.name); in build_tokens_sysfs()
540 kfree(token_value_attrs); in build_tokens_sysfs()
555 kfree(token_value_attrs[i].attr.name); in free_group()
[all …]

Completed in 3 milliseconds