Lines Matching defs:phy_path
2482 char phy_path[PATH_MAX];
2497 (void) snprintf(phy_path, sizeof (phy_path),
2500 acontents = phy_path;
2507 (void) snprintf(phy_path, sizeof (phy_path), "%s:%s",
2510 acontents = phy_path;
2971 char phy_path[PATH_MAX + 1];
2997 (void) strcpy(phy_path, devices_dir);
2998 (void) strcat(phy_path, lphy_path);
3003 vprint(CHATTY_MID, "reset_node_permissions: phy_path=%s lphy_path=%s\n",
3004 phy_path, lphy_path);
3009 getattr(phy_path, aminor, spectype, dev, &mode, &uid, &gid);
3018 if ((stat(phy_path, &sb) == -1) || (sb.st_rdev != dev)) {
3019 vprint(VERBOSE_MID, NO_DEVFS_NODE, phy_path);
3073 vprint(VERBOSE_MID, PERM_MSG, phy_path, uid, gid, mode);
3092 if (chmod(phy_path, mode) == -1)
3094 phy_path, strerror(errno));
3098 if (chown(phy_path, uid, gid) == -1)
3100 phy_path, strerror(errno));
3104 vprint(VERBOSE_MID, PERM_MSG, phy_path, uid, gid, mode);
3296 char phy_path[PATH_MAX + 1];
3312 (void) strcpy(phy_path, dev_path);
3315 (void) strcat(phy_path, ":");
3316 (void) strcat(phy_path, di_minor_name(minor));
3317 valid_link_contents = phy_path;
7135 getattr(char *phy_path, char *aminor, int spectype, dev_t dev, mode_t *mode,
7163 (void) strcpy(devname, phy_path);