Lines Matching defs:res
286 snd_pcm_sframes_t res;
287 res = plugin->undo_write(pcm, slave_areas, slave_offset + result, slave_frames, slave_frames - result);
288 if (res < 0)
289 return xfer > 0 ? (snd_pcm_sframes_t)xfer : res;
290 frames -= res;
332 snd_pcm_sframes_t res;
334 res = plugin->undo_read(slave, areas, offset, frames, slave_frames - result);
335 if (res < 0)
336 return xfer > 0 ? (snd_pcm_sframes_t)xfer : res;
337 frames -= res;
431 snd_pcm_sframes_t res;
433 res = plugin->undo_write(pcm, slave_areas, slave_offset + result, slave_frames, slave_frames - result);
434 if (res < 0)
435 return xfer > 0 ? xfer : res;
436 frames -= res;
498 snd_pcm_sframes_t res;
500 res = plugin->undo_read(slave, areas, hw_offset, frames, slave_frames - result);
501 if (res < 0)
502 return xfer > 0 ? (snd_pcm_sframes_t)xfer : res;
503 frames -= res;