| /linux/include/media/ |
| H A D | dvb_ringbuffer.h | 45 ssize_t pwrite; member 178 { (rbuf)->data[(rbuf)->pwrite] = (byte); \ 179 (rbuf)->pwrite = ((rbuf)->pwrite + 1) % (rbuf)->size; }
|
| /linux/tools/hv/ |
| H A D | hv_fcopy_daemon.c | |
| H A D | hv_fcopy_uio_daemon.c | 181 len = pwrite(target_fd, cpmsg->data, cpmsg->size, cpmsg->offset); in hv_copy_data()
|
| /linux/tools/testing/selftests/iommu/ |
| H A D | iommufd_fail_nth.c | 133 res2 = pwrite(nth_state->proc_fd, disable_nth, in fail_nth_next() 136 res2 = pwrite(nth_state->proc_fd, disable_nth, in fail_nth_next() 172 ASSERT_EQ(len, pwrite(nth_state->proc_fd, buf, len, 0)); in __fail_nth_enable()
|
| /linux/Documentation/admin-guide/perf/ |
| H A D | fujitsu_uncore_pmu.rst | 60 - write-count-pwrite 66 - memory-pwrite-count
|
| /linux/tools/perf/util/ |
| H A D | copyfile.c | 58 ssize_t ret = pwrite(ofd, ptr + off_in, size, off_out); in copyfile_offset()
|
| H A D | trace-event-info.c | 77 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | memfd_secret.c | 54 (pwrite(fd, buf, sizeof(buf), 0) >= 0)) in test_file_apis()
|
| /linux/tools/testing/selftests/riscv/abi/ |
| H A D | pointer_masking.c | 190 int ret = pwrite(fd, buf, count, 0); in pwrite_wrapper()
|
| /linux/drivers/perf/ |
| H A D | fujitsu_uncore_pmu.c | 332 MAC_EVENT_ATTR(write-count-pwrite, 0x22), 335 MAC_EVENT_ATTR(memory-pwrite-count, 0x60),
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | file_backed.c | 203 int ret = pwrite(fd, buf, min(len, sizeof(buf)), offset); in ublk_loop_tgt_init()
|
| H A D | kublk.c | 738 copied = pwrite(q->ublk_fd, addr, copy_len, off); in ublk_user_copy() 756 copied = pwrite(q->ublk_fd, io->integrity_buf, len, off); in ublk_user_copy()
|
| /linux/arch/um/drivers/ |
| H A D | vfio_user.c | 297 if (pwrite(dev->device, buf, size, dev->region[index].offset + offset) < 0) in vfio_region_write()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_userptr.c | 394 .pwrite = i915_gem_userptr_pwrite,
|
| H A D | i915_gem_shmem.c | 497 .pwrite = shmem_pwrite,
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | access_tracking_perf_test.c | 153 TEST_ASSERT(pwrite(page_idle_fd, &bits, 8, 8 * (pfn / 64)) == 8, in mark_page_idle()
|
| H A D | guest_memfd_test.c | 38 TEST_ASSERT(pwrite(fd, buf, sizeof(buf), 0) < 0, in test_file_read_write() 39 "pwrite on a guest_mem fd should fail"); in test_file_read_write()
|
| /linux/Documentation/filesystems/spufs/ |
| H A D | spufs.rst | 68 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/tools/testing/selftests/vfio/lib/ |
| H A D | vfio_pci_device.c | 255 ret = pwrite(device->fd, data, size, config_space->offset + config); in vfio_pci_config_access()
|
| /linux/tools/testing/selftests/memfd/ |
| H A D | memfd_test.c | 697 l = pwrite(fd, buf, mfd_def_size * 8, 0); in mfd_assert_grow_write() 699 printf("pwrite() failed: %m\n"); in mfd_assert_grow_write() 721 l = pwrite(fd, buf, mfd_def_size * 8, 0); in mfd_fail_grow_write() 723 printf("pwrite() didn't fail as expected\n"); in mfd_fail_grow_write()
|
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 292 int n = pwrite(fd, (void *) buf, len, offset); in os_pwrite_file()
|
| /linux/tools/testing/selftests/sparc64/drivers/ |
| H A D | adi-test.c | 270 ret = pwrite(fd, buf + bytes_written, in pwrite_adi()
|
| /linux/tools/mm/ |
| H A D | page-types.c | 592 len = pwrite(page_idle_fd, &buf, 8, 8 * (off / 64)); in mark_page_idle()
|
| /linux/tools/power/x86/x86_energy_perf_policy/ |
| H A D | x86_energy_perf_policy.c | 837 retval = pwrite(fd, &new_msr, sizeof(new_msr), offset); in put_msr()
|
| /linux/Documentation/driver-api/ |
| H A D | uio-howto.rst | 647 err = pwrite(configfd, &command_high, 1, 5);
|