Home | History | Annotate | Download | only in fadvise

Lines Matching defs:advise

25  *	Check the value that posix_fadvise returns for wrong ADVISE value.
105 Return 1 if advise is in defined_advise.
107 static int is_defined_advise(int advise)
111 if (defined_advise[i] == advise)
121 int advise;
150 for (advise = 0; advise < advise_limit; advise++) {
152 /* Don't use defiend advise as an argument. */
153 if (is_defined_advise(advise)) {
157 TEST(posix_fadvise(fd, 0, 0, advise));
169 "returned value = %ld, advise = %d : %s",
171 advise, strerror(TEST_RETURN));
174 "unexpected return value - %ld : %s, advise %d - "
178 advise, expected_error);