Searched refs:dev_zero_fd (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | dlmalloc.c | 1322 static int dev_zero_fd = -1; /* Cached file descriptor for /dev/zero. */ variable 1323 #define CALL_MMAP(s) ((dev_zero_fd < 0) ? \ 1324 (dev_zero_fd = open("/dev/zero", O_RDWR), \ 1325 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0)) : \ 1326 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0))
|
/external/libffi/src/ |
D | dlmalloc.c | 1317 static int dev_zero_fd = -1; /* Cached file descriptor for /dev/zero. */ variable 1318 #define CALL_MMAP(s) ((dev_zero_fd < 0) ? \ 1319 (dev_zero_fd = open("/dev/zero", O_RDWR), \ 1320 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0)) : \ 1321 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0))
|
/external/dlmalloc/ |
D | malloc.c | 1655 static int dev_zero_fd = -1; /* Cached file descriptor for /dev/zero. */ variable 1656 #define MMAP_DEFAULT(s) ((dev_zero_fd < 0) ? \ 1657 (dev_zero_fd = open("/dev/zero", O_RDWR), \ 1658 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0)) : \ 1659 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0))
|