Home
last modified time | relevance | path

Searched refs:con (Results 1 – 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4fp.c18 lm_tcp_con_t *con) in lm_tcp_complete_bufs() argument
26 DbgBreakIf(con->dpc_info.dpc_completed_tail == NULL); in lm_tcp_complete_bufs()
27 s_list_split(&con->active_tb_list, &completed_bufs, in lm_tcp_complete_bufs()
28 con->dpc_info.dpc_completed_tail, con->dpc_info.dpc_bufs_completed); in lm_tcp_complete_bufs()
29 con->dpc_info.dpc_completed_tail = NULL; in lm_tcp_complete_bufs()
30 DbgBreakIf(con->rq_nbytes < con->dpc_info.dpc_actual_bytes_completed); in lm_tcp_complete_bufs()
31 con->rq_nbytes -= con->dpc_info.dpc_actual_bytes_completed; in lm_tcp_complete_bufs()
33 lm_bd_chain_bds_consumed(&con->bd_chain, con->dpc_info.dpc_bd_used); in lm_tcp_complete_bufs()
34 con->dpc_info.dpc_bd_used = 0; in lm_tcp_complete_bufs()
35 con->dpc_info.dpc_bufs_completed = 0; in lm_tcp_complete_bufs()
[all …]
H A Dlm_l4fp.h17 lm_tcp_con_t *con);
23 lm_tcp_con_t *con, /* Rx OR Tx connection */
36 lm_tcp_con_t * con, /* L4 connection to abort buffers on */
91 lm_tcp_con_t * con
97 lm_tcp_con_t * con
121 static __inline lm_tcp_buffer_t * lm_tcp_next_entry_dpc_active_list(lm_tcp_con_t * con) in lm_tcp_next_entry_dpc_active_list() argument
123 if (con->dpc_info.dpc_completed_tail) { in lm_tcp_next_entry_dpc_active_list()
124 return (lm_tcp_buffer_t *)s_list_next_entry(con->dpc_info.dpc_completed_tail); in lm_tcp_next_entry_dpc_active_list()
126 return (lm_tcp_buffer_t *)s_list_peek_head(&con->active_tb_list); in lm_tcp_next_entry_dpc_active_list()
H A Dlm_l4tx.c334 void lm_tcp_tx_complete_tcp_fp(lm_device_t * pdev, lm_tcp_state_t * tcp, lm_tcp_con_t * con) in lm_tcp_tx_complete_tcp_fp() argument
353 con->dpc_info.snapshot_flags = con->dpc_info.dpc_flags; in lm_tcp_tx_complete_tcp_fp()
354 con->dpc_info.dpc_flags = 0; in lm_tcp_tx_complete_tcp_fp()
357 if (con->dpc_info.dpc_completed_tail != NULL) { in lm_tcp_tx_complete_tcp_fp()
358 lm_tcp_complete_bufs(pdev, tcp, con); in lm_tcp_tx_complete_tcp_fp()
362 if (con->dpc_info.snapshot_flags & LM_TCP_DPC_FIN_CMP) { in lm_tcp_tx_complete_tcp_fp()
363 con->dpc_info.snapshot_flags &= ~LM_TCP_DPC_FIN_CMP; in lm_tcp_tx_complete_tcp_fp()
364 lm_tcp_tx_graceful_disconnect_complete(pdev, con->tcp_state); in lm_tcp_tx_complete_tcp_fp()
552 lm_tcp_con_t * con; in lm_toe_service_tx_intr() local
567 con = (lm_tcp_con_t *)s_list_peek_head(&connections); in lm_toe_service_tx_intr()
[all …]
H A Dlm_l4rx.c336 …lm_device_t * pdev, lm_tcp_state_t * tcp, lm_tcp_con_t * con, lm_tcp_buffer_t * tcp_buf, u32_t com… in lm_tcp_complete_tcp_buf() argument
343 con->app_buf_bytes_acc_comp += completed_bytes; in lm_tcp_complete_tcp_buf()
346 tcp_buf->app_buf_xferred = con->app_buf_bytes_acc_comp; in lm_tcp_complete_tcp_buf()
348 con->app_buf_bytes_acc_comp = 0; in lm_tcp_complete_tcp_buf()
349 if (GET_FLAGS(con->flags, TCP_POST_COMPLETE_SPLIT)) { in lm_tcp_complete_tcp_buf()
350 RESET_FLAGS(con->flags, TCP_POST_COMPLETE_SPLIT); in lm_tcp_complete_tcp_buf()
363 DbgBreakIf(s_list_entry_cnt(&con->active_tb_list) != 1); in lm_tcp_complete_tcp_buf()
364 lm_bd_chain_bds_consumed(&con->bd_chain, tcp_buf->bd_used); in lm_tcp_complete_tcp_buf()
366 con->buffer_completed_cnt ++; in lm_tcp_complete_tcp_buf()
370 entry = s_list_pop_head(&con->active_tb_list); in lm_tcp_complete_tcp_buf()
[all …]
H A Dlm_l4sp.c1621 lm_tcp_con_t * con; in lm_tcp_init_tcp_phys_mem() local
1634 con = tcp->tx_con; in lm_tcp_init_tcp_phys_mem()
1646 …lm_bd_chain_add_page(pdev,&con->bd_chain,phy_mblk[block_idx].free, phy_mblk[block_idx].free_phy, b… in lm_tcp_init_tcp_phys_mem()
1652 con = tcp->rx_con; in lm_tcp_init_tcp_phys_mem()
1723 lm_tcp_con_t * con; in lm_tcp_init_tcp_virt_mem() local
1729 con = tcp->tx_con; in lm_tcp_init_tcp_virt_mem()
1736 …_lm_tcp_init_qe_buffer(pdev, &con->history_cqes, mblk->free, pdev->params.l4_history_cqe_cnt, cqe_… in lm_tcp_init_tcp_virt_mem()
1742 con = tcp->rx_con; in lm_tcp_init_tcp_virt_mem()
3057 lm_tcp_con_t *con = tcp->rx_con; in lm_tcp_init_tcp_state_machine() local
3110 DbgBreakIf(con->flags & TCP_REMOTE_FIN_RECEIVED); in lm_tcp_init_tcp_state_machine()
[all …]
H A Dlm_l4sp.h26 IN lm_tcp_con_t * con);
31 IN lm_tcp_con_t * con);
/illumos-gate/usr/src/cmd/hal/addons/cpufreq/
H A Daddon-cpufreq.c523 generate_err_msg(DBusConnection *con, in generate_err_msg() argument
545 if (!dbus_connection_send (con, err_msg, NULL)) { in generate_err_msg()
548 dbus_connection_flush (con); in generate_err_msg()
553 gen_unknown_gov_err(DBusConnection *con, in gen_unknown_gov_err() argument
558 generate_err_msg (con, in gen_unknown_gov_err()
566 gen_no_suitable_gov_err(DBusConnection *con, in gen_no_suitable_gov_err() argument
571 generate_err_msg (con, in gen_no_suitable_gov_err()
579 gen_cpufreq_err(DBusConnection *con, in gen_cpufreq_err() argument
583 generate_err_msg (con, in gen_cpufreq_err()
652 check_authorization(DBusConnection *con, DBusMessage *msg) in check_authorization() argument
[all …]
/illumos-gate/usr/src/cmd/hal/hald-runner/
H A Dmain.c90 handle_run(DBusConnection *con, DBusMessage *msg) in handle_run() argument
123 run_request_run(r, con, msg, NULL); in handle_run()
130 dbus_connection_send(con, reply, NULL); in handle_run()
135 handle_start(DBusConnection *con, DBusMessage *msg, gboolean is_singleton) in handle_start() argument
160 if (run_request_run(r, con, NULL, &pid)) { in handle_start()
171 dbus_connection_send(con, reply, NULL); in handle_start()
178 dbus_connection_send(con, reply, NULL); in handle_start()
183 handle_kill(DBusConnection *con, DBusMessage *msg) in handle_kill() argument
196 dbus_connection_send (con, reply, NULL); in handle_kill()
204 dbus_connection_send(con, reply, NULL); in handle_kill()
[all …]
H A Drunner.c57 DBusConnection *con; member
109 send_reply(DBusConnection *con, DBusMessage *msg, guint32 exit_type, gint32 return_code, gchar **er… in send_reply() argument
115 if (con == NULL || msg == NULL) in send_reply()
128 dbus_connection_send(con, reply, NULL); in send_reply()
165 send_reply(rd->con, rd->msg, HALD_RUN_FAILED, 0, NULL); in run_exited()
176 send_reply(rd->con, rd->msg, HALD_RUN_SUCCESS, WEXITSTATUS(status), error); in run_exited()
183 if(rd->con != NULL && rd->emit_pid_exited) { in run_exited()
192 dbus_connection_send(rd->con, signal, NULL); in run_exited()
210 send_reply(rd->con, rd->msg, HALD_RUN_TIMEOUT, 0, NULL); in run_timedout()
242 run_request_run (run_request *r, DBusConnection *con, DBusMessage *msg, GPid *out_pid) in run_request_run() argument
[all …]
H A Drunner.h47 gboolean run_request_run(run_request *r, DBusConnection *con, DBusMessage *msg, GPid *out_pid);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsfsasl.c424 SSL *con; member
430 SSL *con; member
466 return SSL_pending(so->con) > 0;
508 so->con = ti->con;
728 r = SSL_read(so->con, (char *) buf, size);
734 switch (ssl_err = SSL_get_error(so->con, r))
745 rfd = SSL_get_rfd(so->con);
746 wfd = SSL_get_wfd(so->con);
747 try = tls_retry(so->con, rfd, wfd, tlsstart,
840 r = SSL_write(so->con, (char *) buf, size);
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c498 printConnection(FILE *fp, Connection *con) in printConnection() argument
502 if (con == NULL) in printConnection()
505 (void) fprintf(fp, "tid= %d: connectionID=%d\n", t, con->connectionId); in printConnection()
506 (void) fprintf(fp, "tid= %d: usedBit=%d\n", t, con->usedBit); in printConnection()
507 (void) fprintf(fp, "tid= %d: threadID=%d\n", t, con->threadID); in printConnection()
508 if (con->serverAddr) { in printConnection()
510 t, con->serverAddr); in printConnection()
512 printCred(fp, con->auth); in printConnection()
523 addConnection(Connection *con) in addConnection() argument
527 if (!con) in addConnection()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_constraints.c117 struct constraint *con; in alloc_constraint_state() local
121 FOR_EACH_PTR(list, con) { in alloc_constraint_state()
125 show_special(con->op), con->id); in alloc_constraint_state()
126 } END_FOR_EACH_PTR(con); in alloc_constraint_state()
298 struct constraint *con; in unmet_constraint() local
317 FOR_EACH_PTR(list, con) { in unmet_constraint()
320 con_str = constraint_id_to_str(con->id); in unmet_constraint()
322 sm_msg("constraint %d not found", con->id); in unmet_constraint()
330 if (con->op == '<' || con->op == req_op) { in unmet_constraint()
335 } END_FOR_EACH_PTR(con); in unmet_constraint()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_global.c580 Dwarf_Global_Context con = 0; in dwarf_global_cu_offset() local
587 con = global->gl_context; in dwarf_global_cu_offset()
589 if (con == NULL) { in dwarf_global_cu_offset()
596 *cu_header_offset = con->pu_offset_of_cu_header; in dwarf_global_cu_offset()
640 Dwarf_Global_Context con = 0; in dwarf_global_name_offsets() local
649 con = global->gl_context; in dwarf_global_name_offsets()
651 if (con == NULL) { in dwarf_global_name_offsets()
656 cuhdr_off = con->pu_offset_of_cu_header; in dwarf_global_name_offsets()
665 dbg = con->pu_dbg; in dwarf_global_name_offsets()
749 Dwarf_Global_Context con = 0; in dwarf_get_globals_header() local
[all …]
H A Ddwarf_rnglists.c447 Dwarf_Rnglists_Context con = *rngcon; in _dwarf_dealloc_rnglists_context() local
448 con->rc_offsets_array = 0; in _dwarf_dealloc_rnglists_context()
449 con->rc_offset_entry_count = 0; in _dwarf_dealloc_rnglists_context()
450 free(con); in _dwarf_dealloc_rnglists_context()
467 Dwarf_Rnglists_Context con = 0; in dwarf_get_rnglist_offset_index_value() local
478 con = dbg->de_rnglists_context[context_index]; in dwarf_get_rnglist_offset_index_value()
480 if (offsetentry_index >= con->rc_offset_entry_count) { in dwarf_get_rnglist_offset_index_value()
483 offset_len = con->rc_offset_size; in dwarf_get_rnglist_offset_index_value()
484 offsetptr = con->rc_offsets_array + in dwarf_get_rnglist_offset_index_value()
488 offset_len,error,con->rc_endaddr); in dwarf_get_rnglist_offset_index_value()
[all …]
H A Ddwarf_loclists.c548 Dwarf_Loclists_Context con = *loccon; in _dwarf_dealloc_loclists_context() local
549 con->lc_offsets_array = 0; in _dwarf_dealloc_loclists_context()
550 con->lc_offset_entry_count = 0; in _dwarf_dealloc_loclists_context()
551 free(con); in _dwarf_dealloc_loclists_context()
568 Dwarf_Loclists_Context con = 0; in dwarf_get_loclist_offset_index_value() local
579 con = dbg->de_loclists_context[context_index]; in dwarf_get_loclist_offset_index_value()
581 if (offsetentry_index >= con->lc_offset_entry_count) { in dwarf_get_loclist_offset_index_value()
584 offset_len = con->lc_offset_size; in dwarf_get_loclist_offset_index_value()
585 offsetptr = con->lc_offsets_array + in dwarf_get_loclist_offset_index_value()
589 offset_len,error,con->lc_endaddr); in dwarf_get_loclist_offset_index_value()
[all …]
/illumos-gate/usr/src/cmd/mailwrapper/
H A Dfparseln.c78 char esc, con, nl, com; in fparseln() local
88 con = str[1]; in fparseln()
121 if (s && con) { /* Check and eliminate continuations */ in fparseln()
124 if (*cp == con && !isescaped(ptr, cp, esc)) { in fparseln()
158 if (cp[1] == con) in fparseln()
162 if (cp[1] != com && cp[1] != con && cp[1] != esc) in fparseln()
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dsmdb.py13 con = sqlite3.connect('smatch_db.sqlite') variable
37 cur = con.cursor()
353 cur = con.cursor()
386 cur = con.cursor()
404 cur = con.cursor()
413 cur = con.cursor()
427 cur = con.cursor()
457 cur = con.cursor()
470 cur = con.cursor()
482 cur = con.cursor()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dvidupdate.c374 struct console con; in _change_color()
381 ioctl(cur_term->Filedes, CONIOGETDATA, &con); in _change_color()
383 con.l[con.page].colors[BOLD] = in _change_color()
385 ioctl(cur_term->Filedes, CONIOSETDATA, &con); in _change_color()
H A Dstart_col.c58 struct console con; in start_color() local
72 ioctl(cur_term->Filedes, CONIOGETDATA, &con); in start_color()
73 if (!con.color) in start_color()
/illumos-gate/usr/src/cmd/cdrw/
H A Dmain.c113 DBusConnection *con = NULL; in attach_to_hald() local
120 if ((con = dbus_bus_get(DBUS_BUS_SYSTEM, &error)) == NULL) { in attach_to_hald()
131 if (!libhal_ctx_set_dbus_connection(ctx, con)) in attach_to_hald()
154 DBusConnection *con = libhal_ctx_get_dbus_connection(ctx); in detach_from_hald() local
166 dbus_connection_unref(con); in detach_from_hald()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/
H A Dmm_l4if.h13 #define mm_acquire_tcp_lock(_pdev, con) LOCK() argument
14 #define mm_release_tcp_lock(_pdev, con) UNLOCK() argument
184 lm_tcp_con_t * con
196 IN lm_tcp_con_t * con, /* connection handle */
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm_l4.c130 lm_tcp_con_t * con /* connection to be checked */ in mm_tcp_indicating_bufs() argument
141 IN lm_tcp_con_t * con, /* connection handle */ in mm_tcp_abort_bufs() argument
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_bmap.c605 struct icb_ext *iext, *con; in ud_common_ad() local
669 con = &ip->i_con[ip->i_con_used]; in ud_common_ad()
671 con->ib_prn = SWAP_16(lad->lad_ext_prn); in ud_common_ad()
672 con->ib_block = SWAP_32(lad->lad_ext_loc); in ud_common_ad()
674 con->ib_prn = ip->i_icb_prn; in ud_common_ad()
675 con->ib_block = SWAP_32(sad->sad_ext_loc); in ud_common_ad()
677 con->ib_count = length & 0x3FFFFFFF; in ud_common_ad()
678 con->ib_flags = (length >> 30) & IB_MASK; in ud_common_ad()
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceLocationManager.java302 Constructor con = cobj.getDeclaredConstructor(paramClasses); in getInstance() local
306 ret = con.newInstance(params); in getInstance()

12