Lines Matching defs:filename
102 const char *filename;
125 static void cache_the_file(cmd_parms *cmd, const char *filename, int mmap)
134 fspec = ap_server_root_relative(cmd->pool, filename);
138 "%s, skipping", filename);
182 "unable to mmap %s, skipping", filename);
197 new_file->filename = fspec;
202 apr_hash_set(sconf->fileht, new_file->filename, strlen(new_file->filename), new_file);
206 static const char *cachefilehandle(cmd_parms *cmd, void *dummy, const char *filename)
209 cache_the_file(cmd, filename, 0);
213 "unable to cache file: %s. Sendfile is not supported on this OS", filename);
217 static const char *cachefilemmap(cmd_parms *cmd, void *dummy, const char *filename)
220 cache_the_file(cmd, filename, 1);
224 "unable to cache file: %s. MMAP is not supported by this OS", filename);
253 if (res != OK || !r->filename) {
258 match = (a_file *) apr_hash_get(sconf->fileht, r->filename, APR_HASH_KEY_STRING);