Lines Matching refs:cred
38 static inline void init_svc_cred(struct svc_cred *cred) in init_svc_cred() argument
40 cred->cr_group_info = NULL; in init_svc_cred()
41 cred->cr_raw_principal = NULL; in init_svc_cred()
42 cred->cr_principal = NULL; in init_svc_cred()
43 cred->cr_targ_princ = NULL; in init_svc_cred()
44 cred->cr_gss_mech = NULL; in init_svc_cred()
47 static inline void free_svc_cred(struct svc_cred *cred) in free_svc_cred() argument
49 if (cred->cr_group_info) in free_svc_cred()
50 put_group_info(cred->cr_group_info); in free_svc_cred()
51 kfree(cred->cr_raw_principal); in free_svc_cred()
52 kfree(cred->cr_principal); in free_svc_cred()
53 kfree(cred->cr_targ_princ); in free_svc_cred()
54 gss_mech_put(cred->cr_gss_mech); in free_svc_cred()
55 init_svc_cred(cred); in free_svc_cred()