Lines Matching refs:gfp
73 static struct sctp_auth_bytes *sctp_auth_create_key(__u32 key_len, gfp_t gfp) in sctp_auth_create_key() argument
82 key = kmalloc(sizeof(struct sctp_auth_bytes) + key_len, gfp); in sctp_auth_create_key()
94 struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp) in sctp_auth_shkey_create() argument
99 new = kzalloc(sizeof(struct sctp_shared_key), gfp); in sctp_auth_shkey_create()
191 gfp_t gfp) in sctp_auth_make_key_vector() argument
205 new = sctp_auth_create_key(len, gfp); in sctp_auth_make_key_vector()
226 gfp_t gfp) in sctp_auth_make_local_vector() argument
232 gfp); in sctp_auth_make_local_vector()
238 gfp_t gfp) in sctp_auth_make_peer_vector() argument
243 gfp); in sctp_auth_make_peer_vector()
260 gfp_t gfp) in sctp_auth_asoc_set_secret() argument
270 secret = sctp_auth_create_key(auth_len, gfp); in sctp_auth_asoc_set_secret()
293 gfp_t gfp) in sctp_auth_asoc_create_secret() argument
315 local_key_vector = sctp_auth_make_local_vector(asoc, gfp); in sctp_auth_asoc_create_secret()
316 peer_key_vector = sctp_auth_make_peer_vector(asoc, gfp); in sctp_auth_asoc_create_secret()
345 gfp); in sctp_auth_asoc_create_secret()
359 gfp_t gfp) in sctp_auth_asoc_copy_shkeys() argument
367 new = sctp_auth_shkey_create(sh_key->key_id, gfp); in sctp_auth_asoc_copy_shkeys()
387 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp) in sctp_auth_asoc_init_active_key() argument
407 secret = sctp_auth_asoc_create_secret(asoc, ep_key, gfp); in sctp_auth_asoc_init_active_key()
449 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp) in sctp_auth_init_hmacs() argument
467 gfp); in sctp_auth_init_hmacs()
710 gfp_t gfp) in sctp_auth_calculate_hmac() argument
736 asoc_key = sctp_auth_asoc_create_secret(asoc, ep_key, gfp); in sctp_auth_calculate_hmac()