creds            1130 arch/powerpc/platforms/powernv/vas-window.c 	int creds, mode;
creds            1143 arch/powerpc/platforms/powernv/vas-window.c 		creds = GET_FIELD(VAS_TX_WCRED, val);
creds            1146 arch/powerpc/platforms/powernv/vas-window.c 		creds = GET_FIELD(VAS_LRX_WCRED, val);
creds            1149 arch/powerpc/platforms/powernv/vas-window.c 	if (creds < window->wcreds_max) {
creds              83 drivers/soc/bcm/brcmstb/biuctrl.c 	u32 creds = 0;
creds              88 drivers/soc/bcm/brcmstb/biuctrl.c 	creds = cbc_readl(CPU_CREDIT_REG);
creds              91 drivers/soc/bcm/brcmstb/biuctrl.c 		cbc_writel(creds | CPU_CREDIT_REG_MCPx_WR_PAIRING_EN_MASK,
creds              93 drivers/soc/bcm/brcmstb/biuctrl.c 	} else if (creds & CPU_CREDIT_REG_MCPx_WR_PAIRING_EN_MASK) {
creds              95 drivers/soc/bcm/brcmstb/biuctrl.c 		cbc_writel(creds & ~CPU_CREDIT_REG_MCPx_WR_PAIRING_EN_MASK,
creds             179 fs/aio.c       	struct cred		*creds;
creds            1593 fs/aio.c       	const struct cred *old_cred = override_creds(iocb->fsync.creds);
creds            1597 fs/aio.c       	put_cred(iocb->fsync.creds);
creds            1611 fs/aio.c       	req->creds = prepare_creds();
creds            1612 fs/aio.c       	if (!req->creds)
creds             243 fs/io_uring.c  	const struct cred	*creds;
creds            1798 fs/io_uring.c  	old_cred = override_creds(ctx->creds);
creds            2202 fs/io_uring.c  	old_cred = override_creds(ctx->creds);
creds            2757 fs/io_uring.c  	old_cred = override_creds(ctx->creds);
creds            3646 fs/io_uring.c  	if (ctx->creds)
creds            3647 fs/io_uring.c  		put_cred(ctx->creds);
creds            3929 fs/io_uring.c  	ctx->creds = get_current_cred();
creds            3930 fs/io_uring.c  	if (!ctx->creds) {
creds              24 include/linux/netlink.h 	struct scm_creds	creds;		/* Skb credentials	*/
creds              34 include/linux/netlink.h #define NETLINK_CREDS(skb)	(&NETLINK_CB((skb)).creds)
creds              34 include/net/scm.h 	struct scm_creds	creds;		/* Skb credentials	*/
creds              60 include/net/scm.h 	scm->creds.pid = pid_vnr(pid);
creds              61 include/net/scm.h 	scm->creds.uid = uid;
creds              62 include/net/scm.h 	scm->creds.gid = gid;
creds              82 include/net/scm.h 	scm->creds.uid = INVALID_UID;
creds              83 include/net/scm.h 	scm->creds.gid = INVALID_GID;
creds             126 include/net/scm.h 			.pid = scm->creds.pid,
creds             127 include/net/scm.h 			.uid = from_kuid_munged(current_ns, scm->creds.uid),
creds             128 include/net/scm.h 			.gid = from_kgid_munged(current_ns, scm->creds.gid),
creds             300 lib/kobject_uevent.c 	parms->creds.uid = GLOBAL_ROOT_UID;
creds             301 lib/kobject_uevent.c 	parms->creds.gid = GLOBAL_ROOT_GID;
creds             363 lib/kobject_uevent.c 			parms->creds.uid = root_uid;
creds             368 lib/kobject_uevent.c 			parms->creds.gid = root_gid;
creds              45 net/core/scm.c static __inline__ int scm_check_creds(struct ucred *creds)
creds              48 net/core/scm.c 	kuid_t uid = make_kuid(cred->user_ns, creds->uid);
creds              49 net/core/scm.c 	kgid_t gid = make_kgid(cred->user_ns, creds->gid);
creds              54 net/core/scm.c 	if ((creds->pid == task_tgid_vnr(current) ||
creds             164 net/core/scm.c 			struct ucred creds;
creds             169 net/core/scm.c 			memcpy(&creds, CMSG_DATA(cmsg), sizeof(struct ucred));
creds             170 net/core/scm.c 			err = scm_check_creds(&creds);
creds             174 net/core/scm.c 			p->creds.pid = creds.pid;
creds             175 net/core/scm.c 			if (!p->pid || pid_vnr(p->pid) != creds.pid) {
creds             178 net/core/scm.c 				pid = find_get_pid(creds.pid);
creds             186 net/core/scm.c 			uid = make_kuid(current_user_ns(), creds.uid);
creds             187 net/core/scm.c 			gid = make_kgid(current_user_ns(), creds.gid);
creds             191 net/core/scm.c 			p->creds.uid = uid;
creds             192 net/core/scm.c 			p->creds.gid = gid;
creds             166 net/netlink/af_netlink.c 	NETLINK_CB(new).creds = NETLINK_CB(skb).creds;
creds            1899 net/netlink/af_netlink.c 	NETLINK_CB(skb).creds	= scm.creds;
creds            1993 net/netlink/af_netlink.c 	scm.creds = *NETLINK_CREDS(skb);
creds             333 net/sunrpc/auth_gss/gss_rpc_upcall.c 			data->creds = *(struct svc_cred *)value->data;
creds             347 net/sunrpc/auth_gss/gss_rpc_upcall.c 			data->creds.cr_raw_principal =
creds             349 net/sunrpc/auth_gss/gss_rpc_upcall.c 			data->creds.cr_principal =
creds             351 net/sunrpc/auth_gss/gss_rpc_upcall.c 			gssp_hostbased_service(&data->creds.cr_principal);
creds             354 net/sunrpc/auth_gss/gss_rpc_upcall.c 			data->creds.cr_targ_princ =
creds             356 net/sunrpc/auth_gss/gss_rpc_upcall.c 			gssp_hostbased_service(&data->creds.cr_targ_princ);
creds             370 net/sunrpc/auth_gss/gss_rpc_upcall.c 	free_svc_cred(&data->creds);
creds              22 net/sunrpc/auth_gss/gss_rpc_upcall.h 	struct svc_cred creds;
creds             169 net/sunrpc/auth_gss/gss_rpc_xdr.c 				struct svc_cred *creds)
creds             190 net/sunrpc/auth_gss/gss_rpc_xdr.c 	creds->cr_uid = make_kuid(&init_user_ns, tmp);
creds             196 net/sunrpc/auth_gss/gss_rpc_xdr.c 	creds->cr_gid = make_kgid(&init_user_ns, tmp);
creds             205 net/sunrpc/auth_gss/gss_rpc_xdr.c 	creds->cr_group_info = groups_alloc(N);
creds             206 net/sunrpc/auth_gss/gss_rpc_xdr.c 	if (creds->cr_group_info == NULL)
creds             219 net/sunrpc/auth_gss/gss_rpc_xdr.c 		creds->cr_group_info->gid[i] = kgid;
creds             221 net/sunrpc/auth_gss/gss_rpc_xdr.c 	groups_sort(creds->cr_group_info);
creds             225 net/sunrpc/auth_gss/gss_rpc_xdr.c 	groups_free(creds->cr_group_info);
creds             232 net/sunrpc/auth_gss/gss_rpc_xdr.c 	struct svc_cred *creds;
creds             251 net/sunrpc/auth_gss/gss_rpc_xdr.c 	creds = kzalloc(sizeof(struct svc_cred), GFP_KERNEL);
creds             252 net/sunrpc/auth_gss/gss_rpc_xdr.c 	if (!creds) {
creds             259 net/sunrpc/auth_gss/gss_rpc_xdr.c 	oa->data[0].value.data = (void *)creds;
creds             279 net/sunrpc/auth_gss/gss_rpc_xdr.c 			err = gssx_dec_linux_creds(xdr, creds);
creds            1247 net/sunrpc/auth_gss/svcauth_gss.c 		rsci.cred = ud->creds;
creds            1248 net/sunrpc/auth_gss/svcauth_gss.c 		memset(&ud->creds, 0, sizeof(struct svc_cred));
creds            1513 net/unix/af_unix.c 	UNIXCB(skb).uid = scm->creds.uid;
creds            1514 net/unix/af_unix.c 	UNIXCB(skb).gid = scm->creds.gid;
creds            1561 net/unix/af_unix.c 		current_uid_gid(&scm->creds.uid, &scm->creds.gid);
creds            1572 net/unix/af_unix.c 	       uid_eq(u->uid, scm->creds.uid) &&
creds            1573 net/unix/af_unix.c 	       gid_eq(u->gid, scm->creds.gid) &&