Searched refs:ipsec_alg_lock (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecesp.c | 232 rw_enter(&ipss->ipsec_alg_lock, RW_READER); in esp_kstat_update() 237 rw_exit(&ipss->ipsec_alg_lock); in esp_kstat_update() 2804 rw_enter(&ipss->ipsec_alg_lock, RW_READER); in esp_register_out() 2833 rw_exit(&ipss->ipsec_alg_lock); in esp_register_out() 2927 rw_exit(&ipss->ipsec_alg_lock); in esp_register_out() 3452 rw_enter(&ipss->ipsec_alg_lock, RW_READER); 3467 rw_exit(&ipss->ipsec_alg_lock); 3482 rw_exit(&ipss->ipsec_alg_lock); 3491 rw_exit(&ipss->ipsec_alg_lock); 3506 rw_exit(&ipss->ipsec_alg_lock); [all …]
|
H A D | ipsecah.c | 239 rw_enter(&ipss->ipsec_alg_lock, RW_READER); in ah_kstat_update() 241 rw_exit(&ipss->ipsec_alg_lock); in ah_kstat_update() 564 rw_enter(&ipss->ipsec_alg_lock, RW_READER); in ah_register_out() 586 rw_exit(&ipss->ipsec_alg_lock); in ah_register_out() 633 rw_exit(&ipss->ipsec_alg_lock); in ah_register_out() 1114 rw_enter(&ipss->ipsec_alg_lock, RW_READER); in ah_add_sa() 1117 rw_exit(&ipss->ipsec_alg_lock); in ah_add_sa() 1127 rw_exit(&ipss->ipsec_alg_lock); in ah_add_sa() 1135 rw_exit(&ipss->ipsec_alg_lock); in ah_add_sa() 1139 rw_exit(&ipss->ipsec_alg_lock); in ah_add_sa()
|
H A D | spdsock.c | 2274 rw_enter(&ipss->ipsec_alg_lock, RW_READER); in spdsock_alglist() 2302 rw_exit(&ipss->ipsec_alg_lock); in spdsock_alglist() 2373 rw_exit(&ipss->ipsec_alg_lock); in spdsock_alglist() 2410 rw_enter(&ipss->ipsec_alg_lock, RW_READER); in spdsock_dumpalgs() 2443 rw_exit(&ipss->ipsec_alg_lock); in spdsock_dumpalgs() 2477 rw_exit(&ipss->ipsec_alg_lock); in spdsock_dumpalgs() 2529 rw_exit(&ipss->ipsec_alg_lock); in spdsock_dumpalgs() 3711 rw_enter(&ipss->ipsec_alg_lock, RW_WRITER); in spdsock_merge_algs() 3767 rw_exit(&ipss->ipsec_alg_lock); in spdsock_merge_algs()
|
H A D | spd.c | 418 rw_enter(&ipss->ipsec_alg_lock, RW_WRITER); in ipsec_stack_fini() 425 rw_exit(&ipss->ipsec_alg_lock); in ipsec_stack_fini() 426 rw_destroy(&ipss->ipsec_alg_lock); in ipsec_stack_fini() 658 rw_init(&ipss->ipsec_alg_lock, NULL, RW_DEFAULT, NULL); in ipsec_stack_init() 721 ASSERT(RW_WRITE_HELD(&ipss->ipsec_alg_lock)); in alg_insert_sortlist() 758 ASSERT(RW_WRITE_HELD(&ipss->ipsec_alg_lock)); in alg_remove_sortlist() 779 ASSERT(RW_WRITE_HELD(&ipss->ipsec_alg_lock)); in ipsec_alg_reg() 798 ASSERT(RW_WRITE_HELD(&ipss->ipsec_alg_lock)); in ipsec_alg_unreg() 4713 ASSERT(RW_WRITE_HELD(&ipss->ipsec_alg_lock)); in ipsec_alg_fix_min_max() 5066 rw_enter(&ipss->ipsec_alg_lock, RW_WRITER); in ipsec_prov_update_callback_stack() [all …]
|
H A D | sadb.c | 3227 rw_enter(&ipss->ipsec_alg_lock, RW_READER); 3240 rw_exit(&ipss->ipsec_alg_lock); 3257 rw_enter(&ipss->ipsec_alg_lock, RW_READER); 3290 rw_exit(&ipss->ipsec_alg_lock); 3402 rw_enter(&ipss->ipsec_alg_lock, RW_READER); 3404 rw_exit(&ipss->ipsec_alg_lock); 5151 rw_enter(&ipss->ipsec_alg_lock, RW_READER); 5330 rw_exit(&ipss->ipsec_alg_lock); 5945 rw_enter(&ipss->ipsec_alg_lock, RW_READER); 5949 rw_exit(&ipss->ipsec_alg_lock); [all …]
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | sadb.h | 918 rw_enter(&ipss->ipsec_alg_lock, RW_READER); \ 920 rw_exit(&ipss->ipsec_alg_lock); \
|
H A D | ipsec_impl.h | 793 krwlock_t ipsec_alg_lock; member
|