| /OK3568_Linux_fs/kernel/drivers/media/dvb-core/ |
| H A 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() 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() 190 memcpy(rbuf->data+rbuf->pwrite, buf, split); in dvb_ringbuffer_write() 198 smp_store_release(&rbuf->pwrite, 0); in dvb_ringbuffer_write() 200 memcpy(rbuf->data+rbuf->pwrite, buf, todo); in dvb_ringbuffer_write() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/rkflash/ |
| H A D | rkflash_debug.c | 90 static u8 pwrite[max_test_sector * 512]; variable 113 pwrite32 = (u32 *)pwrite; in blk_stress_test() 115 pwrite[i] = i; in blk_stress_test() 125 blk_dwrite(block_dev, test_lba, test_sec_count, pwrite); in blk_stress_test() 128 if (pwrite[j] != pread[j]) { in blk_stress_test() 131 pwrite, in blk_stress_test() 141 pwrite[j], in blk_stress_test() 167 if (pwrite[j] != pread[j]) { in blk_stress_test() 172 pwrite[j], in blk_stress_test()
|
| /OK3568_Linux_fs/u-boot/examples/standalone/ |
| H A D | rkspi.c | 373 unsigned char *pread, *pwrite; in main() local 380 pwrite = malloc(test_size); in main() 381 if (!pwrite) { in main() 383 free(pwrite); in main() 389 pwrite[i] = i; in main() 402 ret = rockchip_spi_xfer(bus, cs, test_size * 8, pwrite, NULL, SPI_XFER_ONCE); in main() 423 rockchip_spi_xfer(bus, cs, test_size * 8, pwrite, pread, SPI_XFER_ONCE); in main() 434 rockchip_spi_write_then_read(bus, cs, pwrite, 1, NULL, pread, test_size); in main()
|
| /OK3568_Linux_fs/kernel/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; }
|
| /OK3568_Linux_fs/kernel/drivers/rapidio/ |
| H A D | rio.c | 566 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 597 list_for_each_entry(pwrite, &mport->pwrites, node) { in rio_del_mport_pw_handler() 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() [all …]
|
| /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtwebengine/chromium/ |
| H A D | 0022-chromium-musl-pread-pwrite.patch | 4 Subject: [PATCH] chromium: musl: pread pwrite 6 Redefine pread/pwrite in terms of 64bit variants on musl
|
| /OK3568_Linux_fs/external/recovery/mtdutils/ |
| H A D | rk29.c | 283 sz = pwrite(fd, buf, WRITE_SIZE, offset); in rk29_fwrite() 291 sz = pwrite(fd, p, WRITE_SIZE, offset); in rk29_fwrite() 304 sz = pwrite(fd, buf, WRITE_SIZE, offset); in rk29_fwrite()
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/ |
| H A D | rk29.c | 308 sz = pwrite(fd, buf, WRITE_SIZE, offset); in rk29_fwrite() 316 sz = pwrite(fd, p, WRITE_SIZE, offset); in rk29_fwrite() 329 sz = pwrite(fd, buf, WRITE_SIZE, offset); in rk29_fwrite()
|
| /OK3568_Linux_fs/kernel/tools/hv/ |
| H A D | hv_fcopy_daemon.c | 93 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()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/ |
| H A D | unistd.h | 387 extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, 397 extern ssize_t __REDIRECT (pwrite, (int __fd, const void *__buf, 403 # define pwrite pwrite64 macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/ |
| H A D | unistd.h | 387 extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, 397 extern ssize_t __REDIRECT (pwrite, (int __fd, const void *__buf, 403 # define pwrite pwrite64 macro
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_object_types.h | 61 int (*pwrite)(struct drm_i915_gem_object *obj, member
|
| H A D | i915_gem_phys.c | 200 .pwrite = phys_pwrite,
|
| H A D | i915_gem_shmem.c | 441 .pwrite = shmem_pwrite,
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/Documentation/sparc/oradax/ |
| H A D | oracle-dax.rst | 143 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) {
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/memfd/ |
| H A D | memfd_test.c | 566 l = pwrite(fd, buf, mfd_def_size * 8, 0); in mfd_assert_grow_write() 590 l = pwrite(fd, buf, mfd_def_size * 8, 0); in mfd_fail_grow_write()
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A D | i915_gem.c | 817 if (obj->ops->pwrite) in i915_gem_pwrite_ioctl() 818 ret = obj->ops->pwrite(obj, args); in i915_gem_pwrite_ioctl()
|
| /OK3568_Linux_fs/kernel/arch/um/os-Linux/ |
| H A D | file.c | 302 int n = pwrite(fd, (void *) buf, len, offset); in os_pwrite_file()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/ |
| H A D | incfs_perf.c | 405 if (pwrite(fd, buffer, sizeof(buffer), i) != sizeof(buffer)) { in test_native_file()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/sparc64/drivers/ |
| H A D | adi-test.c | 274 ret = pwrite(fd, buf + bytes_written, in pwrite_adi()
|
| /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/ |
| H A D | qtwebengine_git.bb | 199 file://chromium/0022-chromium-musl-pread-pwrite.patch;patchdir=src/3rdparty \
|
| H A D | qtpdf_git.bb | 184 file://chromium/0022-chromium-musl-pread-pwrite.patch;patchdir=src/3rdparty \
|