diff options
author | Nicholas Bellinger <[email protected]> | 2014-01-07 22:40:27 +0000 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2014-01-19 02:22:05 +0000 |
commit | 4442dc8a92b8f9ad8ee9e7f8438f4c04c03a22dc (patch) | |
tree | b671256303a49d3e4a6d104f611b6f9ce766377a /tools/perf/util/trace-event-scripting.c | |
parent | 42201b557471f2fef2e9e028b50a773d99ffc401 (diff) |
target/rd: Refactor rd_build_device_space + rd_release_device_space
This patch refactors rd_build_device_space() + rd_release_device_space()
into rd_allocate_sgl_table() + rd_release_device_space() so that they
may be used seperatly for setup + release of protection information
scatterlists.
Also add explicit memset of pages within rd_allocate_sgl_table() based
upon passed 'init_payload' value.
v2 changes:
- Drop unused sg_table from rd_release_device_space (Wei)
Cc: Martin K. Petersen <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Or Gerlitz <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions