Searched refs:buffer_list (Results 1 – 2 of 2) sorted by relevance
366 struct buffer_list struct368 struct buffer_list *next; /* next buffer in list */ argument374 struct buffer_list *last; /* last buffer in use */ argument376 struct buffer_list *current; /* current buffer being read */378 struct buffer_list first; /* the very first buffer */391 buffer_destroy_list(struct buffer_list *list) in buffer_destroy_list()395 struct buffer_list *next = list->next; in buffer_destroy_list()404 struct buffer_list *list = buffer->first.next; in buffer_destroy()438 static struct buffer_list *439 buffer_extend(struct buffer_list *current) in buffer_extend()[all …]
2708 struct file_buffer **buffer_list; in write_file_blocks_dup() local2718 buffer_list = malloc(blocks * sizeof(struct file_buffer *)); in write_file_blocks_dup()2719 if(buffer_list == NULL) in write_file_blocks_dup()2731 buffer_list[block] = NULL; in write_file_blocks_dup()2743 buffer_list[block] = NULL; in write_file_blocks_dup()2746 buffer_list[block] = read_buffer; in write_file_blocks_dup()2748 buffer_list[block] = NULL; in write_file_blocks_dup()2768 if(buffer_list[block]) in write_file_blocks_dup()2769 queue_put(to_writer, buffer_list[block]); in write_file_blocks_dup()2775 cache_block_put(buffer_list[block]); in write_file_blocks_dup()[all …]