Searched refs:dev_dir (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c317 char dev_dir[PATH_MAX], path[PATH_MAX], db_dir[PATH_MAX]; local
326 dev_dir[0] = '\0';
341 assert(sizeof (dev_dir) >= PATH_MAX);
343 if ((realpath(root_dir, dev_dir) == NULL) ||
354 if (strcmp(dev_dir, "/") == 0) {
355 dev_dir[0] = 0;
358 (void) strlcpy(db_dir, dev_dir, sizeof (db_dir));
361 (void) strlcat(dev_dir, DEV, sizeof (dev_dir));
411 proto.dev_dir
[all...]
H A Ddevinfo_devlink.h142 char *dev_dir; /* <root-dir>/dev */ member in struct:di_devlink_handle
285 static struct di_devlink_handle *handle_alloc(const char *dev_dir,
H A Ddevfsinfo.c1495 char *dev_dir = DEV; local
1519 len = default_root_len + strlen(dev_dir) + 1;
1532 &dev_dir[1]);
1534 (void) snprintf(full_path, len, "%s%s", default_root, dev_dir);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dttyname.c121 static const entry_t dev_dir = variable
295 ((strcmp(srch_dirs[dirno].name, dev_dir.name)
305 found = srch_dir(dev_dir, match_mask, 0, srch_dirs, fsp);

Completed in 26 milliseconds