/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_macaddr.c | 39 prom_getmacaddr(ihandle_t hd, caddr_t ea) argument 46 * associated with the ihandle 'hd'. This handles the 52 macnodeid = prom_getphandle(hd);
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _D_cplx_div.c | 93 int ha, hb, hc, hd, hz, hw, hs, i, j; local 116 hd = dd.i[0] & ~0x80000000; 117 hw = (hc > hd)? hc : hd; 153 hd = dd.i[0] & ~0x80000000; 154 hw = (hc > hd)? hc : hd;
|
H A D | _D_cplx_div_ix.c | 103 int hb, hc, hd, hw, i, j; local 120 hd = dd.i[0] & ~0x80000000; 121 hw = (hc > hd)? hc : hd; 148 hd = dd.i[0] & ~0x80000000; 149 hw = (hc > hd)? hc : hd; 187 hd = (hd - 0x38000000) >> 28; 188 d = (d * scl[hd [all...] |
H A D | _D_cplx_div_rx.c | 103 int ha, hc, hd, hw, i, j; local 120 hd = dd.i[0] & ~0x80000000; 121 hw = (hc > hd)? hc : hd; 148 hd = dd.i[0] & ~0x80000000; 149 hw = (hc > hd)? hc : hd; 187 hd = (hd - 0x38000000) >> 28; 188 d = -(d * scl[hd [all...] |
H A D | _Q_cplx_div.c | 100 int ha, hb, hc, hd, hz, hw, hs, i, j; local 123 hd = dd.i[0] & ~0x80000000; 124 hw = (hc > hd)? hc : hd;
|
H A D | _Q_cplx_div_ix.c | 95 int hb, hc, hd, hw, i, j; local 114 hd = dd.i[0] & ~0x80000000; 115 hw = (hc > hd)? hc : hd; 171 hd = (hd - 0x3fff0000) >> 16; 172 _Q_scl(&d, -hd); 174 hd += hb; 178 _Q_scle(&d, hd);
|
H A D | _Q_cplx_div_rx.c | 95 int ha, hc, hd, hw, i, j; local 114 hd = dd.i[0] & ~0x80000000; 115 hw = (hc > hd)? hc : hd; 171 hd = (hd - 0x3fff0000) >> 16; 172 _Q_scl(&d, -hd); 174 hd += ha; 178 _Q_scle(&d, hd);
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | __flt_decim.c | 268 int i, is, esum, eround, hd; local 322 hd = *(1+(int *)dd); 324 hd = *(int *)dd; 326 hd = (hd >> 20) & 0x7ff; 327 if (hd >= 0x400) { 328 if (hd > 0x4e0) 331 i = TBL_DECADE_MAX - ((0x4e0 - hd) >> 2); 333 if (hd < 0x358) 336 i = TBL_DECADE_OFFSET - ((0x3ff - hd) >> [all...] |
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_nicmon.c | 122 smb_scfhandle_t *hd; local 128 if ((hd = smb_smf_scf_init(SMBD_FMRI_PREFIX)) == NULL) { 134 rc = smb_smf_create_service_pgroup(hd, SMBD_PG_NAME); 136 smb_smf_scf_fini(hd); 142 rc = smb_smf_get_boolean_property(hd, SMBD_NICMON_ENABLE, &status); 146 smb_smf_scf_fini(hd);
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | mvcur.c | 92 hd, /* cost home-down + relative */ local 115 rl = hd = hu = LARGECOST; 156 hd = _homefirst(newy, newx, H_DO, FALSE); 160 hd >= LARGECOST) 164 if (cm <= rl && cm <= hu && cm <= hd) 167 if (rl <= hu && rl <= hd) 170 (void) _homefirst(newy, newx, hu <= hd ?
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg_local.c | 336 cfgheader_t *hd; local 348 hd = cfp->cf_head; 399 hd->h_cfgs[table_index].l_size += len; 400 hd->h_cfgsizes[table_index] = cfl->l_size;
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_format.c | 74 int32_t cyl, hd; local 416 for (hd = start_head; hd < end_head; hd++) { 420 *p++ = (uchar_t)hd; 428 fdr_form.fdr_cmd[1] = hd << 2; 441 cyl, hd); 465 cyl, hd);
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | hash.c | 151 hash_find_list_cb(void *node, struct hash_data *hd) argument 156 if (hd->hd_hash->h_cmp(hd->hd_key, node) == 0) { 157 if ((cbrc = hd->hd_fun(node, hd->hd_private)) < 0) 170 struct hash_data hd; local 172 hd.hd_hash = hash; 173 hd.hd_fun = fun; 174 hd.hd_key = key; 175 hd 183 hash_find_first_cb(void *node, struct hash_data *hd) argument 197 struct hash_data hd; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_svc.c | 200 ndr_handle_t *hd; local 203 if ((hd = malloc(sizeof (ndr_handle_t))) == NULL) 215 bcopy(&id, &hd->nh_id, sizeof (ndr_hdid_t)); 216 hd->nh_pipe = xa->pipe; 217 hd->nh_svc = xa->binding->service; 218 hd->nh_data = (void *)data; 219 hd->nh_data_free = NULL; 222 hd->nh_next = ndr_handle_list; 223 ndr_handle_list = hd; 226 return (&hd 236 ndr_handle_t *hd; local 270 ndr_handle_t *hd; local 297 ndr_handle_t *hd; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | eventlog_svc.c | 191 ndr_handle_t *hd; local 194 if ((hd = ndr_hdlookup(mxa, id)) == NULL) 197 if ((ctx = (logr_context_t *)hd->nh_data) == NULL) 203 return (hd); 268 ndr_handle_t *hd; local 270 if ((hd = ndr_hdlookup(mxa, id)) == NULL) { 275 logr_context_data_free(hd->nh_data); 295 ndr_handle_t *hd; local 314 if (id && ((hd = logr_hdlookup(mxa, id)) != NULL)) { 315 hd 338 ndr_handle_t *hd; local 365 ndr_handle_t *hd; local 494 ndr_handle_t *hd; local [all...] |
H A D | svcctl_svc.c | 152 ndr_handle_t *hd; local 155 if ((hd = ndr_hdlookup(mxa, id)) == NULL) 158 if ((ctx = (svcctl_context_t *)hd->nh_data) == NULL) 164 return (hd); 175 ndr_handle_t *hd; local 180 if ((hd = ndr_hdlookup(mxa, id)) != NULL) { 181 ctx = (svcctl_context_t *)hd->nh_data; 254 ndr_handle_t *hd; local 257 hd = svcctl_hdlookup(mxa, mgr_id, SVCCTL_MANAGER_CONTEXT); 258 if (hd 351 ndr_handle_t *hd; local 416 ndr_handle_t *hd; local 436 ndr_handle_t *hd; local 489 ndr_handle_t *hd; local 563 ndr_handle_t *hd; local 618 ndr_handle_t *hd; local 667 ndr_handle_t *hd; local 747 ndr_handle_t *hd; local 824 ndr_handle_t *hd; local 891 ndr_handle_t *hd; local 931 ndr_handle_t *hd; local 978 ndr_handle_t *hd; local 1069 ndr_handle_t *hd; local 1122 ndr_handle_t *hd; local 1192 ndr_handle_t *hd; local 1306 ndr_handle_t *hd; local [all...] |
H A D | lsar_svc.c | 330 ndr_handle_t *hd; local 332 hd = ndr_hdlookup(mxa, id); 333 if ((hd == NULL) || (hd->nh_data != &lsarpc_key_domain)) { 478 ndr_handle_t *hd; local 480 hd = ndr_hdlookup(mxa, id); 481 if ((hd == NULL) || (hd->nh_data != &lsarpc_key_domain)) { 497 ndr_handle_t *hd; local 499 hd [all...] |
H A D | winreg_svc.c | 359 ndr_handle_t *hd; local 371 if ((hd = ndr_hdlookup(mxa, id)) != NULL) 372 hd->nh_data_free = free; 380 ndr_handle_t *hd; local 382 if ((hd = ndr_hdlookup(mxa, id)) != NULL) { 383 free(hd->nh_data); 384 hd->nh_data = NULL; 398 ndr_handle_t *hd; local 413 hd = ndr_hdlookup(mxa, id); 414 if (hd 636 ndr_handle_t *hd; local 815 ndr_handle_t *hd; local [all...] |
/illumos-gate/usr/src/lib/libmalloc/common/ |
H A D | malloc.c | 201 struct header *hd; local 267 * | | | hd--> +-------+ | 281 hd = (struct header *)((char *)fr - minhead); 283 hd->nextblk = ((struct header *)((char *)alloc_buf - minhead))->nextblk; 284 ((struct header *)((char *)alloc_buf - minhead))->nextblk = SETBUSY(hd);
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | bridge_rcm.c | 201 bridge_register(rcm_handle_t *hd) argument 207 if ((retv = cache_update(hd)) != RCM_SUCCESS) 215 retv = rcm_register_event(hd, RCM_RESOURCE_LINK_NEW, 0, NULL); 234 bridge_unregister(rcm_handle_t *hd) argument 245 retv = rcm_unregister_interest(hd, node->vc_resource, 0); 263 retv = rcm_unregister_event(hd, RCM_RESOURCE_LINK_NEW, 0); 282 bridge_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, argument 292 node = cache_lookup(hd, rsrc, CACHE_REFRESH); 329 bridge_undo_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, argument 339 node = cache_lookup(hd, rsr 381 bridge_get_info(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **usagep, char **errorp, nvlist_t *props, rcm_info_t **info) argument 422 bridge_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flags, char **errorp, rcm_info_t **info) argument 434 bridge_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument 446 bridge_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument 482 bridge_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, nvlist_t *nvl, rcm_info_t **info) argument 593 cache_lookup(rcm_handle_t *hd, char *rsrc, uint_t options) argument 661 rcm_handle_t *hd; member in struct:bridge_update_arg_s 672 rcm_handle_t *hd = bua->hd; local 738 cache_update(rcm_handle_t *hd) argument 862 bridge_configure(rcm_handle_t *hd, datalink_id_t linkid) argument [all...] |
H A D | network_rcm.c | 100 static void update_cache(rcm_handle_t *hd); 194 net_register(rcm_handle_t *hd) argument 196 update_cache(hd); 202 if (rcm_register_event(hd, RCM_RESOURCE_PHYSLINK_NEW, 0, NULL) 227 net_unregister(rcm_handle_t *hd) argument 231 assert(hd != NULL); 237 (void) rcm_unregister_interest(hd, probe->resource, 0); 248 if (rcm_unregister_event(hd, RCM_RESOURCE_PHYSLINK_NEW, 0) 270 net_passthru(rcm_handle_t *hd, int op, const char *rsrc, uint_t flag, argument 317 rv = rcm_request_suspend(hd, exporte 370 net_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **reason, rcm_info_t **dependent_reason) argument 391 net_online(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **reason, rcm_info_t **dependent_reason) argument 416 net_getinfo(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **info, char **errstr, nvlist_t *proplist, rcm_info_t **depend_info) argument 498 net_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flag, char **reason, rcm_info_t **dependent_reason) argument 523 net_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **info, rcm_info_t **dependent_info) argument 548 net_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **info, rcm_info_t **dependent_info) argument 727 update_cache(rcm_handle_t *hd) argument 817 net_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, nvlist_t *nvl, rcm_info_t **depend_info) argument [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald_runner.c | 490 HelperData *hd = NULL; local 514 hd = malloc(sizeof(HelperData)); 515 hd->d = device; 516 hd->cb = cb; 517 hd->data1 = data1; 518 hd->data2 = data2; 522 dbus_pending_call_set_notify(call, call_notify, hd, free); 527 free(hd);
|
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/ |
H A D | boot1.c | 256 HARDDRIVE_DEVICE_PATH *hd; local 258 hd = (HARDDRIVE_DEVICE_PATH *)(void *)devpath; 259 return snprintf(buf, size, "hd(%x)", 260 hd->PartitionNumber);
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 370 did_t *hd, *pd; local 373 pd = hd = did_find(mod, topo_node_getspecific(head)); 374 assert(hd != NULL); 375 while ((hd = did_link_get(hd)) != NULL) 376 pd = hd;
|
/illumos-gate/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 1029 uint32_t lba, cy, hd, sc; local 1040 hd = MAX_HEAD; 1044 hd = lba / sectors % heads; 1049 part->beghead = (uchar_t)hd; 1059 hd = MAX_HEAD; 1063 hd = lba / sectors % heads; 1067 part->endhead = (uchar_t)hd;
|