Searched refs:mp_params (Results 1 - 3 of 3) sorted by relevance

/freebsd-10-stable/usr.sbin/nscd/
H A Dconfig.c116 struct mp_cache_entry_params const *mp_params)
126 assert(mp_params != NULL);
166 memcpy(&retval->mp_cache_params, mp_params,
199 struct mp_cache_entry_params mp_params; local
229 memset(&mp_params, 0,
231 mp_params.cep.entry_type = CET_MULTIPART;
232 mp_params.max_elemsize = DEFAULT_MULTIPART_ELEMENTS_SIZE;
233 mp_params.max_sessions = DEFAULT_MULITPART_SESSIONS_SIZE;
234 mp_params.max_lifetime.tv_sec = DEFAULT_MULITPART_LIFETIME;
238 &mp_params);
111 create_configuration_entry(const char *name, struct timeval const *common_timeout, struct timeval const *mp_timeout, struct common_cache_entry_params const *positive_params, struct common_cache_entry_params const *negative_params, struct mp_cache_entry_params const *mp_params) argument
[all...]
H A Dcachelib.c465 if ((mp_entry->mp_params.max_lifetime.tv_sec != 0)
466 || (mp_entry->mp_params.max_lifetime.tv_usec != 0)) {
470 mp_entry->mp_params.max_lifetime.tv_sec)
617 memcpy(&new_mp_entry->mp_params, params,
620 (struct cache_entry_params *)&new_mp_entry->mp_params;
622 new_mp_entry->mp_params.cep.entry_name = calloc(1,
624 assert(new_mp_entry->mp_params.cep.entry_name != NULL);
625 strlcpy(new_mp_entry->mp_params.cep.entry_name, params->entry_name,
627 new_mp_entry->name = new_mp_entry->mp_params.cep.entry_name;
935 if ((mp_entry->mp_params
[all...]
H A Dcachelib.h184 struct mp_cache_entry_params mp_params; member in struct:cache_mp_entry_

Completed in 159 milliseconds