Lines Matching refs:name_parts
168 if (princ->name_parts) { in rxrpc_free_krb5_principal()
170 kfree(princ->name_parts[loop]); in rxrpc_free_krb5_principal()
171 kfree(princ->name_parts); in rxrpc_free_krb5_principal()
235 princ->name_parts = kcalloc(n_parts, sizeof(char *), GFP_KERNEL); in rxrpc_krb5_decode_principal()
236 if (!princ->name_parts) in rxrpc_krb5_decode_principal()
248 princ->name_parts[loop] = kmalloc(tmp + 1, GFP_KERNEL); in rxrpc_krb5_decode_principal()
249 if (!princ->name_parts[loop]) in rxrpc_krb5_decode_principal()
251 memcpy(princ->name_parts[loop], xdr, tmp); in rxrpc_krb5_decode_principal()
252 princ->name_parts[loop][tmp] = 0; in rxrpc_krb5_decode_principal()
275 _debug("%s/...@%s", princ->name_parts[0], princ->realm); in rxrpc_krb5_decode_principal()
1058 toksize += RND(strlen(princ->name_parts[loop])); in rxrpc_read()
1064 toksize += RND(strlen(princ->name_parts[loop])); in rxrpc_read()
1158 ENCODE_STR(princ->name_parts[loop]); in rxrpc_read()
1164 ENCODE_STR(princ->name_parts[loop]); in rxrpc_read()