Searched refs:last_head (Results 1 – 3 of 3) sorted by relevance
1641 while (le32_to_cpu(*tx->head_cpu_ptr) != (tx->last_head)) { in lan743x_tx_release_completed_descriptors()1642 lan743x_tx_release_desc(tx, tx->last_head, false); in lan743x_tx_release_completed_descriptors()1643 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_completed_descriptors()1651 original_head = tx->last_head; in lan743x_tx_release_all_descriptors()1653 lan743x_tx_release_desc(tx, tx->last_head, true); in lan743x_tx_release_all_descriptors()1654 tx->last_head = lan743x_tx_next_index(tx, tx->last_head); in lan743x_tx_release_all_descriptors()1655 } while (tx->last_head != original_head); in lan743x_tx_release_all_descriptors()1677 int last_head = tx->last_head; in lan743x_tx_get_avail_desc() local1680 if (last_tail >= last_head) in lan743x_tx_get_avail_desc()1681 return tx->ring_size - last_tail + last_head - 1; in lan743x_tx_get_avail_desc()[all …]
989 int last_head; member1019 u32 last_head; member
644 struct page *head, *last_head = NULL; in zerocopy_fill_skb_from_iter() local689 last_head = head; in zerocopy_fill_skb_from_iter()695 page_ref_sub(last_head, refs); in zerocopy_fill_skb_from_iter()701 page_ref_sub(last_head, refs); in zerocopy_fill_skb_from_iter()