/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/ |
nouveau_nvkm_engine_disp_conn.c | 29 #include "conn.h" 40 struct nvkm_conn *conn = container_of(notify, typeof(*conn), hpd); local in function:nvkm_conn_hpd 41 struct nvkm_disp *disp = conn->disp; 45 int index = conn->index; 47 CONN_DBG(conn, "HPD: %d", line->mask); 49 if (!nvkm_gpio_get(gpio, 0, DCB_GPIO_UNUSED, conn->hpd.index)) 60 nvkm_conn_fini(struct nvkm_conn *conn) 62 nvkm_notify_put(&conn->hpd); 66 nvkm_conn_init(struct nvkm_conn *conn) 74 struct nvkm_conn *conn = *pconn; local in function:nvkm_conn_del [all...] |
nouveau_nvkm_engine_disp_base.c | 30 #include "conn.h" 117 if (ret = -ENXIO, outp->conn->index == req->v0.conn) { 118 if (ret = -ENODEV, outp->conn->hpd.event) { 120 notify->index = req->v0.conn; 225 struct nvkm_conn *conn; local in function:nvkm_disp_fini 235 list_for_each_entry(conn, &disp->conn, head) { 236 nvkm_conn_fini(conn); 246 struct nvkm_conn *conn; local in function:nvkm_disp_init 281 struct nvkm_conn *conn; local in function:nvkm_disp_oneinit 432 struct nvkm_conn *conn; local in function:nvkm_disp_dtor [all...] |
/src/usr.bin/ftp/ |
ssl.c | 97 fetch_writev(struct fetch_connect *conn, struct iovec *iov, int iovcnt) 101 int fd = conn->sd; 132 if (conn->ssl != NULL) 133 len = SSL_write(conn->ssl, iov->iov_base, (int)iov->iov_len); 163 fetch_write(const void *str, size_t len, struct fetch_connect *conn) 169 return fetch_writev(conn, iov, 1); 176 fetch_printf(struct fetch_connect *conn, const char *fmt, ...) 192 r = fetch_write(msg, len, conn); 198 fetch_fileno(struct fetch_connect *conn) 201 return conn->sd 239 struct fetch_connect *conn; local in function:fetch_open 260 struct fetch_connect *conn; local in function:fetch_fdopen [all...] |
/src/sys/dev/iscsi/ |
iscsi_rcv.c | 44 * conn The connection 52 my_soo_read(connection_t *conn, struct uio *u, int flags) 60 DEBC(conn, 99, ("soo_read req: %zu\n", resid)); 62 rw_enter(&conn->c_sock_rw, RW_READER); 63 if (conn->c_sock == NULL) { 66 so = conn->c_sock->f_socket; 82 rw_exit(&conn->c_sock_rw); 85 DEBC(conn, 1, ("Read failed (ret: %d, req: %zu, out: %zu)\n", 88 handle_connection_error(conn, ISCSI_STATUS_SOCKET_ERROR, 102 * conn The connectio 196 connection_t *conn = pdu->pdu_connection; local in function:read_pdu_data 1201 connection_t *conn = (connection_t *) par; local in function:iscsi_rcv_thread [all...] |
iscsi_send.c | 47 * conn The connection 54 my_soo_write(connection_t *conn, struct uio *u) 64 rw_enter(&conn->c_sock_rw, RW_READER); 65 if (conn->c_sock == NULL) { 68 so = conn->c_sock->f_socket; 70 NULL, NULL, 0, conn->c_threadobj); 72 rw_exit(&conn->c_sock_rw); 77 DEBC(conn, 0, ("Write failed sock %p (ret: %d, req: %zu, resid: %zu)\n", 78 conn->c_sock, ret, resid, u->uio_resid)); 79 handle_connection_error(conn, ISCSI_STATUS_SOCKET_ERROR, NO_LOGOUT) 99 connection_t *conn, *next; local in function:assign_connection 148 connection_t *conn; local in function:reassign_tasks 328 connection_t *conn = (connection_t *) par; local in function:iscsi_send_thread 483 connection_t *conn = pdu->pdu_connection; local in function:send_pdu 558 connection_t *conn = ccb->ccb_connection; local in function:resend_pdu 613 connection_t *conn = pdu->pdu_connection; local in function:setup_tx_uio 969 connection_t *conn; local in function:send_send_targets 1444 connection_t *conn = ccb->ccb_connection; local in function:send_command 1539 connection_t *conn; local in function:send_run_xfer 1637 connection_t *conn; local in function:send_io_command 1724 connection_t *conn = ccb->ccb_connection; local in function:ccb_timeout [all...] |
iscsi_ioctl.c | 416 connection_t *conn; local in function:find_connection 420 TAILQ_FOREACH(conn, &sess->s_conn_list, c_connections) 421 if (conn->c_id == id) { 424 return conn; 477 * conn The connection to terminate 484 kill_connection(connection_t *conn, uint32_t status, int logout, bool recover) 486 session_t *sess = conn->c_session; 489 DEBC(conn, 1, ("Kill_connection: terminating=%d, status=%d, logout=%d, " 491 conn->c_terminating, status, logout, conn->c_state)) 615 connection_t *conn; local in function:kill_session 720 connection_t *conn; local in function:create_connection 1259 connection_t *conn; local in function:remove_connection 1301 connection_t *conn; local in function:restore_connection 1526 connection_t *conn; local in function:connection_status 1652 connection_t *conn = par; local in function:connection_timeout_co 1739 connection_t *conn, *nxtc; local in function:iscsi_cleanup_thread [all...] |
iscsi_utils.c | 200 get_ccb(connection_t *conn, bool waitok) 203 session_t *sess = conn->c_session; 236 ccb->ccb_connection = conn; 238 mutex_enter(&conn->c_lock); 239 conn->c_usecount++; 240 mutex_exit(&conn->c_lock); 242 DEBC(conn, 15, ( 244 ccb, conn->c_usecount)); 260 connection_t *conn = ccb->ccb_connection; local in function:free_ccb 263 DEBC(conn, 15, 370 connection_t *conn; local in function:suspend_ccb 400 connection_t *conn; local in function:wake_ccb 507 connection_t *conn = pdu->pdu_connection; local in function:free_pdu [all...] |
iscsi_text.c | 1023 * conn The connection 1031 eval_parameter(connection_t *conn, negotiation_state_t *state, 1176 if (conn->c_login_par->is_present.TargetAlias) { 1177 copyoutstr(par->val.sval, conn->c_login_par->TargetAlias, 1228 * conn The connection 1238 assemble_login_parameters(connection_t *conn, ccb_t *ccb, pdu_t *pdu) 1240 iscsi_login_parameters_t *par = conn->c_login_par; 1262 conn->c_Our_MaxRecvDataSegmentLength = 1328 * conn The connection 1338 assemble_security_parameters(connection_t *conn, ccb_t *ccb, pdu_t *rx_pdu 1768 connection_t *conn = ccb->ccb_connection; local in function:set_negotiated_parameters [all...] |
/src/share/examples/refuse/ian/libfetch/ |
common.c | 210 conn_t *conn; local in function:_fetch_reopen 213 if ((conn = calloc(1, sizeof(*conn))) == NULL) 215 conn->sd = sd; 216 ++conn->ref; 217 return (conn); 225 _fetch_ref(conn_t *conn) 228 ++conn->ref; 229 return (conn); 260 conn_t *conn; local in function:_fetch_connect [all...] |
ftp.c | 142 _ftp_chkerr(conn_t *conn) 144 if (_fetch_getln(conn) == -1) { 148 if (isftpinfo(conn->buf)) { 149 while (conn->buflen && !isftpreply(conn->buf)) { 150 if (_fetch_getln(conn) == -1) { 157 while (conn->buflen && isspace((unsigned)conn->buf[conn->buflen - 1])) 158 conn->buflen-- 958 conn_t *conn; local in function:_ftp_connect 1042 conn_t *conn; local in function:_ftp_cached_connect 1103 conn_t *conn; local in function:_ftp_request [all...] |
http.c | 119 conn_t *conn; /* connection */ member in struct:httpio 142 if (_fetch_getln(io->conn) == -1) 145 if (io->conn->buflen < 2 || !ishexnumber((unsigned)*io->conn->buf)) 148 for (p = io->conn->buf; *p && !isspace((unsigned)*p); ++p) { 209 if ((io->buflen = _fetch_read(io->conn, io->buf, len)) == -1) { 232 if ((io->buflen = _fetch_read(io->conn, io->buf, len)) == -1) { 241 if (_fetch_read(io->conn, endl, 2) != 2 || 290 return (_fetch_write(io->conn, buf, (unsigned) len)); 302 r = _fetch_close(io->conn); 682 conn_t *conn; local in function:_http_connect 806 conn_t *conn; local in function:_http_request [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/ |
mxm.h | 7 u8 mxm_sor_map(struct nvkm_bios *, u8 conn);
|
/src/sbin/iscsid/ |
iscsid_lists.c | 514 connection_t *conn; local in function:get_session_list 543 conn = (connection_t *)(void *)TAILQ_FIRST(&sess->connections); 547 if (conn) { 548 ent->first_connection_id = conn->entry.sid.id; 549 ent->portal_id = conn->portal.sid.id; 550 ent->initiator_id = conn->initiator_id; 581 connection_t *conn; local in function:get_connection_list 607 conn = (connection_t *)(void *)curr; 608 ent->connection_id = conn->entry.sid; 609 ent->target_portal_id = conn->portal.sid 635 connection_t *conn; local in function:get_connection_info 895 connection_t *conn; local in function:event_kill_session 943 connection_t *conn; local in function:event_kill_connection [all...] |
iscsid_driverif.c | 184 connection_t *conn; local in function:make_connection 238 conn = (connection_t *)(void *) 241 if (conn == NULL || 242 (portal = find_portal_id(conn->portal.sid.id)) == NULL) { 306 conn = calloc(1, sizeof(*conn)); 307 if (conn == NULL) { 344 free(conn); 440 free(conn); 447 conn->loginp = loginp 514 connection_t *conn; local in function:event_recover_connection 625 connection_t *conn; local in function:log_in 727 connection_t *conn; local in function:remove_connection 778 connection_t *conn; local in function:send_targets [all...] |
/src/sys/external/bsd/drm2/dist/drm/xen/ |
xen_drm_front_evtchnl.c | 236 int ret, conn; local in function:xen_drm_front_evtchnl_create_all 249 for (conn = 0; conn < cfg->num_connectors; conn++) { 250 ret = evtchnl_alloc(front_info, conn, 251 &front_info->evt_pairs[conn].req, 258 ret = evtchnl_alloc(front_info, conn, 259 &front_info->evt_pairs[conn].evt, 303 int ret, conn; local in function:xen_drm_front_evtchnl_publish_all 315 for (conn = 0; conn < plat_data->num_connectors; conn++) [all...] |
/src/share/examples/puffs/pgfs/ |
pgfs_db.c | 59 PGconn *conn; member in struct:Xconn 126 DPRINTF("no free conn %p\n", cc); 145 PGconn *conn = xc->conn; local in function:pqwait 148 if (PQflush(conn)) { 149 errx(EXIT_FAILURE, "PQflush: %s", PQerrorMessage(conn)); 151 if (!PQisBusy(conn)) { 274 PGconn *conn = xc->conn; local in function:fetch_noresult 278 res = PQgetResult(conn); 312 PGconn *conn = xc->conn; local in function:preparecmd 345 PGconn *conn = xc->conn; local in function:vsendcmd 523 PGconn *conn = s->xc->conn; local in function:vfetchnext 802 PGconn *conn; local in function:pgfs_readframe 864 PGconn *conn; local in function:pgfs_connectdb [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
nouveau_nvkm_subdev_bios_mxm.c | 80 mxm_sor_map(struct nvkm_bios *bios, u8 conn) 90 if (conn < nvbios_rd08(bios, map + 3)) { 92 map += conn; 104 return g84_sor_map[conn]; 106 return g92_sor_map[conn]; 108 return g94_sor_map[conn]; 110 return g98_sor_map[conn];
|
nouveau_nvkm_subdev_bios_dcb.c | 133 u32 conn = nvbios_rd32(bios, dcb + 0x00); local in function:dcb_outp_parse 134 outp->or = (conn & 0x0f000000) >> 24; 135 outp->location = (conn & 0x00300000) >> 20; 136 outp->bus = (conn & 0x000f0000) >> 16; 137 outp->connector = (conn & 0x0000f000) >> 12; 138 outp->heads = (conn & 0x00000f00) >> 8; 139 outp->i2c_index = (conn & 0x000000f0) >> 4; 140 outp->type = (conn & 0x0000000f);
|
/src/usr.sbin/npf/npftest/libnpftest/ |
npf_gc_test.c | 22 npf_conn_t *head = npf_conndb_getlist(cd), *conn = head; local in function:count_conns 25 while (conn) { 27 conn = npf_conndb_getnext(cd, conn); 28 if (conn == head) {
|
/src/sys/external/gpl2/dts/dist/include/dt-bindings/usb/ |
pd.h | 134 #define VDO_IDH(usbh, usbd, ufp_cable, is_modal, dfp, conn, vid) \ 136 | (is_modal) << 26 | ((dfp) & 0x7) << 23 | ((conn) & 0x3) << 21 \ 210 #define VDO_UFP(ver, cap, conn, vcpwr, vcr, vbr, alt, spd) \ 211 (((ver) & 0x7) << 29 | ((cap) & 0xf) << 24 | ((conn) & 0x3) << 22 \ 232 #define VDO_DFP(ver, cap, conn, pnum) \ 233 (((ver) & 0x7) << 29 | ((cap) & 0x7) << 24 | ((conn) & 0x3) << 22 \ 348 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ 350 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \ 352 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ 354 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/modules/hdcp/ |
amdgpu_hdcp1_transition.c | 39 struct mod_hdcp_connection *conn = &hdcp->connection; local in function:mod_hdcp_hdcp1_transition 87 } else if (!conn->is_repeater && input->encryption != PASS) { 91 if (conn->is_repeater) { 163 struct mod_hdcp_connection *conn = &hdcp->connection; local in function:mod_hdcp_hdcp1_dp_transition 235 } else if ((!conn->is_repeater && input->encryption != PASS) || 236 (!conn->is_repeater && is_dp_mst_hdcp(hdcp) && input->stream_encryption_dp != PASS)) { 240 if (conn->is_repeater) {
|
/src/tests/net/mcast/ |
mcast.c | 268 sender(const int fd, const char *host, const char *port, size_t n, bool conn, 277 s = getsocket(host, port, conn ? connect : connector, &slen, bug); 296 l = conn ? send(s, &msg, sizeof(msg), 0) : 311 receiver(const int fd, const char *host, const char *port, size_t n, bool conn, 331 l = conn ? recv(s, &msg, sizeof(msg), 0) : 349 run(const char *host, const char *port, size_t n, bool conn, bool bug) 361 receiver(syncfds[0], host, port, n, conn, bug); 366 error = sender(syncfds[1], host, port, n, conn, bug); 416 bool conn, bug; local in function:main 421 bug = conn = false [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_bios.c | 1401 uint32_t conn, uint32_t conf, struct dcb_output *entry) 1406 entry->type = conn & 0xf; 1407 entry->i2c_index = (conn >> 4) & 0xf; 1408 entry->heads = (conn >> 8) & 0xf; 1409 entry->connector = (conn >> 12) & 0xf; 1410 entry->bus = (conn >> 16) & 0xf; 1411 entry->location = (conn >> 20) & 0x3; 1412 entry->or = (conn >> 24) & 0xf; 1548 uint32_t conn, uint32_t conf, struct dcb_output *entry) 1552 switch (conn & 0x0000000f) 1794 u32 conn = ROM32(outp[0]); local in function:parse_dcb_entry 1872 u8 *dcbt, *conn; local in function:parse_dcb_table [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/ |
event.h | 46 __u8 conn; member in struct:nvif_notify_conn_req_v0
|
/src/tests/net/net/ |
t_unix.c | 456 int listener, conn, acc; local in function:ATF_TC_BODY 478 RL(conn = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0)); 479 RL(connect(conn, (const struct sockaddr *)&sun, sizeof(sun))); 488 RL(close(conn)); 496 RL(conn = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0)); 497 RL(setsockopt(conn, SOL_LOCAL, LOCAL_CONNWAIT, &one, sizeof(one))); 499 connect(conn, (const struct sockaddr *)&sun, sizeof(sun)) == -1); 501 connect(conn, (const struct sockaddr *)&sun, sizeof(sun)) == -1); 513 pfd = (struct pollfd){.fd = conn, .events = POLLOUT}; 516 RL(getsockopt(conn, SOL_SOCKET, SO_ERROR, &error, &errorlen)) [all...] |