Home
last modified time | relevance | path

Searched refs:trans (Results 1 – 25 of 50) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dtransport.c58 rdsv3_trans_register(struct rdsv3_transport *trans) in rdsv3_trans_register() argument
60 RDSV3_DPRINTF4("rdsv3_trans_register", "Enter(trans: %p)", trans); in rdsv3_trans_register()
64 if (transports[trans->t_type]) { in rdsv3_trans_register()
67 trans->t_type); in rdsv3_trans_register()
71 transports[trans->t_type] = trans; in rdsv3_trans_register()
73 "Registered RDS/%s transport\n", trans->t_name); in rdsv3_trans_register()
78 RDSV3_DPRINTF4("rdsv3_trans_register", "Return(trans: %p)", trans); in rdsv3_trans_register()
84 rdsv3_trans_unregister(struct rdsv3_transport *trans) in rdsv3_trans_unregister() argument
86 RDSV3_DPRINTF4("rdsv3_trans_register", "Enter(trans: %p)", trans); in rdsv3_trans_unregister()
90 transports[trans->t_type] = NULL; in rdsv3_trans_unregister()
[all …]
H A Dconnection.c120 struct rdsv3_transport *trans, int gfp, int is_outgoing) in __rdsv3_conn_create() argument
180 if (is_outgoing && trans->t_prefer_loopback) { in __rdsv3_conn_create()
186 trans = &rdsv3_loop_transport; in __rdsv3_conn_create()
190 conn->c_trans = trans; in __rdsv3_conn_create()
192 ret = trans->conn_alloc(conn, gfp); in __rdsv3_conn_create()
212 trans->t_name ? trans->t_name : "[unknown]", in __rdsv3_conn_create()
226 trans->conn_free(conn->c_transport_data); in __rdsv3_conn_create()
239 trans->conn_free(conn->c_transport_data); in __rdsv3_conn_create()
260 struct rdsv3_transport *trans, int gfp) in rdsv3_conn_create() argument
262 return (__rdsv3_conn_create(laddr, faddr, trans, gfp, 0)); in rdsv3_conn_create()
[all …]
H A Drdma_transport.c62 struct rdsv3_transport *trans; in rdsv3_rdma_cm_event_handler() local
68 trans = &rdsv3_ib_transport; in rdsv3_rdma_cm_event_handler()
98 ret = trans->cm_handle_connect(cm_id, event); in rdsv3_rdma_cm_event_handler()
109 ret = trans->cm_initiate_connect(cm_id); in rdsv3_rdma_cm_event_handler()
113 trans->cm_connect_complete(conn, event); in rdsv3_rdma_cm_event_handler()
H A Dstats.c131 goto trans; in rdsv3_stats_info()
149 trans: in rdsv3_stats_info()
/titanic_41/usr/src/lib/libsip/common/
H A Dsip_xaction.c174 sip_xaction_t *trans; in sip_is_conn_obj_cache() local
184 trans = (sip_xaction_t *)xaction_list->obj; in sip_is_conn_obj_cache()
185 if (ctrans != trans) { in sip_is_conn_obj_cache()
208 sip_xaction_t *trans; in sip_del_conn_obj_cache() local
227 trans = (sip_xaction_t *)xaction_list->obj; in sip_del_conn_obj_cache()
228 assert(trans != NULL); in sip_del_conn_obj_cache()
229 if (ctrans != NULL && ctrans != trans) { in sip_del_conn_obj_cache()
234 (void) pthread_mutex_lock(&trans->sip_xaction_mutex); in sip_del_conn_obj_cache()
235 assert(trans->sip_xaction_conn_obj == obj); in sip_del_conn_obj_cache()
237 trans->sip_xaction_conn_obj = NULL; in sip_del_conn_obj_cache()
[all …]
H A Dsip_xaction.h59 #define SIP_XACTION_REFCNT_INCR(trans) \ argument
60 (trans)->sip_xaction_ref_cnt++;
63 #define SIP_XACTION_REFCNT_DECR(trans) { \ argument
64 (void) pthread_mutex_lock(&((trans)->sip_xaction_mutex)); \
65 assert((trans)->sip_xaction_ref_cnt > 0); \
66 (trans)->sip_xaction_ref_cnt--; \
67 if ((trans)->sip_xaction_ref_cnt == 0 && \
68 SIP_IS_XACTION_TERMINATED((trans)->sip_xaction_state)) { \
69 (void) pthread_mutex_unlock(&((trans)->sip_xaction_mutex));\
70 sip_xaction_delete(trans); \
[all …]
H A Dsip_xaction_ui.c169 sip_get_trans_branchid(sip_transaction_t trans, int *error) in sip_get_trans_branchid() argument
171 sip_xaction_t *xaction = (sip_xaction_t *)trans; in sip_get_trans_branchid()
197 sip_get_trans_state(sip_transaction_t trans, int *error) in sip_get_trans_state() argument
199 sip_xaction_t *xaction = (sip_xaction_t *)trans; in sip_get_trans_state()
H A Dsip_logging.c264 sip_xaction_t *trans = (sip_xaction_t *)obj; in sip_write_xaction_to_log() local
273 assert(trans != NULL && sip_trans_logfile != NULL); in sip_write_xaction_to_log()
277 trans->sip_xaction_branch_id); in sip_write_xaction_to_log()
279 sip_print_digest(trans->sip_xaction_hash_digest, 8, sip_trans_logfile); in sip_write_xaction_to_log()
282 sip_log = &trans->sip_xaction_log[count]; in sip_write_xaction_to_log()
302 (trans->sip_xaction_log[count]).sip_msgs = NULL; in sip_write_xaction_to_log()
/titanic_41/usr/src/lib/libsqlite/test/
H A Dtrans.test17 # $Id: trans.test,v 1.19 2004/03/08 13:26:18 drh Exp $
26 do_test trans-1.0 {
35 do_test trans-1.1 {
44 do_test trans-1.9 {
48 do_test trans-1.10 {
51 integrity_check trans-1.11
55 do_test trans-2.1 {
59 do_test trans-2.2 {
63 do_test trans-2.3 {
67 do_test trans-2.4 {
[all …]
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c135 struct transp *trans, *prev_trans; in nfs_cast() local
181 trans = (struct transp *)malloc(sizeof (*trans)); in nfs_cast()
182 if (trans == NULL) { in nfs_cast()
187 (void) memset(trans, 0, sizeof (*trans)); in nfs_cast()
189 tr_head = trans; in nfs_cast()
191 prev_trans->tr_next = trans; in nfs_cast()
192 prev_trans = trans; in nfs_cast()
194 trans->tr_fd = t_open(nconf->nc_device, O_RDWR, NULL); in nfs_cast()
195 if (trans->tr_fd < 0) { in nfs_cast()
201 if (t_bind(trans->tr_fd, (struct t_bind *)NULL, in nfs_cast()
[all …]
/titanic_41/usr/src/uts/common/xen/io/
H A Dxenbus_dev.c395 struct xenbus_dev_transaction *trans; in xenbusdrv_close() local
412 while (trans = (struct xenbus_dev_transaction *) in xenbusdrv_close()
414 (void) xenbus_transaction_end(trans->handle, 1); in xenbusdrv_close()
415 list_remove(&xbs->transactions, (void *)trans); in xenbusdrv_close()
416 kmem_free(trans, sizeof (*trans)); in xenbusdrv_close()
525 struct xenbus_dev_transaction *trans; in xenbusdrv_write() local
580 trans = kmem_alloc(sizeof (*trans), KM_SLEEP); in xenbusdrv_write()
582 (unsigned long *)&trans->handle); in xenbusdrv_write()
583 list_insert_tail(&xbs->transactions, (void *)trans); in xenbusdrv_write()
586 for (trans = (struct xenbus_dev_transaction *) in xenbusdrv_write()
[all …]
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dti_opts.c121 find_ucred_opt(const SVCXPRT *trans, ucred_t *uc, bool_t checkzone) in find_ucred_opt() argument
124 struct netbuf *abuf = (struct netbuf *)trans->xp_p2; in find_ucred_opt()
130 if (getpeerucred(trans->xp_fd, &uc) == 0) in find_ucred_opt()
180 if (getpeerucred(trans->xp_fd, &uc) != 0) in find_ucred_opt()
197 __rpc_get_local_uid(SVCXPRT *trans, uid_t *uid_out) in __rpc_get_local_uid() argument
203 if (svc_type(trans) == SVC_DOOR) in __rpc_get_local_uid()
204 err = __svc_get_door_ucred(trans, uc) == FALSE; in __rpc_get_local_uid()
206 err = find_ucred_opt(trans, uc, B_TRUE); in __rpc_get_local_uid()
244 svc_getcallerucred(const SVCXPRT *trans, ucred_t **uc) in svc_getcallerucred() argument
256 if (svc_type(trans) == SVC_DOOR) in svc_getcallerucred()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dchk_trans.c321 krb5_data trans; in krb5_check_transited_list() local
325 trans.length = trans_in->length; in krb5_check_transited_list()
326 trans.data = (char *) trans_in->data; in krb5_check_transited_list()
327 if (trans.length && (trans.data[trans.length-1] == '\0')) in krb5_check_transited_list()
328 trans.length--; in krb5_check_transited_list()
331 (int) trans.length, trans.data, in krb5_check_transited_list()
334 if (trans.length == 0) in krb5_check_transited_list()
356 r = foreach_realm (check_realm_in_list, &cdata, crealm, srealm, &trans); in krb5_check_transited_list()
H A Drd_req_dec.c223 krb5_transited *trans = &(req->ticket->enc_part2->transited); in krb5_rd_req_decoded_opt() local
226 if (trans->tr_contents.data && trans->tr_contents.data[0]) in krb5_rd_req_decoded_opt()
237 krb5_transited * trans; in krb5_rd_req_decoded_opt() local
240 trans = &(req->ticket->enc_part2->transited); in krb5_rd_req_decoded_opt()
247 if ((trans->tr_contents.data && trans->tr_contents.data[0]) || in krb5_rd_req_decoded_opt()
261 krb5_transited * trans; in krb5_rd_req_decoded_opt() local
264 trans = &(req->ticket->enc_part2->transited); in krb5_rd_req_decoded_opt()
271 if (trans->tr_contents.data && trans->tr_contents.data[0]) { in krb5_rd_req_decoded_opt()
272 retval = krb5_check_transited_list(context, &(trans->tr_contents), in krb5_rd_req_decoded_opt()
/titanic_41/usr/src/lib/libc/port/locale/
H A Dwctrans.c76 wctrans_t trans; in wctrans_l() member
89 if (ccls[i].trans == _WCT_ERROR) in wctrans_l()
91 return (ccls[i].trans); in wctrans_l()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c71 static scf_transaction_t *trans = NULL; variable
134 ((trans = scf_transaction_create(rep_handle)) == NULL) || in repval_init()
163 scf_transaction_destroy(trans); in repval_fini()
164 trans = NULL; in repval_fini()
371 if (scf_transaction_start(trans, pg) < 0) in _store_rep_vals()
374 if ((scf_transaction_property_new(trans, entry, in _store_rep_vals()
376 (scf_transaction_property_change_type(trans, entry, in _store_rep_vals()
387 if ((cret = scf_transaction_commit(trans)) < 0) { in _store_rep_vals()
391 scf_transaction_reset(trans); in _store_rep_vals()
403 scf_transaction_reset(trans); in _store_rep_vals()
/titanic_41/usr/src/lib/libshare/common/
H A Dscfutil.c1321 handle->trans = scf_transaction_create(handle->handle); in sa_start_transaction()
1322 if (handle->trans != NULL) { in sa_start_transaction()
1323 if (scf_transaction_start(handle->trans, in sa_start_transaction()
1328 scf_transaction_destroy(handle->trans); in sa_start_transaction()
1329 handle->trans = NULL; in sa_start_transaction()
1356 if (handle == NULL || handle->trans == NULL || sahandle == NULL) { in sa_end_transaction()
1359 if (scf_transaction_commit(handle->trans) < 0) in sa_end_transaction()
1361 scf_transaction_destroy_children(handle->trans); in sa_end_transaction()
1362 scf_transaction_destroy(handle->trans); in sa_end_transaction()
1365 handle->trans = NULL; in sa_end_transaction()
[all …]
H A Dscfutil.h46 scf_transaction_t *trans; member
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.c573 char *trans; in add_to_transited() local
603 if (!(trans = (char *) malloc(strlen(realm) + strlen(otrans) + 3))) { in add_to_transited()
609 new_trans->data = trans; in add_to_transited()
612 trans[0] = '\0'; in add_to_transited()
791 if (strlen(trans) + 2 >= MAX_REALM_LN) { in add_to_transited()
795 strcat(trans, ","); in add_to_transited()
797 if (strlen(trans) + strlen(current) + 1 >= MAX_REALM_LN) { in add_to_transited()
801 strcat(trans, current); in add_to_transited()
802 new_trans->length = strlen(trans); in add_to_transited()
812 if (strlen(trans) + 2 >= MAX_REALM_LN) { in add_to_transited()
[all …]
/titanic_41/usr/src/tools/scripts/
H A Dfind_elf.pl262 my $trans = readlink($NewFull);
264 $trans =~ s/\/*$//;
265 $RecurseSelfSymlink = 1 if $trans eq '.';
/titanic_41/usr/src/cmd/eqn/
H A Dtext.c31 int trans(int, char *);
62 rf = trans(c, p1); in text()
82 trans(int c, char *p1) in trans() function
/titanic_41/usr/src/cmd/lvm/util/
H A Dmetastat.c75 md_trans_t *trans);
1556 print_concise_trans(int indent, mdsetname_t *sp, md_trans_t *trans) in print_concise_trans() argument
1558 if (trans == NULL) in print_concise_trans()
1561 print_concise_entry(indent, trans->common.namep->cname, in print_concise_trans()
1562 trans->common.size, 't'); in print_concise_trans()
1564 if (trans->masternamep != NULL) in print_concise_trans()
1565 (void) printf(" %s", trans->masternamep->cname); in print_concise_trans()
1567 if (trans->lognamep != NULL) in print_concise_trans()
1568 (void) printf(" %s", trans->lognamep->cname); in print_concise_trans()
1574 print_concise_md(indent, sp, trans->masternamep); in print_concise_trans()
[all …]
/titanic_41/usr/src/cmd/ypcmd/
H A Dyppush.c596 SVCXPRT *trans; in generate_callback() local
619 trans = transport4; in generate_callback()
622 trans = transport6; in generate_callback()
626 rpcb_set(prognum, YPPUSHVERS, nc, &trans->xp_ltaddr)) == 0) in generate_callback()
633 if (trans == transport4 && transport6 != 0) { in generate_callback()
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dsvm_rcm.c172 static int cache_trans(cache_t *cache, mdnamelist_t *nlp, md_trans_t *trans);
1329 cache_trans(cache_t *cache, mdnamelist_t *nlp, md_trans_t *trans) in cache_trans() argument
1338 if (cache_device(cache, trans->masternamep->bname, SVM_SLICE, in cache_trans()
1339 trans->masternamep->dev, 0) == NULL) { in cache_trans()
1343 if (cache_dependent(cache, trans->masternamep->bname, 0, in cache_trans()
1348 if (trans->lognamep != NULL) { in cache_trans()
1349 if (cache_device(cache, trans->lognamep->bname, SVM_SLICE, in cache_trans()
1350 trans->lognamep->dev, TRANS_LOG) == NULL) { in cache_trans()
1354 if (cache_dependent(cache, trans->lognamep->bname, 0, in cache_trans()
1601 md_trans_t *trans; in cache_all_devices_in_set() local
[all …]
/titanic_41/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Drdsv3.h555 struct rdsv3_transport *trans, int gfp);
558 struct rdsv3_transport *trans, int gfp);
693 int rdsv3_trans_register(struct rdsv3_transport *trans);
694 void rdsv3_trans_unregister(struct rdsv3_transport *trans);

12