• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/auth_gss/

Lines Matching defs:rqstp

1231 		kxdrproc_t encode, struct rpc_rqst *rqstp, __be32 *p, void *obj)
1233 struct xdr_buf *snd_buf = &rqstp->rq_snd_buf;
1245 *p++ = htonl(rqstp->rq_seqno);
1247 status = encode(rqstp, p, obj);
1279 priv_release_snd_buf(struct rpc_rqst *rqstp)
1283 for (i=0; i < rqstp->rq_enc_pages_num; i++)
1284 __free_page(rqstp->rq_enc_pages[i]);
1285 kfree(rqstp->rq_enc_pages);
1289 alloc_enc_pages(struct rpc_rqst *rqstp)
1291 struct xdr_buf *snd_buf = &rqstp->rq_snd_buf;
1295 rqstp->rq_enc_pages_num = 0;
1301 rqstp->rq_enc_pages_num = last - first + 1 + 1;
1302 rqstp->rq_enc_pages
1303 = kmalloc(rqstp->rq_enc_pages_num * sizeof(struct page *),
1305 if (!rqstp->rq_enc_pages)
1307 for (i=0; i < rqstp->rq_enc_pages_num; i++) {
1308 rqstp->rq_enc_pages[i] = alloc_page(GFP_NOFS);
1309 if (rqstp->rq_enc_pages[i] == NULL)
1312 rqstp->rq_release_snd_buf = priv_release_snd_buf;
1315 rqstp->rq_enc_pages_num = i;
1316 priv_release_snd_buf(rqstp);
1323 kxdrproc_t encode, struct rpc_rqst *rqstp, __be32 *p, void *obj)
1325 struct xdr_buf *snd_buf = &rqstp->rq_snd_buf;
1338 *p++ = htonl(rqstp->rq_seqno);
1340 status = encode(rqstp, p, obj);
1344 status = alloc_enc_pages(rqstp);
1349 snd_buf->pages = rqstp->rq_enc_pages;
1360 tmp = page_address(rqstp->rq_enc_pages[rqstp->rq_enc_pages_num - 1]);
1392 kxdrproc_t encode, void *rqstp, __be32 *p, void *obj)
1405 status = encode(rqstp, p, obj);
1410 status = encode(rqstp, p, obj);
1414 rqstp, p, obj);
1418 rqstp, p, obj);
1429 struct rpc_rqst *rqstp, __be32 **p)
1431 struct xdr_buf *rcv_buf = &rqstp->rq_rcv_buf;
1446 if (ntohl(*(*p)++) != rqstp->rq_seqno)
1466 struct rpc_rqst *rqstp, __be32 **p)
1468 struct xdr_buf *rcv_buf = &rqstp->rq_rcv_buf;
1486 if (ntohl(*(*p)++) != rqstp->rq_seqno)
1495 kxdrproc_t decode, void *rqstp, __be32 *p, void *obj)
1502 struct kvec *head = ((struct rpc_rqst *)rqstp)->rq_rcv_buf.head;
1512 status = gss_unwrap_resp_integ(cred, ctx, rqstp, &p);
1517 status = gss_unwrap_resp_priv(cred, ctx, rqstp, &p);
1526 status = decode(rqstp, p, obj);