Lines Matching refs:buflen
125 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one() argument
128 sg_set_buf(sg, buf, buflen); in sg_init_one()
622 void *buf, size_t buflen, off_t skip, in sg_copy_buffer() argument
642 while (sg_miter_next(&miter) && offset < buflen) { in sg_copy_buffer()
645 len = min(miter.length, buflen - offset); in sg_copy_buffer()
672 void *buf, size_t buflen) in sg_copy_from_buffer() argument
674 return sg_copy_buffer(sgl, nents, buf, buflen, 0, false); in sg_copy_from_buffer()
689 void *buf, size_t buflen) in sg_copy_to_buffer() argument
691 return sg_copy_buffer(sgl, nents, buf, buflen, 0, true); in sg_copy_to_buffer()
707 void *buf, size_t buflen, off_t skip) in sg_pcopy_from_buffer() argument
709 return sg_copy_buffer(sgl, nents, buf, buflen, skip, false); in sg_pcopy_from_buffer()
725 void *buf, size_t buflen, off_t skip) in sg_pcopy_to_buffer() argument
727 return sg_copy_buffer(sgl, nents, buf, buflen, skip, true); in sg_pcopy_to_buffer()