Searched refs:dev_dir (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/cmd/acct/lib/ |
H A D | devtolin.c | 55 static char dev_dir[] = "/dev"; variable 84 ((strcmp(srch_dirs[dirno], dev_dir) == 0) ? 94 found = srch_dir(device, dev_dir, 0, srch_dirs);
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.c | 313 char dev_dir[PATH_MAX], path[PATH_MAX], db_dir[PATH_MAX]; in handle_alloc() local 322 dev_dir[0] = '\0'; in handle_alloc() 337 assert(sizeof (dev_dir) >= PATH_MAX); in handle_alloc() 339 if ((realpath(root_dir, dev_dir) == NULL) || in handle_alloc() 350 if (strcmp(dev_dir, "/") == 0) { in handle_alloc() 351 dev_dir[0] = 0; in handle_alloc() 354 (void) strlcpy(db_dir, dev_dir, sizeof (db_dir)); in handle_alloc() 357 (void) strlcat(dev_dir, DEV, sizeof (dev_dir)); in handle_alloc() 407 proto.dev_dir = dev_dir; in handle_alloc() 439 if ((hdp->dev_dir = strdup(proto.dev_dir)) == NULL) { in handle_alloc() [all …]
|
H A D | devinfo_devlink.h | 143 char *dev_dir; /* <root-dir>/dev */ member 286 static struct di_devlink_handle *handle_alloc(const char *dev_dir,
|
H A D | devfsinfo.c | 1066 char *dev_dir = DEV; in devfs_phys_to_logical() local 1090 len = default_root_len + strlen(dev_dir) + 1; in devfs_phys_to_logical() 1103 &dev_dir[1]); in devfs_phys_to_logical() 1105 (void) snprintf(full_path, len, "%s%s", default_root, dev_dir); in devfs_phys_to_logical()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | ttyname.c | 122 static const entry_t dev_dir = variable 295 ((strcmp(srch_dirs[dirno].name, dev_dir.name) in _ttyname_common() 305 found = srch_dir(dev_dir, match_mask, 0, srch_dirs, fsp); in _ttyname_common()
|
/titanic_50/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 153 static char *dev_dir = DEV; variable 2514 (void) strlcpy(devlink, dev_dir, sizeof (devlink)); in devfsadm_mklink() 2603 (void) strcpy(devlink, dev_dir); in devfsadm_secondary_link() 3133 (void) strcpy(newfile, dev_dir); in devfsadm_rm_work() 3203 rpath = path + strlen(dev_dir) + 1; in s_rmdir() 3400 recurse_dev_re(dev_dir, dir_re, &rd); in get_cached_links() 3470 (void) strcpy(newlink, dev_dir); in build_devlink_list() 3481 if (strncmp(devlink, dev_dir, strlen(dev_dir)) != 0) { in build_devlink_list() 3486 r_devlink = devlink + strlen(dev_dir); in build_devlink_list() 4151 recurse_dev_re(dev_dir, in pre_and_post_cleanup() [all …]
|