Searched refs:pread (Results 1 – 6 of 6) sorted by relevance
/drivers/media/dvb-core/ |
D | dvb_ringbuffer.c | 40 rbuf->pread=rbuf->pwrite=0; in dvb_ringbuffer_init() 60 return (rbuf->pread == smp_load_acquire(&rbuf->pwrite)); in dvb_ringbuffer_empty() 74 free = READ_ONCE(rbuf->pread) - rbuf->pwrite; in dvb_ringbuffer_free() 90 avail = smp_load_acquire(&rbuf->pwrite) - rbuf->pread; in dvb_ringbuffer_avail() 106 smp_store_release(&rbuf->pread, smp_load_acquire(&rbuf->pwrite)); in dvb_ringbuffer_flush() 116 smp_store_release(&rbuf->pread, 0); in dvb_ringbuffer_reset() 138 split = (rbuf->pread + len > rbuf->size) ? rbuf->size - rbuf->pread : 0; in dvb_ringbuffer_read_user() 140 if (copy_to_user(buf, rbuf->data+rbuf->pread, split)) in dvb_ringbuffer_read_user() 148 smp_store_release(&rbuf->pread, 0); in dvb_ringbuffer_read_user() 150 if (copy_to_user(buf, rbuf->data+rbuf->pread, todo)) in dvb_ringbuffer_read_user() [all …]
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object_types.h | 60 int (*pread)(struct drm_i915_gem_object *obj, member
|
D | i915_gem_userptr.c | 416 .pread = i915_gem_userptr_pread,
|
D | i915_gem_shmem.c | 482 .pread = shmem_pread,
|
/drivers/gpu/drm/i915/ |
D | i915_gem.c | 467 if (obj->ops->pread) in i915_gem_pread_ioctl() 468 ret = obj->ops->pread(obj, args); in i915_gem_pread_ioctl()
|
/drivers/staging/media/av7110/ |
D | av7110_av.c | 261 (unsigned long) buf->pread, (unsigned long) buf->pwrite); in av7110_pes_play()
|