Searched defs:MADV_DONTFORK (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceBalloon.cpp36 # ifndef MADV_DONTFORK
37 # define MADV_DONTFORK 10 macro
55 /** True = madvise(MADV_DONTFORK) works, false otherwise. */
68 g_fSysMadviseWorks = madvise(pv, PAGE_SIZE, MADV_DONTFORK) == 0;
96 * could crash. Linux < 2.6.16 does not implement madvise(MADV_DONTFORK) but the
100 madvise(pu8, cb, MADV_DONTFORK);
105 * madvise(MADV_DONTFORK) is not available (most probably Linux 2.4). Enclose any
/vbox/src/VBox/HostDrivers/Support/linux/
H A DSUPLib-linux.cpp70 /* define MADV_DONTFORK if it's missing from the system headers. */
71 #ifndef MADV_DONTFORK
72 # define MADV_DONTFORK 10 macro
92 pThis->fSysMadviseWorks = (0 == madvise(pv, PAGE_SIZE, MADV_DONTFORK));
227 * could crash. Linux < 2.6.16 does not implement madvise(MADV_DONTFORK) but the
231 if (madvise (pvPages, cbMmap, MADV_DONTFORK))
238 * madvise(MADV_DONTFORK) is not available (most probably Linux 2.4). Enclose any

Completed in 43 milliseconds