Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Dusb.c274 int nsgs, gfp_t gfp) in mt76u_fill_rx_sg() argument
278 for (i = 0; i < nsgs; i++) { in mt76u_fill_rx_sg()
292 if (i < nsgs) { in mt76u_fill_rx_sg()
295 for (j = nsgs; j < urb->num_sgs; j++) in mt76u_fill_rx_sg()
308 mt76u_refill_rx(struct mt76_dev *dev, struct urb *urb, int nsgs, gfp_t gfp) in mt76u_refill_rx() argument
313 return mt76u_fill_rx_sg(dev, q, urb, nsgs, gfp); in mt76u_refill_rx()
462 int len, nsgs = 1; in mt76u_process_rx_entry() local
478 while (len > 0 && nsgs < urb->num_sgs) { in mt76u_process_rx_entry()
479 data_len = min_t(int, len, urb->sg[nsgs].length); in mt76u_process_rx_entry()
481 sg_page(&urb->sg[nsgs]), in mt76u_process_rx_entry()
[all …]
/Linux-v5.4/drivers/scsi/
Dhpsa.c293 int nsgs, int min_blocks, u32 *bucket_map);
9092 int nsgs, int min_blocks, u32 *bucket_map) in calc_bucket_map() argument
9097 for (i = 0; i <= nsgs; i++) { in calc_bucket_map()