diff options
| author | 2026-01-08 11:50:12 +0100 | |
|---|---|---|
| committer | 2026-01-09 08:36:00 +0530 | |
| commit | 80c70bfb95cdbe0c644070f4ca4754a60f0a4830 (patch) | |
| tree | 79398b6fe665c89718f850cbfecef15e12bb7083 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | dmaengine: idxd: Add Max SGL Size Support for DSA3.0 (diff) | |
scatterlist: introduce sg_nents_for_dma() helper
Sometimes the user needs to split each entry on the mapped scatter list
due to DMA length constrains. This helper returns a number of entities
assuming that each of them is not bigger than supplied maximum length.
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260108105619.3513561-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
