Searched refs:trans (Results 1 - 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dtransport.c58 rdsv3_trans_register(struct rdsv3_transport *trans) argument
60 RDSV3_DPRINTF4("rdsv3_trans_register", "Enter(trans: %p)", trans);
64 if (transports[trans->t_type]) {
67 trans->t_type);
71 transports[trans->t_type] = trans;
73 "Registered RDS/%s transport\n", trans->t_name);
78 RDSV3_DPRINTF4("rdsv3_trans_register", "Return(trans: %p)", trans);
84 rdsv3_trans_unregister(struct rdsv3_transport *trans) argument
136 struct rdsv3_transport *trans; local
[all...]
H A Drdma_transport.c62 struct rdsv3_transport *trans; local
68 trans = &rdsv3_ib_transport;
98 ret = trans->cm_handle_connect(cm_id, event);
109 ret = trans->cm_initiate_connect(cm_id);
113 trans->cm_connect_complete(conn, event);
H A Dconnection.c120 struct rdsv3_transport *trans, int gfp, int is_outgoing)
180 if (is_outgoing && trans->t_prefer_loopback) {
186 trans = &rdsv3_loop_transport;
190 conn->c_trans = trans;
192 ret = trans->conn_alloc(conn, gfp);
212 trans->t_name ? trans->t_name : "[unknown]",
226 trans->conn_free(conn->c_transport_data);
239 trans->conn_free(conn->c_transport_data);
260 struct rdsv3_transport *trans, in
119 __rdsv3_conn_create(uint32_be_t laddr, uint32_be_t faddr, struct rdsv3_transport *trans, int gfp, int is_outgoing) argument
259 rdsv3_conn_create(uint32_be_t laddr, uint32_be_t faddr, struct rdsv3_transport *trans, int gfp) argument
266 rdsv3_conn_create_outgoing(uint32_be_t laddr, uint32_be_t faddr, struct rdsv3_transport *trans, int gfp) argument
[all...]
H A Dstats.c131 goto trans;
149 trans:
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_xaction.h59 #define SIP_XACTION_REFCNT_INCR(trans) \
60 (trans)->sip_xaction_ref_cnt++;
63 #define SIP_XACTION_REFCNT_DECR(trans) { \
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.c174 sip_xaction_t *trans; local
184 trans = (sip_xaction_t *)xaction_list->obj;
185 if (ctrans != trans) {
208 sip_xaction_t *trans; local
227 trans = (sip_xaction_t *)xaction_list->obj;
228 assert(trans != NULL);
229 if (ctrans != NULL && ctrans != trans) {
234 (void) pthread_mutex_lock(&trans->sip_xaction_mutex);
235 assert(trans->sip_xaction_conn_obj == obj);
237 trans
331 sip_xaction_t *trans; local
552 sip_xaction_delete(sip_xaction_t *trans) argument
571 sip_xaction_add(sip_xaction_t *trans, char *branchid, _sip_msg_t *msg, sip_method_t method) argument
[all...]
H A Dsip_xaction_ui.c169 sip_get_trans_branchid(sip_transaction_t trans, int *error) argument
171 sip_xaction_t *xaction = (sip_xaction_t *)trans;
197 sip_get_trans_state(sip_transaction_t trans, int *error) argument
199 sip_xaction_t *xaction = (sip_xaction_t *)trans;
H A Dsip_logging.c264 sip_xaction_t *trans = (sip_xaction_t *)obj; local
273 assert(trans != NULL && sip_trans_logfile != NULL);
277 trans->sip_xaction_branch_id);
279 sip_print_digest(trans->sip_xaction_hash_digest, 8, sip_trans_logfile);
282 sip_log = &trans->sip_xaction_log[count];
302 (trans->sip_xaction_log[count]).sip_msgs = NULL;
/illumos-gate/usr/src/test/libc-tests/tests/priv_gettext/
H A Dpriv_gettext.c41 static const char *trans = "Ah Elbereth Gilthoniel\n"; variable
61 priv_verify(trans);
69 priv_verify(trans);
78 priv_verify(trans);
84 priv_verify(trans);
/illumos-gate/usr/src/test/libc-tests/tests/strerror/
H A Dstrerror.c44 static const char *trans = "It's a trap!"; variable
75 strerror_verify(trans);
86 strerror_l_verify(loc, trans);
89 strerror_verify(trans);
90 strerror_l_verify(NULL, trans);
91 strerror_l_verify(loc, trans);
96 strerror_l_verify(loc, trans);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c135 struct transp *trans, *prev_trans; local
181 trans = (struct transp *)malloc(sizeof (*trans));
182 if (trans == NULL) {
187 (void) memset(trans, 0, sizeof (*trans));
189 tr_head = trans;
191 prev_trans->tr_next = trans;
192 prev_trans = trans;
194 trans
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwctrans.c76 wctrans_t trans; member in struct:__anon3025
89 if (ccls[i].trans == _WCT_ERROR)
91 return (ccls[i].trans);
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.h46 scf_transaction_t *trans; member in struct:scfutilhandle
H A Dscfutil.c1321 handle->trans = scf_transaction_create(handle->handle);
1322 if (handle->trans != NULL) {
1323 if (scf_transaction_start(handle->trans,
1328 scf_transaction_destroy(handle->trans);
1329 handle->trans = NULL;
1356 if (handle == NULL || handle->trans == NULL || sahandle == NULL) {
1359 if (scf_transaction_commit(handle->trans) < 0)
1361 scf_transaction_destroy_children(handle->trans);
1362 scf_transaction_destroy(handle->trans);
1365 handle->trans
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_dev.c395 struct xenbus_dev_transaction *trans; local
412 while (trans = (struct xenbus_dev_transaction *)
414 (void) xenbus_transaction_end(trans->handle, 1);
415 list_remove(&xbs->transactions, (void *)trans);
416 kmem_free(trans, sizeof (*trans));
525 struct xenbus_dev_transaction *trans; local
580 trans = kmem_alloc(sizeof (*trans), KM_SLEEP);
582 (unsigned long *)&trans
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Drd_req_dec.c223 krb5_transited *trans = &(req->ticket->enc_part2->transited); local
226 if (trans->tr_contents.data && trans->tr_contents.data[0])
237 krb5_transited * trans; local
240 trans = &(req->ticket->enc_part2->transited);
247 if ((trans->tr_contents.data && trans->tr_contents.data[0]) ||
261 krb5_transited * trans; local
264 trans = &(req->ticket->enc_part2->transited);
271 if (trans
[all...]
H A Dchk_trans.c322 krb5_data trans;
326 trans.length = trans_in->length;
327 trans.data = (char *) trans_in->data;
328 if (trans.length && (trans.data[trans.length-1] == '\0'))
329 trans.length--;
331 Tprintf (("krb5_check_transited_list(trans=\"%.*s\", crealm=\"%.*s\", srealm=\"%.*s\")\n",
332 (int) trans.length, trans
321 krb5_data trans; local
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dti_opts.c121 find_ucred_opt(const SVCXPRT *trans, ucred_t *uc, bool_t checkzone) argument
124 struct netbuf *abuf = (struct netbuf *)trans->xp_p2;
130 if (getpeerucred(trans->xp_fd, &uc) == 0)
180 if (getpeerucred(trans->xp_fd, &uc) != 0)
197 __rpc_get_local_uid(SVCXPRT *trans, uid_t *uid_out) argument
203 if (svc_type(trans) == SVC_DOOR)
204 err = __svc_get_door_ucred(trans, uc) == FALSE;
206 err = find_ucred_opt(trans, uc, B_TRUE);
244 svc_getcallerucred(const SVCXPRT *trans, ucred_t **uc) argument
256 if (svc_type(trans)
[all...]
/illumos-gate/usr/src/cmd/eqn/
H A Dtext.c31 int trans(int, char *);
62 rf = trans(c, p1);
82 trans(int c, char *p1) function
/illumos-gate/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) ||
163 scf_transaction_destroy(trans);
164 trans = NULL;
371 if (scf_transaction_start(trans, pg) < 0)
374 if ((scf_transaction_property_new(trans, entry,
376 (scf_transaction_property_change_type(trans, entry,
387 if ((cret = scf_transaction_commit(trans)) < 0) {
391 scf_transaction_reset(trans);
403 scf_transaction_reset(trans);
[all...]
/illumos-gate/usr/src/tools/scripts/
H A Dfind_elf.pl262 my $trans = readlink($NewFull);
264 $trans =~ s/\/*$//;
265 $RecurseSelfSymlink = 1 if $trans eq '.';
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.c573 char *trans; local
603 if (!(trans = (char *) malloc(strlen(realm) + strlen(otrans) + 3))) {
609 new_trans->data = trans;
612 trans[0] = '\0';
791 if (strlen(trans) + 2 >= MAX_REALM_LN) {
795 strcat(trans, ",");
797 if (strlen(trans) + strlen(current) + 1 >= MAX_REALM_LN) {
801 strcat(trans, current);
802 new_trans->length = strlen(trans);
812 if (strlen(trans)
[all...]
/illumos-gate/usr/src/cmd/latencytop/
H A DMakefile.com74 cp ../common/latencytop.trans ./latencytop_trans
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetastat.c75 md_trans_t *trans);
936 * Create a list of metadevices associated with trans. top_pp points to
952 * Scan the current list of trans devices. From that
1553 * Concise trans output.
1556 print_concise_trans(int indent, mdsetname_t *sp, md_trans_t *trans) argument
1558 if (trans == NULL)
1561 print_concise_entry(indent, trans->common.namep->cname,
1562 trans->common.size, 't');
1564 if (trans->masternamep != NULL)
1565 (void) printf(" %s", trans
1591 md_trans_t *trans; local
[all...]
/illumos-gate/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);
697 gettext("trans log for \"%s\""),
701 gettext("trans master for \"%s\""),
1316 * Add an entry to the cache for trans metadevice, the master
1318 * the log to the trans metadevice.
1322 * mdnamelist_t *nlp pointer to trans name
1323 * md_trans_t *trans
1329 cache_trans(cache_t *cache, mdnamelist_t *nlp, md_trans_t *trans) argument
1338 if (cache_device(cache, trans->masternamep->bname, SVM_SLICE,
1339 trans
1601 md_trans_t *trans; local
[all...]

Completed in 104 milliseconds

12