Lines Matching refs:cu_u
746 } cu_u; member
754 struct cld_upcall *cup = container_of(cmsg, struct cld_upcall, cu_u); in __cld_pipe_upcall()
889 if (get_unaligned(&tmp->cu_u.cu_hdr.cm_xid) == xid) { in cld_pipe_downcall()
907 if (copy_from_user(&cup->cu_u.cu_msg_v2, src, mlen) != 0) in cld_pipe_downcall()
919 cu_u.cu_msg); in cld_pipe_destroy_msg()
1065 if (tmp->cu_u.cu_msg.cm_xid == cn->cn_xid) { in alloc_cld_upcall()
1072 new->cu_u.cu_msg.cm_vers = nn->client_tracking_ops->version; in alloc_cld_upcall()
1073 put_unaligned(cn->cn_xid++, &new->cu_u.cu_msg.cm_xid); in alloc_cld_upcall()
1078 dprintk("%s: allocated xid %u\n", __func__, new->cu_u.cu_msg.cm_xid); in alloc_cld_upcall()
1113 cup->cu_u.cu_msg.cm_cmd = Cld_Create; in nfsd4_cld_create()
1114 cup->cu_u.cu_msg.cm_u.cm_name.cn_len = clp->cl_name.len; in nfsd4_cld_create()
1115 memcpy(cup->cu_u.cu_msg.cm_u.cm_name.cn_id, clp->cl_name.data, in nfsd4_cld_create()
1118 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_u.cu_msg, nn); in nfsd4_cld_create()
1120 ret = cup->cu_u.cu_msg.cm_status; in nfsd4_cld_create()
1154 cmsg = &cup->cu_u.cu_msg_v2; in nfsd4_cld_create_v2()
1216 cup->cu_u.cu_msg.cm_cmd = Cld_Remove; in nfsd4_cld_remove()
1217 cup->cu_u.cu_msg.cm_u.cm_name.cn_len = clp->cl_name.len; in nfsd4_cld_remove()
1218 memcpy(cup->cu_u.cu_msg.cm_u.cm_name.cn_id, clp->cl_name.data, in nfsd4_cld_remove()
1221 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_u.cu_msg, nn); in nfsd4_cld_remove()
1223 ret = cup->cu_u.cu_msg.cm_status; in nfsd4_cld_remove()
1259 cup->cu_u.cu_msg.cm_cmd = Cld_Check; in nfsd4_cld_check_v0()
1260 cup->cu_u.cu_msg.cm_u.cm_name.cn_len = clp->cl_name.len; in nfsd4_cld_check_v0()
1261 memcpy(cup->cu_u.cu_msg.cm_u.cm_name.cn_id, clp->cl_name.data, in nfsd4_cld_check_v0()
1264 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_u.cu_msg, nn); in nfsd4_cld_check_v0()
1266 ret = cup->cu_u.cu_msg.cm_status; in nfsd4_cld_check_v0()
1406 cup->cu_u.cu_msg.cm_cmd = Cld_GraceStart; in nfsd4_cld_grace_start()
1407 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_u.cu_msg, nn); in nfsd4_cld_grace_start()
1409 ret = cup->cu_u.cu_msg.cm_status; in nfsd4_cld_grace_start()
1433 cup->cu_u.cu_msg.cm_cmd = Cld_GraceDone; in nfsd4_cld_grace_done_v0()
1434 cup->cu_u.cu_msg.cm_u.cm_gracetime = nn->boot_time; in nfsd4_cld_grace_done_v0()
1435 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_u.cu_msg, nn); in nfsd4_cld_grace_done_v0()
1437 ret = cup->cu_u.cu_msg.cm_status; in nfsd4_cld_grace_done_v0()
1462 cup->cu_u.cu_msg.cm_cmd = Cld_GraceDone; in nfsd4_cld_grace_done()
1463 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_u.cu_msg, nn); in nfsd4_cld_grace_done()
1465 ret = cup->cu_u.cu_msg.cm_status; in nfsd4_cld_grace_done()
1526 cup->cu_u.cu_msg.cm_cmd = Cld_GetVersion; in nfsd4_cld_get_version()
1527 ret = cld_pipe_upcall(cn->cn_pipe, &cup->cu_u.cu_msg, nn); in nfsd4_cld_get_version()
1529 ret = cup->cu_u.cu_msg.cm_status; in nfsd4_cld_get_version()
1532 version = cup->cu_u.cu_msg.cm_u.cm_version; in nfsd4_cld_get_version()