Lines Matching refs:oldest
27 queue->oldest = &queue->stub; in vdo_make_funnel_queue()
45 struct funnel_queue_entry *oldest = queue->oldest; in get_oldest() local
46 struct funnel_queue_entry *next = READ_ONCE(oldest->next); in get_oldest()
48 if (oldest == &queue->stub) { in get_oldest()
59 oldest = next; in get_oldest()
60 queue->oldest = oldest; in get_oldest()
61 next = READ_ONCE(oldest->next); in get_oldest()
71 if (oldest != newest) { in get_oldest()
86 next = READ_ONCE(oldest->next); in get_oldest()
96 return oldest; in get_oldest()
105 struct funnel_queue_entry *oldest = get_oldest(queue); in vdo_funnel_queue_poll() local
107 if (oldest == NULL) in vdo_funnel_queue_poll()
108 return oldest; in vdo_funnel_queue_poll()
116 queue->oldest = READ_ONCE(oldest->next); in vdo_funnel_queue_poll()
127 uds_prefetch_address(queue->oldest, true); in vdo_funnel_queue_poll()
128 WRITE_ONCE(oldest->next, NULL); in vdo_funnel_queue_poll()
129 return oldest; in vdo_funnel_queue_poll()
154 if (queue->oldest != &queue->stub) in vdo_is_funnel_queue_idle()