Lines Matching refs:tokens
33 char **tokens = NULL; in adf_cfg_set_core_number_for_instance() local
46 tokens = malloc(sizeof(char *) * ADF_CFG_MAX_TOKENS, in adf_cfg_set_core_number_for_instance()
51 tokens[i] = in adf_cfg_set_core_number_for_instance()
67 strlcpy(tokens[token_index++], core_val, ADF_CFG_MAX_TOKEN_LEN); in adf_cfg_set_core_number_for_instance()
71 strlcpy(tokens[token_index++], in adf_cfg_set_core_number_for_instance()
78 strlcpy(tokens[token_index++], in adf_cfg_set_core_number_for_instance()
84 pos = strchr(tokens[i], '-'); in adf_cfg_set_core_number_for_instance()
87 ret = compat_strtoul(tokens[i], 10, &start); in adf_cfg_set_core_number_for_instance()
100 ret = compat_strtoul(tokens[i], 10, &core_num); in adf_cfg_set_core_number_for_instance()
119 if (tokens) { in adf_cfg_set_core_number_for_instance()
121 free(tokens[i], M_QAT); in adf_cfg_set_core_number_for_instance()
122 free(tokens, M_QAT); in adf_cfg_set_core_number_for_instance()