aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2015-10-09 12:26:48 +0100
committerGreg Kroah-Hartman <[email protected]>2015-10-13 10:28:40 -0700
commit274ec5ee5478f1757ba083e366d9490dfaa6bd2f (patch)
tree43175d6993165fdda1ed665835b7f6990704962d /tools/perf/scripts/python/netdev-times.py
parent322146d5d485cddb93761bd2593fbc932399b0a1 (diff)
staging: comedi: rename comedi_buf_write_n_available
Rename the local function `comedi_buf_write_n_available()` to `comedi_buf_write_n_unalloc()`. It is the amount of unallocated space available in the buffer that is available to be allocated for writing and does not include the space that has already been allocated for writing. This is unlike the exported function `comedi_buf_read_n_available()` which includes the space available to be allocated for reading plus the space already allocated for reading. The new name breaks the unintentional naming symmetry (and also clears the way for the old name to be reused for a new function). Signed-off-by: Ian Abbott <[email protected]> Reviewed-by: H Hartley Sweeten <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions