Lines Matching defs:log
210 struct snd_pcm_hwptr_log *log = runtime->hwptr_log;
213 if (log == NULL) {
214 log = kzalloc(sizeof(*log), GFP_ATOMIC);
215 if (log == NULL)
217 runtime->hwptr_log = log;
219 if (xrun_debug(substream, XRUN_DEBUG_LOGONCE) && log->hit)
222 entry = &log->entries[log->idx];
229 log->idx = (log->idx + 1) % XRUN_LOG_CNT;
234 struct snd_pcm_hwptr_log *log = substream->runtime->hwptr_log;
240 if (log == NULL)
242 if (xrun_debug(substream, XRUN_DEBUG_LOGONCE) && log->hit)
245 for (cnt = 0, idx = log->idx; cnt < XRUN_LOG_CNT; cnt++) {
246 entry = &log->entries[idx];
249 snd_printd("hwptr log: %s: j=%lu, pos=%ld/%ld/%ld, "
259 log->hit = 1;