Searched defs:ptp (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dpair_cont.c50 _Color_pair *ptp; local
53 (ptp = cur_term->_pairs_tbl) == (_Color_pair *) NULL)
56 ptp += pair;
58 if (!ptp->init)
61 *f = ptp->foreground;
62 *b = ptp->background;
H A Dinit_pair.c50 _Color_pair *ptp; /* pairs table pointer */ local
58 ptp = cur_term->_pairs_tbl + pair;
62 if (ptp->foreground == f && ptp->background == b)
65 ptp->foreground = f;
66 ptp->background = b;
76 if (ptp->init) {
122 if (ptp->init)
125 ptp->init = TRUE;
H A Dinit_color.c109 _Color_pair *ptp = cur_term->_pairs_tbl; local
112 if (ptp[i].foreground == color ||
113 ptp[i].background == color)
114 _init_HP_pair(i, ptp[i].foreground,
115 ptp[i].background);
H A Dscr_reset.c211 _Color_pair *ptp, *save_ptp; local
248 if ((save_ptp = (ptp = (_Color_pair *)
252 if (fread(ptp, sizeof (_Color_pair), color_pairs,
264 for (i = 1, ++ptp; i <= color_pairs; i++, ptp++) {
265 if (ptp->init)
268 ptp->foreground, ptp->background);
H A Dvidupdate.c314 _Color_pair *ptp = cur_term->_pairs_tbl; local
345 if (ptp[newcolor].background != cur_pair->background) {
348 ptp[newcolor].background), 1, outc);
351 Oldcolors[ptp[newcolor].background]),
353 cur_pair->background = ptp[newcolor].background;
355 if (ptp[newcolor].foreground != cur_pair->foreground) {
358 ptp[newcolor].foreground), 1, outc);
361 Oldcolors[ptp[newcolor].foreground]),
363 cur_pair->foreground = ptp[newcolor].foreground;
377 _Color_pair *ptp
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/pcibus/
H A Dpci_i86pc.c73 tnode_t *ptp; local
77 ptp = did_gettnode(dp);
78 if (strcmp(topo_node_name(ptp), PCIEX_FUNCTION) != 0)
80 pdp = did_find(mod, topo_node_getspecific(ptp));
88 if ((ptp = topo_node_parent(ptp)) == NULL)
90 pdp = did_find(mod, topo_node_getspecific(ptp));
102 tnode_t *ptp; local
106 ptp = did_gettnode(dp);
107 if (strcmp(topo_node_name(ptp), PCIEX_FUNCTIO
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmemseg.c75 memseg_alloc_meta(pfn_t base, pgcnt_t npgs, void **ptp, pgcnt_t *metap) argument
158 ASSERT(ptp);
161 *ptp = (void *)opp;
168 memseg_free_meta(void *ptp, pgcnt_t metapgs) argument
177 off = (u_offset_t)ptp;
198 memseg_get_metapfn(void *ptp, pgcnt_t metapg) argument
203 off = (u_offset_t)ptp + ptob(metapg);
H A Dmach_trap.c167 ptl1_trapregs_t *ptp = &rp->ptl1_trap_regs[i]; local
168 uint64_t tstate = ptp->ptl1_tstate;
178 " %03x\n", ptp->ptl1_tl, ptp->ptl1_tpc,
179 ptp->ptl1_tnpc, tstate, ptp->ptl1_tt);
272 ptl1_trapregs_t *ptp = &rp->ptl1_trap_regs[i]; local
275 PANICNVADD(pnv, name, ptp->ptl1_tl);
277 PANICNVADD(pnv, name, ptp->ptl1_tt);
279 PANICNVADD(pnv, name, ptp
[all...]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_trap.c193 ptl1_trapregs_t *ptp = &rp->ptl1_trap_regs[i]; local
194 uint64_t tstate = ptp->ptl1_tstate;
203 " %03x\n", ptp->ptl1_tl, ptp->ptl1_tpc,
204 ptp->ptl1_tnpc, tstate, ptp->ptl1_tt);
286 ptl1_trapregs_t *ptp = &rp->ptl1_trap_regs[i]; local
289 PANICNVADD(pnv, name, ptp->ptl1_tl);
291 PANICNVADD(pnv, name, ptp->ptl1_tt);
293 PANICNVADD(pnv, name, ptp
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/
H A Dopl_hostbridge.c46 di_prom_handle_t ptp = DI_PROM_HANDLE_NIL; local
50 if ((ptp = topo_mod_prominfo(mod)) == DI_PROM_PROP_NIL)
53 for (pp = di_prom_prop_next(ptp, n, pp);
55 pp = di_prom_prop_next(ptp, n, pp)) {
H A Dopl_ioboard.c92 di_prom_handle_t ptp = DI_PROM_HANDLE_NIL; local
97 if ((ptp = topo_mod_prominfo(mod)) == DI_PROM_HANDLE_NIL)
100 for (pp = di_prom_prop_next(ptp, n, pp);
102 pp = di_prom_prop_next(ptp, n, pp)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoed.c88 struct ppptun_peer ptp; local
99 (void) memset(&ptp, '\0', sizeof (ptp));
100 ptp.ptp_style = PTS_PPPOE;
101 ptp.ptp_flags = PTPF_DAEMON;
102 (void) memcpy(ptp.ptp_address.pta_pppoe.ptma_mac, ether_bcast,
103 sizeof (ptp.ptp_address.pta_pppoe.ptma_mac));
104 if (strioctl(tunfd, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) <
[all...]
H A Dpppoec.c377 struct ppptun_peer ptp; local
381 (void) memset(&ptp, '\0', sizeof (ptp));
382 ptp.ptp_style = PTS_PPPOE;
383 if (strioctl(tunfd, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) <
397 return (ptp.ptp_lsessid);
1070 struct ppptun_peer ptp; local
1085 (void) memset(&ptp, '\
[all...]
H A Doptions.c2081 struct ppptun_peer ptp; local
2101 (void) memset(&ptp, '\0', sizeof (ptp));
2102 ptp.ptp_style = PTS_PPPOE;
2103 ptp.ptp_address = ptc->ptc_address;
2104 if (strioctl(newtun, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) <
2107 ptp.ptp_rsessid = ptp
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c128 struct prototab *ptp; local
166 for (ptp = &prototab[0]; ptp->func; ptp++)
167 if (strcmp(optarg, ptp->name) == 0) {
168 protofunc = ptp->func;
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_conn.c688 persistent_tunable_param_t ptp; local
810 if (persistent_get_tunable_param((char *)isp->sess_name, &ptp) ==
812 if (ptp.p_bitmap & ISCSI_TUNABLE_PARAM_RX_TIMEOUT_VALUE) {
814 ptp.p_params.recv_login_rsp_timeout;
816 if (ptp.p_bitmap & ISCSI_TUNABLE_PARAM_CONN_LOGIN_MAX) {
818 ptp.p_params.conn_login_max;
820 if (ptp.p_bitmap & ISCSI_TUNABLE_PARAM_LOGIN_POLLING_DELAY) {
822 ptp.p_params.polling_login_delay;
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_cvt.c207 pathm_t *ptp; local
210 ptp = (pathm_t *)arg;
222 ptp->ret = SCFGA_OK;
223 ptp->log = log;
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_props.c232 di_prom_handle_t ptp = DI_PROM_HANDLE_NIL; local
236 if ((ptp = topo_mod_prominfo(mod)) == DI_PROM_HANDLE_NIL)
239 while ((pp = di_prom_prop_next(ptp, n, pp)) != DI_PROM_PROP_NIL) {
290 di_prom_handle_t ptp = DI_PROM_HANDLE_NIL; local
294 if ((ptp = topo_mod_prominfo(mod)) == DI_PROM_HANDLE_NIL)
306 while ((pp = di_prom_prop_next(ptp, n, pp)) !=
/illumos-gate/usr/src/uts/common/disp/
H A Ddisp.c1612 kthread_t **ptp; local
1631 ptp = &dq->dq_first;
1632 rp = *ptp;
1643 ptp = &trp->t_link;
1656 if ((*ptp = rp->t_link) == NULL)
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_page_tables.c770 const char *path, amd_iommu_page_table_t **ptp, int km_flags)
780 *ptp = NULL;
900 *ptp = pt;
1096 amd_iommu_page_table_t **ptp, uint16_t *next_idxp, const char *path,
1105 *ptp = NULL;
1149 *ptp = pt;
769 amd_iommu_alloc_pgtable(amd_iommu_t *iommu, domain_id_t domainid, const char *path, amd_iommu_page_table_t **ptp, int km_flags) argument
1091 amd_iommu_setup_1_pgtable(amd_iommu_t *iommu, dev_info_t *rdip, struct ddi_dma_req *dmareq, domain_id_t domainid, amd_iommu_domain_t *dp, amd_iommu_page_table_t *ppt, uint16_t index, int level, uint64_t va, uint64_t pa, amd_iommu_page_table_t **ptp, uint16_t *next_idxp, const char *path, int km_flags) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c1765 boolean_t ptp = _B_FALSE; local
1866 (!ptp && !IN6_ARE_ADDR_EQUAL(&test_subnet,
1868 (!ptp && test_subnet_len != li->li_subnet_len) ||
1869 (ptp && !IN6_ARE_ADDR_EQUAL(&tgaddr, &li->li_dstaddr))) {
1886 if (ptp) {
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_if.c164 boolean_t ptp = B_FALSE; local
195 if ((!ptp && (IN6_ARE_ADDR_EQUAL(
198 (ptp && (ipif->ipif_flags & IPIF_POINTOPOINT) &&
212 /* If we already did the ptp case, then we are done */
213 if (ptp) {
217 ptp = B_TRUE;
279 boolean_t ptp = B_FALSE; local
299 if ((!ptp && (IN6_ARE_ADDR_EQUAL(
302 (ptp && (ipif->ipif_flags & IPIF_POINTOPOINT) &&
322 /* If we already did the ptp cas
[all...]
H A Dip_if.c4616 boolean_t ptp = B_FALSE; local
4645 if ((!ptp && (ipif->ipif_lcl_addr == addr) &&
4647 (ptp && (ipif->ipif_flags & IPIF_POINTOPOINT) &&
4660 /* If we already did the ptp case, then we are done */
4661 if (ptp) {
4665 ptp = B_TRUE;
4726 boolean_t ptp = B_FALSE; local
4745 if ((!ptp && (ipif->ipif_lcl_addr == addr) &&
4747 (ptp && (ipif->ipif_flags & IPIF_POINTOPOINT) &&
4766 /* If we already did the ptp cas
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c1115 struct ppptun_peer *ptp; local
1283 iop->ioc_count != sizeof (*ptp)) {
1291 ptp = (struct ppptun_peer *)mp->b_cont->b_rptr;
1293 struct ppptun_peer *, ptp);
1296 tcl->tcl_style != ptp->ptp_style) {
1300 if (ptp->ptp_flags & PTPF_DAEMON) {
1303 ptp->ptp_ltunid != 0 || ptp->ptp_rtunid != 0 ||
1304 ptp->ptp_lsessid != 0 || ptp
[all...]
/illumos-gate/usr/src/cmd/init/
H A Dinit.c3842 struct PROC_TABLE *ptp; local
3855 for (i = 0, ptp = proc_table; i < num_proc; ++i, ++ptp) {
3857 if (!(ptp->p_flags & OCCUPIED))
3861 if (ptp->p_flags & ~(PF_MASK))
3865 if (ptp->p_pid < 5 || ptp->p_pid > MAXPID)
3869 if (ptp->p_count < 0)
3873 if (ptp->p_time < 0)

Completed in 154 milliseconds