Lines Matching refs:cmd_list
1085 cmd = instance->cmd_list[i];
1114 cmd = instance->cmd_list[i];
1298 cmd = instance->cmd_list[context];
1992 cmd = instance->cmd_list[i];
2082 * Allocate and attach a frame to each of the commands in cmd_list.
2088 cmd = instance->cmd_list[i];
2123 /* Free all the commands in the cmd_list */
2125 kfree(instance->cmd_list[i]);
2127 /* Free the cmd_list buffer itself */
2128 kfree(instance->cmd_list);
2129 instance->cmd_list = NULL;
2148 * this driver, the 32 bit values are the indices into an array cmd_list.
2162 * instance->cmd_list is an array of struct megasas_cmd pointers.
2166 instance->cmd_list = kcalloc(max_cmd, sizeof(struct megasas_cmd*), GFP_KERNEL);
2168 if (!instance->cmd_list) {
2175 instance->cmd_list[i] = kmalloc(sizeof(struct megasas_cmd),
2178 if (!instance->cmd_list[i]) {
2181 kfree(instance->cmd_list[j]);
2183 kfree(instance->cmd_list);
2184 instance->cmd_list = NULL;
2194 cmd = instance->cmd_list[i];