Searched refs:bufs (Results 1 – 2 of 2) sorted by relevance
171 struct buffer_t *bufs; in buffer_threaded() local177 bufs = (struct buffer_t *) pthread_getspecific(thdkey); in buffer_threaded()179 if(!bufs) { in buffer_threaded()185 bufs = calloc((size_t) LK_LAST, sizeof(*bufs)); in buffer_threaded()186 if(!bufs) in buffer_threaded()189 if(pthread_setspecific(thdkey, (void *) bufs)) { in buffer_threaded()190 free(bufs); in buffer_threaded()195 return get_buffer(bufs + key, size); in buffer_threaded()
374 uint8_t (*bufs)[64*1024] = NULL; in recvmmsg_packets() local377 result = Curl_multi_xfer_sockbuf_borrow(data, MMSG_NUM * sizeof(bufs[0]), in recvmmsg_packets()381 bufs = (uint8_t (*)[64*1024])sockbuf; in recvmmsg_packets()389 msg_iov[i].iov_base = bufs[i]; in recvmmsg_packets()390 msg_iov[i].iov_len = (int)sizeof(bufs[i]); in recvmmsg_packets()442 result = recv_cb(bufs[i] + offset, pktlen, mmsg[i].msg_hdr.msg_name, in recvmmsg_packets()
Completed in 14 milliseconds