Lines Matching defs:list
20 #include <linux/list.h>
80 /* we need at least two pages for proper list management */
110 struct list_head list;
127 * Head of list contains buffers in use and tail of list contains
1105 struct descriptor_buffer, list);
1118 desc = list_entry(desc->list.next,
1119 struct descriptor_buffer, list);
1128 * previous buffer to the free list. */
1132 list_move_tail(&old_desc->list, &ctx->buffer_list);
1140 * Allocate a new buffer and add it to the list of free buffers for this
1171 list_add_tail(&desc->list, &ctx->buffer_list);
1189 struct descriptor_buffer, list);
1215 list_for_each_entry_safe(desc, tmp, &ctx->buffer_list, list) {
1235 if (desc->list.next == &ctx->buffer_list) {
1236 /* If there is no free buffer next in the list,
1241 desc = list_entry(desc->list.next,
1242 struct descriptor_buffer, list);