• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/usr.sbin/nscd/

Lines Matching refs:config_entry

87 clear_config_entry(struct configuration_entry *config_entry)
92 configuration_lock_entry(config_entry, CELT_POSITIVE);
93 if (config_entry->positive_cache_entry != NULL)
95 config_entry->positive_cache_entry,
97 configuration_unlock_entry(config_entry, CELT_POSITIVE);
99 configuration_lock_entry(config_entry, CELT_NEGATIVE);
100 if (config_entry->negative_cache_entry != NULL)
102 config_entry->negative_cache_entry,
104 configuration_unlock_entry(config_entry, CELT_NEGATIVE);
106 configuration_lock_entry(config_entry, CELT_MULTIPART);
107 for (i = 0; i < config_entry->mp_cache_entries_size; ++i)
109 config_entry->mp_cache_entries[i],
111 configuration_unlock_entry(config_entry, CELT_MULTIPART);
121 clear_config_entry_part(struct configuration_entry *config_entry,
126 configuration_lock_entry(config_entry, CELT_POSITIVE);
127 if (config_entry->positive_cache_entry != NULL)
129 config_entry->positive_cache_entry,
131 configuration_unlock_entry(config_entry, CELT_POSITIVE);
133 configuration_lock_entry(config_entry, CELT_NEGATIVE);
134 if (config_entry->negative_cache_entry != NULL)
136 config_entry->negative_cache_entry,
138 configuration_unlock_entry(config_entry, CELT_NEGATIVE);
140 configuration_lock_entry(config_entry, CELT_MULTIPART);
141 if (configuration_entry_find_mp_cache_entries(config_entry,
146 configuration_unlock_entry(config_entry, CELT_MULTIPART);
409 qstate->config_entry = configuration_find_entry(
412 if (qstate->config_entry == NULL) {
420 if (qstate->config_entry->enabled == 0) {
429 if (qstate->config_entry->perform_actual_lookups != 0) {
440 qstate->config_entry->positive_cache_params.cep.entry_name);
443 configuration_lock_entry(qstate->config_entry, CELT_POSITIVE);
444 qstate->config_entry->positive_cache_entry = c_entry;
450 configuration_unlock_entry(qstate->config_entry, CELT_POSITIVE);
452 if ((qstate->config_entry->common_query_timeout.tv_sec != 0) ||
453 (qstate->config_entry->common_query_timeout.tv_usec != 0))
455 &qstate->config_entry->common_query_timeout,
482 qstate->config_entry = configuration_find_entry (
485 if (qstate->config_entry == NULL) {
494 if (qstate->config_entry->enabled == 0) {
503 if (qstate->config_entry->perform_actual_lookups != 0) {
521 qstate->config_entry->negative_cache_params.cep.entry_name);
524 configuration_lock_entry(qstate->config_entry, CELT_NEGATIVE);
525 qstate->config_entry->negative_cache_entry = c_entry;
531 configuration_unlock_entry(qstate->config_entry, CELT_NEGATIVE);
533 if ((qstate->config_entry->common_query_timeout.tv_sec != 0) ||
534 (qstate->config_entry->common_query_timeout.tv_usec != 0))
536 &qstate->config_entry->common_query_timeout,
675 qstate->config_entry = configuration_find_entry(
677 if (qstate->config_entry == NULL) {
686 if (qstate->config_entry->enabled == 0) {
699 if (qstate->config_entry->perform_actual_lookups != 0)
713 qstate->config_entry->positive_cache_params.cep.entry_name);
715 qstate->config_entry->negative_cache_params.cep.entry_name);
718 configuration_lock_entry(qstate->config_entry, CELT_POSITIVE);
719 qstate->config_entry->positive_cache_entry = c_entry;
735 configuration_unlock_entry(qstate->config_entry, CELT_POSITIVE);
737 configuration_lock_entry(qstate->config_entry, CELT_NEGATIVE);
738 qstate->config_entry->negative_cache_entry = neg_c_entry;
756 configuration_unlock_entry(qstate->config_entry, CELT_NEGATIVE);
759 (qstate->config_entry->perform_actual_lookups != 0)) {
781 qstate->config_entry,
789 qstate->config_entry,
794 qstate->config_entry,
802 qstate->config_entry,
812 if ((qstate->config_entry->common_query_timeout.tv_sec != 0) ||
813 (qstate->config_entry->common_query_timeout.tv_usec != 0))
815 &qstate->config_entry->common_query_timeout,
982 struct configuration_entry *config_entry;
995 config_entry = configuration_get_entry(
998 if (config_entry->perform_actual_lookups == 0)
999 clear_config_entry_part(config_entry,
1003 qstate->config_entry = configuration_find_entry(
1006 if (qstate->config_entry == NULL) {
1015 if (qstate->config_entry->perform_actual_lookups != 0) {
1024 clear_config_entry_part(qstate->config_entry,
1041 qstate->config_entry = configuration_find_entry(
1045 if (qstate->config_entry == NULL) {
1054 clear_config_entry(qstate->config_entry);