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