Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/net/sunrpc/
Dsvcauth_unix.c728 put_group_info(cred->cr_group_info); in svcauth_unix_set_client()
729 cred->cr_group_info = gi; in svcauth_unix_set_client()
760 cred->cr_group_info = groups_alloc(0); in svcauth_null_accept()
761 if (cred->cr_group_info == NULL) in svcauth_null_accept()
778 if (rqstp->rq_cred.cr_group_info) in svcauth_null_release()
779 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_null_release()
780 rqstp->rq_cred.cr_group_info = NULL; in svcauth_null_release()
830 cred->cr_group_info = groups_alloc(slen); in svcauth_unix_accept()
831 if (cred->cr_group_info == NULL) in svcauth_unix_accept()
835 cred->cr_group_info->gid[i] = kgid; in svcauth_unix_accept()
[all …]
/kernel/linux/linux-5.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.c500 rsci.cred.cr_group_info = groups_alloc(N); in rsc_parse()
501 if (rsci.cred.cr_group_info == NULL) in rsc_parse()
513 rsci.cred.cr_group_info->gid[i] = kgid; in rsc_parse()
515 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()
/kernel/linux/linux-5.10/fs/nfsd/
Dauth.c40 rqgi = rqstp->rq_cred.cr_group_info; in nfsd_setuser()
Dnfs4state.c2193 target->cr_group_info = source->cr_group_info; in copy_cred()
2194 get_group_info(target->cr_group_info); in copy_cred()
2257 || !groups_equal(cr1->cr_group_info, cr2->cr_group_info)) in same_creds()