Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/sunrpc/
Dsvcauth.h24 struct group_info *cr_group_info; member
38 cred->cr_group_info = NULL; in init_svc_cred()
47 if (cred->cr_group_info) in free_svc_cred()
48 put_group_info(cred->cr_group_info); in free_svc_cred()
/linux-5.19.10/net/sunrpc/
Dsvcauth_unix.c721 put_group_info(cred->cr_group_info); in svcauth_unix_set_client()
722 cred->cr_group_info = gi; in svcauth_unix_set_client()
756 cred->cr_group_info = groups_alloc(0); in svcauth_null_accept()
757 if (cred->cr_group_info == NULL) in svcauth_null_accept()
774 if (rqstp->rq_cred.cr_group_info) in svcauth_null_release()
775 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_null_release()
776 rqstp->rq_cred.cr_group_info = NULL; in svcauth_null_release()
824 cred->cr_group_info = groups_alloc(0); in svcauth_tls_accept()
825 if (cred->cr_group_info == NULL) in svcauth_tls_accept()
885 cred->cr_group_info = groups_alloc(slen); in svcauth_unix_accept()
[all …]
/linux-5.19.10/net/sunrpc/auth_gss/
Dgss_rpc_xdr.c205 creds->cr_group_info = groups_alloc(N); in gssx_dec_linux_creds()
206 if (creds->cr_group_info == NULL) in gssx_dec_linux_creds()
219 creds->cr_group_info->gid[i] = kgid; in gssx_dec_linux_creds()
221 groups_sort(creds->cr_group_info); in gssx_dec_linux_creds()
225 groups_free(creds->cr_group_info); in gssx_dec_linux_creds()
Dsvcauth_gss.c502 rsci.cred.cr_group_info = groups_alloc(N); in rsc_parse()
503 if (rsci.cred.cr_group_info == NULL) in rsc_parse()
515 rsci.cred.cr_group_info->gid[i] = kgid; in rsc_parse()
517 groups_sort(rsci.cred.cr_group_info); in rsc_parse()
1629 get_group_info(rsci->cred.cr_group_info); in svcauth_gss_accept()
1878 if (rqstp->rq_cred.cr_group_info) in svcauth_gss_release()
1879 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_gss_release()
1880 rqstp->rq_cred.cr_group_info = NULL; in svcauth_gss_release()
/linux-5.19.10/fs/nfsd/
Dauth.c40 rqgi = rqstp->rq_cred.cr_group_info; in nfsd_setuser()
Dnfs4state.c2289 target->cr_group_info = source->cr_group_info; in copy_cred()
2290 get_group_info(target->cr_group_info); in copy_cred()
2353 || !groups_equal(cr1->cr_group_info, cr2->cr_group_info)) in same_creds()