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

123

/illumos-gate/usr/src/uts/sun4u/sys/
H A Dsbdpriv.h118 #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 Dunix.c232 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 Drdc_diskq.c295 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 Drdc_clnt.c88 void rdc_init_diskq_header(rdc_group_t *grp, dqheader *hd);
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/
H A Dboot1.c256 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 Dbiosdisk.c507 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 Dsgsbbc_mailbox.c2019 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 Dfem.c2967 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 Dmalloc.c201 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 Dspoolss_svc.c437 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 Dikeadm.c951 #define hd2num(hd) (((hd) >= '0' && (hd) <= '9') ? ((hd) - '0') : \
952 (((hd) >= 'a' && (hd) <= 'f') ? ((hd) - 'a' + 10) : ((hd) - 'A' + 10)))
H A Dipseckey.c818 #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 Dopl_cfg.c320 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 Dfdisk.c2245 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 Dfd.c196 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...]

Completed in 2027 milliseconds

123