Searched refs:wdc_log_buf (Results 1 – 1 of 1) sorted by relevance
144 static char *wdc_log_buf = NULL; variable173 if (wdc_log_buf == NULL) { in wdc_log()174 wdc_log_buf = malloc(wdc_log_cap, M_DEVBUF, M_NOWAIT); in wdc_log()175 if (wdc_log_buf == NULL) in wdc_log()192 if (wdc_log_buf[tail] == 0) in wdc_log()195 rec_size = (wdc_log_buf[tail + 1] & 0x1f) + 2; in wdc_log()203 memset(&wdc_log_buf[head], 0, wdc_log_cap - head); in wdc_log()207 ptr = &wdc_log_buf[head]; in wdc_log()241 if (wdc_log_buf == NULL) { in wdc_get_log()268 if (wdc_log_buf[tail] == 0) in wdc_get_log()[all …]