Lines Matching refs:tickets
66 * the tail of space_info->tickets, kick async flush thread
79 * then the ->tickets list checking to see if the reservation can be
207 INIT_LIST_HEAD(&space_info->tickets);
400 head = &space_info->tickets;
550 if (list_empty(&space_info->tickets) &&
599 else if (!list_empty(&space_info->tickets))
600 ticket = list_first_entry(&space_info->tickets,
847 * maybe_fail_all_tickets - we've exhausted our flushing, start failing tickets
852 * progress in satisfying tickets. The reservation code handles tickets in
854 * very well satisfy the smaller tickets. This will attempt to wake up any
855 * tickets in the list to catch this case.
858 * other tickets, or if it stumbles across a ticket that was smaller than the
869 btrfs_info(fs_info, "cannot satisfy tickets, dumping space info");
873 while (!list_empty(&space_info->tickets) &&
875 ticket = list_first_entry(&space_info->tickets,
906 * We're just throwing tickets away, so more flushing may not
919 * We count progress as clearing off tickets each time we have to loop.
947 if (list_empty(&space_info->tickets)) {
1064 if (list_empty(&space_info->tickets)) {
1075 if (list_empty(&space_info->tickets)) {
1088 if (list_empty(&space_info->tickets)) {
1263 * from the list. Because we could have other priority tickets
1337 * normal flushers when it comes to skipping pending tickets.
1340 pending_tickets = !list_empty(&space_info->tickets) ||
1373 list_add_tail(&ticket.list, &space_info->tickets);