Lines Matching defs:appl_ptr
180 runtime->appl_ptr = runtime->hw_ptr = 0;
229 runtime->appl_ptr = runtime->hw_ptr = 0;
1224 unsigned long appl_ptr;
1230 count1 = runtime->buffer_size - runtime->appl_ptr;
1236 /* update runtime->appl_ptr before unlocking for userbuf */
1237 appl_ptr = runtime->appl_ptr;
1238 runtime->appl_ptr += count1;
1239 runtime->appl_ptr %= runtime->buffer_size;
1243 memcpy(kernelbuf + result, runtime->buffer + appl_ptr, count1);
1247 runtime->buffer + appl_ptr, count1))
1526 unsigned long appl_ptr;
1543 count1 = runtime->buffer_size - runtime->appl_ptr;
1549 /* update runtime->appl_ptr before unlocking for userbuf */
1550 appl_ptr = runtime->appl_ptr;
1551 runtime->appl_ptr += count1;
1552 runtime->appl_ptr %= runtime->buffer_size;
1556 memcpy(runtime->buffer + appl_ptr,
1560 if (copy_from_user(runtime->buffer + appl_ptr,