Lines Matching refs:skip_len

144 	unsigned int skip_len = 0;  in sg_nents_xlen()  local
149 skip_len = 0; in sg_nents_xlen()
152 skip_len = skip; in sg_nents_xlen()
158 less = min(reqlen, sg_dma_len(sg) - skip_len); in sg_nents_xlen()
161 skip_len = 0; in sg_nents_xlen()
431 int skip_len = 0; in dsgl_walk_add_sg() local
441 skip_len = 0; in dsgl_walk_add_sg()
444 skip_len = skip; in dsgl_walk_add_sg()
450 len = min_t(u32, left_size, sg_dma_len(sg) - skip_len); in dsgl_walk_add_sg()
456 offset + skip_len); in dsgl_walk_add_sg()
465 skip_len) + skip_len; in dsgl_walk_add_sg()
466 left_size -= min_t(u32, left_size, sg_dma_len(sg) - skip_len); in dsgl_walk_add_sg()
467 skip_len = 0; in dsgl_walk_add_sg()
517 int skip_len = 0; in ulptx_walk_add_sg() local
525 skip_len = 0; in ulptx_walk_add_sg()
528 skip_len = skip; in ulptx_walk_add_sg()
534 small = min_t(unsigned int, sg_dma_len(sg) - skip_len, len); in ulptx_walk_add_sg()
537 walk->sgl->addr0 = cpu_to_be64(sg_dma_address(sg) + skip_len); in ulptx_walk_add_sg()
541 walk->last_sg_len = sgmin + skip_len; in ulptx_walk_add_sg()
542 skip_len += sgmin; in ulptx_walk_add_sg()
543 if (sg_dma_len(sg) == skip_len) { in ulptx_walk_add_sg()
545 skip_len = 0; in ulptx_walk_add_sg()
550 small = min(sg_dma_len(sg) - skip_len, len); in ulptx_walk_add_sg()
554 cpu_to_be64(sg_dma_address(sg) + skip_len); in ulptx_walk_add_sg()
560 skip_len += sgmin; in ulptx_walk_add_sg()
562 walk->last_sg_len = skip_len; in ulptx_walk_add_sg()
563 if (sg_dma_len(sg) == skip_len) { in ulptx_walk_add_sg()
565 skip_len = 0; in ulptx_walk_add_sg()