Lines Matching refs:devnum
131 sbd_pre_attach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_attach_io() argument
135 _NOTE(ARGUNUSED(devnum)) in sbd_pre_attach_io()
142 sbd_pre_detach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_pre_detach_io() argument
148 if (devnum <= 0) in sbd_pre_detach_io()
152 if (sbd_check_io_refs(hp, devlist, devnum) > 0) { in sbd_pre_detach_io()
162 sbd_post_attach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_post_attach_io() argument
166 _NOTE(ARGUNUSED(devnum)) in sbd_post_attach_io()
173 sbd_post_detach_io(sbd_handle_t *hp, sbd_devlist_t *devlist, int devnum) in sbd_post_detach_io() argument
326 sbd_check_io_refs(sbd_handle_t *hp, sbd_devlist_t devlist[], int devnum) in sbd_check_io_refs() argument
336 for (i = 0; i < devnum; i++) { in sbd_check_io_refs()
391 sbd_devlist_t *devlist, int devnum) in sbd_pre_release_io() argument
397 ASSERT(devnum > 0); in sbd_pre_release_io()
400 if ((rv = sbd_check_io_refs(hp, devlist, devnum)) > 0) { in sbd_pre_release_io()
405 for (i = 0; i < devnum; i++) { in sbd_pre_release_io()