summaryrefslogtreecommitdiffstats
path: root/libion/ion.c
Commit message (Collapse)AuthorAgeFilesLines
* 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>