Searched refs:mdir (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/libfstyp/common/ |
H A D | libfstyp.c | 94 char *mdir, char *fsname, fstyp_module_t **mpp); 357 fstyp_init_module(struct fstyp_handle *h, char *mdir, char *fsname, in fstyp_init_module() argument 378 (void) snprintf(pathname, h->name_max, "%s/fstyp.so.%d", mdir, in fstyp_init_module() 428 char *mdir; in fstyp_init_all_modules() local 432 if ((mdir = calloc(1, h->name_max)) == NULL) { in fstyp_init_all_modules() 440 free(mdir); in fstyp_init_all_modules() 449 (void) snprintf(mdir, h->name_max, in fstyp_init_all_modules() 451 (void) fstyp_init_module(h, mdir, dp->d_name, NULL); in fstyp_init_all_modules() 454 free(mdir); in fstyp_init_all_modules()
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | validate_pkg.py | 690 def adddir(self, mdir, arch, modechecks, exceptions): argument 693 for mfile in os.listdir(mdir): 695 stat.S_ISREG(os.lstat(os.path.join(mdir, mfile)).st_mode)): 697 self.addmanifest(mdir, mfile, arch, modechecks, exceptions) 873 for mdir in manifestdirs: 874 manifesttree.adddir(mdir, arch, modechecks, exceptions)
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 2150 char *mdir = module_dirs; in load_modules() local 2153 while (*mdir != '\0') { in load_modules() 2155 while (*mdir == ':') { in load_modules() 2156 mdir++; in load_modules() 2159 if (*mdir == '\0') { in load_modules() 2163 last = strchr(mdir, ':'); in load_modules() 2166 last = mdir + strlen(mdir); in load_modules() 2169 (void) strncpy(cdir, mdir, last - mdir); in load_modules() 2170 cdir[last - mdir] = '\0'; in load_modules() 2171 mdir += strlen(cdir); in load_modules()
|