Home
last modified time | relevance | path

Searched refs:hc (Results 1 – 25 of 66) sorted by relevance

123

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_hc.c93 ilbd_hc_t *hc; in ilbd_get_hc() local
95 for (hc = list_head(&ilbd_hc_list); hc != NULL; in ilbd_get_hc()
96 hc = list_next(&ilbd_hc_list, hc)) { in ilbd_get_hc()
97 if (strcasecmp(hc->ihc_name, name) == 0) in ilbd_get_hc()
98 return (hc); in ilbd_get_hc()
206 ilbd_hc_t *hc; in ilbd_create_hc() local
229 hc = ilbd_get_hc(hc_info->hci_name); in ilbd_create_hc()
230 if (hc != NULL) { in ilbd_create_hc()
264 hc = calloc(1, sizeof (ilbd_hc_t)); in ilbd_create_hc()
265 if (hc == NULL) { in ilbd_create_hc()
[all …]
/titanic_50/usr/src/lib/libc/sparc/fp/
H A D_D_cplx_div_ix.c103 int hb, hc, hd, hw, i, j; in _D_cplx_div_ix() local
119 hc = cc.i[0] & ~0x80000000; in _D_cplx_div_ix()
121 hw = (hc > hd)? hc : hd; in _D_cplx_div_ix()
147 hc = cc.i[0] & ~0x80000000; in _D_cplx_div_ix()
149 hw = (hc > hd)? hc : hd; in _D_cplx_div_ix()
183 hc = (hc - 0x38000000) >> 28; in _D_cplx_div_ix()
184 c = (c * scl[hc + 4].d) * b; in _D_cplx_div_ix()
185 hc += hb; in _D_cplx_div_ix()
193 if (hc < 0) { in _D_cplx_div_ix()
194 hc = -hc; in _D_cplx_div_ix()
[all …]
H A D_D_cplx_div_rx.c103 int ha, hc, hd, hw, i, j; in _D_cplx_div_rx() local
119 hc = cc.i[0] & ~0x80000000; in _D_cplx_div_rx()
121 hw = (hc > hd)? hc : hd; in _D_cplx_div_rx()
147 hc = cc.i[0] & ~0x80000000; in _D_cplx_div_rx()
149 hw = (hc > hd)? hc : hd; in _D_cplx_div_rx()
183 hc = (hc - 0x38000000) >> 28; in _D_cplx_div_rx()
184 c = (c * scl[hc + 4].d) * a; in _D_cplx_div_rx()
185 hc += ha; in _D_cplx_div_rx()
193 if (hc < 0) { in _D_cplx_div_rx()
194 hc = -hc; in _D_cplx_div_rx()
[all …]
H A D_Q_cplx_div_ix.c95 int hb, hc, hd, hw, i, j; local
113 hc = cc.i[0] & ~0x80000000;
115 hw = (hc > hd)? hc : hd;
166 hc = (hc - 0x3fff0000) >> 16;
167 _Q_scl(&c, -hc);
169 hc += hb;
177 _Q_scle(&c, hc);
H A D_Q_cplx_div_rx.c95 int ha, hc, hd, hw, i, j; local
113 hc = cc.i[0] & ~0x80000000;
115 hw = (hc > hd)? hc : hd;
166 hc = (hc - 0x3fff0000) >> 16;
167 _Q_scl(&c, -hc);
169 hc += ha;
177 _Q_scle(&c, hc);
H A D_D_cplx_div.c93 int ha, hb, hc, hd, hz, hw, hs, i, j; in _D_cplx_div() local
115 hc = cc.i[0] & ~0x80000000; in _D_cplx_div()
117 hw = (hc > hd)? hc : hd; in _D_cplx_div()
152 hc = cc.i[0] & ~0x80000000; in _D_cplx_div()
154 hw = (hc > hd)? hc : hd; in _D_cplx_div()
H A D_Q_cplx_div.c100 int ha, hb, hc, hd, hz, hw, hs, i, j; local
122 hc = cc.i[0] & ~0x80000000;
124 hw = (hc > hd)? hc : hd;
/titanic_50/usr/src/lib/fm/topo/maps/i86pc/
H A DMakefile29 TOPOFILE = i86pc-hc-topology.xml chip-hc-topology.xml psu-hc-topology.xml \
30 fan-hc-topology.xml i86pc-legacy-hc-topology.xml chassis-hc-topology.xml
35 TOPOBASE = i86pc-hc-topology.xml
37 CLOBBERFILES = fan-hc-topology.xml
/titanic_50/usr/src/lib/fm/libfmevent/common/
H A Dfmev_util.c58 fmev_api_init(struct fmev_hdl_cmn *hc) in fmev_api_init() argument
60 uint32_t v = hc->hc_api_vers; in fmev_api_init()
90 fmev_api_enter(struct fmev_hdl_cmn *hc, uint32_t ver_intro) in fmev_api_enter() argument
117 if (hc == (struct fmev_hdl_cmn *)fmev_api_init) in fmev_api_enter()
120 if (hc == NULL || hc->hc_magic != _FMEV_SHMAGIC) { in fmev_api_enter()
125 v = hc->hc_api_vers; /* API version opened */ in fmev_api_enter()
/titanic_50/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-T200/
H A DMakefile30 TOPOFILE = Sun-Fire-T200-hc-topology.xml \
31 Sun-Fire-T1000-hc-topology.xml \
32 SPARC-Enterprise-T1000-hc-topology.xml \
33 SPARC-Enterprise-T2000-hc-topology.xml \
34 Netra-T2000-hc-topology.xml
/titanic_50/usr/src/lib/libshell/common/edit/
H A Dhexpand.c151 hc[3], /* default histchars */
164 hc[0] = '!';
165 hc[1] = '^';
166 hc[2] = 0;
171 hc[0] = cp[0];
174 hc[1] = cp[1];
176 hc[2] = cp[2];
190 if((*cp != hc[0] && *cp != hc[1] && *cp != hc[2])
191 || (*cp == hc[1] && cp != ln))
205 if(hc[2] && *cp == hc[2]) /* history comment designator, skip rest of line */
[all …]
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_subr.c66 x86pi_hcfmri_info_fini(topo_mod_t *mod, x86pi_hcfmri_t *hc) in x86pi_hcfmri_info_fini() argument
68 if (hc->hc_name != NULL) in x86pi_hcfmri_info_fini()
69 topo_mod_strfree(mod, (char *)hc->hc_name); in x86pi_hcfmri_info_fini()
70 if (hc->manufacturer != NULL) in x86pi_hcfmri_info_fini()
71 topo_mod_strfree(mod, (char *)hc->manufacturer); in x86pi_hcfmri_info_fini()
72 if (hc->product != NULL) in x86pi_hcfmri_info_fini()
73 topo_mod_strfree(mod, (char *)hc->product); in x86pi_hcfmri_info_fini()
74 if (hc->version != NULL) in x86pi_hcfmri_info_fini()
75 topo_mod_strfree(mod, (char *)hc->version); in x86pi_hcfmri_info_fini()
76 if (hc->serial_number != NULL) in x86pi_hcfmri_info_fini()
[all …]
/titanic_50/usr/src/uts/i86xpv/io/
H A Dprivcmd_hcall.c1180 privcmd_hypercall_t __hc, *hc = &__hc; in do_privcmd_hypercall() local
1183 if (ddi_copyin(uarg, hc, sizeof (*hc), mode)) in do_privcmd_hypercall()
1186 switch (hc->op) { in do_privcmd_hypercall()
1189 (mmu_update_t *)hc->arg[0], (int)hc->arg[1], in do_privcmd_hypercall()
1190 (int *)hc->arg[2], (domid_t)hc->arg[3]); in do_privcmd_hypercall()
1194 (xen_domctl_t *)hc->arg[0]); in do_privcmd_hypercall()
1198 (xen_sysctl_t *)hc->arg[0]); in do_privcmd_hypercall()
1202 (xen_platform_op_t *)hc->arg[0]); in do_privcmd_hypercall()
1206 (int)hc->arg[0], (void *)hc->arg[1]); in do_privcmd_hypercall()
1210 (int)hc->arg[0], (void *)hc->arg[1]); in do_privcmd_hypercall()
[all …]
/titanic_50/usr/src/lib/fm/topo/maps/SUNW,T5140/
H A DMakefile30 TOPOFILE = T5140-hc-topology.xml \
31 T5240-hc-topology.xml \
32 T5440-hc-topology.xml \
33 Sun-Blade-T6340-hc-topology.xml
/titanic_50/usr/src/lib/libilb/common/
H A Dilb_hc.c41 ilb_create_hc(ilb_handle_t h, const ilb_hc_info_t *hc) in ilb_create_hc() argument
47 if (h == ILB_INVALID_HANDLE || hc == NULL || *hc->hci_name == '\0' || in ilb_create_hc()
48 hc->hci_timeout < 0 || hc->hci_count < 0 || in ilb_create_hc()
49 hc->hci_interval <= hc->hci_timeout * hc->hci_count) in ilb_create_hc()
55 (void) memcpy(&ic->ic_data, hc, sizeof (ilb_hc_info_t)); in ilb_create_hc()
/titanic_50/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_wr.h118 #define HERMON_SPECIAL_QP_DRMAD_GET_HOPCOUNT(hc, offset, va, len) \ argument
119 if (((hc) == NULL) && \
121 (hc) = &((uint8_t *)(uintptr_t)(va))[7 - (offset)]; \
123 #define HERMON_SPECIAL_QP_DRMAD_DO_HOPPOINTER_MODIFY(mgmtclass, hp, hc) \ argument
125 if ((hp) < (hc)) { \
127 } else if ((hp) > (hc)) { \
/titanic_50/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_wr.h102 #define TAVOR_SPECIAL_QP_DRMAD_GET_HOPCOUNT(hc, offset, va, len) \ argument
103 if (((hc) == NULL) && \
105 (hc) = &((uint8_t *)(uintptr_t)(va))[7 - (offset)]; \
107 #define TAVOR_SPECIAL_QP_DRMAD_DO_HOPPOINTER_MODIFY(mgmtclass, hp, hc) \ argument
109 if ((hp) < (hc)) { \
111 } else if ((hp) > (hc)) { \
/titanic_50/usr/src/cmd/fm/schemes/
H A DMakefile29 hc \
30 legacy-hc \
/titanic_50/usr/src/lib/fm/topo/maps/i386/
H A DMakefile30 TOPOFILE = xfp-hc-topology.xml
34 TEMPTOPOFILE = xfp-hc-topology.xml
/titanic_50/usr/src/lib/fm/topo/maps/sparc/
H A DMakefile30 TOPOFILE = xfp-hc-topology.xml
34 TEMPTOPOFILE = xfp-hc-topology.xml
/titanic_50/usr/src/lib/fm/topo/maps/SUNW,SPARC-Enterprise-T5120/
H A DMakefile30 TOPOFILE = SPARC-Enterprise-T5120-hc-topology.xml \
31 SPARC-Enterprise-T5220-hc-topology.xml
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_hc.c327 ilbadm_hc_parse_arg(char *arg, ilb_hc_info_t *hc) in ilbadm_hc_parse_arg() argument
332 hc->hci_count = ILBADM_DEF_HC_COUNT; in ilbadm_hc_parse_arg()
333 hc->hci_interval = ILBADM_DEF_HC_INTERVAL; in ilbadm_hc_parse_arg()
334 hc->hci_timeout = ILBADM_DEF_HC_TIMEOUT; in ilbadm_hc_parse_arg()
335 hc->hci_test[0] = '\0'; in ilbadm_hc_parse_arg()
337 ret = i_parse_optstring(arg, hc, hc_parse_keys, 0, NULL); in ilbadm_hc_parse_arg()
342 if (hc->hci_test[0] == '\0' && ret != ILBADM_LIBERR) { in ilbadm_hc_parse_arg()
/titanic_50/usr/src/lib/fm/topo/maps/SUNW,Netra-X4200-M2/
H A DMakefile34 TOPOFILE = Netra-X4200-M2-disk-hc-topology.xml
38 TOPOBASE = ../i86pc/i86pc-hc-topology.xml
/titanic_50/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4540/
H A DMakefile34 TOPOFILE = Sun-Fire-X4540-disk-hc-topology.xml
38 TOPOBASE = ../i86pc/i86pc-hc-topology.xml
/titanic_50/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/
H A DMakefile35 TOPOFILE = Joyent-Compute-Platform-1101-disk-hc-topology.xml
39 TOPOBASE = ../i86pc/i86pc-hc-topology.xml

123