diff options
| author | Ilias Tsitsimpis <[email protected]> | 2015-04-23 21:47:00 +0300 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2015-05-30 22:41:46 -0700 |
| commit | f97ec7db1606875666366bfcba8476f8c917db96 (patch) | |
| tree | f052599d412f804670c140a46c9ea52fa1e1baa8 /tools/perf/scripts/python/task-analyzer.py | |
| parent | b32bd0a8ee6a19f9b70aa4fcb9bfc802b105ce05 (diff) | |
target/user: Refactor data area allocation code
Introduce alloc_and_scatter_data_area()/gather_and_free_data_area()
functions that allocate/deallocate space from the data area and copy
data to/from a given scatter-gather list. These functions are needed so
the next patch, introducing support for bidirectional commands in TCMU,
can use the same code path both for t_data_sg and for t_bidi_data_sg.
Signed-off-by: Ilias Tsitsimpis <[email protected]>
Signed-off-by: Vangelis Koukis <[email protected]>
Reviewed-by: Andy Grover <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions