Lines Matching refs:reply

365 is_successful_reply(struct XDRInPacket *reply)
369 int32 xid = XDRInPacketGetInt32(reply);
370 rpc_msg_type mtype=(rpc_msg_type)XDRInPacketGetInt32(reply);
371 rpc_reply_stat replyStat=(rpc_reply_stat)XDRInPacketGetInt32(reply);
376 rpc_reject_stat rejectStat = (rpc_reject_stat)XDRInPacketGetInt32(reply);
379 int32 low = XDRInPacketGetInt32(reply);
380 int32 high = XDRInPacketGetInt32(reply);
385 rpc_auth_stat authStat = (rpc_auth_stat)XDRInPacketGetInt32(reply);
390 rpc_auth_flavor flavor = (rpc_auth_flavor)XDRInPacketGetInt32(reply);
393 XDRInPacketGetDynamic(reply, body, &bodyLength);
395 rpc_accept_stat acceptStat = (rpc_accept_stat)XDRInPacketGetInt32(reply);
400 int32 low = XDRInPacketGetInt32(reply);
401 int32 high = XDRInPacketGetInt32(reply);
435 struct XDRInPacket reply;
436 XDRInPacketInit(&reply);
438 XDRInPacketSetTo(&reply,replyBuf,0);
440 if (is_successful_reply(&reply)) {
441 addr->sin_port = htons(XDRInPacketGetInt32(&reply));
444 XDRInPacketDestroy(&reply);
449 XDRInPacketDestroy(&reply);
460 struct XDRInPacket reply;
465 XDRInPacketInit(&reply);
473 XDRInPacketDestroy(&reply);
478 XDRInPacketSetTo(&reply, replyBuf, 0);
480 if (!is_successful_reply(&reply)) {
481 XDRInPacketDestroy(&reply);
486 fhstatus = XDRInPacketGetInt32(&reply);
489 XDRInPacketDestroy(&reply);
494 fhstatus = XDRInPacketGetFixed(&reply, fhandle->opaque, NFS_FHSIZE);
496 XDRInPacketDestroy(&reply);
508 struct XDRInPacket reply;
513 XDRInPacketInit(&reply);
522 XDRInPacketDestroy(&reply);
527 XDRInPacketSetTo(&reply, replyBuf, 0);
529 if (!is_successful_reply(&reply)) {
530 XDRInPacketDestroy(&reply);
535 status = XDRInPacketGetInt32(&reply);
538 XDRInPacketDestroy(&reply);
543 status = XDRInPacketGetFixed(&reply, fhandle->opaque, NFS_FHSIZE);
546 XDRInPacketDestroy(&reply);
552 get_nfs_attr(&reply, st);
554 XDRInPacketDestroy(&reply);
564 struct XDRInPacket reply;
569 XDRInPacketInit(&reply);
576 XDRInPacketDestroy(&reply);
581 XDRInPacketSetTo(&reply, replyBuf, 0);
583 if (!is_successful_reply(&reply)) {
584 XDRInPacketDestroy(&reply);
589 status = XDRInPacketGetInt32(&reply);
591 XDRInPacketDestroy(&reply);
596 get_nfs_attr(&reply, st);
598 XDRInPacketDestroy(&reply);
608 struct XDRInPacket reply;
613 XDRInPacketInit(&reply);
629 XDRInPacketDestroy(&reply);
634 XDRInPacketSetTo(&reply, replyBuf, 0);
636 if (!is_successful_reply(&reply)) {
637 XDRInPacketDestroy(&reply);
642 status = XDRInPacketGetInt32(&reply);
644 XDRInPacketDestroy(&reply);
650 get_nfs_attr(&reply,st);
652 XDRInPacketDestroy(&reply);
659 get_nfs_attr(struct XDRInPacket *reply, struct stat *st)
661 nfs_ftype ftype=(nfs_ftype)XDRInPacketGetInt32(reply);
663 st->st_mode=XDRInPacketGetInt32(reply);
666 st->st_nlink=XDRInPacketGetInt32(reply);
667 st->st_uid=XDRInPacketGetInt32(reply);
668 st->st_gid=XDRInPacketGetInt32(reply);
669 st->st_size=XDRInPacketGetInt32(reply);
670 st->st_blksize=XDRInPacketGetInt32(reply);
671 st->st_rdev=XDRInPacketGetInt32(reply);
672 st->st_blocks=XDRInPacketGetInt32(reply);
673 XDRInPacketGetInt32(reply); // fsid
674 st->st_ino=XDRInPacketGetInt32(reply);
675 st->st_atime=XDRInPacketGetInt32(reply);
676 XDRInPacketGetInt32(reply); // usecs
677 st->st_mtime=st->st_crtime=XDRInPacketGetInt32(reply);
678 XDRInPacketGetInt32(reply); // usecs
679 st->st_ctime=XDRInPacketGetInt32(reply);
680 XDRInPacketGetInt32(reply); // usecs
972 struct XDRInPacket reply;
976 XDRInPacketInit(&reply);
986 XDRInPacketDestroy(&reply);
991 XDRInPacketSetTo(&reply, replyBuf, 0);
993 if (!is_successful_reply(&reply)) {
994 XDRInPacketDestroy(&reply);
999 status = XDRInPacketGetInt32(&reply);
1002 XDRInPacketDestroy(&reply);
1007 while (XDRInPacketGetInt32(&reply) == 1) {
1010 vnid=XDRInPacketGetInt32(&reply);
1011 filename=XDRInPacketGetString(&reply);
1013 status = XDRInPacketGetFixed(&reply, newCookie.opaque,
1033 XDRInPacketDestroy (&reply);
1043 XDRInPacketDestroy(&reply);
1070 XDRInPacketDestroy(&reply);
1076 eof=XDRInPacketGetInt32(&reply);
1078 XDRInPacketDestroy (&reply);
1378 struct XDRInPacket reply;
1389 XDRInPacketInit(&reply);
1396 XDRInPacketDestroy(&reply);
1401 XDRInPacketSetTo(&reply, replyBuf, 0);
1403 if (!is_successful_reply(&reply)) {
1404 XDRInPacketDestroy(&reply);
1409 status = XDRInPacketGetInt32(&reply);
1411 XDRInPacketDestroy(&reply);
1421 XDRInPacketGetInt32(&reply); // tsize
1423 info->block_size = XDRInPacketGetInt32(&reply);
1425 info->total_blocks = XDRInPacketGetInt32(&reply);
1426 info->free_blocks = XDRInPacketGetInt32(&reply);
1434 XDRInPacketDestroy(&reply);
1518 struct XDRInPacket reply;
1525 XDRInPacketInit(&reply);
1535 XDRInPacketDestroy(&reply);
1540 XDRInPacketSetTo(&reply, replyBuf, 0);
1542 if (!is_successful_reply(&reply)) {
1543 XDRInPacketDestroy(&reply);
1548 status = XDRInPacketGetInt32(&reply);
1550 XDRInPacketDestroy(&reply);
1555 get_nfs_attr(&reply, &st);
1558 status_t err = XDRInPacketGetDynamic(&reply, buf, &readbytes);
1566 XDRInPacketDestroy(&reply);
1599 struct XDRInPacket reply;
1605 XDRInPacketInit(&reply);
1619 XDRInPacketDestroy(&reply);
1624 XDRInPacketSetTo(&reply, replyBuf, 0);
1626 if (!is_successful_reply(&reply)) {
1627 XDRInPacketDestroy(&reply);
1632 status = XDRInPacketGetInt32(&reply);
1635 XDRInPacketDestroy(&reply);
1640 get_nfs_attr(&reply, &st);
1646 XDRInPacketDestroy(&reply);
1660 struct XDRInPacket reply;
1669 XDRInPacketInit(&reply);
1686 XDRInPacketDestroy(&reply);
1691 XDRInPacketSetTo(&reply, replyBuf, 0);
1693 if (!is_successful_reply(&reply)) {
1694 XDRInPacketDestroy(&reply);
1699 status = XDRInPacketGetInt32(&reply);
1704 XDRInPacketDestroy(&reply);
1779 struct XDRInPacket reply;
1790 XDRInPacketInit(&reply);
1807 XDRInPacketDestroy(&reply);
1812 XDRInPacketSetTo(&reply, replyBuf, 0);
1814 if (!is_successful_reply(&reply)) {
1815 XDRInPacketDestroy(&reply);
1820 status = XDRInPacketGetInt32(&reply);
1823 XDRInPacketDestroy(&reply);
1828 status = XDRInPacketGetFixed(&reply, fhandle.opaque, NFS_FHSIZE);
1831 XDRInPacketDestroy(&reply);
1836 get_nfs_attr(&reply,&st);
1840 XDRInPacketDestroy(&reply);
1853 XDRInPacketDestroy(&reply);
1864 XDRInPacketDestroy(&reply);
1869 XDRInPacketDestroy(&reply);
1886 struct XDRInPacket reply;
1898 XDRInPacketInit(&reply);
1901 XDRInPacketDestroy(&reply);
1908 XDRInPacketDestroy(&reply);
1919 XDRInPacketDestroy(&reply);
1925 XDRInPacketDestroy(&reply);
1931 XDRInPacketDestroy(&reply);
1937 XDRInPacketDestroy(&reply);
1948 XDRInPacketDestroy(&reply);
1953 XDRInPacketSetTo(&reply, replyBuf, 0);
1955 if (!is_successful_reply(&reply)) {
1956 XDRInPacketDestroy(&reply);
1961 status = XDRInPacketGetInt32(&reply);
1964 XDRInPacketDestroy(&reply);
1969 XDRInPacketDestroy(&reply);
2005 struct XDRInPacket reply;
2011 XDRInPacketInit(&reply);
2018 XDRInPacketDestroy(&reply);
2025 XDRInPacketDestroy(&reply);
2045 XDRInPacketDestroy(&reply);
2050 XDRInPacketSetTo(&reply, replyBuf, 0);
2052 if (!is_successful_reply(&reply)) {
2053 XDRInPacketDestroy(&reply);
2058 status = XDRInPacketGetInt32(&reply);
2065 status = XDRInPacketGetFixed(&reply, fhandle.opaque, NFS_FHSIZE);
2072 get_nfs_attr(&reply, &st);
2076 XDRInPacketDestroy(&reply);
2086 XDRInPacketDestroy(&reply);
2100 struct XDRInPacket reply;
2112 XDRInPacketInit(&reply);
2122 XDRInPacketDestroy (&reply);
2130 XDRInPacketDestroy(&reply);
2144 XDRInPacketDestroy(&reply);
2149 XDRInPacketSetTo(&reply, replyBuf, 0);
2151 if (!is_successful_reply(&reply)) {
2152 XDRInPacketDestroy(&reply);
2157 status = XDRInPacketGetInt32(&reply);
2160 XDRInPacketDestroy(&reply);
2165 XDRInPacketDestroy (&reply);
2183 struct XDRInPacket reply;
2194 XDRInPacketInit(&reply);
2197 XDRInPacketDestroy(&reply);
2204 XDRInPacketDestroy(&reply);
2215 XDRInPacketDestroy(&reply);
2221 XDRInPacketDestroy(&reply);
2227 XDRInPacketDestroy(&reply);
2233 XDRInPacketDestroy(&reply);
2245 XDRInPacketDestroy(&reply);
2250 XDRInPacketSetTo (&reply,replyBuf,0);
2252 if (!is_successful_reply(&reply)) {
2253 XDRInPacketDestroy(&reply);
2258 status = XDRInPacketGetInt32(&reply);
2261 XDRInPacketDestroy(&reply);
2266 XDRInPacketDestroy(&reply);
2280 struct XDRInPacket reply;
2288 XDRInPacketInit(&reply);
2296 XDRInPacketDestroy(&reply);
2301 XDRInPacketSetTo (&reply, replyBuf, 0);
2303 if (!is_successful_reply(&reply)) {
2304 XDRInPacketDestroy(&reply);
2309 status = XDRInPacketGetInt32(&reply);
2312 XDRInPacketDestroy(&reply);
2317 XDRInPacketGetDynamic(&reply, data, &length);
2322 XDRInPacketDestroy(&reply);
2336 struct XDRInPacket reply;
2346 XDRInPacketInit(&reply);
2355 XDRInPacketDestroy(&reply);
2359 XDRInPacketDestroy(&reply);
2380 XDRInPacketDestroy(&reply);
2385 XDRInPacketSetTo(&reply, replyBuf, 0);
2387 if (!is_successful_reply(&reply)) {
2388 XDRInPacketDestroy(&reply);
2393 status = XDRInPacketGetInt32(&reply);
2404 XDRInPacketDestroy(&reply);
2411 XDRInPacketDestroy(&reply);
2422 XDRInPacketDestroy(&reply);