Lines Matching refs:ap
73 struct authnone_private *ap = authnone_private;
77 if (ap == NULL) {
78 ap = calloc(1, sizeof (*ap));
79 if (ap == NULL)
81 authnone_private = ap;
83 if (!ap->mcnt) {
84 ap->no_client.ah_cred = ap->no_client.ah_verf = _null_auth;
85 ap->no_client.ah_ops = &ops;
87 xdrmem_create(xdrs, ap->marshalled_client, (u_int)MAX_MARSHEL_SIZE,
89 (void)xdr_opaque_auth(xdrs, &ap->no_client.ah_cred);
90 (void)xdr_opaque_auth(xdrs, &ap->no_client.ah_verf);
91 ap->mcnt = XDR_GETPOS(xdrs);
94 return (&ap->no_client);
101 struct authnone_private *ap = authnone_private;
103 if (ap == NULL)
106 ap->marshalled_client, ap->mcnt));