Lines Matching refs:token_location_attrs
31 static struct device_attribute *token_location_attrs; variable
485 token_location_attrs = kzalloc(size, GFP_KERNEL); in build_tokens_sysfs()
486 if (!token_location_attrs) in build_tokens_sysfs()
507 sysfs_attr_init(&token_location_attrs[i].attr); in build_tokens_sysfs()
508 token_location_attrs[i].attr.name = location_name; in build_tokens_sysfs()
509 token_location_attrs[i].attr.mode = 0444; in build_tokens_sysfs()
510 token_location_attrs[i].show = location_show; in build_tokens_sysfs()
511 token_attrs[j++] = &token_location_attrs[i].attr; in build_tokens_sysfs()
538 kfree(token_location_attrs[i].attr.name); in build_tokens_sysfs()
545 kfree(token_location_attrs); in build_tokens_sysfs()
557 kfree(token_location_attrs[i].attr.name); in free_group()
562 kfree(token_location_attrs); in free_group()