Lines Matching defs:phy_path
2483 char phy_path[PATH_MAX];
2498 (void) snprintf(phy_path, sizeof (phy_path),
2501 acontents = phy_path;
2508 (void) snprintf(phy_path, sizeof (phy_path), "%s:%s",
2511 acontents = phy_path;
2972 char phy_path[PATH_MAX + 1];
2998 (void) strcpy(phy_path, devices_dir);
2999 (void) strcat(phy_path, lphy_path);
3004 vprint(CHATTY_MID, "reset_node_permissions: phy_path=%s lphy_path=%s\n",
3005 phy_path, lphy_path);
3010 getattr(phy_path, aminor, spectype, dev, &mode, &uid, &gid);
3019 if ((stat(phy_path, &sb) == -1) || (sb.st_rdev != dev)) {
3020 vprint(VERBOSE_MID, NO_DEVFS_NODE, phy_path);
3074 vprint(VERBOSE_MID, PERM_MSG, phy_path, uid, gid, mode);
3093 if (chmod(phy_path, mode) == -1)
3095 phy_path, strerror(errno));
3099 if (chown(phy_path, uid, gid) == -1)
3101 phy_path, strerror(errno));
3105 vprint(VERBOSE_MID, PERM_MSG, phy_path, uid, gid, mode);
3297 char phy_path[PATH_MAX + 1];
3313 (void) strcpy(phy_path, dev_path);
3316 (void) strcat(phy_path, ":");
3317 (void) strcat(phy_path, di_minor_name(minor));
3318 valid_link_contents = phy_path;
7136 getattr(char *phy_path, char *aminor, int spectype, dev_t dev, mode_t *mode,
7164 (void) strcpy(devname, phy_path);