Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_ioctl.c800 int modindex; in getnext_ioctl() local
819 modindex = md_getmodindex((md_driver_t *)gn, 1, 0); in getnext_ioctl()
820 if (modindex == -1) { in getnext_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()
854 int modindex; in getnum_ioctl() local
891 modindex = md_getmodindex(driver, 0, 0); in getnum_ioctl()
892 if (modindex == -1) { in getnum_ioctl()
904 rw_enter(&md_ops[modindex]->md_link_rw.lock, RW_READER); in getnum_ioctl()
[all …]
H A Dmd_subr.c1263 md_get_named_service(md_dev64_t dev, int modindex, char *name, in md_get_named_service() argument
1275 if ((dev == NODEV64) && (modindex == ANY_SERVICE)) { in md_get_named_service()
1298 if (modindex >= MD_NOPS) 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()
2231 int modindex; in md_getmodindex() local
2288 modindex = md_loadsubmod(setno, name, drvid); in md_getmodindex()
2289 if (modindex < 0) in md_getmodindex()
2292 if (md_ops[modindex]->md_snarf != NULL) in md_getmodindex()
2293 (*(md_ops[modindex]->md_snarf))(MD_SNARF_DOIT, setno); in md_getmodindex()
[all …]