Home
last modified time | relevance | path

Searched refs:config_entry (Results 1 – 9 of 9) sorted by relevance

/freebsd/usr.sbin/nscd/
H A Dquery.c84 clear_config_entry(struct configuration_entry *config_entry) in clear_config_entry() argument
89 configuration_lock_entry(config_entry, CELT_POSITIVE); in clear_config_entry()
90 if (config_entry->positive_cache_entry != NULL) in clear_config_entry()
92 config_entry->positive_cache_entry, in clear_config_entry()
94 configuration_unlock_entry(config_entry, CELT_POSITIVE); in clear_config_entry()
96 configuration_lock_entry(config_entry, CELT_NEGATIVE); in clear_config_entry()
97 if (config_entry->negative_cache_entry != NULL) in clear_config_entry()
99 config_entry->negative_cache_entry, in clear_config_entry()
101 configuration_unlock_entry(config_entry, CELT_NEGATIVE); in clear_config_entry()
103 configuration_lock_entry(config_entry, CELT_MULTIPAR in clear_config_entry()
118 clear_config_entry_part(struct configuration_entry * config_entry,const char * eid_str,size_t eid_str_length) clear_config_entry_part() argument
979 struct configuration_entry *config_entry; on_transform_request_process() local
[all...]
H A Dmp_rs_query.c72 configuration_lock_entry(qstate->config_entry, CELT_MULTIPART); in on_mp_read_session_destroy()
75 configuration_unlock_entry(qstate->config_entry, in on_mp_read_session_destroy()
176 qstate->config_entry = configuration_find_entry( in on_mp_read_session_request_process()
178 if (qstate->config_entry == NULL) { in on_mp_read_session_request_process()
187 if (qstate->config_entry->enabled == 0) { in on_mp_read_session_request_process()
196 if (qstate->config_entry->perform_actual_lookups != 0) in on_mp_read_session_request_process()
198 qstate->config_entry->mp_cache_params.cep.entry_name); in on_mp_read_session_request_process()
208 qstate->config_entry->mp_cache_params.cep.entry_name); in on_mp_read_session_request_process()
218 (qstate->config_entry->perform_actual_lookups != 0)) in on_mp_read_session_request_process()
225 configuration_lock_entry(qstate->config_entry, CELT_MULTIPART); in on_mp_read_session_request_process()
[all …]
H A Dmp_ws_query.c73 configuration_lock_entry(qstate->config_entry, CELT_MULTIPART); in on_mp_write_session_destroy()
76 configuration_unlock_entry(qstate->config_entry, in on_mp_write_session_destroy()
174 qstate->config_entry = configuration_find_entry( in on_mp_write_session_request_process()
176 if (qstate->config_entry == NULL) { in on_mp_write_session_request_process()
185 if (qstate->config_entry->enabled == 0) { in on_mp_write_session_request_process()
194 if (qstate->config_entry->perform_actual_lookups != 0) { in on_mp_write_session_request_process()
216 qstate->config_entry->mp_cache_params.cep.entry_name); in on_mp_write_session_request_process()
231 configuration_lock_entry(qstate->config_entry, CELT_MULTIPART); in on_mp_write_session_request_process()
239 if ((qstate->config_entry->mp_query_timeout.tv_sec != 0) || in on_mp_write_session_request_process()
240 (qstate->config_entry->mp_query_timeout.tv_usec != 0)) in on_mp_write_session_request_process()
[all …]
H A Dconfig.c335 configuration_entry_add_mp_cache_entry(struct configuration_entry *config_entry, in configuration_entry_add_mp_cache_entry() argument
341 ++config_entry->mp_cache_entries_size; in configuration_entry_add_mp_cache_entry()
343 config_entry->mp_cache_entries_size); in configuration_entry_add_mp_cache_entry()
347 if (config_entry->mp_cache_entries_size - 1 > 0) { in configuration_entry_add_mp_cache_entry()
349 config_entry->mp_cache_entries, in configuration_entry_add_mp_cache_entry()
350 (config_entry->mp_cache_entries_size - 1) * in configuration_entry_add_mp_cache_entry()
354 old_mp_entries = config_entry->mp_cache_entries; in configuration_entry_add_mp_cache_entry()
355 config_entry->mp_cache_entries = new_mp_entries; in configuration_entry_add_mp_cache_entry()
358 qsort(config_entry->mp_cache_entries, in configuration_entry_add_mp_cache_entry()
359 config_entry->mp_cache_entries_size, in configuration_entry_add_mp_cache_entry()
[all …]
H A Dnscd.c103 struct configuration_entry *config_entry; in init_cache_() local
114 config_entry = configuration_get_entry(config, i); in init_cache_()
120 &config_entry->positive_cache_params); in init_cache_()
121 config_entry->positive_cache_entry = find_cache_entry(retval, in init_cache_()
122 config_entry->positive_cache_params.cep.entry_name); in init_cache_()
123 assert(config_entry->positive_cache_entry != in init_cache_()
127 &config_entry->negative_cache_params); in init_cache_()
128 config_entry->negative_cache_entry = find_cache_entry(retval, in init_cache_()
129 config_entry->negative_cache_params.cep.entry_name); in init_cache_()
130 assert(config_entry->negative_cache_entry != in init_cache_()
H A Dquery.h53 struct configuration_entry *config_entry; member
/freebsd/usr.sbin/pkg/
H A Dconfig.c52 struct config_entry { struct
62 static struct config_entry c[] = { argument
221 struct config_entry *temp_config; in config_parse()
228 temp_config = calloc(CONFIG_SIZE, sizeof(struct config_entry)); in config_parse()
/freebsd/contrib/ofed/librdmacm/
H A Dpreload.c125 struct config_entry { struct
132 static struct config_entry *config; argument
154 struct config_entry *new_config; in scan_config()
170 sizeof(struct config_entry)); in scan_config()
175 memset(&config[config_cnt], 0, sizeof(struct config_entry)); in scan_config()
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c194 typedef struct config_entry { struct
197 struct config_entry *ce_next; argument