Files
linux/drivers/base
Christopher James Halse Rogers 19e8697ba4 dma-buf: Expose buffer size to userspace (v2)
Each dma-buf has an associated size and it's reasonable for userspace
to want to know what it is.

Since userspace already has an fd, expose the size using the
size = lseek(fd, SEEK_END, 0); lseek(fd, SEEK_CUR, 0);
idiom.

v2: Added Daniel's sugeested documentation, with minor fixups

Signed-off-by: Christopher James Halse Rogers <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Tested-by: Daniel Vetter <[email protected]>
Signed-off-by: Sumit Semwal <[email protected]>
2013-09-10 11:36:45 +05:30
..
2013-08-12 15:33:31 -07:00
2013-08-22 10:25:34 -07:00
2013-03-17 19:40:50 -07:00
…
…
…