Lines Matching defs:entry

89  * Tries to find the configuration entry with the specified name. If search
90 * fails, the new entry with the default parameters will be created.
96 struct configuration_entry *entry = NULL;
100 entry = configuration_find_entry(config, entry_name);
101 if (entry == NULL) {
102 entry = create_def_configuration_entry(entry_name);
103 assert( entry != NULL);
104 res = add_configuration_entry(config, entry);
109 return (entry);
119 struct configuration_entry *entry;
122 entry = find_create_entry(config, entry_name);
123 entry->enabled = flag;
131 struct configuration_entry *entry;
140 entry = find_create_entry(config, entry_name);
141 memcpy(&entry->positive_cache_params.max_lifetime,
143 memcpy(&entry->mp_cache_params.max_lifetime,
153 struct configuration_entry *entry;
162 entry = find_create_entry(config, entry_name);
163 assert(entry != NULL);
164 memcpy(&entry->negative_cache_params.max_lifetime,
174 struct configuration_entry *entry;
180 entry = find_create_entry(config, entry_name);
181 assert(entry != NULL);
182 entry->positive_cache_params.confidence_threshold = conf_thresh;
191 struct configuration_entry *entry;
196 entry = find_create_entry(config, entry_name);
197 assert(entry != NULL);
198 entry->negative_cache_params.confidence_threshold = conf_thresh;
209 struct configuration_entry *entry;
215 entry = find_create_entry(config, entry_name);
216 assert(entry != NULL);
217 entry->positive_cache_params.max_elemsize = count;
219 entry = find_create_entry(config, entry_name);
220 assert(entry != NULL);
221 entry->negative_cache_params.max_elemsize = count;
230 struct configuration_entry *entry;
235 entry = find_create_entry(config, entry_name);
236 assert(entry != NULL);
237 entry->positive_cache_params.policy = policy;
246 struct configuration_entry *entry;
251 entry = find_create_entry(config, entry_name);
252 assert(entry != NULL);
253 entry->negative_cache_params.policy = policy;
262 struct configuration_entry *entry;
267 entry = find_create_entry(config, entry_name);
268 assert(entry != NULL);
269 entry->perform_actual_lookups = flag;
278 struct configuration_entry *entry;
285 entry = find_create_entry(config, entry_name);
286 assert(entry != NULL);
287 entry->positive_cache_params.cache_entries_size = size;
288 entry->negative_cache_params.cache_entries_size = size;