summaryrefslogtreecommitdiffstats
path: root/libion/ion.c
Commit message (Collapse)AuthorAgeFilesLines
* am 2e14f617: am 06b4e982: Merge "Add missing <malloc.h> and <string.h> ↵Elliott Hughes2015-01-281-0/+1
|\ | | | | | | | | | | | | includes." * commit '2e14f61731adbb1f0d0d54bab82bc2f0ecee6a11': Add missing <malloc.h> and <string.h> includes.
| * Add missing <malloc.h> and <string.h> includes.Elliott Hughes2015-01-281-0/+1
| | | | | | | | Change-Id: Ia41756e607663d056e7d2fdd7ecbec7e5841a913
* | am fcb2f0ab: am 0b7e6516: Merge "Libion: Remove unused variables"Andreas Gampe2014-11-251-1/+0
|\ \ | |/ | | | | | | * commit 'fcb2f0abe07ffd1c7a87bdcd7878a556ce0049fb': Libion: Remove unused variables
| * Libion: Remove unused variablesAndreas Gampe2014-11-251-1/+0
| | | | | | | | | | | | | | | | For build-system CFLAGS clean-up, fix unused variables. Fix missing close of file descriptors. Explicitly exit after a fork. Change-Id: I76affbc8647c3a760ed3cacc7f3ada3f59e283b1
* | libion: only modify parameters on successRom Lemarchand2014-10-281-6/+8
|/ | | | | | | Wait until a call is successful before modifying the value of pointers passed Change-Id: Iaeb2517c8cefeca2f60ebf610d38f264b48e59a0
* libion: return -errno from ion_closeColin Cross2013-12-181-1/+4
| | | | | | Return -errno from ion_close instead of -1 on error. Change-Id: Idb828aa4b4d1a660b79d2dba8be32f306eac959d
* libion: add NULL checksColin Cross2013-12-181-3/+20
| | | | | | Check for NULL in any library function that takes a pointer. Change-Id: I9ae8887b5ae0f231583173ee6a9dfd2f8c4611ec
* libion: clean up whitespaceColin Cross2013-12-181-77/+77
| | | | | | Convert everything to 4 space indents, no tabs. Change-Id: I376fad866864f0579b91ffad406e872fcce566ad
* ion: update struct and type definitions to match kernel headerRom Lemarchand2013-12-181-7/+7
| | | | | | | - Replacing struct ion_handle * with ion_user_handle_t - Replacing heap_mask field name with heap_id_mask Change-Id: Iaba1ccc62b9398a7b37c5a734bc21a9ecbbc8277
* Add explicit sync call to ion libraryRebecca Schultz Zavin2012-09-201-0/+8
| | | | | | Bug: 6854979 Change-Id: I535d55af897eeb4ed707b5da54f3fbf36afa452c Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* Modify ion to use new definition of ALLOC ioctl argumentRebecca Schultz Zavin2012-06-281-2/+16
| | | | | | | | | Also add ion_alloc_fd helper for when you only want a filedescriptor and know you won't need to access this handle again by its ion_handle Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> Change-Id: Ia4bae22946b0078084b62f5447fecbf261dfaa83
* Add ion helper libraryRebecca Schultz Zavin2012-02-231-0/+134
This library contains helper functions for using ion Change-Id: I7d7f76d6d3f36cd94d67797a38099a94214392b1 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>