Lines Matching refs:skip
27 int spu_sg_at_offset(struct scatterlist *sg, unsigned int skip, in spu_sg_at_offset() argument
36 while (next_index <= skip) { in spu_sg_at_offset()
44 *sge_offset = skip - index; in spu_sg_at_offset()
51 unsigned int len, unsigned int skip) in sg_copy_part_to_buf() argument
56 copied = sg_pcopy_to_buffer(src, nents, dest, len, skip); in sg_copy_part_to_buf()
60 flow_log("sg with %u entries and skip %u\n", nents, skip); in sg_copy_part_to_buf()
70 unsigned int len, unsigned int skip) in sg_copy_part_from_buf() argument
75 copied = sg_pcopy_from_buffer(dest, nents, src, len, skip); in sg_copy_part_from_buf()
79 flow_log("sg with %u entries and skip %u\n", nents, skip); in sg_copy_part_from_buf()
93 int spu_sg_count(struct scatterlist *sg_list, unsigned int skip, int nbytes) in spu_sg_count() argument
102 if (spu_sg_at_offset(sg_list, skip, &sg, &offset) < 0) in spu_sg_count()
140 u32 skip = *from_skip; in spu_msg_sg_add() local
152 entry_len = sg->length - skip; in spu_msg_sg_add()
154 offset = sg->offset + skip; in spu_msg_sg_add()
160 skip = 0; /* start at beginning of next entry */ in spu_msg_sg_add()
168 *from_skip = skip + frag_len; in spu_msg_sg_add()
273 void __dump_sg(struct scatterlist *sg, unsigned int skip, unsigned int len) in __dump_sg() argument
276 unsigned int idx = skip; in __dump_sg()