Home
last modified time | relevance | path

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

/net/rxrpc/
Dkey.c168 static void rxrpc_free_krb5_principal(struct krb5_principal *princ) in rxrpc_free_krb5_principal() argument
172 if (princ->name_parts) { in rxrpc_free_krb5_principal()
173 for (loop = princ->n_name_parts - 1; loop >= 0; loop--) in rxrpc_free_krb5_principal()
174 kfree(princ->name_parts[loop]); in rxrpc_free_krb5_principal()
175 kfree(princ->name_parts); in rxrpc_free_krb5_principal()
177 kfree(princ->realm); in rxrpc_free_krb5_principal()
215 static int rxrpc_krb5_decode_principal(struct krb5_principal *princ, in rxrpc_krb5_decode_principal() argument
234 princ->n_name_parts = n_parts; in rxrpc_krb5_decode_principal()
239 princ->name_parts = kcalloc(n_parts, sizeof(char *), GFP_KERNEL); in rxrpc_krb5_decode_principal()
240 if (!princ->name_parts) in rxrpc_krb5_decode_principal()
[all …]