Searched refs:token_entries (Results 1 – 1 of 1) sorted by relevance
29 static struct token_sysfs_data *token_entries; variable499 token_entries = kcalloc(da_num_tokens, sizeof(*token_entries), GFP_KERNEL); in build_tokens_sysfs()500 if (!token_entries) in build_tokens_sysfs()513 token_entries[i].token = &da_tokens[i]; in build_tokens_sysfs()521 sysfs_attr_init(&token_entries[i].location_attr.attr); in build_tokens_sysfs()522 token_entries[i].location_attr.attr.name = location_name; in build_tokens_sysfs()523 token_entries[i].location_attr.attr.mode = 0444; in build_tokens_sysfs()524 token_entries[i].location_attr.show = location_show; in build_tokens_sysfs()525 token_attrs[j++] = &token_entries[i].location_attr.attr; in build_tokens_sysfs()535 sysfs_attr_init(&token_entries[i].value_attr.attr); in build_tokens_sysfs()[all …]