Lines Matching defs:cache
24 * read permissions. This is because the writeback cache requires the
94 int cache;
118 { "cache=never",
119 offsetof(struct lo_data, cache), CACHE_NEVER },
120 { "cache=auto",
121 offsetof(struct lo_data, cache), CACHE_NORMAL },
122 { "cache=always",
123 offsetof(struct lo_data, cache), CACHE_ALWAYS },
140 " -o cache=never Disable cache\n"
141 " -o cache=auto Auto enable cache\n"
142 " -o cache=always Cache always\n");
619 if (lo->cache == CACHE_ALWAYS)
773 if (lo->cache == CACHE_NEVER)
775 else if (lo->cache == CACHE_ALWAYS)
808 /* With writeback cache, kernel may send read requests even
815 /* With writeback cache, O_APPEND is handled by the kernel.
830 if (lo->cache == CACHE_NEVER)
832 else if (lo->cache == CACHE_ALWAYS)
1197 lo.cache = CACHE_NORMAL;
1250 switch (lo.cache) {