Searched refs:token_location_attrs (Results 1 – 1 of 1) sorted by relevance
31 static struct device_attribute *token_location_attrs; variable485 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()[all …]