Lines Matching refs:da_tokens
28 static struct calling_interface_token *da_tokens; variable
220 if (!da_tokens) { in dell_smbios_call_filter()
227 if (da_tokens[i].location != buffer->input[0]) in dell_smbios_call_filter()
229 t = da_tokens[i].tokenID; in dell_smbios_call_filter()
353 if (!da_tokens) in dell_smbios_find_token()
357 if (da_tokens[i].tokenID == tokenid) in dell_smbios_find_token()
358 return &da_tokens[i]; in dell_smbios_find_token()
412 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table()
418 da_tokens = new_da_tokens; in parse_da_table()
420 memcpy(da_tokens+da_num_tokens, table->tokens, in parse_da_table()
431 if (da_tokens[i].tokenID == 0) in zero_duplicates()
434 if (da_tokens[j].tokenID == 0) in zero_duplicates()
436 if (da_tokens[i].tokenID == da_tokens[j].tokenID) { in zero_duplicates()
438 da_tokens[j].tokenID, in zero_duplicates()
439 da_tokens[j].location, in zero_duplicates()
440 da_tokens[j].value); in zero_duplicates()
441 da_tokens[j].tokenID = 0; in zero_duplicates()
510 if (da_tokens[i].tokenID == 0) in build_tokens_sysfs()
513 token_entries[i].token = &da_tokens[i]; in build_tokens_sysfs()
517 da_tokens[i].tokenID); in build_tokens_sysfs()
529 da_tokens[i].tokenID); in build_tokens_sysfs()
614 if (da_tokens) { in dell_smbios_init()
641 kfree(da_tokens); in dell_smbios_init()
651 if (da_tokens) in dell_smbios_exit()
656 kfree(da_tokens); in dell_smbios_exit()