Searched refs:wdc_log_cap (Results 1 – 1 of 1) sorted by relevance
147 static unsigned int wdc_log_cap = 16 * 1024; variable161 if (head > wdc_log_cap || tail > wdc_log_cap) { in wdc_log()167 if (size > wdc_log_cap / 2) { in wdc_log()185 if (log_size < 0) log_size += wdc_log_cap; in wdc_log()187 if (log_size + request_size >= wdc_log_cap) { in wdc_log()196 tail = (tail + rec_size) % wdc_log_cap; in wdc_log()202 if (head + request_size >= wdc_log_cap) { in wdc_log()212 wdc_head = (head + request_size) % wdc_log_cap; in wdc_log()235 log_size += wdc_log_cap; in wdc_get_log()248 if (head > wdc_log_cap || tail > wdc_log_cap) { in wdc_get_log()[all …]