Home
last modified time | relevance | path

Searched refs:desc_needed (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/staging/kpc2000/kpc_dma/
Dfileops.c42 u32 desc_needed = 0; in kpc_dma_transfer() local
107 desc_needed += count_parts_for_sge(sg); in kpc_dma_transfer()
114 …scrs_needed = %d num_descrs_avail = %d\n", acd->mapped_entry_count, desc_needed, num_descrs_ava… in kpc_dma_transfer()
115 if (desc_needed >= ldev->desc_pool_cnt) { in kpc_dma_transfer()
116 …_avail = %d TOO MANY to ever complete!\n", acd->mapped_entry_count, desc_needed, num_descrs_ava… in kpc_dma_transfer()
120 if (desc_needed > num_descrs_avail) { in kpc_dma_transfer()
121 …l = %d Too many to complete right now.\n", acd->mapped_entry_count, desc_needed, num_descrs_ava… in kpc_dma_transfer()
/Linux-v5.10/drivers/net/ethernet/intel/e1000/
De1000_main.c3255 int desc_needed = MAX_SKB_FRAGS + 7; in e1000_xmit_frame() local
3267 desc_needed += MAX_SKB_FRAGS + 1; in e1000_xmit_frame()
3270 e1000_maybe_stop_tx(netdev, tx_ring, desc_needed); in e1000_xmit_frame()