Home
last modified time | relevance | path

Searched refs:map_fd (Results 1 – 8 of 8) sorted by relevance

/hardware/ti/omap4-aah/ion/
Dion.c109 int flags, off_t offset, unsigned char **ptr, int *map_fd) in ion_map() argument
117 *map_fd = data.fd; in ion_map()
118 if (*map_fd < 0) { in ion_map()
122 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); in ion_map()
132 int map_fd; in ion_share() local
170 int flags, off_t offset, unsigned char **ptr, int *map_fd) in ion_map_cacheable() argument
179 *map_fd = data.fd; in ion_map_cacheable()
180 if (*map_fd < 0) { in ion_map_cacheable()
184 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); in ion_map_cacheable()
Dion_test.c86 int fd, map_fd, ret; in ion_map_test() local
96 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); in ion_map_test()
115 close(map_fd); in ion_map_test()
122 close(map_fd); in ion_map_test()
126 close(map_fd); in ion_map_test()
127 ret = ion_map(fd, handle, len, prot, flags, 0, &ptr, &map_fd); in ion_map_test()
Dion_test_2.c156 int *map_fd; in ion_map_test() local
190 map_fd = (int *)malloc(count * sizeof(int *)); in ion_map_test()
194 ret = ion_map(fd, handle[i], len, prot, map_flags, 0, &(ptr[i]), &(map_fd[i])); in ion_map_test()
196 __func__, i, handle[i], map_fd[i], ptr[i]); in ion_map_test()
217 __func__, i, handle[i], map_fd[i], ptr[i]); in ion_map_test()
224 close(map_fd[i]); in ion_map_test()
226 free(map_fd); in ion_map_test()
Dion.h32 int flags, off_t offset, unsigned char **ptr, int *map_fd);
/hardware/ti/omap4xxx/ion/
Dion.c108 int flags, off_t offset, unsigned char **ptr, int *map_fd) in ion_map() argument
116 *map_fd = data.fd; in ion_map()
117 if (*map_fd < 0) { in ion_map()
121 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); in ion_map()
131 int map_fd; in ion_share() local
Dion.h32 int flags, off_t offset, unsigned char **ptr, int *map_fd);
/hardware/ti/omap4-aah/system-core-headers-ti/ion/
Dion.h38 int flags, off_t offset, unsigned char **ptr, int *map_fd);
42 int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd);
/hardware/ti/omap4-aah/test/CameraHal/
Dsurfacetexture_test.cpp180 int map_fd; in ion_test() local
214 ret = ion_map (fd, handle, SIZE, PROT_READ, 0, 0, &ptr, &map_fd); in ion_test()