Searched defs:ptc (Results 1 - 9 of 9) sorted by relevance
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_poll_subr.c | 47 gcpu_poll_trace(gcpu_poll_trace_ctl_t *ptc, uint8_t what, uint8_t nerr) argument 54 if (ptc->mptc_tbufs == NULL) 57 next = (ptc->mptc_curtrace + 1) % gcpu_poll_trace_nent; 58 pt = &ptc->mptc_tbufs[next]; 66 ptc->mptc_curtrace = next; 70 gcpu_poll_trace_init(gcpu_poll_trace_ctl_t *ptc) argument 79 ptc->mptc_tbufs = tbufs; 80 ptc->mptc_curtrace = 0;
|
H A D | gcpu_poll_ntv.c | 284 gcpu_poll_trace_ctl_t *ptc = &gcpu->gcpu_mca.gcpu_polltrace; local 288 gcpu_poll_trace_init(ptc); 298 gcpu_poll_trace_ctl_t *ptc = &gcpu->gcpu_mca.gcpu_polltrace; local 302 if (gcpu_poll_trace_always && (ptc->mptc_tbufs != NULL)) { 303 kmem_free(ptc->mptc_tbufs, sizeof (gcpu_poll_trace_t) *
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 409 handle_action(struct ppptun_control *ptc, struct strbuf *ctrl, argument 412 switch (ptc->ptc_action) { 414 return (handle_pppoe_input(&ptc->ptc_address, ctrl, data)); 417 warn("bad control message; session %u on %s", ptc->ptc_rsessid, 418 ptc->ptc_name); 433 struct ppptun_control *ptc; local 437 ptc = (struct ppptun_control *)ctrl->buf; 439 if (ptc->ptc_discrim == PPPOE_DISCRIM) { 441 if (ctrl->len == sizeof (*ptc)) 442 retv = handle_action(ptc, ctr [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoed.c | 266 struct ppptun_control *ptc; local 268 if (ctrllen != sizeof (*ptc)) { 273 ptc = (struct ppptun_control *)ctrlbuf; 276 switch (ptc->ptc_action) { 278 logdbg("test reply for discriminator %X", ptc->ptc_discrim); 286 ptc->ptc_rsessid, ptc->ptc_name); 288 ptc->ptc_rsessid); 289 ptc->ptc_action = PTCA_CONTROL; 290 ctrl.len = sizeof (*ptc); [all...] |
H A D | pppoec.c | 590 struct ppptun_control *ptc; local 593 ptc = (struct ppptun_control *)pkt_octl; 594 (void) memset(ptc, '\0', sizeof (*ptc)); 595 ptc->ptc_discrim = PPPOE_DISCRIM; 596 ptc->ptc_action = PTCA_CONTROL; 597 ptc->ptc_address = *destaddr; 598 ctrl.len = sizeof (*ptc); 599 ctrl.buf = (caddr_t)ptc; 657 struct ppptun_control *ptc; local 1410 struct ppptun_control *ptc; local [all...] |
H A D | options.c | 2072 launch_service(int tunfd, poep_t *poep, void *srvp, struct ppptun_control *ptc) argument 2103 ptp.ptp_address = ptc->ptc_address; 2113 cp = strchr(ptc->ptc_name, ':'); 2115 cp = ptc->ptc_name + strlen(ptc->ptc_name); 2117 cp-ptc->ptc_name, ptc->ptc_name); 2121 cp-ptc->ptc_name, ptc->ptc_name); 2228 ctrl.len = sizeof (*ptc); [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.tchar.c | 92 tchar *ptc; local 104 ptc = from; 105 while (wc = (wchar_t)((*ptc++)&TRIM)) { 116 ptc = from; 118 while (wc = (wchar_t)((*ptc++)&TRIM)) { 142 tchar *ptc = to; local 167 *(ptc++) = (tchar)wc; 174 *ptc = (tchar)0;
|
/illumos-gate/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpu_acpi.c | 204 cpu_acpi_ptc_t *ptc; local 208 ptc = &CPU_ACPI_PTC(handle)[0]; 209 if ((ret = cpu_acpi_cache_ctrl_regs(handle, PTC_OBJ, ptc)) == 0)
|
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/ |
H A D | sppptun.c | 538 struct ppptun_control *ptc; local 539 mblk_t *mp = allocb(sizeof (*ptc), BPRI_HI); 543 ptc = (struct ppptun_control *)mp->b_wptr; 544 bzero(ptc, sizeof (*ptc)); 545 mp->b_wptr += sizeof (*ptc); 547 ptc->ptc_rsessid = tclabout->tcl_rsessid; 548 ptc->ptc_address = tclabout->tcl_address; 550 ptc->ptc_discrim = tclto->tcl_ctlval; 551 ptc 796 struct ppptun_control *ptc; local [all...] |
Completed in 94 milliseconds