Lines Matching refs:buf
73 char* getcwd(char* const __pass_object_size buf, size_t size) in getcwd() argument
75 __error_if_overflows_objectsize(size, __bos(buf), getcwd) { in getcwd()
77 size_t bos = __bos(buf); in getcwd()
80 return __getcwd_chk(buf, size, bos); in getcwd()
83 return __call_bypassing_fortify(getcwd)(buf, size); in getcwd()
88 ssize_t pread(int fd, void* const __pass_object_size0 buf, size_t count, off_t offset) in pread() argument
91 __error_if_overflows_objectsize(count, __bos0(buf), pread) { in pread()
93 size_t bos = __bos0(buf); 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
107 __error_if_overflows_objectsize(count, __bos0(buf), pread64) { in pread64()
109 size_t bos = __bos0(buf); 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
123 __error_if_overflows_objectsize(count, __bos0(buf), pwrite) { in pwrite()
125 size_t bos = __bos0(buf); 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
139 __error_if_overflows_objectsize(count, __bos0(buf), pwrite64) { in pwrite64()
141 size_t bos = __bos0(buf); 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
154 __error_if_overflows_objectsize(count, __bos0(buf), read) { in read()
156 size_t bos = __bos0(buf); 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
169 __error_if_overflows_objectsize(count, __bos0(buf), write) { in write()
171 size_t bos = __bos0(buf); in write()
174 return __write_chk(fd, buf, count, bos); in write()
177 return __call_bypassing_fortify(write)(fd, buf, count); in write()
181 ssize_t readlink(const char* path, char* const __pass_object_size buf, size_t size) in readlink() argument
184 __error_if_overflows_objectsize(size, __bos(buf), readlink) { in readlink()
186 size_t bos = __bos(buf); in readlink()
189 return __readlink_chk(path, buf, size, bos); in readlink()
192 return __call_bypassing_fortify(readlink)(path, buf, size); in readlink()
197 ssize_t readlinkat(int dirfd, const char* path, char* const __pass_object_size buf, size_t size) in readlinkat() argument
200 __error_if_overflows_objectsize(size, __bos(buf), readlinkat) { in readlinkat()
202 size_t bos = __bos(buf); in readlinkat()
205 return __readlinkat_chk(dirfd, path, buf, size, bos); in readlinkat()
208 return __call_bypassing_fortify(readlinkat)(dirfd, path, buf, size); in readlinkat()