Searched refs:mp_params (Results 1 – 3 of 3) sorted by relevance
114 struct mp_cache_entry_params const *mp_params) in create_configuration_entry() argument124 assert(mp_params != NULL); in create_configuration_entry()164 memcpy(&retval->mp_cache_params, mp_params, in create_configuration_entry()197 struct mp_cache_entry_params mp_params; in create_def_configuration_entry() local227 memset(&mp_params, 0, in create_def_configuration_entry()229 mp_params.cep.entry_type = CET_MULTIPART; in create_def_configuration_entry()230 mp_params.max_elemsize = DEFAULT_MULTIPART_ELEMENTS_SIZE; in create_def_configuration_entry()231 mp_params.max_sessions = DEFAULT_MULITPART_SESSIONS_SIZE; in create_def_configuration_entry()232 mp_params.max_lifetime.tv_sec = DEFAULT_MULITPART_LIFETIME; in create_def_configuration_entry()236 &mp_params); in create_def_configuration_entry()
463 if ((mp_entry->mp_params.max_lifetime.tv_sec != 0) in flush_cache_entry()464 || (mp_entry->mp_params.max_lifetime.tv_usec != 0)) { in flush_cache_entry()468 mp_entry->mp_params.max_lifetime.tv_sec) in flush_cache_entry()615 memcpy(&new_mp_entry->mp_params, params, in register_cache_entry()618 (struct cache_entry_params *)&new_mp_entry->mp_params; in register_cache_entry()620 new_mp_entry->mp_params.cep.entry_name = calloc(1, in register_cache_entry()622 assert(new_mp_entry->mp_params.cep.entry_name != NULL); in register_cache_entry()623 strlcpy(new_mp_entry->mp_params.cep.entry_name, params->entry_name, in register_cache_entry()625 new_mp_entry->name = new_mp_entry->mp_params.cep.entry_name; in register_cache_entry()933 if ((mp_entry->mp_params.max_sessions > 0) && in open_cache_mp_write_session()[all …]
182 struct mp_cache_entry_params mp_params; member