Searched refs:num_cmd (Results 1 – 3 of 3) sorted by relevance
179 if (info->num_cmd < info->alloc_cmd) { in wifi_register_cmd()180 info->cmd[info->num_cmd].id = id; in wifi_register_cmd()181 info->cmd[info->num_cmd].cmd = cmd; in wifi_register_cmd()182 ALOGV("Successfully added command %d: %p at %d", id, cmd, info->num_cmd); in wifi_register_cmd()183 info->num_cmd++; in wifi_register_cmd()187 id, cmd, info->num_cmd, info->alloc_cmd); in wifi_register_cmd()201 for (int i = 0; i < info->num_cmd; i++) { in wifi_unregister_cmd()204 memmove(&info->cmd[i], &info->cmd[i+1], (info->num_cmd - i - 1) * sizeof(cmd_info)); in wifi_unregister_cmd()205 info->num_cmd--; in wifi_unregister_cmd()224 for (int i = 0; i < info->num_cmd; i++) { in wifi_get_cmd()[all …]
278 info->num_cmd = 0; in wifi_initialize()415 while (info->num_cmd > bad_commands) { in wifi_cleanup()416 int num_cmd = info->num_cmd; in wifi_cleanup() local424 if (num_cmd == info->num_cmd) { in wifi_cleanup()
198 int num_cmd; // number of commands member