Home
last modified time | relevance | path

Searched refs:sh_key (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/net/sctp/
H A Dauth.c96 static void sctp_auth_shkey_destroy(struct sctp_shared_key *sh_key) in sctp_auth_shkey_destroy() argument
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()
104 void sctp_auth_shkey_release(struct sctp_shared_key *sh_key) in sctp_auth_shkey_release() argument
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()
110 void sctp_auth_shkey_hold(struct sctp_shared_key *sh_key) in sctp_auth_shkey_hold() argument
112 refcount_inc(&sh_key in sctp_auth_shkey_hold()
357 struct sctp_shared_key *sh_key; sctp_auth_asoc_copy_shkeys() local
[all...]
H A Dsm_statefuns.c4247 struct sctp_shared_key *sh_key = NULL; in sctp_sf_authenticate() local
4270 sh_key = sctp_auth_get_shkey(asoc, key_id); in sctp_sf_authenticate()
4271 if (!sh_key) in sctp_sf_authenticate()
4302 sh_key, GFP_ATOMIC); in sctp_sf_authenticate()
/kernel/linux/linux-6.6/net/sctp/
H A Dauth.c96 static void sctp_auth_shkey_destroy(struct sctp_shared_key *sh_key) in sctp_auth_shkey_destroy() argument
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()
104 void sctp_auth_shkey_release(struct sctp_shared_key *sh_key) in sctp_auth_shkey_release() argument
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()
110 void sctp_auth_shkey_hold(struct sctp_shared_key *sh_key) in sctp_auth_shkey_hold() argument
112 refcount_inc(&sh_key in sctp_auth_shkey_hold()
357 struct sctp_shared_key *sh_key; sctp_auth_asoc_copy_shkeys() local
[all...]
H A Dsm_statefuns.c4350 struct sctp_shared_key *sh_key = NULL; in sctp_sf_authenticate() local
4373 sh_key = sctp_auth_get_shkey(asoc, key_id); in sctp_sf_authenticate()
4374 if (!sh_key) in sctp_sf_authenticate()
4405 sh_key, GFP_ATOMIC); in sctp_sf_authenticate()
/kernel/linux/linux-5.10/include/net/sctp/
H A Dauth.h95 void sctp_auth_shkey_release(struct sctp_shared_key *sh_key);
96 void sctp_auth_shkey_hold(struct sctp_shared_key *sh_key);
/kernel/linux/linux-6.6/include/net/sctp/
H A Dauth.h95 void sctp_auth_shkey_release(struct sctp_shared_key *sh_key);
96 void sctp_auth_shkey_hold(struct sctp_shared_key *sh_key);

Completed in 17 milliseconds