Lines Matching refs:list
73 struct list_head list; member
81 struct list_head list; member
144 rb = list_entry(u->read_buffers.next, struct read_buffer, list); in xenbus_file_read()
162 list_del(&rb->list); in xenbus_file_read()
167 struct read_buffer, list); in xenbus_file_read()
201 list_add_tail(&rb->list, queue); in queue_reply()
209 static void queue_cleanup(struct list_head *list) in queue_cleanup() argument
213 while (!list_empty(list)) { in queue_cleanup()
214 rb = list_entry(list->next, struct read_buffer, list); in queue_cleanup()
215 list_del(list->next); in queue_cleanup()
221 struct list_head list; member
333 list_add(&trans->list, &u->transactions); in xenbus_write_transaction()
336 list_for_each_entry(trans, &u->transactions, list) in xenbus_write_transaction()
339 BUG_ON(&trans->list == &u->transactions); in xenbus_write_transaction()
340 list_del(&trans->list); in xenbus_write_transaction()
398 list_add(&watch->list, &u->watches); in xenbus_write_watch()
400 list_for_each_entry_safe(watch, tmp_watch, &u->watches, list) { in xenbus_write_watch()
404 list_del(&watch->list); in xenbus_write_watch()
568 list_for_each_entry_safe(trans, tmp, &u->transactions, list) { in xenbus_file_release()
570 list_del(&trans->list); in xenbus_file_release()
574 list_for_each_entry_safe(watch, tmp_watch, &u->watches, list) { in xenbus_file_release()
576 list_del(&watch->list); in xenbus_file_release()
580 list_for_each_entry_safe(rb, tmp_rb, &u->read_buffers, list) { in xenbus_file_release()
581 list_del(&rb->list); in xenbus_file_release()