Lines Matching refs:num_frags

4308 		curr_seg->seg.num_frags = 0;  in __qdf_nbuf_get_tso_info()
4326 curr_seg->seg.num_frags++; in __qdf_nbuf_get_tso_info()
4336 curr_seg->seg.num_frags++; in __qdf_nbuf_get_tso_info()
4367 if (curr_seg->seg.num_frags == in __qdf_nbuf_get_tso_info()
4447 uint32_t num_frags = 0; in __qdf_nbuf_unmap_tso_segment() local
4449 if (tso_seg->seg.num_frags > 0) in __qdf_nbuf_unmap_tso_segment()
4450 num_frags = tso_seg->seg.num_frags - 1; in __qdf_nbuf_unmap_tso_segment()
4453 if (num_frags < 1) { in __qdf_nbuf_unmap_tso_segment()
4459 if (is_last_seg && tso_seg->seg.num_frags == 1) in __qdf_nbuf_unmap_tso_segment()
4464 (num_frags + 1)); in __qdf_nbuf_unmap_tso_segment()
4468 while (num_frags) { in __qdf_nbuf_unmap_tso_segment()
4470 if (0 == tso_seg->seg.tso_frags[num_frags].paddr) { in __qdf_nbuf_unmap_tso_segment()
4472 num_frags); in __qdf_nbuf_unmap_tso_segment()
4478 tso_seg->seg.tso_frags[num_frags].paddr, in __qdf_nbuf_unmap_tso_segment()
4479 tso_seg->seg.tso_frags[num_frags].length, in __qdf_nbuf_unmap_tso_segment()
4481 tso_seg->seg.tso_frags[num_frags].paddr = 0; in __qdf_nbuf_unmap_tso_segment()
4482 num_frags--; in __qdf_nbuf_unmap_tso_segment()
6154 uint16_t num_frags; in qdf_nbuf_remove_frag_debug() local
6160 num_frags = qdf_nbuf_get_nr_frags(nbuf); in qdf_nbuf_remove_frag_debug()
6161 if (idx >= num_frags) in qdf_nbuf_remove_frag_debug()
6185 uint32_t num_frags; in qdf_get_nbuf_valid_frag() local
6190 num_frags = qdf_nbuf_get_nr_frags(nbuf); in qdf_get_nbuf_valid_frag()
6193 if (num_frags < QDF_NBUF_MAX_FRAGS) in qdf_get_nbuf_valid_frag()
6203 num_frags = qdf_nbuf_get_nr_frags(last_nbuf); in qdf_get_nbuf_valid_frag()
6204 if (num_frags < QDF_NBUF_MAX_FRAGS) in qdf_get_nbuf_valid_frag()