Searched defs:map_fd (Results 1 - 2 of 2) sorted by last modified time

/system/core/libion/
H A Dion.c84 int flags, off_t offset, unsigned char **ptr, int *map_fd)
93 *map_fd = data.fd;
94 if (*map_fd < 0) {
98 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset);
108 int map_fd; local
83 ion_map(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument
H A Dion_test.c60 int fd, map_fd, ret; local
68 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd);
83 close(map_fd);
90 close(map_fd);
94 close(map_fd);
95 ret = ion_map(fd, handle, len, prot, flags, 0, &ptr, &map_fd);

Completed in 44 milliseconds