Lines Matching defs:modpath
53 static char modpath[128]; /* path to module */
251 if ((mod = strrchr(modpath, '/')) == NULL)
252 mod = modpath;
421 (void) strlcpy(modpath, cp, sizeof (modpath));
601 len = get_value("module to query ? ", modpath,
602 sizeof (modpath));
604 (len == 2 && (modpath[0] == 'q' || modpath[0] == 'Q')))
607 mod = strrchr(modpath, '/');
611 mod = modpath;
613 if ((fd = open(modpath, O_RDWR)) == -1) {
614 printe(B_TRUE, "open of %s failed", modpath);
621 gldv3_warning(modpath);
627 printe(B_FALSE, "%s is not a streams device", modpath);