Searched refs:advice (Results 1 – 5 of 5) sorted by relevance
193 void TestCase::setFadvise(const char *advice) in setFadvise() argument196 if (strcmp(advice, "sequential") == 0) in setFadvise()200 else if (strcmp(advice, "random") == 0) in setFadvise()204 else if (strcmp(advice, "noreuse") == 0) in setFadvise()208 else if (strcmp(advice, "willneed") == 0) in setFadvise()212 else if (strcmp(advice, "dontneed") == 0) in setFadvise()
95 void setFadvise(const char *advice);
88 #define FADVISE(fd, off, len, advice) (void)0 argument
104 int advise(MapAdvice advice);
216 int FileMap::advise(MapAdvice advice) in advise() argument220 switch (advice) { in advise()