Lines Matching refs:temp_link

1232   struct ring_elt *temp_link  = NULL;
1267 temp_link = (struct ring_elt *)malloc(sizeof(struct ring_elt));
1268 if (temp_link == NULL) {
1274 first_link = temp_link;
1276 temp_link->buffer_base = (char *)malloc(malloc_size);
1277 if (temp_link == NULL) {
1283 temp_link->buffer_ptr = (char *)(( (long)(temp_link->buffer_base) +
1287 temp_link->buffer_ptr = (char *)(( (ULONG_PTR)(temp_link->buffer_base) +
1291 temp_link->buffer_ptr += offset;
1294 char *bufptr = temp_link->buffer_ptr;
1312 char *bufptr = temp_link->buffer_ptr;
1324 temp_link->next = prev_link;
1325 prev_link = temp_link;
1328 first_link->next = temp_link;
1394 struct ring_elt *temp_link;
1469 for (i = 0, temp_link = first_link; i < width; i++, temp_link++) {
1471 temp_link->buffer_base = (char *) mmap_buffer_aligned + (i*malloc_size);
1473 temp_link->buffer_ptr = (char *)
1474 (((long)temp_link->buffer_base + (long)alignment - 1) &
1477 temp_link->buffer_ptr = (char *)
1478 (((ULONG_PTR)temp_link->buffer_base + (ULONG_PTR)alignment - 1) &
1481 temp_link->buffer_ptr += offset;
1486 i, temp_link->buffer_base, temp_link->buffer_ptr);
1493 if (((bytes_read = (int) fread (temp_link->buffer_ptr,
1505 prev_link->next = temp_link;
1506 prev_link = temp_link;
1537 struct sendfile_ring_elt *temp_link = NULL;
1642 temp_link = (struct sendfile_ring_elt *)
1644 if (temp_link == NULL) {
1652 first_link = temp_link;
1660 temp_link->fildes = fildes; /* from which file do we send? */
1661 temp_link->offset = offset; /* starting at which offset? */
1663 temp_link->length = buffer_size; /* how many bytes to send */
1664 temp_link->hdtrl = NULL; /* no header or trailer */
1665 temp_link->flags = 0; /* no flags */
1669 temp_link->next = prev_link;
1670 prev_link = temp_link;
1673 first_link->next = temp_link;