Home
last modified time | relevance | path

Searched refs:pvt_data (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/libsip/common/
H A Dsip_reass.c131 sip_conn_obj_pvt_t *pvt_data; in sip_get_tcp_msg() local
148 pvt_data = (sip_conn_obj_pvt_t *)*obj_val; in sip_get_tcp_msg()
152 if (pvt_data == NULL) { in sip_get_tcp_msg()
164 (void) pthread_mutex_lock(&pvt_data->sip_conn_obj_reass_lock); in sip_get_tcp_msg()
165 reass = pvt_data->sip_conn_obj_reass; in sip_get_tcp_msg()
171 &pvt_data->sip_conn_obj_reass_lock); in sip_get_tcp_msg()
177 &pvt_data->sip_conn_obj_reass_lock); in sip_get_tcp_msg()
184 (void) pthread_mutex_unlock(&pvt_data->sip_conn_obj_reass_lock); in sip_get_tcp_msg()
197 &pvt_data->sip_conn_obj_reass_lock); in sip_get_tcp_msg()
215 (void) pthread_mutex_unlock(&pvt_data->sip_conn_obj_reass_lock); in sip_get_tcp_msg()
[all …]
H A Dsip_xaction.c118 sip_conn_obj_pvt_t *pvt_data; in sip_add_conn_obj_cache() local
144 pvt_data = (sip_conn_obj_pvt_t *)*obj_val; in sip_add_conn_obj_cache()
145 if (pvt_data == NULL) { in sip_add_conn_obj_cache()
149 (void) pthread_mutex_lock(&pvt_data->sip_conn_obj_cache_lock); in sip_add_conn_obj_cache()
151 if (pvt_data->sip_conn_obj_cache == NULL) { in sip_add_conn_obj_cache()
152 pvt_data->sip_conn_obj_cache = xaction_list; in sip_add_conn_obj_cache()
154 xaction_list->next = pvt_data->sip_conn_obj_cache; in sip_add_conn_obj_cache()
155 pvt_data->sip_conn_obj_cache->prev = xaction_list; in sip_add_conn_obj_cache()
156 pvt_data->sip_conn_obj_cache = xaction_list; in sip_add_conn_obj_cache()
160 (void) pthread_mutex_unlock(&pvt_data->sip_conn_obj_cache_lock); in sip_add_conn_obj_cache()
[all …]
H A Dsip_ui.c1277 sip_conn_obj_pvt_t *pvt_data; in sip_init_conn_object() local
1281 pvt_data = malloc(sizeof (sip_conn_obj_pvt_t)); in sip_init_conn_object()
1282 if (pvt_data == NULL) in sip_init_conn_object()
1284 pvt_data->sip_conn_obj_cache = NULL; in sip_init_conn_object()
1285 pvt_data->sip_conn_obj_reass = malloc(sizeof (sip_reass_entry_t)); in sip_init_conn_object()
1286 if (pvt_data->sip_conn_obj_reass == NULL) { in sip_init_conn_object()
1287 free(pvt_data); in sip_init_conn_object()
1290 bzero(pvt_data->sip_conn_obj_reass, sizeof (sip_reass_entry_t)); in sip_init_conn_object()
1291 (void) pthread_mutex_init(&pvt_data->sip_conn_obj_reass_lock, NULL); in sip_init_conn_object()
1292 (void) pthread_mutex_init(&pvt_data->sip_conn_obj_cache_lock, NULL); in sip_init_conn_object()
[all …]