Lines Matching refs:token_value_attrs
32 static struct device_attribute *token_value_attrs; variable
488 token_value_attrs = kzalloc(size, GFP_KERNEL); in build_tokens_sysfs()
489 if (!token_value_attrs) in build_tokens_sysfs()
518 sysfs_attr_init(&token_value_attrs[i].attr); in build_tokens_sysfs()
519 token_value_attrs[i].attr.name = value_name; in build_tokens_sysfs()
520 token_value_attrs[i].attr.mode = 0444; in build_tokens_sysfs()
521 token_value_attrs[i].show = value_show; in build_tokens_sysfs()
522 token_attrs[j++] = &token_value_attrs[i].attr; in build_tokens_sysfs()
539 kfree(token_value_attrs[i].attr.name); in build_tokens_sysfs()
543 kfree(token_value_attrs); in build_tokens_sysfs()
558 kfree(token_value_attrs[i].attr.name); in free_group()
561 kfree(token_value_attrs); in free_group()