Home
last modified time | relevance | path

Searched refs:ipsa_lock (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_sadb.c195 MUTEX_HELD(&candidate->ipsa_lock)); in ipsec_getassocbyconn()
204 mutex_enter(&retval->ipsa_lock); in ipsec_getassocbyconn()
381 mutex_exit(&candidate->ipsa_lock); in ipsec_getassocbyconn()
388 mutex_exit(&retval->ipsa_lock); in ipsec_getassocbyconn()
390 ASSERT((retval == NULL) || MUTEX_HELD(&retval->ipsa_lock)); in ipsec_getassocbyconn()
391 ASSERT((candidate == NULL) || MUTEX_HELD(&candidate->ipsa_lock)); in ipsec_getassocbyconn()
400 ASSERT(MUTEX_HELD(&candidate->ipsa_lock)); in ipsec_getassocbyconn()
404 mutex_exit(&candidate->ipsa_lock); in ipsec_getassocbyconn()
406 ASSERT(MUTEX_HELD(&retval->ipsa_lock)); in ipsec_getassocbyconn()
478 mutex_exit(&retval->ipsa_lock); in ipsec_getassocbyconn()
[all …]
H A Dsadb.c221 mutex_enter(&walker->ipsa_lock); in sadb_insertassoc()
227 mutex_exit(&walker->ipsa_lock); in sadb_insertassoc()
266 ASSERT(MUTEX_NOT_HELD(&ipsa->ipsa_lock)); in sadb_freeassoc()
279 mutex_enter(&ipsa->ipsa_lock); in sadb_freeassoc()
293 mutex_exit(&ipsa->ipsa_lock); in sadb_freeassoc()
318 mutex_destroy(&ipsa->ipsa_lock); in sadb_freeassoc()
402 mutex_init(&newbie->ipsa_lock, NULL, MUTEX_DEFAULT, NULL); in sadb_makelarvalassoc()
896 ASSERT(MUTEX_NOT_HELD(&(ipsa->ipsa_lock))); in sadb_cloneassoc()
906 mutex_init(&newbie->ipsa_lock, NULL, MUTEX_DEFAULT, NULL); in sadb_cloneassoc()
1257 mutex_enter(&ipsa->ipsa_lock); /* Since I'm grabbing SA fields... */ in sadb_sa2msg()
[all …]
H A Dipsecesp.c1620 mutex_enter(&outbound_peer->ipsa_lock); in esp_port_freshness()
1621 mutex_enter(&assoc->ipsa_lock); in esp_port_freshness()
1624 mutex_exit(&assoc->ipsa_lock); in esp_port_freshness()
1625 mutex_exit(&outbound_peer->ipsa_lock); in esp_port_freshness()
2341 ASSERT(MUTEX_NOT_HELD(&assoc->ipsa_lock)); in ipsecesp_send_keepalive()
/titanic_41/usr/src/uts/common/inet/
H A Dsadb.h182 kmutex_t ipsa_lock; /* Locks non-linkage/refcnt fields. */ member
913 mutex_enter(&assoc->ipsa_lock); \
922 mutex_exit(&assoc->ipsa_lock); \