/illumos-gate/usr/src/uts/sun4u/sys/ |
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/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/uts/common/avs/ns/rdc/ |
H A D | rdc_diskq.c | 295 rdc_fill_ioheader(rdc_aio_t *aio, io_hdr *hd, int qpos) argument 299 hd->dat.magic = RDC_IOHDR_MAGIC; 300 hd->dat.type = RDC_QUEUEIO; 301 hd->dat.pos = aio->pos; 302 hd->dat.hpos = aio->pos; 303 hd->dat.qpos = qpos; 304 hd->dat.len = aio->len; 305 hd->dat.flag = aio->flag; 306 hd->dat.iostatus = aio->iostatus; 307 hd [all...] |
H A D | rdc_clnt.c | 88 void rdc_init_diskq_header(rdc_group_t *grp, dqheader *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/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/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/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/lib/smbsrv/libmlsvc/common/ |
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/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 951 #define hd2num(hd) (((hd) >= '0' && (hd) <= '9') ? ((hd) - '0') : \ 952 (((hd) >= 'a' && (hd) <= 'f') ? ((hd) - 'a' + 10) : ((hd) - 'A' + 10)))
|
H A D | ipseckey.c | 818 #define hd2num(hd) (((hd) >= '0' && (hd) <= '9') ? ((hd) - '0') : \ 819 (((hd) >= 'a' && (hd) <= 'f') ? ((hd) - 'a' + 10) : ((hd) - 'A' + 10)))
|
/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/cmd/fdisk/ |
H A D | fdisk.c | 2245 uint32_t lba, cy, hd, sc; local 2254 hd = MAX_HEAD; 2258 hd = lba / hba_sectors % hba_heads; 2262 Table[ti].beghead = (uchar_t)hd; 2272 hd = MAX_HEAD; 2276 hd = lba / hba_sectors % hba_heads; 2280 Table[ti].endhead = (uchar_t)hd;
|
/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...] |