Searched refs:temp_link (Results 1 – 1 of 1) sorted by relevance
1528 struct ring_elt *temp_link = NULL; in allocate_buffer_ring() local1564 temp_link = (struct ring_elt *)malloc(sizeof(struct ring_elt)); in allocate_buffer_ring()1565 if (temp_link == NULL) { in allocate_buffer_ring()1571 temp_link->completion_ptr = NULL; in allocate_buffer_ring()1574 first_link = temp_link; in allocate_buffer_ring()1576 temp_link->buffer_base = (char *)malloc(malloc_size); in allocate_buffer_ring()1577 if (temp_link->buffer_base == NULL) { in allocate_buffer_ring()1585 temp_link->buffer_ptr = (char *)(( (long)(temp_link->buffer_base) + in allocate_buffer_ring()1589 temp_link->buffer_ptr = (char *)(( (ULONG_PTR)(temp_link->buffer_base) + in allocate_buffer_ring()1593 temp_link->buffer_ptr += offset; in allocate_buffer_ring()[all …]