Lines Matching refs:rlen
620 int rlen; in nfs_readlink_reply() local
644 rlen = ntohl(rpc_pkt.u.reply.data[1 + nfsv3_data_offset]); in nfs_readlink_reply()
646 if (((uchar *)&(rpc_pkt.u.reply.data[0]) - (uchar *)(&rpc_pkt) + rlen) > len) in nfs_readlink_reply()
656 rlen); in nfs_readlink_reply()
657 nfs_path[pathlen + rlen] = 0; in nfs_readlink_reply()
661 rlen); in nfs_readlink_reply()
662 nfs_path[rlen] = 0; in nfs_readlink_reply()
670 int rlen; in nfs_read_reply() local
700 rlen = ntohl(rpc_pkt.u.reply.data[18]); in nfs_read_reply()
707 rlen = ntohl(rpc_pkt.u.reply.data[1 + nfsv3_data_offset]); in nfs_read_reply()
716 if (((uchar *)&(rpc_pkt.u.reply.data[0]) - (uchar *)(&rpc_pkt) + rlen) > len) in nfs_read_reply()
719 if (store_block(data_ptr, nfs_offset, rlen)) in nfs_read_reply()
722 return rlen; in nfs_read_reply()
745 int rlen; in nfs_handler() local
842 rlen = nfs_read_reply(pkt, len); in nfs_handler()
843 if (rlen == -NFS_RPC_DROP) in nfs_handler()
846 if (rlen > 0) { in nfs_handler()
847 nfs_offset += rlen; in nfs_handler()
849 } else if ((rlen == -NFSERR_ISDIR) || (rlen == -NFSERR_INVAL)) { in nfs_handler()
854 if (!rlen) in nfs_handler()
856 if (rlen < 0) in nfs_handler()
857 debug("NFS READ error (%d)\n", rlen); in nfs_handler()