Searched refs:token_value_attrs (Results 1 – 1 of 1) sorted by relevance
29 static struct device_attribute *token_value_attrs; variable485 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()519 token_attrs[j++] = &token_value_attrs[i].attr; 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()[all …]