summaryrefslogtreecommitdiffstats
path: root/lib/scatterlist.c
Commit message (Expand)AuthorAgeFilesLines
* lib/scatterlist: Fix to calculate the last_pg properlyYishai Hadas2023-01-161-10/+15
* lib/scatterlist: Fix to merge contiguous pages into the last SG properlyYishai Hadas2023-01-051-1/+1
* lib/scatterlist: add check when merging zone device pagesLogan Gunthorpe2022-11-091-10/+15
* lib/scatterlist: use matched parameter type when calling __sg_free_table()wuchi2022-07-171-2/+2
* mm/scatterlist: replace the !preemptible warning in sg_miter_stop()Thomas Gleixner2021-11-091-7/+4
* Merge branch 'akpm' (patches from Andrew)Linus Torvalds2021-09-031-3/+2
|\
| * scatterlist: replace flush_kernel_dcache_page with flush_dcache_pageChristoph Hellwig2021-09-031-3/+2
* | lib/scatterlist: Fix wrong update of orig_nentsMaor Gottlieb2021-08-241-50/+77
* | lib/scatterlist: Provide a dedicated function to support table appendMaor Gottlieb2021-08-241-16/+20
|/
* lib: fix spelling mistakesZhen Lei2021-07-081-2/+2
* lib/scatterlist: use consistent sg_copy_buffer() return typeDavid Disseldorp2020-10-291-1/+1
* Merge tag 'block-5.10-2020-10-24' of git://git.kernel.dk/linux-blockLinus Torvalds2020-10-241-1/+1
|\
| * sgl_alloc_order: fix memory leakDouglas Gilbert2020-10-161-1/+1
* | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds2020-10-171-26/+107
|\ \
| * | lib/scatterlist: Do not limit max_segment to PAGE_ALIGNED valuesJason Gunthorpe2020-10-161-4/+8
| * | lib/scatterlist: Add support in dynamic allocation of SG table from pagesMaor Gottlieb2020-10-051-24/+101
| |/
* / lib/scatterlist.c: avoid a double memsetChristophe JAILLET2020-10-161-1/+1
|/
* lib/scatterlist: fix sg_copy_buffer() kerneldocGeert Uytterhoeven2020-04-071-1/+1
* lib/scatterlist.c: adjust indentation in __sg_alloc_tableNathan Chancellor2020-01-311-1/+1
* Merge tag 'scsi-sg' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds2019-07-111-13/+23
|\
| * scsi: lib/sg_pool.c: improve APIs for allocating sg poolMing Lei2019-06-201-13/+23
* | Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2019-07-081-4/+5
|\ \
| * | lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZEChristophe Leroy2019-07-031-4/+5
| |/
* / treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 230Thomas Gleixner2019-06-191-3/+1
|/
* lib/scatterlist: Provide a DMA page iteratorJason Gunthorpe2019-02-111-0/+26
* arch: switch the default on ARCH_HAS_SG_CHAINChristoph Hellwig2018-12-061-1/+1
* Merge tag 'for-linus-20180629' of git://git.kernel.dk/linux-blockLinus Torvalds2018-06-301-6/+0
|\
| * sg: remove ->sg_magic memberJens Axboe2018-06-291-6/+0
* | treewide: kmalloc() -> kmalloc_array()Kees Cook2018-06-121-1/+2
|/
* lib/scatterlist: add sg_init_marker() helperPrashant Bhole2018-03-301-8/+1
* lib/scatterlist: Fix chaining support in sgl_alloc_order()Bart Van Assche2018-01-191-5/+27
* lib/scatterlist: Introduce sgl_alloc() and sgl_free()Bart Van Assche2018-01-061-0/+105
* lib/scatterlist: Introduce and export __sg_alloc_table_from_pagesTvrtko Ursulin2017-09-071-17/+49
* lib/scatterlist: Avoid potential scatterlist entry overflowTvrtko Ursulin2017-09-071-11/+20
* lib/scatterlist: Fix offset type in sg_alloc_table_from_pagesTvrtko Ursulin2017-09-071-1/+1
* scatterlist: add sg_zero_buffer() helperJohannes Thumshirn2017-06-151-0/+35
* scatterlist: do not disable IRQs in sg_copy_bufferGilad Ben-Yossef2017-02-271-4/+0
* scatterlist: reorder compound boolean expressionGilad Ben-Yossef2017-02-271-1/+1
* scatterlist: fix a typo in comment block of sg_miter_stop()Masahiro Yamada2016-02-081-3/+3
* scatterlist: allow limited chaining without ARCH_HAS_SG_CHAINChristoph Hellwig2015-08-171-4/+0
* drivers/scsi/scsi_debug.c: resolve sg buffer const-ness issueDave Gordon2015-06-301-3/+3
* lib/scatterlist: mark input buffer parameters as 'const'Dave Gordon2015-06-301-4/+4
* lib/scatterlist.c: fix kerneldoc for sg_pcopy_{to,from}_buffer()Dave Gordon2015-06-301-2/+2
* scatterlist: introduce sg_nents_for_lenTom Lendacky2015-06-031-0/+32
* lib/scatterlist: fix memory leak with scsi-mqTony Battersby2014-10-281-3/+3
* lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual KconfigLaura Abbott2014-08-081-2/+2
* scatterlist: allow chaining to preallocated chunksChristoph Hellwig2014-07-251-8/+17
* lib/scatterlist: export sg_miter_skip()Ming Lei2013-12-081-1/+2
* lib/scatterlist.c: don't flush_kernel_dcache_page on slab pageMing Lei2013-10-311-1/+2
* lib/scatterlist: error handling in __sg_alloc_table()Dan Carpenter2013-07-091-2/+4