Searched refs:setclientid (Results 1 – 5 of 5) sorted by relevance
/fs/nfsd/ |
D | nfs4xdr.c | 1327 nfsd4_decode_setclientid(struct nfsd4_compoundargs *argp, struct nfsd4_setclientid *setclientid) in nfsd4_decode_setclientid() argument 1331 memset(setclientid, 0, sizeof(*setclientid)); in nfsd4_decode_setclientid() 1336 status = nfsd4_decode_verifier4(argp, &setclientid->se_verf); in nfsd4_decode_setclientid() 1339 status = nfsd4_decode_opaque(argp, &setclientid->se_name); in nfsd4_decode_setclientid() 1342 if (xdr_stream_decode_u32(argp->xdr, &setclientid->se_callback_prog) < 0) in nfsd4_decode_setclientid() 1344 if (xdr_stream_decode_u32(argp->xdr, &setclientid->se_callback_netid_len) < 0) in nfsd4_decode_setclientid() 1346 p = xdr_inline_decode(argp->xdr, setclientid->se_callback_netid_len); in nfsd4_decode_setclientid() 1349 setclientid->se_callback_netid_val = svcxdr_savemem(argp, p, in nfsd4_decode_setclientid() 1350 setclientid->se_callback_netid_len); in nfsd4_decode_setclientid() 1351 if (!setclientid->se_callback_netid_val) in nfsd4_decode_setclientid() [all …]
|
D | xdr4.h | 665 struct nfsd4_setclientid setclientid; member
|
D | nfs4state.c | 4138 struct nfsd4_setclientid *setclid = &u->setclientid; in nfsd4_setclientid()
|
/fs/nfs/ |
D | nfs4xdr.c | 1729 static void encode_setclientid(struct xdr_stream *xdr, const struct nfs4_setclientid *setclientid, … in encode_setclientid() argument 1734 encode_nfs4_verifier(xdr, setclientid->sc_verifier); in encode_setclientid() 1736 encode_string(xdr, strlen(setclientid->sc_clnt->cl_owner_id), in encode_setclientid() 1737 setclientid->sc_clnt->cl_owner_id); in encode_setclientid() 1739 *p = cpu_to_be32(setclientid->sc_prog); in encode_setclientid() 1740 encode_string(xdr, setclientid->sc_netid_len, setclientid->sc_netid); in encode_setclientid() 1741 encode_string(xdr, setclientid->sc_uaddr_len, setclientid->sc_uaddr); in encode_setclientid() 1743 *p = cpu_to_be32(setclientid->sc_clnt->cl_cb_ident); in encode_setclientid()
|
D | nfs4proc.c | 6439 struct nfs4_setclientid setclientid = { in nfs4_proc_setclientid() local 6446 .rpc_argp = &setclientid, in nfs4_proc_setclientid() 6454 .callback_data = &setclientid, in nfs4_proc_setclientid() 6472 setclientid.sc_netid_len = in nfs4_proc_setclientid() 6474 setclientid.sc_netid, in nfs4_proc_setclientid() 6475 sizeof(setclientid.sc_netid)); in nfs4_proc_setclientid() 6476 setclientid.sc_uaddr_len = scnprintf(setclientid.sc_uaddr, in nfs4_proc_setclientid() 6477 sizeof(setclientid.sc_uaddr), "%s.%u.%u", in nfs4_proc_setclientid() 6485 if (setclientid.sc_cred) { in nfs4_proc_setclientid() 6487 clp->cl_acceptor = rpcauth_stringify_acceptor(setclientid.sc_cred); in nfs4_proc_setclientid() [all …]
|