summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRebecca Schultz Zavin <rebecca@android.com>2012-09-20 13:59:10 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-20 13:59:11 -0700
commit0d699de0fca487328e6dfc86847f33a0214ca253 (patch)
tree32a7d80897cfaa1e1f533adf97aaeadfe70bcba2 /include
parentfbafa63b339808bf8082b705c5121e529e8be29f (diff)
parent3cfcc300058070f0873763abfa604e07ec536da3 (diff)
downloadsystem_core-0d699de0fca487328e6dfc86847f33a0214ca253.zip
system_core-0d699de0fca487328e6dfc86847f33a0214ca253.tar.gz
system_core-0d699de0fca487328e6dfc86847f33a0214ca253.tar.bz2
Merge "Add explicit sync call to ion library" into jb-mr1-dev
Diffstat (limited to 'include')
-rw-r--r--include/ion/ion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ion/ion.h b/include/ion/ion.h
index 78a6e2e..018c0a1 100644
--- a/include/ion/ion.h
+++ b/include/ion/ion.h
@@ -31,6 +31,7 @@ int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask,
unsigned int flags, struct ion_handle **handle);
int ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask,
unsigned int flags, int *handle_fd);
+int ion_sync_fd(int fd, int handle_fd);
int ion_free(int fd, struct ion_handle *handle);
int ion_map(int fd, struct ion_handle *handle, size_t length, int prot,
int flags, off_t offset, unsigned char **ptr, int *map_fd);