Files
twx-linux/lib
Bart Van Assche 75644ed66f lib/scatterlist: Introduce sgl_alloc() and sgl_free()
commit e80a0af475 upstream.

Many kernel drivers contain code that allocates and frees both a
scatterlist and the pages that populate that scatterlist.
Introduce functions in lib/scatterlist.c that perform these tasks
instead of duplicating this functionality in multiple drivers.
Only include these functions in the build if CONFIG_SGL_ALLOC=y
to avoid that the kernel size increases if this functionality is
not used.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-12 19:18:30 +01:00
..
…
…
…
2019-07-10 09:54:40 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-04-20 09:15:07 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-05-21 18:50:21 +02:00
…
2018-12-08 13:03:35 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-12-13 09:18:52 +01:00
…
…
…
…
…
…
…