Lines Matching refs:first_link
1218 struct ring_elt *first_link = NULL; in allocate_buffer_ring() local
1261 first_link = temp_link; in allocate_buffer_ring()
1314 if (first_link) { /* SAF Prefast made me do it... */ in allocate_buffer_ring()
1315 first_link->next = temp_link; in allocate_buffer_ring()
1318 return(first_link); /* it's a circle, doesn't matter which we return */ in allocate_buffer_ring()
1379 struct ring_elt *first_link; in allocate_exs_buffer_ring() local
1446 first_link = (struct ring_elt *) malloc (width * sizeof (struct ring_elt)); in allocate_exs_buffer_ring()
1447 if (first_link == NULL) { in allocate_exs_buffer_ring()
1453 prev_link = first_link + width - 1; in allocate_exs_buffer_ring()
1455 for (i = 0, temp_link = first_link; i < width; i++, temp_link++) { in allocate_exs_buffer_ring()
1495 return (first_link); /* it's a circle, doesn't matter which we return */ in allocate_exs_buffer_ring()
1521 struct sendfile_ring_elt *first_link = NULL; in alloc_sendfile_buf_ring() local
1637 first_link = temp_link; in alloc_sendfile_buf_ring()
1658 first_link->next = temp_link; in alloc_sendfile_buf_ring()
1660 return(first_link); /* it's a dummy ring */ in alloc_sendfile_buf_ring()