Home
last modified time | relevance | path

Searched refs:pread (Results 1 – 6 of 6) sorted by relevance

/drivers/media/dvb-core/
Ddvb_ringbuffer.c40 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/
Di915_gem_object_types.h60 int (*pread)(struct drm_i915_gem_object *obj, member
Di915_gem_userptr.c416 .pread = i915_gem_userptr_pread,
Di915_gem_shmem.c482 .pread = shmem_pread,
/drivers/gpu/drm/i915/
Di915_gem.c467 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/
Dav7110_av.c261 (unsigned long) buf->pread, (unsigned long) buf->pwrite); in av7110_pes_play()