Searched refs:md_ops (Results 1 – 5 of 5) sorted by relevance
174 md_ops_t **md_ops = NULL; variable536 md_ops = (md_ops_t **)kmem_zalloc( in mdattach()792 if (md_ops != NULL) { in mddetach()793 kmem_free(md_ops, sizeof (md_ops_t *) * MD_NOPS); in mddetach()794 md_ops = NULL; in mddetach()1543 if (md_ops[ui->ui_opsindex]->md_open != NULL) { in mdopen()1544 if ((err = (*md_ops[ui->ui_opsindex]->md_open) in mdopen()1633 if (md_ops[ui->ui_opsindex]->md_close != NULL) { in mdclose()1634 if ((err = (*md_ops[ui->ui_opsindex]->md_close) in mdclose()1678 if (md_ops[ui->ui_opsindex]->md_read != NULL) in mdread()[all …]
86 extern md_ops_t **md_ops;1277 if (md_ops[i] == NULL) { in md_get_named_service()1280 sp = md_ops[i]->md_services; in md_get_named_service()1301 if (md_ops[modindex] == NULL) in md_get_named_service()1304 sp = md_ops[modindex]->md_services; in md_get_named_service()1330 sp = md_ops[ui->ui_opsindex]->md_services; in md_get_named_service()1706 if (md_ops[i] == NULL) in md_halt_set()1708 if ((*(md_ops[i]->md_halt))(MD_HALT_CLOSE, setno)) { in md_halt_set()1710 if (md_ops[i] == NULL) in md_halt_set()1712 (void) (*(md_ops[i]->md_halt)) in md_halt_set()[all …]
57 extern md_ops_t **md_ops;790 MD_SETDRIVERNAME(di, md_ops[ui->ui_opsindex]->md_driver.md_drivername, in getdrvnm_ioctl()824 rw_enter(&md_ops[modindex]->md_link_rw.lock, RW_READER); in getnext_ioctl()826 next = md_ops[modindex]->md_head; in getnext_ioctl()842 rw_exit(&md_ops[modindex]->md_link_rw.lock); in getnext_ioctl()904 rw_enter(&md_ops[modindex]->md_link_rw.lock, RW_READER); in getnum_ioctl()905 next = md_ops[modindex]->md_head; in getnum_ioctl()918 rw_exit(&md_ops[modindex]->md_link_rw.lock); in getnum_ioctl()3573 (md_ops[modindex]->md_ioctl == NULL)) in md_admin_ioctl()3579 return ((*md_ops[modindex]->md_ioctl)(md_dev64_to_dev(dev), cmd, data, in md_admin_ioctl()
465 typedef struct md_ops { struct530 struct md_ops *md_next; argument
57 extern md_ops_t **md_ops;