Searched refs:mapsize (Results 1 – 3 of 3) sorted by relevance
94 size_t mapsize; member97 struct binder_state *binder_open(const char* driver, size_t mapsize) in binder_open() argument123 bs->mapsize = mapsize; in binder_open()124 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); in binder_open()142 munmap(bs->mapped, bs->mapsize); in binder_close()
49 struct binder_state *binder_open(const char* driver, size_t mapsize);
164 ssize_t mapsize = -1; in main() local239 munmap((void *)mapbase, mapsize); in main()