Lines Matching refs:token_value_attrs
29 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()
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()
555 kfree(token_value_attrs[i].attr.name); in free_group()
558 kfree(token_value_attrs); in free_group()