Lines Matching refs:buflen
153 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one() argument
156 sg_set_buf(sg, buf, buflen); in sg_init_one()
651 size_t buflen, off_t skip, bool to_buffer) in sg_copy_buffer() argument
670 while (sg_miter_next(&miter) && offset < buflen) { in sg_copy_buffer()
673 len = min(miter.length, buflen - offset); in sg_copy_buffer()
701 const void *buf, size_t buflen) in sg_copy_from_buffer() argument
703 return sg_copy_buffer(sgl, nents, (void *)buf, buflen, 0, false); in sg_copy_from_buffer()
718 void *buf, size_t buflen) in sg_copy_to_buffer() argument
720 return sg_copy_buffer(sgl, nents, buf, buflen, 0, true); in sg_copy_to_buffer()
736 const void *buf, size_t buflen, off_t skip) in sg_pcopy_from_buffer() argument
738 return sg_copy_buffer(sgl, nents, (void *)buf, buflen, skip, false); in sg_pcopy_from_buffer()
754 void *buf, size_t buflen, off_t skip) in sg_pcopy_to_buffer() argument
756 return sg_copy_buffer(sgl, nents, buf, buflen, skip, true); in sg_pcopy_to_buffer()