summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2015-10-09 14:26:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 20:28:40 +0300
commit432fbde739583140c7ee937910786a9d740804c9 (patch)
tree3486cf6f9785491067956b219ff1a33dc32344d4 /include/linux/stackprotector.h
parent274ec5ee5478f1757ba083e366d9490dfaa6bd2f (diff)
downloadlinux-432fbde739583140c7ee937910786a9d740804c9.tar.xz
staging: comedi: add new comedi_buf_write_n_available()
Add a new function `comedi_buf_write_n_available()` to return the amount of buffer space available for writing, including space already allocated by `comedi_buf_write_alloc()` plus any unallocated space available. This is currently just for internal use by the comedi core, so is not exported. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions