Lines Matching refs:gnttab_free_tail_ptr
96 static grant_ref_t *gnttab_free_tail_ptr; variable
197 if (gnttab_free_tail_ptr == __gnttab_entry(head)) in get_free_entries()
198 gnttab_free_tail_ptr = &gnttab_free_head; in get_free_entries()
207 gnttab_free_tail_ptr = NULL; in get_free_entries()
217 if (gnttab_last_free == GNTTAB_LIST_END || !gnttab_free_tail_ptr || in get_seq_entry_count()
218 *gnttab_free_tail_ptr == GNTTAB_LIST_END) in get_seq_entry_count()
221 return gnttab_last_free - *gnttab_free_tail_ptr + 1; in get_seq_entry_count()
231 gnttab_free_tail_ptr = &gnttab_free_head; in get_free_seq()
260 gnttab_free_tail_ptr = __gnttab_entry(to - 1); in get_free_seq()
265 gnttab_free_tail_ptr = NULL; in get_free_seq()
292 ret = *gnttab_free_tail_ptr; in get_free_entries_seq()
293 *gnttab_free_tail_ptr = gnttab_entry(ret + count - 1); in get_free_entries_seq()
296 gnttab_free_tail_ptr = NULL; in get_free_entries_seq()
340 if (gnttab_free_tail_ptr == &gnttab_free_head) in put_free_entry_locked()
341 gnttab_free_tail_ptr = __gnttab_entry(ref); in put_free_entry_locked()
366 gnttab_free_tail_ptr = &gnttab_free_head; in gnttab_set_free()
773 if (!gnttab_free_tail_ptr) in grow_gnttab_list()
774 gnttab_free_tail_ptr = __gnttab_entry(gnttab_size); in grow_gnttab_list()