Lines Matching refs:uid
291 kuid_t uid; member
343 __gss_find_upcall(struct rpc_pipe *pipe, kuid_t uid, const struct gss_auth *auth) in __gss_find_upcall() argument
347 if (!uid_eq(pos->uid, uid)) in __gss_find_upcall()
370 old = __gss_find_upcall(pipe, gss_msg->uid, gss_msg->auth); in gss_add_msg()
437 uid_t uid = from_kuid(&init_user_ns, gss_msg->uid); in gss_encode_v0_msg() local
438 memcpy(gss_msg->databuf, &uid, sizeof(uid)); in gss_encode_v0_msg()
440 gss_msg->msg.len = sizeof(uid); in gss_encode_v0_msg()
442 BUILD_BUG_ON(sizeof(uid) > sizeof(gss_msg->databuf)); in gss_encode_v0_msg()
455 from_kuid(&init_user_ns, gss_msg->uid)); in gss_encode_v1_msg()
492 kuid_t uid, const char *service_name) in gss_alloc_msg() argument
510 gss_msg->uid = uid; in gss_alloc_msg()
537 kuid_t uid = cred->cr_uid; in gss_setup_upcall() local
539 gss_new = gss_alloc_msg(gss_auth, uid, gss_cred->gc_principal); in gss_setup_upcall()
688 kuid_t uid; in gss_pipe_downcall() local
709 uid = make_kuid(&init_user_ns, id); in gss_pipe_downcall()
710 if (!uid_valid(uid)) { in gss_pipe_downcall()
723 gss_msg = __gss_find_upcall(pipe, uid, NULL); in gss_pipe_downcall()
1309 return hash_64(from_kuid(&init_user_ns, acred->uid), hashbits); in gss_hash_cred()
1329 __func__, from_kuid(&init_user_ns, acred->uid), in gss_create_cred()
1470 ret = uid_eq(rc->cr_uid, acred->uid); in gss_match()
1555 .uid = oldcred->cr_uid, in gss_renew_cred()