Lines Matching defs:dconf

340     disk_cache_dir_conf *dconf = ap_get_module_config(r->per_dir_config, &cache_disk_module);
360 if (len > dconf->maxfs) {
364 key, len, dconf->maxfs);
367 if (len >= 0 && len < dconf->minfs) {
371 key, len, dconf->minfs);
1130 disk_cache_dir_conf *dconf = ap_get_module_config(r->per_dir_config, &cache_disk_module);
1134 dobj->offset = dconf->readsize;
1136 if (!dobj->timeout && dconf->readtime) {
1137 dobj->timeout = apr_time_now() + dconf->readtime;
1234 if (dobj->file_size > dconf->maxfs) {
1237 "(%" APR_OFF_T_FMT ">%" APR_OFF_T_FMT ")", h->cache_obj->key, dobj->file_size, dconf->maxfs);
1255 if ((dconf->readtime && apr_time_now() > dobj->timeout)) {
1287 if (dobj->file_size < dconf->minfs) {
1290 "(%" APR_OFF_T_FMT "<%" APR_OFF_T_FMT ")", h->cache_obj->key, dobj->file_size, dconf->minfs);
1375 disk_cache_dir_conf *dconf = apr_pcalloc(p, sizeof(disk_cache_dir_conf));
1377 dconf->maxfs = DEFAULT_MAX_FILE_SIZE;
1378 dconf->minfs = DEFAULT_MIN_FILE_SIZE;
1379 dconf->readsize = DEFAULT_READSIZE;
1380 dconf->readtime = DEFAULT_READTIME;
1382 return dconf;
1468 disk_cache_dir_conf *dconf = (disk_cache_dir_conf *)in_struct_ptr;
1470 if (apr_strtoff(&dconf->minfs, arg, NULL, 10) != APR_SUCCESS ||
1471 dconf->minfs < 0)
1475 dconf->minfs_set = 1;
1482 disk_cache_dir_conf *dconf = (disk_cache_dir_conf *)in_struct_ptr;
1484 if (apr_strtoff(&dconf->maxfs, arg, NULL, 10) != APR_SUCCESS ||
1485 dconf->maxfs < 0)
1489 dconf->maxfs_set = 1;
1496 disk_cache_dir_conf *dconf = (disk_cache_dir_conf *)in_struct_ptr;
1498 if (apr_strtoff(&dconf->readsize, arg, NULL, 10) != APR_SUCCESS ||
1499 dconf->readsize < 0)
1503 dconf->readsize_set = 1;
1510 disk_cache_dir_conf *dconf = (disk_cache_dir_conf *)in_struct_ptr;
1518 dconf->readtime = apr_time_from_msec(milliseconds);
1519 dconf->readtime_set = 1;