Lines Matching refs:argp
433 static void encode_mon_name(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_name() argument
435 encode_nsm_string(xdr, argp->mon_name); in encode_mon_name()
444 static void encode_my_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_my_id() argument
448 encode_nsm_string(xdr, argp->nodename); in encode_my_id()
450 *p++ = cpu_to_be32(argp->prog); in encode_my_id()
451 *p++ = cpu_to_be32(argp->vers); in encode_my_id()
452 *p = cpu_to_be32(argp->proc); in encode_my_id()
459 static void encode_mon_id(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_mon_id() argument
461 encode_mon_name(xdr, argp); in encode_mon_id()
462 encode_my_id(xdr, argp); in encode_mon_id()
470 static void encode_priv(struct xdr_stream *xdr, const struct nsm_args *argp) in encode_priv() argument
475 xdr_encode_opaque_fixed(p, argp->priv->data, SM_PRIV_SIZE); in encode_priv()
479 const struct nsm_args *argp) in nsm_xdr_enc_mon() argument
481 encode_mon_id(xdr, argp); in nsm_xdr_enc_mon()
482 encode_priv(xdr, argp); in nsm_xdr_enc_mon()
486 const struct nsm_args *argp) in nsm_xdr_enc_unmon() argument
488 encode_mon_id(xdr, argp); in nsm_xdr_enc_unmon()