Searched refs:sh_key (Results 1 – 2 of 2) sorted by relevance
98 BUG_ON(!list_empty(&sh_key->key_list)); in sctp_auth_shkey_destroy()99 sctp_auth_key_put(sh_key->key); in sctp_auth_shkey_destroy()100 sh_key->key = NULL; in sctp_auth_shkey_destroy()101 kfree(sh_key); in sctp_auth_shkey_destroy()106 if (refcount_dec_and_test(&sh_key->refcnt)) in sctp_auth_shkey_release()107 sctp_auth_shkey_destroy(sh_key); in sctp_auth_shkey_release()112 refcount_inc(&sh_key->refcnt); in sctp_auth_shkey_hold()357 struct sctp_shared_key *sh_key; in sctp_auth_asoc_copy_shkeys() local362 key_for_each(sh_key, &ep->endpoint_shared_keys) { in sctp_auth_asoc_copy_shkeys()363 new = sctp_auth_shkey_create(sh_key->key_id, gfp); in sctp_auth_asoc_copy_shkeys()[all …]
4361 struct sctp_shared_key *sh_key = NULL; in sctp_sf_authenticate() local4384 sh_key = sctp_auth_get_shkey(asoc, key_id); in sctp_sf_authenticate()4385 if (!sh_key) in sctp_sf_authenticate()4416 sh_key, GFP_ATOMIC); in sctp_sf_authenticate()
Completed in 17 milliseconds