Lines Matching refs:first_link
1527 struct ring_elt *first_link = NULL; in allocate_buffer_ring() local
1574 first_link = temp_link; in allocate_buffer_ring()
1629 if (first_link) { /* SAF Prefast made me do it... */ in allocate_buffer_ring()
1630 first_link->next = temp_link; in allocate_buffer_ring()
1633 return(first_link); /* it's a circle, doesn't matter which we return */ in allocate_buffer_ring()
1694 struct ring_elt *first_link; in allocate_exs_buffer_ring() local
1763 first_link = (struct ring_elt *) malloc (width * sizeof (struct ring_elt)); in allocate_exs_buffer_ring()
1764 if (first_link == NULL) { in allocate_exs_buffer_ring()
1770 prev_link = first_link + width - 1; in allocate_exs_buffer_ring()
1772 for (i = 0, temp_link = first_link; i < width; i++, temp_link++) { in allocate_exs_buffer_ring()
1812 return (first_link); /* it is a circle, doesn't matter which we return */ in allocate_exs_buffer_ring()
1838 struct ring_elt *first_link = NULL; in alloc_sendfile_buf_ring() local
1951 first_link = temp_link; in alloc_sendfile_buf_ring()
1972 first_link->next = temp_link; in alloc_sendfile_buf_ring()
1974 return(first_link); /* it's a dummy ring */ in alloc_sendfile_buf_ring()