Searched refs:hd (Results 26 - 50 of 65) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_cplx_div.c100 int ha, hb, hc, hd, hz, hw, hs, i, j; local
123 hd = dd.i[0] & ~0x80000000;
124 hw = (hc > hd)? hc : hd;
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dsvm_rcm.c159 static int svm_register(rcm_handle_t *hd);
160 static int svm_unregister(rcm_handle_t *hd);
161 static int svm_unregister_device(rcm_handle_t *hd, deventry_t *d);
185 static void cache_sync(rcm_handle_t *hd, cache_t **cachep);
190 static void svm_register_device(rcm_handle_t *hd, char *devname);
196 static int svm_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
198 static int svm_online(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
200 static int svm_get_info(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
202 static int svm_suspend(rcm_handle_t *hd, char *rsrc, id_t id,
205 static int svm_resume(rcm_handle_t *hd, cha
323 svm_register(rcm_handle_t *hd) argument
370 svm_unregister(rcm_handle_t *hd) argument
412 svm_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **infop) argument
549 svm_online(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **infop) argument
613 svm_get_info(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **usagep, char **errorp, nvlist_t *props, rcm_info_t **infop) argument
758 svm_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flags, char **errorp, rcm_info_t **infop) argument
824 svm_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **infop) argument
893 svm_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **infop) argument
2085 cache_sync(rcm_handle_t *hd, cache_t **cachep) argument
2371 svm_register_device(rcm_handle_t *hd, char *devname) argument
3089 svm_unregister_device(rcm_handle_t *hd, deventry_t *d) argument
[all...]
H A Dip_rcm.c308 ip_register(rcm_handle_t *hd) argument
313 assert(hd != NULL);
315 if (update_cache(hd) < 0)
323 if (rcm_register_event(hd, RCM_RESOURCE_LINK_NEW, 0, NULL)
343 ip_unregister(rcm_handle_t *hd) argument
350 assert(hd != NULL);
356 if (rcm_unregister_interest(hd, probe->ip_resource, 0)
372 if (rcm_unregister_event(hd, RCM_RESOURCE_LINK_NEW, 0)
392 ip_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, argument
404 assert(hd !
538 ip_undo_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **depend_info) argument
600 ip_get_info(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **usagep, char **errorp, nvlist_t *props, rcm_info_t **depend_info) argument
656 ip_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flags, char **errorp, rcm_info_t **depend_info) argument
676 ip_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t ** depend_info) argument
696 ip_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **depend_info) argument
737 ip_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
958 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) argument
1054 update_pif(rcm_handle_t *hd, int af, int sock, struct ifaddrs *ifa) argument
1238 update_ipifs(rcm_handle_t *hd, int af) argument
1275 update_cache(rcm_handle_t *hd) argument
2093 ip_onlinelist(rcm_handle_t *hd, ip_cache_t *node, char **errorp, uint_t flags, rcm_info_t **depend_info) argument
2122 ip_offlinelist(rcm_handle_t *hd, ip_cache_t *node, char **errorp, uint_t flags, rcm_info_t **depend_info) argument
2230 ip_consumer_notify(rcm_handle_t *hd, datalink_id_t linkid, char **errorp, uint_t flags, rcm_info_t **depend_info) argument
[all...]
H A Dttymux_rcm.c963 rsrc_change_common(rcm_handle_t *hd, int op, const char *rsrcid, uint_t flag, argument
1251 tty_register(rcm_handle_t *hd) argument
1285 rv = rcm_register_interest(hd, rsrc->id, 0, NULL);
1297 rv = rcm_register_interest(hd, link->used->id,
1317 tty_unregister(rcm_handle_t *hd) argument
1330 if (rcm_unregister_interest(hd, rsrc->id, 0) != RCM_SUCCESS)
1345 tty_getinfo(rcm_handle_t *hd, char *rsrcid, id_t id, uint_t flag, char **info, argument
1392 tty_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, argument
1395 return (rsrc_change_common(hd, TTYMUX_OFFLINE, rsrc, flags,
1401 tty_remove(rcm_handle_t *hd, cha argument
1410 tty_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flag, char **reason, rcm_info_t **dependent_reason) argument
1419 tty_online(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **reason, rcm_info_t **dependent_reason) argument
1428 tty_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **reason, rcm_info_t **dependent_reason) argument
[all...]
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_format.c74 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/lib/cfgadm_plugins/sbd/common/
H A Dap_rcm.c67 rcm_handle_t *hd; member in struct:__anon65
401 (*rcm->alloc_handle)(NULL, RCM_NOPID, NULL, &rcm->hd)
479 if (rcm->hd)
480 (*rcm->free_handle)(rcm->hd);
645 ap_rcm_cap_cpu(apd_t *a, rcmd_t *rcm, rcm_handle_t *hd, uint_t flags, argument
792 rv = (*rcm->request_capacity_change)(hd, "SUNW_cpu",
795 rv = (*rcm->notify_capacity_change)(hd, "SUNW_cpu",
807 ap_rcm_cap_mem(apd_t *a, rcmd_t *rcm, rcm_handle_t *hd, uint_t flags, argument
868 rv = (*rcm->request_capacity_change)(hd, "SUNW_memory",
871 rv = (*rcm->notify_capacity_change)(hd, "SUNW_memor
881 ap_rcm_request_cap(apd_t *a, rcmd_t *rcm, rcm_handle_t *hd, int *rv, uint_t flags, rcm_info_t **rinfo) argument
938 ap_rcm_add_cap(apd_t *a, rcmd_t *rcm, rcm_handle_t *hd, int *rv, uint_t flags, rcm_info_t **rinfo) argument
1037 ap_rcm_notify_cap(apd_t *a, rcmd_t *rcm, rcm_handle_t *hd, int *rv, uint_t flags, rcm_info_t **rinfo) argument
1162 rcm_handle_t *hd; local
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmvcur.c92 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/cmd/hal/hald/
H A Dhald_runner.c490 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/lib/smbsrv/libmlsvc/common/
H A Dwinreg_svc.c359 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...]
H A Dlsar_svc.c330 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...]
/illumos-gate/usr/src/cmd/audio/audiotest/
H A Daudiotest.c228 testdsp(int hd, int flags, testcfg_t *tcfg) argument
241 if (ioctl(hd, SNDCTL_DSP_GETCAPS, &caps) == -1) {
252 if (ioctl(hd, SNDCTL_DSP_SETFMT, &tmp) == -1 || tmp != AFMT_S16_NE) {
263 if (ioctl(hd, SNDCTL_DSP_CHANNELS, &tmp) == -1 || tmp != tcfg->nchan) {
273 if (ioctl(hd, SNDCTL_DSP_SPEED, &tmp) == -1) {
306 if (write(hd, ccfg->data, ccfg->len) < 0) {
317 (void) ioctl(hd, SNDCTL_DSP_GETODELAY, &delay); /* Ignore errors */
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.c370 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/uts/common/fs/hsfs/
H A Dhsfs_subr.c286 hsfs_valid_dir(hd)
287 struct hs_direntry *hd;
294 if (hd->ext_size == 0)
297 if (hd->type != VDIR)
H A Dhsfs_node.c719 struct hs_direntry hd; local
739 error = hs_parsedir(fsp, &dirp[off], &hd, (char *)NULL, (int *)NULL,
742 *vpp = hs_makenode(&hd, lbn, off, vfsp);
1457 struct hs_direntry hd; local
1521 bzero(&hd, sizeof (hd));
1568 fsp, &hd);
1569 if (hd.sym_link) {
1570 kmem_free(hd.sym_link,
1571 (size_t)(hd
[all...]
H A Dhsfs_vnops.c483 struct hs_direntry hd; local
560 bzero(&hd, sizeof (hd));
567 &hd, dname, &dnamelen, last_offset - offset)) {
593 if (hd.inode != 0 && use_rrip_inodes) {
594 dirino = hd.inode;
595 } else if ((hd.ext_size == 0 ||
596 hd.sym_link != (char *)NULL) &&
600 dirino = hd.ext_lbn;
617 if (hd
[all...]
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_impl.h80 extern int hsfs_valid_dir(struct hs_direntry *hd);
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg.c1465 cfgheader_t *hd = cfp->cf_head; local
1468 (void) fprintf(stderr, "callocing %d for initial reads\n", hd->h_csize);
1471 hd->h_ccopy1 = (char *)calloc(hd->h_csize, sizeof (char));
1472 hd->h_ccopy2 = (char *)calloc(hd->h_csize, sizeof (char));
1473 hd->h_sizes1 = (int *)calloc(CFG_DEFAULT_PSIZE, sizeof (int));
1474 hd->h_sizes2 = (int *)calloc(CFG_DEFAULT_PSIZE, sizeof (int));
1485 cfgheader_t *hd = cfp->cf_head; local
1487 hd
1512 cfgheader_t *hd; local
[all...]
H A Dcfg_local.c336 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/uts/sun4v/sys/
H A Dprom_plat.h204 extern int prom_getmacaddr(ihandle_t hd, caddr_t ea);
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Deepro100.c133 void hd(void *where, int n);
425 hd (&txfd, sizeof (txfd));
526 hd (nic->packet, 0x30);
678 hd (&txfd, 0x20);
752 void hd (void *where, int n) function
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c1029 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;
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dmkbimage84 '1.68', '1.74', '2.88' or 'hd' [default is hd]
234 image_type=hd;
238 && [ "$image_type" != "hd" ] && [ "$image_type" != "1.60" ] ; then
293 hd) heads=16;
345 if [ "$image_type" = "hd" ]; then
374 if [ "$image_type" = "hd" ]; then
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dprom_plat.h209 extern int prom_getmacaddr(ihandle_t hd, caddr_t ea);
/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c463 int cyl, hd; local
585 "5.25\" floppy cyl 80 alt 0 hd 2 sec 15");
590 "3.5\" floppy cyl 80 alt 0 hd 2 sec 18");
599 "5.25\" floppy cyl 40 alt 0 hd 2 sec 9");
613 "3.5\" floppy cyl 80 alt 0 hd 2 sec 9");
631 "3.5\" floppy cyl 77 alt 0 hd 2 sec 8");
639 "3.5\" floppy cyl 80 alt 0 hd 2 sec 36");
886 for (hd = 0; hd < fdchar.fdc_nhead; hd
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c224 SesEncHdr hd; local
285 if (ses_enchdr((uchar_t *)sdata, amt, i, &hd)) {
293 "Length %d\n", hd.Subencid, hd.Ntypes, hd.VEnclen);
307 ntype += hd.Ntypes;

Completed in 1754 milliseconds

123