/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_client.c | 78 ndr_client_t *clnt = NULL; in ndr_rpc_bind() local 138 if ((clnt = malloc(sizeof (ndr_client_t))) == NULL) in ndr_rpc_bind() 140 bzero(clnt, sizeof (ndr_client_t)); in ndr_rpc_bind() 142 clnt->handle = &handle->handle; in ndr_rpc_bind() 143 clnt->xa_init = ndr_xa_init; in ndr_rpc_bind() 144 clnt->xa_exchange = ndr_xa_exchange; in ndr_rpc_bind() 145 clnt->xa_read = ndr_xa_read; in ndr_rpc_bind() 146 clnt->xa_preserve = ndr_xa_preserve; in ndr_rpc_bind() 147 clnt->xa_destruct = ndr_xa_destruct; in ndr_rpc_bind() 148 clnt->xa_release = ndr_xa_release; in ndr_rpc_bind() [all …]
|
/titanic_41/usr/src/lib/krb5/kadm5/clnt/ |
H A D | client_rpc.c | 37 create_principal_2(cprinc_arg *argp, CLIENT *clnt) in create_principal_2() argument 42 if (clnt == NULL) in create_principal_2() 45 if (clnt_call(clnt, CREATE_PRINCIPAL, in create_principal_2() 55 create_principal3_2(cprinc3_arg *argp, CLIENT *clnt) in create_principal3_2() argument 60 if (clnt == NULL) in create_principal3_2() 63 if (clnt_call(clnt, CREATE_PRINCIPAL3, in create_principal3_2() 73 delete_principal_2(dprinc_arg *argp, CLIENT *clnt) in delete_principal_2() argument 78 if (clnt == NULL) in delete_principal_2() 81 if (clnt_call(clnt, DELETE_PRINCIPAL, in delete_principal_2() 91 modify_principal_2(mprinc_arg *argp, CLIENT *clnt) in modify_principal_2() argument [all …]
|
H A D | client_init.c | 417 handle->clnt = clnt_tli_create(fd, nconf, NULL, in _kadm5_initialize_rpcsec_gss_handle() 421 handle->clnt = clnt_tli_create(fd, nconf, NULL, in _kadm5_initialize_rpcsec_gss_handle() 427 if (handle->clnt == NULL) { in _kadm5_initialize_rpcsec_gss_handle() 438 if (clnt_control(handle->clnt, CLSET_FD_CLOSE, NULL) != TRUE) { in _kadm5_initialize_rpcsec_gss_handle() 447 handle->lhandle->clnt = handle->clnt; in _kadm5_initialize_rpcsec_gss_handle() 509 handle->clnt->cl_auth = rpc_gss_seccreate(handle->clnt, in _kadm5_initialize_rpcsec_gss_handle() 524 if (handle->clnt->cl_auth == NULL) { in _kadm5_initialize_rpcsec_gss_handle() 543 r = init_2(&handle->api_version, handle->clnt); in _kadm5_initialize_rpcsec_gss_handle() 621 handle->clnt = 0; in _kadm5_init_any() 968 if(handle->clnt && handle->clnt->cl_auth) in _kadm5_init_any() [all …]
|
H A D | client_principal.c | 45 #define eret() {clnt_perror(handle->clnt, "null ret"); return KADM5_RPC_ERROR;} 98 r = create_principal_2(&arg, handle->clnt); in kadm5_create_principal() 159 r = create_principal3_2(&arg, handle->clnt); in kadm5_create_principal_3() 182 r = delete_principal_2(&arg, handle->clnt); in kadm5_delete_principal() 231 r = modify_principal_2(&arg, handle->clnt); in kadm5_modify_principal() 260 r = get_principal_2(&arg, handle->clnt); in kadm5_get_principal() 300 r = get_princs_2(&arg, handle->clnt); in kadm5_get_principals() 329 r = rename_principal_2(&arg, handle->clnt); in kadm5_rename_principal() 351 r = chpass_principal_2(&arg, handle->clnt); in kadm5_chpass_principal() 378 r = chpass_principal3_2(&arg, handle->clnt); in kadm5_chpass_principal_3() [all …]
|
H A D | clnt_policy.c | 59 r = create_policy_2(&arg, handle->clnt); in kadm5_create_policy() 81 r = delete_policy_2(&arg, handle->clnt); in kadm5_delete_policy() 105 r = modify_policy_2(&arg, handle->clnt); in kadm5_modify_policy() 127 r = get_policy_2(&arg, handle->clnt); in kadm5_get_policy() 164 r = get_pols_2(&arg, handle->clnt); in kadm5_get_policies()
|
/titanic_41/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_client.c | 41 ndr_clnt_bind(ndr_client_t *clnt, const char *service_name, in ndr_clnt_bind() argument 59 mxa.binding_list = clnt->binding_list; in ndr_clnt_bind() 63 ndr_clnt_init_hdr(clnt, &mxa); in ndr_clnt_bind() 75 pce->p_cont_id = clnt->next_p_cont_id++; in ndr_clnt_bind() 93 if ((*clnt->xa_init)(clnt, &mxa) < 0) in ndr_clnt_bind() 100 if ((*clnt->xa_exchange)(clnt, &mxa) < 0) { in ndr_clnt_bind() 110 (*clnt->xa_destruct)(clnt, &mxa); in ndr_clnt_bind() 127 mbind->clnt = clnt; in ndr_clnt_bind() 135 (*clnt->xa_destruct)(clnt, &mxa); in ndr_clnt_bind() 142 ndr_client_t *clnt = mbind->clnt; in ndr_clnt_call() local [all …]
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | mdeg.c | 87 static void mdeg_dump_clnt(mdeg_clnt_t *clnt); 213 mdeg_clnt_t *clnt; in mdeg_alloc_clnt() local 224 clnt = &mdeg.tbl[idx]; in mdeg_alloc_clnt() 225 if (!clnt->valid) { in mdeg_alloc_clnt() 257 clnt = &newtbl[mdeg.maxclnts]; in mdeg_alloc_clnt() 265 ASSERT(clnt->valid == 0); in mdeg_alloc_clnt() 267 clnt->hdl = MDEG_ALLOC_HDL(idx, MDEG_HDL2COUNT(clnt->hdl)); in mdeg_alloc_clnt() 269 return (clnt); in mdeg_alloc_clnt() 276 mdeg_clnt_t *clnt; in mdeg_get_client() local 286 clnt = &mdeg.tbl[idx]; in mdeg_get_client() [all …]
|
/titanic_41/usr/src/cmd/gss/gssd/ |
H A D | gssd_handle.c | 67 static CLIENT *clnt; local 76 if (clnt) 77 return (clnt); 91 clnt = clnt_tp_create(hostname, 93 if (clnt) { 102 if ((clnt == NULL) && (tpconf)) { 106 clnt = clnt_tp_create(hostname, GSSPROG, GSSVERS, tpconf); 108 if (clnt) { 125 if (clnt_control(clnt, CLSET_SVC_PRIV, NULL) != TRUE) { 126 clnt_destroy(clnt); [all …]
|
H A D | gssd_clnt_stubs.c | 63 CLIENT *clnt, *getgssd_handle(); variable 98 if ((clnt = getgssd_handle()) == NULL) { 155 if (gss_acquire_cred_1(&arg, &res, clnt) != RPC_SUCCESS) { 226 clnt_freeres(clnt, xdr_gss_acquire_cred_res, (caddr_t)&res); 295 CLIENT *clnt; local 307 if ((clnt = getgssd_handle()) == NULL) { 356 if (gss_add_cred_1(&arg, &res, clnt) != RPC_SUCCESS) { 417 clnt_freeres(clnt, xdr_gss_add_cred_res, (caddr_t)&res); 482 if ((clnt = getgssd_handle()) == NULL) { 502 if (gss_release_cred_1(&arg, &res, clnt) != RPC_SUCCESS) { [all …]
|
/titanic_41/usr/src/uts/common/gssapi/ |
H A D | gssd_clnt_stubs.c | 109 CLIENT *clnt; local 122 if ((clnt = getgssd_handle()) == NULL) { 134 killgssd_handle(clnt); 181 client_stat = gss_acquire_cred_1(&arg, &res, clnt); 209 killgssd_handle(clnt); 258 clnt_freeres(clnt, xdr_gss_acquire_cred_res, (caddr_t)&res); 259 killgssd_handle(clnt); 326 CLIENT *clnt; local 354 if ((clnt = getgssd_handle()) == NULL) { 367 killgssd_handle(clnt); [all …]
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mn_comm.c | 97 mdmn_handle_RPC_error(CLIENT *clnt, char *ident, md_mn_nodeid_t nid) in mdmn_handle_RPC_error() argument 106 CLNT_GETERR((CLIENT *) clnt, &e); in mdmn_handle_RPC_error() 116 clnt_sperror(clnt, errstr)); in mdmn_handle_RPC_error() 124 mdmn_send_2(argp, clnt, nid) in mdmn_send_2() argument 126 CLIENT *clnt; 132 res = clnt_call(clnt, mdmn_send, 139 mdmn_handle_RPC_error(clnt, "mdmn_send", nid); 145 mdmn_work_2(argp, clnt, nid) in mdmn_work_2() argument 147 CLIENT *clnt; 153 res = clnt_call(clnt, mdmn_work, [all …]
|
/titanic_41/usr/src/cmd/rpcsvc/ |
H A D | spray.c | 61 register CLIENT *clnt; in main() local 107 clnt = clnt_create(host, SPRAYPROG, SPRAYVERS, type); in main() 108 if (clnt == (CLIENT *)NULL) { in main() 125 if (sprayproc_clear_1(NULL, clnt) == NULL) { in main() 126 clnt_perror(clnt, "SPRAYPROC_CLEAR "); in main() 130 sprayproc_spray_1nd(&arr, clnt); in main() 134 if ((co = sprayproc_get_1(NULL, clnt)) == NULL) { in main() 135 clnt_perror(clnt, "SPRAYPROC_GET "); in main() 160 sprayproc_spray_1nd(argp, clnt) in sprayproc_spray_1nd() argument 162 CLIENT *clnt; [all …]
|
H A D | spray_subr.c | 46 sprayproc_spray_1(argp, clnt) in sprayproc_spray_1() argument 48 CLIENT *clnt; 55 sprayproc_get_1(argp, clnt) in sprayproc_get_1() argument 57 CLIENT *clnt; 70 sprayproc_clear_1(argp, clnt) in sprayproc_clear_1() argument 72 CLIENT *clnt;
|
H A D | rwall.c | 219 CLIENT *clnt; in do_one() local 231 clnt = clnt_create_timed( in do_one() 233 if (clnt == NULL) { in do_one() 244 if (wallproc_wall_1(&path, vp, clnt) != RPC_SUCCESS) { in do_one() 247 clnt_perror(clnt, hostname); in do_one() 251 clnt_destroy(clnt); in do_one()
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | clnt_generic.c | 91 CLIENT *clnt; in clnt_create_vers_timed() local 97 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp); in clnt_create_vers_timed() 98 if (clnt == NULL) in clnt_create_vers_timed() 106 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void, in clnt_create_vers_timed() 110 return (clnt); in clnt_create_vers_timed() 117 clnt_geterr(clnt, &rpcerr); in clnt_create_vers_timed() 129 CLNT_CONTROL(clnt, CLSET_VERS, (char *)&v_high); in clnt_create_vers_timed() 130 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t)xdr_void, in clnt_create_vers_timed() 135 return (clnt); in clnt_create_vers_timed() 138 clnt_geterr(clnt, &rpcerr); in clnt_create_vers_timed() [all …]
|
H A D | auth_time.c | 189 CLIENT *clnt; /* Client handle */ in __rpc_get_time_offset() local 331 clnt = 0; in __rpc_get_time_offset() 403 if (clnt != 0) in __rpc_get_time_offset() 404 clnt_destroy(clnt); in __rpc_get_time_offset() 405 clnt = __nis_clnt_create(RPC_ANYFD, nc, useua, 0, 0, RPCBPROG, in __rpc_get_time_offset() 407 if (! clnt) in __rpc_get_time_offset() 414 status = clnt_call(clnt, RPCBPROC_GETTIME, xdr_void, NULL, in __rpc_get_time_offset() 428 } else if (clnt == 0) { in __rpc_get_time_offset() 606 if (clnt) in __rpc_get_time_offset() 607 clnt_destroy(clnt); in __rpc_get_time_offset()
|
/titanic_41/usr/src/lib/libnsl/yp/ |
H A D | yp_b_clnt.c | 50 ypbindproc_null_3(void *argp, CLIENT *clnt) in ypbindproc_null_3() argument 55 if (clnt_call(clnt, YPBINDPROC_NULL, xdr_void, in ypbindproc_null_3() 62 ypbindproc_domain_3(ypbind_domain *argp, CLIENT *clnt) in ypbindproc_domain_3() argument 67 if (clnt_call(clnt, YPBINDPROC_DOMAIN, in ypbindproc_domain_3() 75 ypbindproc_setdom_3(ypbind_setdom *argp, CLIENT *clnt) in ypbindproc_setdom_3() argument 80 if (clnt_call(clnt, YPBINDPROC_SETDOM, in ypbindproc_setdom_3()
|
H A D | yp_rsvd.c | 46 CLIENT *clnt = NULL; in __yp_clnt_create_rsvdport_netid_req() local 85 if ((clnt = clnt_tli_create(fd, nconf, svcaddr, in __yp_clnt_create_rsvdport_netid_req() 91 clnt_control(clnt, CLSET_FD_CLOSE, NULL); in __yp_clnt_create_rsvdport_netid_req() 94 return (clnt); in __yp_clnt_create_rsvdport_netid_req()
|
/titanic_41/usr/src/cmd/krb5/slave/ |
H A D | kpropd_rpc.c | 19 iprop_get_updates_1(argp, clnt) in iprop_get_updates_1() argument 21 CLIENT *clnt; 26 if (clnt_call(clnt, IPROP_GET_UPDATES, 36 iprop_full_resync_1(argp, clnt) in iprop_full_resync_1() argument 38 CLIENT *clnt; 43 if (clnt_call(clnt, IPROP_FULL_RESYNC,
|
/titanic_41/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_clnt_stubs.c | 56 CLIENT *clnt; in kwarn_add_warning() local 64 if ((clnt = getkwarnd_handle()) == NULL) { in kwarn_add_warning() 80 ret = kwarn_add_warning_1(&args, &res, clnt); in kwarn_add_warning() 107 CLIENT *clnt; in kwarn_del_warning() local 115 if ((clnt = getkwarnd_handle()) == NULL) { in kwarn_del_warning() 130 ret = kwarn_del_warning_1(&args, &res, clnt); in kwarn_del_warning()
|
/titanic_41/usr/src/uts/common/sys/ib/clients/of/sol_ofs/ |
H A D | sol_kverb_impl.h | 40 #define FIRE_QP_EVENT(clnt, hdl, ib_event, qpp, type) \ argument 41 rw_enter(&clnt->lock, RW_READER); \ 49 rw_exit(&clnt->lock) 51 #define FIRE_CQ_EVENT(clnt, hdl, ib_event, cqp, type) \ argument 52 rw_enter(&clnt->lock, RW_READER); \ 60 rw_exit(&clnt->lock)
|
/titanic_41/usr/src/cmd/fs.d/cachefs/umount/ |
H A D | umount.c | 333 CLIENT *clnt; in daemon_unmount() local 354 clnt = clnt_create_timed(hostp, CACHEFSDPROG, CACHEFSDVERS, "local", in daemon_unmount() 356 if (clnt == NULL) { in daemon_unmount() 360 clnt_control(clnt, CLSET_TIMEOUT, (char *)&TIMEOUT); in daemon_unmount() 362 retval = cachefsd_fs_unmounted_1(&uargs, &result, clnt); in daemon_unmount() 364 clnt_perror(clnt, gettext("cachefsd is not responding")); in daemon_unmount() 365 clnt_destroy(clnt); in daemon_unmount() 369 clnt_destroy(clnt); in daemon_unmount()
|
/titanic_41/usr/src/lib/libidmap/common/ |
H A D | utils.c | 155 _idmap_rpc2stat(enum clnt_stat clntstat, CLIENT *clnt) in _idmap_rpc2stat() argument 168 clnt_geterr(clnt, &r_err); in _idmap_rpc2stat() 342 CLIENT *clnt; in _idmap_clnt_disconnect() local 344 clnt = idmap_handle.client; in _idmap_clnt_disconnect() 345 if (clnt != NULL) { in _idmap_clnt_disconnect() 346 if (clnt->cl_auth) in _idmap_clnt_disconnect() 347 auth_destroy(clnt->cl_auth); in _idmap_clnt_disconnect() 348 clnt_destroy(clnt); in _idmap_clnt_disconnect()
|
/titanic_41/usr/src/lib/pam_modules/dhkeys/ |
H A D | key_call_uid.c | 80 CLIENT *clnt; in my_key_call() local 126 clnt = clnt_door_create(KEY_PROG, vers, 0); in my_key_call() 128 if (clnt == NULL) in my_key_call() 131 clnt->cl_auth = authsys_create_uid(uid, gid); in my_key_call() 133 status = CLNT_CALL(clnt, proc, xdr_arg, arg, xdr_rslt, in my_key_call() 136 auth_destroy(clnt->cl_auth); in my_key_call() 137 clnt_destroy(clnt); in my_key_call()
|
/titanic_41/usr/src/lib/libsmedia/library/common/ |
H A D | l_misc.c | 89 CLIENT *clnt; in is_server_running() local 105 clnt = clnt_create("localhost", SMSERVERPROG, SMSERVERVERS, in is_server_running() 107 if (clnt == (CLIENT *)NULL) { in is_server_running() 144 server_info = smserverproc_get_serverinfo_1(NULL, clnt); in is_server_running() 146 if (clnt) in is_server_running() 147 clnt_destroy(clnt); in is_server_running() 151 if (clnt) in is_server_running() 152 clnt_destroy(clnt); in is_server_running() 158 if (clnt) in is_server_running() 159 clnt_destroy(clnt); in is_server_running() [all …]
|