Lines Matching refs:line
299 char *line = NULL;
301 while (getline(&line, &line_size, err_file) > 0) {
302 const char *pci_id_start = strstr(line, "PCI ID");
305 int matched = sscanf(line, "PCI ID: 0x%04x\n", &pci_id);
316 if (strstr(line, " command stream:")) {
317 engine_from_name(line, &active_engine_class, &active_engine_instance);
321 if (sscanf(line, " ring->head: 0x%x\n",
328 if (sscanf(line, " ring->tail: 0x%x\n",
336 if (strncmp(line, active_start, strlen(active_start)) == 0) {
337 char *ring = line + strlen(active_start);
349 if (strncmp(line, global_start, strlen(global_start)) == 0) {
358 if (sscanf(line, " %x_%x %d", &hi, &lo, &size) == 3) {
371 if (line[0] == ':' || line[0] == '~') {
375 int count = ascii85_decode(line+1, (uint32_t **) &last_bo->data, line[0] == ':');
381 char *dashes = strstr(line, " --- ");
385 engine_from_name(line, &active_engine_class, &active_engine_instance);
545 free(line);