On 06/08/2017 09:41 AM, Christoph Hellwig wrote:
>> size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
>>void *buf, size_t buflen, off_t skip);
>>
>> +size_t sg_zeroout_area(struct scatterlist *sgl, unsigned int nents,
>> + size_t
On 06/08/2017 09:41 AM, Christoph Hellwig wrote:
>> size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
>>void *buf, size_t buflen, off_t skip);
>>
>> +size_t sg_zeroout_area(struct scatterlist *sgl, unsigned int nents,
>> + size_t
> size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
> void *buf, size_t buflen, off_t skip);
>
> +size_t sg_zeroout_area(struct scatterlist *sgl, unsigned int nents,
> +size_t buflen, off_t skip);
Maybe sg_zero_buffer to fit with
> size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
> void *buf, size_t buflen, off_t skip);
>
> +size_t sg_zeroout_area(struct scatterlist *sgl, unsigned int nents,
> +size_t buflen, off_t skip);
Maybe sg_zero_buffer to fit with
The sg_zeroout_area() helper is used to zero fill an area in a SG
list.
Signed-off-by: Johannes Thumshirn
---
include/linux/scatterlist.h | 3 +++
lib/scatterlist.c | 37 +
2 files changed, 40 insertions(+)
diff --git
The sg_zeroout_area() helper is used to zero fill an area in a SG
list.
Signed-off-by: Johannes Thumshirn
---
include/linux/scatterlist.h | 3 +++
lib/scatterlist.c | 37 +
2 files changed, 40 insertions(+)
diff --git a/include/linux/scatterlist.h
Reviewed-by: Sagi Grimberg
Reviewed-by: Sagi Grimberg
8 matches
Mail list logo