Searched refs:lpos (Results 1 – 1 of 1) sorted by relevance
294 loff_t lpos = *ppos; in sof_dfsentry_trace_read() local302 if (lpos < 0) in sof_dfsentry_trace_read()308 lpos_64 = lpos; in sof_dfsentry_trace_read()309 lpos = do_div(lpos_64, buffer_size); in sof_dfsentry_trace_read()311 if (count > buffer_size - lpos) /* min() not used to avoid sparse warnings */ in sof_dfsentry_trace_read()312 count = buffer_size - lpos; in sof_dfsentry_trace_read()315 avail = sof_wait_trace_avail(sdev, lpos, buffer_size); in sof_dfsentry_trace_read()325 rem = copy_to_user(buffer, ((u8 *)(dfse->buf) + lpos), count); in sof_dfsentry_trace_read()