Searched refs:buffer_list (Results 1 – 2 of 2) sorted by relevance
340 struct buffer_list struct342 struct buffer_list *next; /* next buffer in list */ argument348 struct buffer_list *last; /* last buffer in use */ argument350 struct buffer_list *current; /* current buffer being read */352 struct buffer_list first; /* the very first buffer */395 static struct buffer_list *396 buffer_extend(struct buffer_list *current) in buffer_extend()398 struct buffer_list *add; in buffer_extend()402 add = NEW(struct buffer_list); in buffer_extend()418 struct buffer_list *last = &buffer->first; in buffer_from_file()[all …]
2603 struct file_buffer **buffer_list; in write_file_blocks_dup() local2613 buffer_list = malloc(blocks * sizeof(struct file_buffer *)); in write_file_blocks_dup()2614 if(buffer_list == NULL) in write_file_blocks_dup()2626 buffer_list[block] = NULL; in write_file_blocks_dup()2638 buffer_list[block] = NULL; in write_file_blocks_dup()2641 buffer_list[block] = read_buffer; in write_file_blocks_dup()2643 buffer_list[block] = NULL; in write_file_blocks_dup()2663 if(buffer_list[block]) in write_file_blocks_dup()2664 queue_put(to_writer, buffer_list[block]); in write_file_blocks_dup()2670 cache_block_put(buffer_list[block]); in write_file_blocks_dup()[all …]