Home
last modified time | relevance | path

Searched refs:mapsize (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/screencap/
Dscreencap.cpp136 ssize_t mapsize = -1; in main() local
164 mapsize = offset + size; in main()
165 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0); in main()
200 munmap((void *)mapbase, mapsize); in main()
/frameworks/native/cmds/servicemanager/
Dbinder.c92 size_t mapsize; member
95 struct binder_state *binder_open(size_t mapsize) in binder_open() argument
119 bs->mapsize = mapsize; in binder_open()
120 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); in binder_open()
138 munmap(bs->mapped, bs->mapsize); in binder_close()
Dbinder.h49 struct binder_state *binder_open(size_t mapsize);