/linux/drivers/media/dvb-core/ |
A D | dvb_ringbuffer.c | 40 rbuf->pread=rbuf->pwrite=0; in dvb_ringbuffer_init() 74 free = READ_ONCE(rbuf->pread) - rbuf->pwrite; in dvb_ringbuffer_free() 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() 148 smp_store_release(&rbuf->pread, 0); in dvb_ringbuffer_read_user() 154 smp_store_release(&rbuf->pread, (rbuf->pread + todo) % rbuf->size); in dvb_ringbuffer_read_user() 164 split = (rbuf->pread + len > rbuf->size) ? rbuf->size - rbuf->pread : 0; in dvb_ringbuffer_read() 173 smp_store_release(&rbuf->pread, 0); in dvb_ringbuffer_read() 175 memcpy(buf, rbuf->data+rbuf->pread, todo); in dvb_ringbuffer_read() 178 smp_store_release(&rbuf->pread, (rbuf->pread + todo) % rbuf->size); in dvb_ringbuffer_read() [all …]
|
/linux/tools/testing/selftests/intel_pstate/ |
A D | aperf.c | 66 pread(fd, &old_tsc, sizeof(old_tsc), 0x10); in main() 67 pread(fd, &old_aperf, sizeof(old_mperf), 0xe7); in main() 68 pread(fd, &old_mperf, sizeof(old_aperf), 0xe8); in main() 78 pread(fd, &new_tsc, sizeof(new_tsc), 0x10); in main() 79 pread(fd, &new_aperf, sizeof(new_mperf), 0xe7); in main() 80 pread(fd, &new_mperf, sizeof(new_aperf), 0xe8); in main()
|
A D | msr.c | 36 pread(fd, &msr, sizeof(msr), 0x199); in main()
|
/linux/include/media/ |
A D | dvb_ringbuffer.h | 44 ssize_t pread; member 126 ((rbuf)->data[((rbuf)->pread + (offs)) % (rbuf)->size]) 135 (rbuf)->pread = ((rbuf)->pread + (num)) % (rbuf)->size;\
|
/linux/tools/testing/selftests/kvm/ |
A D | kvm_binary_stats_test.c | 72 ret = pread(stats_fd, stats_desc, in stats_test() 145 ret = pread(stats_fd, stats_data, size_data, header->data_offset); in stats_test() 151 ret = pread(stats_fd, stats_data, in stats_test()
|
A D | access_tracking_perf_test.c | 85 TEST_ASSERT(pread(fd, &value, sizeof(value), offset) == sizeof(value), in pread_uint64()
|
/linux/tools/testing/selftests/proc/ |
A D | proc-uptime.h | 33 rv = pread(fd, buf, sizeof(buf), 0); in proc_uptime()
|
/linux/tools/testing/selftests/vm/ |
A D | split_huge_page_test.c | 41 pread(pagemap_file, &paddr, sizeof(paddr), in is_backed_by_thp() 45 pread(kpageflags_file, &page_flags, sizeof(page_flags), in is_backed_by_thp()
|
A D | transhuge-stress.c | 46 if (pread(pagemap_fd, ent, sizeof(ent), in allocate_transhuge()
|
A D | memfd_secret.c | 52 (pread(fd, buf, sizeof(buf), 0) >= 0) || in test_file_apis()
|
A D | madv_populate.c | 35 ret = pread(fd, &entry, sizeof(entry), pfn * sizeof(entry)); in pagemap_get_entry()
|
A D | ksm_tests.c | 475 if (pread(pagemap_fd, ent, sizeof(ent), in allocate_transhuge()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_object_types.h | 60 int (*pread)(struct drm_i915_gem_object *obj, member
|
A D | i915_gem_userptr.c | 419 .pread = i915_gem_userptr_pread,
|
A D | i915_gem_shmem.c | 479 .pread = shmem_pread,
|
/linux/tools/hv/ |
A D | hv_fcopy_daemon.c | 218 len = pread(fcopy_fd, &buffer, sizeof(buffer), 0); in main()
|
/linux/arch/um/drivers/ |
A D | cow_user.c | 273 return pread(fd, buf, len, offset); in file_reader()
|
/linux/Documentation/translations/zh_CN/filesystems/ |
A D | sysfs.txt | 198 向后搜索到零或使用‘0’偏移执行一个pread(2)操作,show()方法将
|
/linux/Documentation/translations/zh_TW/filesystems/ |
A D | sysfs.txt | 201 向後搜索到零或使用『0』偏移執行一個pread(2)操作,show()方法將
|
/linux/drivers/gpu/drm/i915/ |
A 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()
|
/linux/arch/um/os-Linux/ |
A D | file.c | 275 int n = pread(fd, buf, len, offset); in os_pread_file()
|
/linux/tools/testing/selftests/sparc64/drivers/ |
A D | adi-test.c | 218 ret = pread(fd, buf + bytes_read, buf_sz - bytes_read, in pread_adi()
|
/linux/tools/vm/ |
A D | page-types.c | 264 bytes = pread(fd, buf, count * 8, (off_t)index * 8); in do_u64_read()
|
/linux/Documentation/filesystems/spufs/ |
A D | spufs.rst | 68 read(2), pread(2), write(2), pwrite(2), lseek(2)
|
/linux/Documentation/filesystems/ |
A D | sysfs.rst | 220 zero or does a pread(2) with an offset of '0' the show() method will
|