• Home
  • Raw
  • Download

Lines Matching refs:buf_o

175 	struct evbuffer_overlapped *buf_o = upcast_evbuffer(buf);  in evbuffer_launch_write_()  local
187 EVUTIL_ASSERT(!buf_o->read_in_progress); in evbuffer_launch_write_()
188 if (buf->freeze_start || buf_o->write_in_progress) in evbuffer_launch_write_()
199 buf_o->first_pinned = NULL; in evbuffer_launch_write_()
200 buf_o->n_buffers = 0; in evbuffer_launch_write_()
201 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); in evbuffer_launch_write_()
203 chain = buf_o->first_pinned = buf->first; in evbuffer_launch_write_()
206 WSABUF *b = &buf_o->buffers[i]; in evbuffer_launch_write_()
224 buf_o->n_buffers = i; in evbuffer_launch_write_()
226 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0, in evbuffer_launch_write_()
231 pin_release(buf_o, EVBUFFER_MEM_PINNED_W); in evbuffer_launch_write_()
238 buf_o->write_in_progress = 1; in evbuffer_launch_write_()
249 struct evbuffer_overlapped *buf_o = upcast_evbuffer(buf); in evbuffer_launch_read_() local
258 if (!buf_o) in evbuffer_launch_read_()
261 EVUTIL_ASSERT(!buf_o->write_in_progress); in evbuffer_launch_read_()
262 if (buf->freeze_end || buf_o->read_in_progress) in evbuffer_launch_read_()
265 buf_o->first_pinned = NULL; in evbuffer_launch_read_()
266 buf_o->n_buffers = 0; in evbuffer_launch_read_()
267 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); in evbuffer_launch_read_()
277 &buf_o->buffers[i], in evbuffer_launch_read_()
281 buf_o->n_buffers = nvecs; in evbuffer_launch_read_()
282 buf_o->first_pinned = chain = *chainp; in evbuffer_launch_read_()
292 if (WSARecv(buf_o->fd, buf_o->buffers, nvecs, &bytesRead, &flags, in evbuffer_launch_read_()
297 pin_release(buf_o, EVBUFFER_MEM_PINNED_R); in evbuffer_launch_read_()
304 buf_o->read_in_progress = 1; in evbuffer_launch_read_()
314 struct evbuffer_overlapped *buf_o = upcast_evbuffer(buf); in evbuffer_overlapped_get_fd_() local
315 return buf_o ? buf_o->fd : -1; in evbuffer_overlapped_get_fd_()
321 struct evbuffer_overlapped *buf_o = upcast_evbuffer(buf); in evbuffer_overlapped_set_fd_() local
324 if (buf_o) in evbuffer_overlapped_set_fd_()
325 buf_o->fd = fd; in evbuffer_overlapped_set_fd_()