HomeSort by relevance Sort by last modified time
    Searched defs:mapsize (Results 1 - 5 of 5) sorted by null

  /external/elfutils/lib/
crc32_file.c 67 size_t mapsize = st.st_size; local
68 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0);
72 mapsize = ((mapsize / 2) + pagesize - 1) & -pagesize;
73 while (mapsize >= pagesize
74 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE,
76 mapsize /= 2;
82 if (st.st_size <= (off_t) mapsize)
85 munmap (mapped, mapsize);
88 crc = crc32 (crc, mapped, mapsize);
    [all...]
  /frameworks/base/cmds/screencap/
screencap.cpp 127 ssize_t mapsize = -1; local
152 mapsize = offset + size;
153 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0);
183 munmap((void *)mapbase, mapsize);
  /external/libsepol/src/
ebitmap.c 236 if ((n->startbit + MAPSIZE) > bit) {
251 uint32_t startbit = bit & ~(MAPSIZE - 1);
252 uint32_t highbit = startbit + MAPSIZE;
262 if ((n->startbit + MAPSIZE) > bit) {
278 MAPSIZE;
346 uint32_t buf[3], mapsize, count, i; local
355 mapsize = le32_to_cpu(buf[0]);
359 if (mapsize != MAPSIZE) {
362 mapsize, MAPSIZE, e->highbit)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/wscons/
SDL_wsconsvideo.c 153 size_t len, mapsize; local
283 mapsize = ((int)len + pagemask) & ~pagemask;
284 private->physmem = (Uint8 *)mmap(NULL, mapsize,
  /frameworks/base/cmds/servicemanager/
binder.c 91 unsigned mapsize; member in struct:binder_state
94 struct binder_state *binder_open(unsigned mapsize)
111 bs->mapsize = mapsize;
112 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0);
132 munmap(bs->mapped, bs->mapsize);

Completed in 2035 milliseconds