Lines Matching defs:buflen
137 * @buflen: IO length
140 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen)
143 sg_set_buf(sg, buf, buflen);
954 * @buflen: The number of bytes to copy
963 size_t buflen, off_t skip, bool to_buffer)
979 while ((offset < buflen) && sg_miter_next(&miter)) {
982 len = min(miter.length, buflen - offset);
1003 * @buflen: The number of bytes to copy
1009 const void *buf, size_t buflen)
1011 return sg_copy_buffer(sgl, nents, (void *)buf, buflen, 0, false);
1020 * @buflen: The number of bytes to copy
1026 void *buf, size_t buflen)
1028 return sg_copy_buffer(sgl, nents, buf, buflen, 0, true);
1037 * @buflen: The number of bytes to copy
1044 const void *buf, size_t buflen, off_t skip)
1046 return sg_copy_buffer(sgl, nents, (void *)buf, buflen, skip, false);
1055 * @buflen: The number of bytes to copy
1062 void *buf, size_t buflen, off_t skip)
1064 return sg_copy_buffer(sgl, nents, buf, buflen, skip, true);
1072 * @buflen: The number of bytes to zero out
1078 size_t buflen, off_t skip)
1089 while (offset < buflen && sg_miter_next(&miter)) {
1092 len = min(miter.length, buflen - offset);