Lines Matching refs:buf

34 static _syscall6(ssize_t, __syscall_pread, int, fd, void *, buf,  in _syscall6()  argument
36 # define MY_PREAD(fd, buf, count, offset) __syscall_pread(fd, buf, count, 0, OFF_HI_LO(offset)) in _syscall6() argument
37 # define MY_PREAD64(fd, buf, count, offset) __syscall_pread(fd, buf, count, 0, OFF64_HI_LO(offset… in _syscall6() argument
39 static _syscall5(ssize_t, __syscall_pread, int, fd, void *, buf, in _syscall6()
41 # define MY_PREAD(fd, buf, count, offset) __syscall_pread(fd, buf, count, OFF_HI_LO(offset)) in _syscall6()
42 # define MY_PREAD64(fd, buf, count, offset) __syscall_pread(fd, buf, count, OFF64_HI_LO(offset)) in _syscall6()
44 static _syscall4(ssize_t, __syscall_pread, int, fd, void *, buf, in _syscall6()
46 # define MY_PREAD(fd, buf, count, offset) __syscall_pread(fd, buf, count, offset) in _syscall6()
47 # define MY_PREAD64(fd, buf, count, offset) __syscall_pread(fd, buf, count, offset) in _syscall6()
56 static _syscall6(ssize_t, __syscall_pwrite, int, fd, const void *, buf, in _syscall6()
58 # define MY_PWRITE(fd, buf, count, offset) __syscall_pwrite(fd, buf, count, 0, OFF_HI_LO(offset)) in _syscall6() argument
59 # define MY_PWRITE64(fd, buf, count, offset) __syscall_pwrite(fd, buf, count, 0, OFF64_HI_LO(offs… in _syscall6() argument
61 static _syscall5(ssize_t, __syscall_pwrite, int, fd, const void *, buf, in _syscall6()
63 # define MY_PWRITE(fd, buf, count, offset) __syscall_pwrite(fd, buf, count, OFF_HI_LO(offset)) in _syscall6()
64 # define MY_PWRITE64(fd, buf, count, offset) __syscall_pwrite(fd, buf, count, OFF64_HI_LO(offset)) in _syscall6()
66 static _syscall4(ssize_t, __syscall_pwrite, int, fd, const void *, buf, in _syscall6()
68 # define MY_PWRITE(fd, buf, count, offset) __syscall_pwrite(fd, buf, count, offset) in _syscall6()
69 # define MY_PWRITE64(fd, buf, count, offset) __syscall_pwrite(fd, buf, count, offset) in _syscall6()
74 static ssize_t __NC(pread)(int fd, void *buf, size_t count, off_t offset) in _syscall6()
76 return MY_PREAD(fd, buf, count, offset); in _syscall6()
78 CANCELLABLE_SYSCALL(ssize_t, pread, (int fd, void *buf, size_t count, off_t offset),
79 (fd, buf, count, offset))
81 static ssize_t __NC(pwrite)(int fd, const void *buf, size_t count, off_t offset) in __NC()
83 return MY_PWRITE(fd, buf, count, offset); in __NC()
85 CANCELLABLE_SYSCALL(ssize_t, pwrite, (int fd, const void *buf, size_t count, off_t offset),
86 (fd, buf, count, offset))
89 static ssize_t __NC(pread64)(int fd, void *buf, size_t count, off64_t offset) in __NC()
91 return MY_PREAD64(fd, buf, count, offset); in __NC()
93 CANCELLABLE_SYSCALL(ssize_t, pread64, (int fd, void *buf, size_t count, off64_t offset),
94 (fd, buf, count, offset))
96 static ssize_t __NC(pwrite64)(int fd, const void *buf, size_t count, off64_t offset) in __NC()
98 return MY_PWRITE64(fd, buf, count, offset); in __NC()
100 CANCELLABLE_SYSCALL(ssize_t, pwrite64, (int fd, const void *buf, size_t count, off64_t offset),
101 (fd, buf, count, offset))