Lines Matching refs:uid
244 kuid_t uid; member
298 __gss_find_upcall(struct rpc_pipe *pipe, kuid_t uid, const struct gss_auth *auth) in __gss_find_upcall() argument
302 if (!uid_eq(pos->uid, uid)) in __gss_find_upcall()
323 old = __gss_find_upcall(pipe, gss_msg->uid, gss_msg->auth); in gss_add_msg()
393 uid_t uid = from_kuid_munged(userns, gss_msg->uid); in gss_encode_v0_msg() local
394 memcpy(gss_msg->databuf, &uid, sizeof(uid)); in gss_encode_v0_msg()
396 gss_msg->msg.len = sizeof(uid); in gss_encode_v0_msg()
398 BUILD_BUG_ON(sizeof(uid) > sizeof(gss_msg->databuf)); in gss_encode_v0_msg()
425 from_kuid_munged(userns, gss_msg->uid)); in gss_encode_v1_msg()
507 kuid_t uid, const char *service_name) in gss_alloc_msg() argument
525 gss_msg->uid = uid; in gss_alloc_msg()
550 kuid_t uid = cred->cr_cred->fsuid; in gss_setup_upcall() local
552 gss_new = gss_alloc_msg(gss_auth, uid, gss_cred->gc_principal); in gss_setup_upcall()
689 gss_find_downcall(struct rpc_pipe *pipe, kuid_t uid) in gss_find_downcall() argument
693 if (!uid_eq(pos->uid, uid)) in gss_find_downcall()
714 kuid_t uid; in gss_pipe_downcall() local
735 uid = make_kuid(current_user_ns(), id); in gss_pipe_downcall()
736 if (!uid_valid(uid)) { in gss_pipe_downcall()
749 gss_msg = gss_find_downcall(pipe, uid); in gss_pipe_downcall()