Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/
H A Dfd.c128 static void *fd_state_head; /* opaque handle top of state structs */ variable
175 if ((retval = ddi_soft_state_init(&fd_state_head, in _init()
181 ddi_soft_state_fini(&fd_state_head); in _init()
192 ddi_soft_state_fini(&fd_state_head); in _fini()
207 *fdpp = ddi_get_soft_state(fd_state_head, DRIVE(dev)); in fd_getdrive()
420 if (ddi_soft_state_zalloc(fd_state_head, drive_num) != 0) in fd_attach()
422 fdp = ddi_get_soft_state(fd_state_head, drive_num); in fd_attach()
546 ddi_soft_state_free(fd_state_head, drive_num); in fd_attach()
567 if (!(fdp = ddi_get_soft_state(fd_state_head, drive_num))) in fd_detach()
587 ddi_soft_state_free(fd_state_head, drive_num); in fd_detach()