Lines Matching refs:clp
770 CLIENT *clp; in nfs_tryproto() local
852 clp = clnt_tli_create(RPC_ANYFD, nconf, &nfs_nb, NFS_PROGRAM, nfsvers, in nfs_tryproto()
854 if (clp == NULL) { in nfs_tryproto()
867 if (!clnt_control(clp, CLSET_CONNECT, (char *)&doconnect)) { in nfs_tryproto()
868 clnt_destroy(clp); in nfs_tryproto()
878 clntstat = clnt_call(clp, NFSPROC_NULL, (xdrproc_t)xdr_void, NULL, in nfs_tryproto()
882 clnt_destroy(clp); in nfs_tryproto()
886 clnt_geterr(clp, &rpcerr); in nfs_tryproto()
888 hostp, spec, clnt_sperror(clp, "NFSPROC_NULL")); in nfs_tryproto()
889 clnt_destroy(clp); in nfs_tryproto()
892 clnt_destroy(clp); in nfs_tryproto()
953 clp = clnt_tli_create(RPC_ANYFD, nconf_mnt, &nfs_nb, MOUNTPROG, in nfs_tryproto()
957 clp = clnt_tp_create(hostp, MOUNTPROG, mntvers, nconf_mnt); in nfs_tryproto()
959 if (clp == NULL) { in nfs_tryproto()
966 clp->cl_auth = authsys_create_default(); in nfs_tryproto()
969 clntstat = clnt_call(clp, MOUNTPROC_MNT, (xdrproc_t)xdr_dir, spec, in nfs_tryproto()
971 auth_destroy(clp->cl_auth); in nfs_tryproto()
975 clnt_destroy(clp); in nfs_tryproto()
979 clnt_geterr(clp, &rpcerr); in nfs_tryproto()
981 hostp, spec, clnt_sperror(clp, "RPCPROG_MNT")); in nfs_tryproto()
982 clnt_destroy(clp); in nfs_tryproto()
985 clnt_destroy(clp); in nfs_tryproto()