Home
last modified time | relevance | path

Searched refs:dev_dir (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/acct/lib/
H A Ddevtolin.c54 static char dev_dir[] = "/dev"; variable
86 ((strcmp(srch_dirs[dirno], dev_dir) == 0) ? in devtolin()
97 found = srch_dir(device, dev_dir, 0, srch_dirs); in devtolin()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c323 dev_dir[0] = '\0'; in handle_alloc()
351 if (strcmp(dev_dir, "/") == 0) { in handle_alloc()
352 dev_dir[0] = 0; in handle_alloc()
358 (void) strlcat(dev_dir, DEV, sizeof (dev_dir)); in handle_alloc()
408 proto.dev_dir = dev_dir; in handle_alloc()
440 if ((hdp->dev_dir = strdup(proto.dev_dir)) == NULL) { in handle_alloc()
446 free(hdp->dev_dir); in handle_alloc()
1095 free(hdp->dev_dir); in handle_free()
2218 assert(strncmp(link, hdp->dev_dir, strlen(hdp->dev_dir)) == 0); in cache_dev_link()
2223 link += strlen(hdp->dev_dir) + 1; in cache_dev_link()
[all …]
H A Ddevinfo_devlink.h143 char *dev_dir; /* <root-dir>/dev */ member
286 static struct di_devlink_handle *handle_alloc(const char *dev_dir,
H A Ddevfsinfo.c1066 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()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyname.c122 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()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c156 static char *dev_dir = DEV; variable
2615 (void) strcpy(devlink, dev_dir); in devfsadm_secondary_link()
3146 (void) strcpy(newfile, dev_dir); in devfsadm_rm_work()
3216 rpath = path + strlen(dev_dir) + 1; in s_rmdir()
3483 (void) strcpy(newlink, dev_dir); in build_devlink_list()
3494 if (strncmp(devlink, dev_dir, strlen(dev_dir)) != 0) { in build_devlink_list()
4164 recurse_dev_re(dev_dir, in pre_and_post_cleanup()
4490 (void) strcpy(devlink, dev_dir); in devfsadm_read_link()
4514 (void) strcpy(devlink, dev_dir); in devfsadm_link_valid()
4612 (void) strcpy(stage_link, dev_dir); in resolve_link()
[all …]