Home
last modified time | relevance | path

Searched refs:pwrite (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/media/dvb-core/
A Ddvb_ringbuffer.c40 rbuf->pread=rbuf->pwrite=0; in dvb_ringbuffer_init()
74 free = READ_ONCE(rbuf->pread) - rbuf->pwrite; in dvb_ringbuffer_free()
118 smp_store_release(&rbuf->pwrite, 0); in dvb_ringbuffer_reset()
187 split = (rbuf->pwrite + len > rbuf->size) ? rbuf->size - rbuf->pwrite : 0; in dvb_ringbuffer_write()
198 smp_store_release(&rbuf->pwrite, 0); in dvb_ringbuffer_write()
202 smp_store_release(&rbuf->pwrite, (rbuf->pwrite + todo) % rbuf->size); in dvb_ringbuffer_write()
214 split = (rbuf->pwrite + len > rbuf->size) ? rbuf->size - rbuf->pwrite : 0; in dvb_ringbuffer_write_user()
227 smp_store_release(&rbuf->pwrite, 0); in dvb_ringbuffer_write_user()
233 smp_store_release(&rbuf->pwrite, (rbuf->pwrite + todo) % rbuf->size); in dvb_ringbuffer_write_user()
241 ssize_t oldpwrite = rbuf->pwrite; in dvb_ringbuffer_pkt_write()
[all …]
/linux/include/media/
A Ddvb_ringbuffer.h45 ssize_t pwrite; member
178 { (rbuf)->data[(rbuf)->pwrite] = (byte); \
179 (rbuf)->pwrite = ((rbuf)->pwrite + 1) % (rbuf)->size; }
/linux/drivers/rapidio/
A Drio.c566 struct rio_pwrite *pwrite = kzalloc(sizeof(*pwrite), GFP_KERNEL); in rio_add_mport_pw_handler() local
568 if (!pwrite) in rio_add_mport_pw_handler()
571 pwrite->pwcback = pwcback; in rio_add_mport_pw_handler()
572 pwrite->context = context; in rio_add_mport_pw_handler()
574 list_add_tail(&pwrite->node, &mport->pwrites); in rio_add_mport_pw_handler()
594 struct rio_pwrite *pwrite; in rio_del_mport_pw_handler() local
598 if (pwrite->pwcback == pwcback && pwrite->context == context) { in rio_del_mport_pw_handler()
599 list_del(&pwrite->node); in rio_del_mport_pw_handler()
600 kfree(pwrite); in rio_del_mport_pw_handler()
1175 struct rio_pwrite *pwrite; in rio_inb_pwrite_handler() local
[all …]
/linux/tools/hv/
A Dhv_fcopy_daemon.c93 bytes_written = pwrite(target_fd, cpmsg->data, cpmsg->size, in hv_copy_data()
261 if (pwrite(fcopy_fd, &error, sizeof(int), 0) != sizeof(int)) { in main()
/linux/tools/perf/util/
A Dcopyfile.c58 ssize_t ret = pwrite(ofd, ptr + off_in, size, off_out); in copyfile_offset()
A Dtrace-event-info.c77 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_object_types.h62 int (*pwrite)(struct drm_i915_gem_object *obj, member
A Di915_gem_userptr.c418 .pwrite = i915_gem_userptr_pwrite,
A Di915_gem_shmem.c478 .pwrite = shmem_pwrite,
/linux/tools/testing/selftests/vm/
A Dmemfd_secret.c53 (pwrite(fd, buf, sizeof(buf), 0) >= 0)) in test_file_apis()
A Dhmm-tests.c762 len = pwrite(fd, buffer->mirror, size, 0); in TEST_F()
/linux/tools/testing/selftests/kvm/
A Daccess_tracking_perf_test.c126 TEST_ASSERT(pwrite(page_idle_fd, &bits, 8, 8 * (pfn / 64)) == 8, in mark_page_idle()
/linux/Documentation/sparc/oradax/
A Doracle-dax.rst143 pwrite() system call. If -1 is returned then errno is set to indicate
187 - submit CCB via write() or pwrite()
334 The CCB submission is a write() or pwrite() system call to the
338 if (pwrite(fd, ccb, 64, 0) != 64) {
/linux/tools/testing/selftests/memfd/
A Dmemfd_test.c565 l = pwrite(fd, buf, mfd_def_size * 8, 0); in mfd_assert_grow_write()
589 l = pwrite(fd, buf, mfd_def_size * 8, 0); in mfd_fail_grow_write()
/linux/drivers/gpu/drm/i915/
A Di915_gem.c747 if (obj->ops->pwrite) in i915_gem_pwrite_ioctl()
748 ret = obj->ops->pwrite(obj, args); in i915_gem_pwrite_ioctl()
/linux/Documentation/filesystems/spufs/
A Dspufs.rst68 read(2), pread(2), write(2), pwrite(2), lseek(2)
70 write(2) and pwrite(2) are not supported beyond the end of the
/linux/arch/um/os-Linux/
A Dfile.c302 int n = pwrite(fd, (void *) buf, len, offset); in os_pwrite_file()
/linux/tools/testing/selftests/sparc64/drivers/
A Dadi-test.c274 ret = pwrite(fd, buf + bytes_written, in pwrite_adi()
/linux/tools/vm/
A Dpage-types.c590 len = pwrite(page_idle_fd, &buf, 8, 8 * (off / 64)); in mark_page_idle()
/linux/tools/power/x86/x86_energy_perf_policy/
A Dx86_energy_perf_policy.c715 retval = pwrite(fd, &new_msr, sizeof(new_msr), offset); in put_msr()
/linux/drivers/staging/media/av7110/
A Dav7110_av.c261 (unsigned long) buf->pread, (unsigned long) buf->pwrite); in av7110_pes_play()
/linux/Documentation/driver-api/
A Duio-howto.rst647 err = pwrite(configfd, &command_high, 1, 5);
/linux/Documentation/filesystems/
A Dproc.rst1762 write() and pwrite().

Completed in 67 milliseconds