Searched hist:"89 de1504d53b59b12bfff227328ee3e63dd3a112" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-merge.c | diff 89de1504d53b59b12bfff227328ee3e63dd3a112 Tue Apr 14 02:42:22 CDT 2020 Christoph Hellwig <hch@lst.de> block: provide a blk_rq_map_sg variant that returns the last element
To be able to move some of the special purpose hacks in blk_rq_map_sg into the callers we need a variant that returns the last mapped S/G list element to the caller. Add that variant as __blk_rq_map_sg and make blk_rq_map_sg a trivial inline wrapper around it.
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
/openbmc/linux/include/linux/ |
H A D | blkdev.h | diff 89de1504d53b59b12bfff227328ee3e63dd3a112 Tue Apr 14 02:42:22 CDT 2020 Christoph Hellwig <hch@lst.de> block: provide a blk_rq_map_sg variant that returns the last element
To be able to move some of the special purpose hacks in blk_rq_map_sg into the callers we need a variant that returns the last mapped S/G list element to the caller. Add that variant as __blk_rq_map_sg and make blk_rq_map_sg a trivial inline wrapper around it.
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|