Searched defs:hc (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/lib/fm/libfmevent/common/
H A Dfmev_util.c58 fmev_api_init(struct fmev_hdl_cmn *hc) argument
60 uint32_t v = hc->hc_api_vers;
90 fmev_api_enter(struct fmev_hdl_cmn *hc, uint32_t ver_intro) argument
117 if (hc == (struct fmev_hdl_cmn *)fmev_api_init)
120 if (hc == NULL || hc->hc_magic != _FMEV_SHMAGIC) {
125 v = hc->hc_api_vers; /* API version opened */
H A Dfmev_subscribe.c475 struct fmev_hdl_cmn hc; local
479 hc.hc_magic = _FMEV_SHMAGIC;
480 hc.hc_api_vers = caller_version;
481 hc.hc_alloc = hdlalloc ? hdlalloc : dflt_alloc;
482 hc.hc_zalloc = hdlzalloc ? hdlzalloc : dflt_zalloc;
483 hc.hc_free = hdlfree ? hdlfree : dflt_free;
485 if (!fmev_api_init(&hc))
504 ihdl->sh_cmn = hc;
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_D_cplx_div.c93 int ha, hb, hc, hd, hz, hw, hs, i, j; local
115 hc = cc.i[0] & ~0x80000000;
117 hw = (hc > hd)? hc : hd;
152 hc = cc.i[0] & ~0x80000000;
154 hw = (hc > hd)? hc : hd;
H A D_D_cplx_div_ix.c103 int hb, hc, hd, hw, i, j; local
119 hc = cc.i[0] & ~0x80000000;
121 hw = (hc > hd)? hc : hd;
147 hc = cc.i[0] & ~0x80000000;
149 hw = (hc > hd)? hc : hd;
183 hc = (hc - 0x38000000) >> 28;
184 c = (c * scl[hc
[all...]
H A D_D_cplx_div_rx.c103 int ha, hc, hd, hw, i, j; local
119 hc = cc.i[0] & ~0x80000000;
121 hw = (hc > hd)? hc : hd;
147 hc = cc.i[0] & ~0x80000000;
149 hw = (hc > hd)? hc : hd;
183 hc = (hc - 0x38000000) >> 28;
184 c = (c * scl[hc
[all...]
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;
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);
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_hc.c41 ilb_create_hc(ilb_handle_t h, const ilb_hc_info_t *hc) argument
47 if (h == ILB_INVALID_HANDLE || hc == NULL || *hc->hci_name == '\0' ||
48 hc->hci_timeout < 0 || hc->hci_count < 0 ||
49 hc->hci_interval <= hc->hci_timeout * hc->hci_count)
55 (void) memcpy(&ic->ic_data, hc, sizeof (ilb_hc_info_t));
101 * Given a health check name, get hc inf
[all...]
H A Dilb_rules.c40 i_drop_hc(ilb_handle_t h, ilb_hc_info_t *hc, void *arg) argument
42 return (ilb_destroy_hc(h, hc->hci_name));
/illumos-gate/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) argument
68 if (hc->hc_name != NULL)
69 topo_mod_strfree(mod, (char *)hc->hc_name);
70 if (hc->manufacturer != NULL)
71 topo_mod_strfree(mod, (char *)hc->manufacturer);
72 if (hc->product != NULL)
73 topo_mod_strfree(mod, (char *)hc->product);
74 if (hc->version != NULL)
75 topo_mod_strfree(mod, (char *)hc->version);
76 if (hc
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_hc.c47 /* Maximum columns for printing hc output. */
50 /* OFMT call back to print out a hc server result field. */
62 * Fields of a hc server result. The sum of all fields' width is SHOW_HC_COLS.
76 /* OFMT call back to print out a hc info field. */
80 * Fields of a hc info. The sume of all fields' width is SHOW_HC_COLS.
258 * Output hc result of a specified rule or all rules.
269 /* ilbadm show-hc-result [rule-name] */
271 ilbadm_err(gettext("usage: ilbadm show-hc-result"
319 {ILB_KEY_HC_TEST, "hc-test", "hc
327 ilbadm_hc_parse_arg(char *arg, ilb_hc_info_t *hc) argument
[all...]
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dprivcmd_hcall.c1180 privcmd_hypercall_t __hc, *hc = &__hc; local
1183 if (ddi_copyin(uarg, hc, sizeof (*hc), mode))
1186 switch (hc->op) {
1189 (mmu_update_t *)hc->arg[0], (int)hc->arg[1],
1190 (int *)hc->arg[2], (domid_t)hc->arg[3]);
1194 (xen_domctl_t *)hc->arg[0]);
1198 (xen_sysctl_t *)hc
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_hc.c56 /* Timer queue for all hc related timers. */
88 * Given a hc object name, return a pointer to hc object if found.
93 ilbd_hc_t *hc; local
95 for (hc = list_head(&ilbd_hc_list); hc != NULL;
96 hc = list_next(&ilbd_hc_list, hc)) {
97 if (strcasecmp(hc->ihc_name, name) == 0)
98 return (hc);
206 ilbd_hc_t *hc; local
308 ilbd_hc_t *hc; local
362 ilbd_hc_t *hc; local
436 ilbd_hc_t *hc; local
701 ilbd_hc_restart_timer(ilbd_hc_t *hc, ilbd_hc_srv_t *srv) argument
731 ilbd_hc_srv_add(ilbd_hc_t *hc, ilbd_hc_rule_t *hc_rule, const ilb_sg_srv_t *srv, int ev_port) argument
815 ilbd_hc_t *hc; local
865 ilbd_hc_t *hc; local
898 ilbd_hc_check_rule(const char *hc_name, const ilbd_rule_t *rule, ilbd_hc_t **hc, ilbd_hc_rule_t **hc_rule) argument
922 ilbd_hc_t *hc; local
934 ilbd_hc_t *hc; local
947 ilbd_hc_t *hc; local
1006 ilbd_hc_t *hc; local
[all...]
H A Dilbd_sg.c715 * o if the rule has a fixed hc port, check that this port
1077 ilbd_hc_t *hc; local
1079 for (hc = list_head(&ilbd_hc_list);
1080 hc != NULL && tmp_rbufsz >= sizeof (ilbd_name_t);
1081 hc = list_next(&ilbd_hc_list, hc)) {
1083 hc->ihc_name, sizeof (ilbd_name_t));
1341 * - tell the hc
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_diskq.c752 diskq_header *hc; /* current header */ local
758 hc = &group->diskq.disk_hdr.h;
762 hc->vers = RDC_DISKQ_VERS;
763 hc->state = h1.state;
764 hc->head_offset = h1.head_offset;
765 hc->tail_offset = h1.tail_offset;
766 hc->disk_size = h1.disk_size;
767 hc->nitems = h1.nitems;
768 hc->blocks = h1.blocks;
769 hc
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c51 #include <hc.h>
212 topo_mod_dprintf(mod, "initializing hc builtin\n");
218 topo_mod_dprintf(mod, "failed to register hc: "
513 /* hc:// */
541 /* hc-root */
561 /* append offset/physaddr if it exists in hc-specific */
680 char *hc, *fromstr; local
690 if ((hc = topo_mod_strdup(mod, fmri + 5)) == NULL)
693 hclen = strlen(hc) + 1;
697 * hc
1056 nvlist_t *hc; local
[all...]
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl.c1311 struct mwl_hal_channel *hc = &ci->channels[j]; local
1312 hc->ieee = 1+j;
1313 hc->freq = ieee2mhz(1+j);
1314 (void) memcpy(hc->targetPowers, &table[i], 4);
1315 setmaxtxpow(hc, 0, 4);
1335 struct mwl_hal_channel *hc; local
1344 hc = &ci->channels[j];
1345 hc->freq = (uint16_t)f;
1346 hc->ieee = table[i];
1347 (void) memcpy(hc
1360 setmaxtxpow(struct mwl_hal_channel *hc, int i, int maxix) argument
1484 const struct mwl_hal_channel *hc; local
1525 const struct mwl_hal_channel *hc; local
1860 const struct mwl_hal_channel *hc; local
2488 mwl_mapchan(MWL_HAL_CHANNEL *hc, const struct mwl_channel *chan) argument
2579 const struct mwl_hal_channel *hc; local
[all...]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c4124 char *hc[2] = { "s.acl.h", ".s.open.h.hyLZlg" }; local
4144 VERIFY3U(0, ==, zap_add(os, object, hc[i], sizeof (uint64_t),
4148 VERIFY3U(EEXIST, ==, zap_add(os, object, hc[i],
4151 zap_length(os, object, hc[i], &zl_intsize, &zl_ints));
4156 VERIFY3U(0, ==, zap_remove(os, object, hc[i], tx));

Completed in 111 milliseconds