Home
last modified time | relevance | path

Searched refs:fd_state_head (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dfd.c131 static void *fd_state_head; /* opaque handle top of state structs */ variable
178 if ((retval = ddi_soft_state_init(&fd_state_head, in _init()
184 ddi_soft_state_fini(&fd_state_head); in _init()
195 ddi_soft_state_fini(&fd_state_head); in _fini()
210 *fdpp = ddi_get_soft_state(fd_state_head, DRIVE(dev)); in fd_getdrive()
425 if (ddi_soft_state_zalloc(fd_state_head, drive_num) != 0) in fd_attach()
427 fdp = ddi_get_soft_state(fd_state_head, drive_num); in fd_attach()
551 ddi_soft_state_free(fd_state_head, drive_num); in fd_attach()
572 if (!(fdp = ddi_get_soft_state(fd_state_head, drive_num))) in fd_detach()
592 ddi_soft_state_free(fd_state_head, drive_num); in fd_detach()