/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/boot/sys/boot/i386/libi386/ |
H A D | biosdisk.c | 507 u_int x, bpc, cyl, hd, sec; local 513 hd = x / BD(dev).bd_sec; /* offset / blocks per track */ 530 v86.edx = (hd << 8) | BD(dev).bd_unit;
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | unix.c | 232 struct av_head hd; local 258 if (mdb_vread(&hd, sizeof (hd), addr) == -1) { 263 if (hd.avh_link == NULL) { 269 if (mdb_vread(&av, sizeof (av), (uintptr_t)hd.avh_link) == -1) { 271 (uintptr_t)hd.avh_link);
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | aggr_rcm.c | 291 aggr_register(rcm_handle_t *hd) argument 295 if (cache_update(hd) < 0) 303 if (rcm_register_event(hd, RCM_RESOURCE_LINK_NEW, 0, NULL) 323 aggr_unregister(rcm_handle_t *hd) argument 333 if (rcm_unregister_interest(hd, node->vc_resource, 0) 354 if (rcm_unregister_event(hd, RCM_RESOURCE_LINK_NEW, 0) 374 aggr_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, argument 383 node = cache_lookup(hd, rsrc, CACHE_REFRESH); 397 if (aggr_consumer_offline(hd, node, errorp, flags, 433 aggr_undo_offline(rcm_handle_t *hd, cha argument 578 aggr_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 622 aggr_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flags, char **errorp, rcm_info_t **depend_info) argument 634 aggr_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **depend_info) argument 646 aggr_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **depend_info) argument 700 aggr_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 837 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) argument 903 aggr_port_update(rcm_handle_t *hd, dl_aggr_t *aggr, datalink_id_t portid) argument 967 rcm_handle_t *hd; member in struct:aggr_update_arg_s 978 rcm_handle_t *hd = aggr_update_argp->hd; local 1050 aggr_update_all(rcm_handle_t *hd) argument 1067 cache_update(rcm_handle_t *hd) argument 1193 aggr_consumer_offline(rcm_handle_t *hd, link_cache_t *node, char **errorp, uint_t flags, rcm_info_t **depend_info) argument 1226 aggr_consumer_online(rcm_handle_t *hd, link_cache_t *node, char **errorp, uint_t flags, rcm_info_t **depend_info) argument 1261 aggr_notify_new_aggr(rcm_handle_t *hd, char *rsrc) argument 1330 aggr_consumer_notify(rcm_handle_t *hd, datalink_id_t linkid, char **errorp, uint_t flags, rcm_info_t **depend_info) argument 1435 aggr_configure_all(rcm_handle_t *hd, datalink_id_t linkid, boolean_t *up) argument [all...] |
H A D | ibpart_rcm.c | 224 ibpart_register(rcm_handle_t *hd) argument 228 if (cache_update(hd) < 0) 236 if (rcm_register_event(hd, RCM_RESOURCE_LINK_NEW, 0, NULL) 256 ibpart_unregister(rcm_handle_t *hd) argument 266 if (rcm_unregister_interest(hd, node->pc_resource, 0) 284 if (rcm_unregister_event(hd, RCM_RESOURCE_LINK_NEW, 0) 304 ibpart_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, argument 313 node = cache_lookup(hd, rsrc, CACHE_REFRESH); 325 if (ibpart_consumer_offline(hd, node, errorp, flags, info) == 362 ibpart_undo_offline(rcm_handle_t *hd, cha argument 475 ibpart_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 516 ibpart_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flags, char **errorp, rcm_info_t **info) argument 528 ibpart_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument 541 ibpart_consumer_remove(rcm_handle_t *hd, link_cache_t *node, uint_t flags, rcm_info_t **info) argument 581 ibpart_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument 617 ibpart_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, nvlist_t *nvl, rcm_info_t **info) argument 778 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) argument 853 rcm_handle_t *hd; member in struct:ibpart_update_arg_s 864 rcm_handle_t *hd = ibpart_update_argp->hd; local 973 ibpart_update_all(rcm_handle_t *hd) argument 990 cache_update(rcm_handle_t *hd) argument 1138 ibpart_consumer_online(rcm_handle_t *hd, link_cache_t *node, char **errorp, uint_t flags, rcm_info_t **info) argument 1168 ibpart_consumer_offline(rcm_handle_t *hd, link_cache_t *node, char **errorp, uint_t flags, rcm_info_t **info) argument 1202 ibpart_notify_new_ibpart(rcm_handle_t *hd, char *rsrc) argument 1259 ibpart_consumer_notify(rcm_handle_t *hd, datalink_id_t linkid, char **errorp, uint_t flags, rcm_info_t **info) argument 1336 ibpart_configure(rcm_handle_t *hd, datalink_id_t linkid) argument [all...] |
H A D | vlan_rcm.c | 224 vlan_register(rcm_handle_t *hd) argument 228 if (cache_update(hd) < 0) 236 if (rcm_register_event(hd, RCM_RESOURCE_LINK_NEW, 0, NULL) 256 vlan_unregister(rcm_handle_t *hd) argument 266 if (rcm_unregister_interest(hd, node->vc_resource, 0) 284 if (rcm_unregister_event(hd, RCM_RESOURCE_LINK_NEW, 0) 304 vlan_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, argument 313 node = cache_lookup(hd, rsrc, CACHE_REFRESH); 325 if (vlan_consumer_offline(hd, node, errorp, flags, info) == 362 vlan_undo_offline(rcm_handle_t *hd, cha argument 465 vlan_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 506 vlan_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flags, char **errorp, rcm_info_t **info) argument 518 vlan_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument 531 vlan_consumer_remove(rcm_handle_t *hd, link_cache_t *node, uint_t flags, rcm_info_t **info) argument 570 vlan_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument 606 vlan_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, nvlist_t *nvl, rcm_info_t **info) argument 762 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) argument 837 rcm_handle_t *hd; member in struct:vlan_update_arg_s 848 rcm_handle_t *hd = vlan_update_argp->hd; local 945 vlan_update_all(rcm_handle_t *hd) argument 962 cache_update(rcm_handle_t *hd) argument 1109 vlan_consumer_online(rcm_handle_t *hd, link_cache_t *node, char **errorp, uint_t flags, rcm_info_t **info) argument 1138 vlan_consumer_offline(rcm_handle_t *hd, link_cache_t *node, char **errorp, uint_t flags, rcm_info_t **info) argument 1171 vlan_notify_new_vlan(rcm_handle_t *hd, char *rsrc) argument 1227 vlan_consumer_notify(rcm_handle_t *hd, datalink_id_t linkid, char **errorp, uint_t flags, rcm_info_t **info) argument 1301 vlan_configure(rcm_handle_t *hd, datalink_id_t linkid) argument [all...] |
H A D | vnic_rcm.c | 224 vnic_register(rcm_handle_t *hd) argument 228 if (cache_update(hd) < 0) 236 if (rcm_register_event(hd, RCM_RESOURCE_LINK_NEW, 0, NULL) 256 vnic_unregister(rcm_handle_t *hd) argument 266 if (rcm_unregister_interest(hd, node->vc_resource, 0) 284 if (rcm_unregister_event(hd, RCM_RESOURCE_LINK_NEW, 0) 304 vnic_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, argument 313 node = cache_lookup(hd, rsrc, CACHE_REFRESH); 325 if (vnic_consumer_offline(hd, node, errorp, flags, info) == 362 vnic_undo_offline(rcm_handle_t *hd, cha argument 468 vnic_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 509 vnic_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flags, char **errorp, rcm_info_t **info) argument 521 vnic_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument 534 vnic_consumer_remove(rcm_handle_t *hd, link_cache_t *node, uint_t flags, rcm_info_t **info) argument 573 vnic_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, rcm_info_t **info) argument 609 vnic_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **errorp, nvlist_t *nvl, rcm_info_t **info) argument 765 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) argument 840 rcm_handle_t *hd; member in struct:vnic_update_arg_s 851 rcm_handle_t *hd = vnic_update_argp->hd; local 957 vnic_update_all(rcm_handle_t *hd) argument 974 cache_update(rcm_handle_t *hd) argument 1121 vnic_consumer_online(rcm_handle_t *hd, link_cache_t *node, char **errorp, uint_t flags, rcm_info_t **info) argument 1150 vnic_consumer_offline(rcm_handle_t *hd, link_cache_t *node, char **errorp, uint_t flags, rcm_info_t **info) argument 1183 vnic_notify_new_vnic(rcm_handle_t *hd, char *rsrc) argument 1238 vnic_consumer_notify(rcm_handle_t *hd, datalink_id_t linkid, char **errorp, uint_t flags, rcm_info_t **info) argument 1312 vnic_configure(rcm_handle_t *hd, datalink_id_t linkid) argument [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_rcm.c | 67 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/librcm/ |
H A D | librcm.c | 55 rcm_handle_t *hd; local 69 if ((hd = calloc(1, sizeof (*hd))) == NULL) { 77 if ((hd->modname = strdup(namebuf)) == NULL) { 78 free(hd); 83 free(hd->modname); 84 free(hd); 93 hd->pid = (pid_t)0; 95 hd->pid = (pid_t)getpid(); 98 *hdp = hd; 104 rcm_free_handle(rcm_handle_t *hd) argument 126 rcm_get_info(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop) argument 152 rcm_get_info_list(rcm_handle_t *hd, char **rsrcnames, uint_t flag, rcm_info_t **infop) argument 166 rcm_request_offline(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop) argument 179 rcm_request_offline_list(rcm_handle_t *hd, char **rsrcnames, uint_t flag, rcm_info_t **infop) argument 192 rcm_notify_online(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop) argument 205 rcm_notify_online_list(rcm_handle_t *hd, char **rsrcnames, uint_t flag, rcm_info_t **infop) argument 218 rcm_notify_remove(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop) argument 231 rcm_notify_remove_list(rcm_handle_t *hd, char **rsrcnames, uint_t flag, rcm_info_t **infop) argument 244 rcm_request_suspend(rcm_handle_t *hd, char *rsrcname, uint_t flag, timespec_t *interval, rcm_info_t **infop) argument 257 rcm_request_suspend_list(rcm_handle_t *hd, char **rsrcnames, uint_t flag, timespec_t *interval, rcm_info_t **infop) argument 272 rcm_notify_resume(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop) argument 285 rcm_notify_resume_list(rcm_handle_t *hd, char **rsrcnames, uint_t flag, rcm_info_t **infop) argument 298 rcm_request_capacity_change(rcm_handle_t *hd, char *rsrcname, uint_t flag, nvlist_t *nvl, rcm_info_t **infop) argument 320 rcm_notify_capacity_change(rcm_handle_t *hd, char *rsrcname, uint_t flag, nvlist_t *nvl, rcm_info_t **infop) argument 342 rcm_notify_event(rcm_handle_t *hd, char *rsrcname, uint_t flag, nvlist_t *nvl, rcm_info_t **infop) argument 368 rcm_register_capacity(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop) argument 388 rcm_unregister_capacity(rcm_handle_t *hd, char *rsrcname, uint_t flag) argument 411 rcm_register_event(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop) argument 431 rcm_unregister_event(rcm_handle_t *hd, char *rsrcname, uint_t flag) argument 456 rcm_register_interest(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop) argument 476 rcm_unregister_interest(rcm_handle_t *hd, char *rsrcname, uint_t flag) argument 495 rcm_get_rsrcstate(rcm_handle_t *hd, char *rsrcname, int *statep) argument 981 rcm_common(int cmd, rcm_handle_t *hd, char **rsrcnames, uint_t flag, void *arg, rcm_info_t **infop) argument 1038 rcm_direct_call(int cmd, rcm_handle_t *hd, char **rsrcnames, uint_t flag, void *arg, rcm_info_t **infop) argument 1120 rcm_daemon_call(int cmd, rcm_handle_t *hd, char **rsrcnames, uint_t flag, void *arg, rcm_info_t **infop) argument 1326 rcm_generate_nvlist(int cmd, rcm_handle_t *hd, char **rsrcnames, uint_t flag, void *arg, char **nvl_packed, size_t *nvl_size) argument 1543 rcm_get_client_name(rcm_handle_t *hd) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
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 | samr_svc.c | 158 ndr_handle_t *hd; local 174 if ((hd = ndr_hdlookup(mxa, id)) != NULL) 175 hd->nh_data_free = free; 186 ndr_handle_t *hd; local 188 if ((hd = ndr_hdlookup(mxa, id)) != NULL) { 189 free(hd->nh_data); 190 hd->nh_data = NULL; 201 ndr_handle_t *hd; local 204 if ((hd = ndr_hdlookup(mxa, id)) == NULL) 207 if ((data = (samr_keydata_t *)hd 438 ndr_handle_t *hd; local 556 ndr_handle_t *hd; local 640 ndr_handle_t *hd; local 697 ndr_handle_t *hd; local 778 ndr_handle_t *hd; local 875 ndr_handle_t *hd; local 910 ndr_handle_t *hd; local 969 ndr_handle_t *hd; local 1027 ndr_handle_t *hd; local 1204 ndr_handle_t *hd; local 1394 ndr_handle_t *hd; local 1562 ndr_handle_t *hd; local 1674 ndr_handle_t *hd; local 1741 ndr_handle_t *hd; local [all...] |
H A D | spoolss_svc.c | 437 ndr_handle_t *hd; local 439 if ((hd = ndr_hdlookup(mxa, id)) != NULL) { 440 free(hd->nh_data); 441 hd->nh_data = NULL;
|
/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/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/cmd/fdformat/ |
H A D | fdformat.c | 463 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/fs/hsfs/ |
H A D | hsfs_vnops.c | 483 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/fs/ |
H A D | fem.c | 2967 struct fem_head *hd; local 2979 if ((hd = *hp) == NULL) { /* construct a proto-list */ 2980 hd = new_femhead(hp); 2992 list = fem_lock(hd); 3002 fem_unlock(hd); 3004 (void) fem_lock(hd); 3005 if (hd->femh_list == olist) { 3016 fem_unlock(hd); 3025 hd->femh_list = list; 3032 fem_unlock(hd); [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/uts/sun4v/sys/ |
H A D | prom_plat.h | 204 extern int prom_getmacaddr(ihandle_t hd, caddr_t ea);
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sgsbbc_mailbox.c | 2019 struct sbbc_mbox_header *hd; local 2028 hd = (struct sbbc_mbox_header *)0; 2044 (&hd->mailboxes[SBBC_INBOX].mbox_producer); 2051 (&hd->mailboxes[SBBC_OUTBOX].mbox_consumer); 2077 struct sbbc_mbox_header *hd; local 2085 hd = (struct sbbc_mbox_header *)0; 2092 (&hd->mailboxes[SBBC_INBOX].mbox_consumer); 2099 (&hd->mailboxes[SBBC_OUTBOX].mbox_producer);
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | prom_plat.h | 209 extern int prom_getmacaddr(ihandle_t hd, caddr_t ea);
|
H A D | sbdpriv.h | 118 #define SBD_HD2ERR(hd) ((hd)->h_err) 596 #define HD2MACHHD(hd) ((sbd_priv_handle_t *)(hd)) 607 #define HD2MACHERR(hd) ERR2MACHERR(SBD_HD2ERR(hd))
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | opl_cfg.c | 320 hwd_header_t *hd; local 379 hd = (hwd_header_t *)hwdp; 381 ((char *)hwdp + hd->hdr_sb_status_offset); 383 ((char *)hwdp + hd->hdr_domain_info_offset); 385 ((char *)hwdp + hd->hdr_sb_info_offset); 387 *hdrp = hd;
|
/illumos-gate/usr/src/uts/sun/sys/dada/adapters/ghd/ |
H A D | ghd_scsa.h | 44 #define HBA_SETGEOM(hd, sec) (((hd) << 16) | (sec))
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | fd.c | 196 static int fdformat(struct fdctlr *fdc, int unit, int cyl, int hd); 362 { "3.5\" floppy cyl 80 alt 0 hd 2 sec 21" }, 388 { "3.5\" floppy cyl 80 alt 0 hd 2 sec 18" }, 418 { "3.5\" floppy cyl 77 alt 0 hd 2 sec 8" }, 444 { "3.5\" floppy cyl 80 alt 0 hd 2 sec 9" }, 2417 int cyl, hd, spc, spt; local 2491 hd = (fc.fdc_blkno % spc) / spt; 2521 if (fdformat(fdc, unit, cyl, hd)) 2947 fdformat(struct fdctlr *fdc, int unit, int cyl, int hd) argument 2961 (C, "fdformat cyl %d, hd [all...] |