Lines Matching refs:cu_msg

666 	struct cld_msg		 cu_msg;  member
674 struct cld_upcall *cup = container_of(cmsg, struct cld_upcall, cu_msg); in __cld_pipe_upcall()
735 if (get_unaligned(&tmp->cu_msg.cm_xid) == xid) { in cld_pipe_downcall()
749 if (copy_from_user(&cup->cu_msg, src, mlen) != 0) in cld_pipe_downcall()
761 cu_msg); in cld_pipe_destroy_msg()
892 if (tmp->cu_msg.cm_xid == cn->cn_xid) { in alloc_cld_upcall()
899 new->cu_msg.cm_vers = CLD_UPCALL_VERSION; in alloc_cld_upcall()
900 put_unaligned(cn->cn_xid++, &new->cu_msg.cm_xid); in alloc_cld_upcall()
905 dprintk("%s: allocated xid %u\n", __func__, new->cu_msg.cm_xid); in alloc_cld_upcall()
940 cup->cu_msg.cm_cmd = Cld_Create; in nfsd4_cld_create()
941 cup->cu_msg.cm_u.cm_name.cn_len = clp->cl_name.len; in nfsd4_cld_create()
942 memcpy(cup->cu_msg.cm_u.cm_name.cn_id, clp->cl_name.data, in nfsd4_cld_create()
945 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_msg); in nfsd4_cld_create()
947 ret = cup->cu_msg.cm_status; in nfsd4_cld_create()
977 cup->cu_msg.cm_cmd = Cld_Remove; in nfsd4_cld_remove()
978 cup->cu_msg.cm_u.cm_name.cn_len = clp->cl_name.len; in nfsd4_cld_remove()
979 memcpy(cup->cu_msg.cm_u.cm_name.cn_id, clp->cl_name.data, in nfsd4_cld_remove()
982 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_msg); in nfsd4_cld_remove()
984 ret = cup->cu_msg.cm_status; in nfsd4_cld_remove()
1015 cup->cu_msg.cm_cmd = Cld_Check; in nfsd4_cld_check()
1016 cup->cu_msg.cm_u.cm_name.cn_len = clp->cl_name.len; in nfsd4_cld_check()
1017 memcpy(cup->cu_msg.cm_u.cm_name.cn_id, clp->cl_name.data, in nfsd4_cld_check()
1020 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_msg); in nfsd4_cld_check()
1022 ret = cup->cu_msg.cm_status; in nfsd4_cld_check()
1043 cup->cu_msg.cm_cmd = Cld_GraceDone; in nfsd4_cld_grace_done()
1044 cup->cu_msg.cm_u.cm_gracetime = (int64_t)nn->boot_time; in nfsd4_cld_grace_done()
1045 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_msg); in nfsd4_cld_grace_done()
1047 ret = cup->cu_msg.cm_status; in nfsd4_cld_grace_done()