Lines Matching refs:ring_elt
782 int netperf_sendfile(SOCKET send_socket, struct ring_elt *send_ring) { in netperf_sendfile()
1523 struct ring_elt *
1527 struct ring_elt *first_link = NULL; in allocate_buffer_ring()
1528 struct ring_elt *temp_link = NULL; in allocate_buffer_ring()
1529 struct ring_elt *prev_link; in allocate_buffer_ring()
1564 temp_link = (struct ring_elt *)malloc(sizeof(struct ring_elt)); in allocate_buffer_ring()
1568 (unsigned int)sizeof(struct ring_elt)); in allocate_buffer_ring()
1690 struct ring_elt *
1694 struct ring_elt *first_link; in allocate_exs_buffer_ring()
1695 struct ring_elt *temp_link; in allocate_exs_buffer_ring()
1696 struct ring_elt *prev_link; in allocate_exs_buffer_ring()
1763 first_link = (struct ring_elt *) malloc (width * sizeof (struct ring_elt)); in allocate_exs_buffer_ring()
1765 printf ("malloc(%d) failed!\n", width * sizeof (struct ring_elt)); in allocate_exs_buffer_ring()
1830 struct ring_elt *
1838 struct ring_elt *first_link = NULL; in alloc_sendfile_buf_ring()
1839 struct ring_elt *temp_link = NULL; in alloc_sendfile_buf_ring()
1840 struct ring_elt *prev_link; in alloc_sendfile_buf_ring()
1939 temp_link = (struct ring_elt *) in alloc_sendfile_buf_ring()
1940 malloc(sizeof(struct ring_elt)); in alloc_sendfile_buf_ring()
1944 (unsigned int) sizeof(struct ring_elt)); in alloc_sendfile_buf_ring()