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