Lines Matching refs:count
88 ssize_t pread(int fd, void* const __pass_object_size0 buf, size_t count, off_t offset) in pread() argument
90 __error_if_overflows_ssizet(count, pread) in pread()
91 __error_if_overflows_objectsize(count, __bos0(buf), pread) { in pread()
95 if (!__bos_trivially_ge_no_overflow(bos, count)) { in pread()
96 return __PREAD_PREFIX(chk)(fd, buf, count, offset, bos); in pread()
99 return __PREAD_PREFIX(real)(fd, buf, count, offset); in pread()
104 ssize_t pread64(int fd, void* const __pass_object_size0 buf, size_t count, off64_t offset) in pread64() argument
106 __error_if_overflows_ssizet(count, pread64) in pread64()
107 __error_if_overflows_objectsize(count, __bos0(buf), pread64) { in pread64()
111 if (!__bos_trivially_ge_no_overflow(bos, count)) { in pread64()
112 return __pread64_chk(fd, buf, count, offset, bos); in pread64()
115 return __pread64_real(fd, buf, count, offset); in pread64()
120 ssize_t pwrite(int fd, const void* const __pass_object_size0 buf, size_t count, off_t offset) in pwrite() argument
122 __error_if_overflows_ssizet(count, pwrite) in pwrite()
123 __error_if_overflows_objectsize(count, __bos0(buf), pwrite) { in pwrite()
127 if (!__bos_trivially_ge_no_overflow(bos, count)) { in pwrite()
128 return __PWRITE_PREFIX(chk)(fd, buf, count, offset, bos); in pwrite()
131 return __PWRITE_PREFIX(real)(fd, buf, count, offset); in pwrite()
136 ssize_t pwrite64(int fd, const void* const __pass_object_size0 buf, size_t count, off64_t offset) in pwrite64() argument
138 __error_if_overflows_ssizet(count, pwrite64) in pwrite64()
139 __error_if_overflows_objectsize(count, __bos0(buf), pwrite64) { in pwrite64()
143 if (!__bos_trivially_ge_no_overflow(bos, count)) { in pwrite64()
144 return __pwrite64_chk(fd, buf, count, offset, bos); in pwrite64()
147 return __pwrite64_real(fd, buf, count, offset); in pwrite64()
151 ssize_t read(int fd, void* const __pass_object_size0 buf, size_t count) in read() argument
153 __error_if_overflows_ssizet(count, read) in read()
154 __error_if_overflows_objectsize(count, __bos0(buf), read) { in read()
158 if (!__bos_trivially_ge_no_overflow(bos, count)) { in read()
159 return __read_chk(fd, buf, count, bos); in read()
162 return __call_bypassing_fortify(read)(fd, buf, count); in read()
166 ssize_t write(int fd, const void* const __pass_object_size0 buf, size_t count) in write() argument
168 __error_if_overflows_ssizet(count, write) in write()
169 __error_if_overflows_objectsize(count, __bos0(buf), write) { in write()
173 if (!__bos_trivially_ge_no_overflow(bos, count)) { in write()
174 return __write_chk(fd, buf, count, bos); in write()
177 return __call_bypassing_fortify(write)(fd, buf, count); in write()