Lines Matching refs:linksize
991 int linksize; in compare_controller() local
1002 if ((linksize = readlink(buf, physdev1, MAXPATHLEN)) > 0 && in compare_controller()
1003 linksize < (MAXPATHLEN - 1)) { in compare_controller()
1004 physdev1[linksize] = '\0'; in compare_controller()
1481 int linksize; in is_dev_in_vfstab() local
1504 if ((linksize = readlink(buf, physpath, in is_dev_in_vfstab()
1505 MAXPATHLEN)) > 0 && linksize < (MAXPATHLEN - 1)) { in is_dev_in_vfstab()
1506 physpath[linksize] = '\0'; in is_dev_in_vfstab()
1626 int linksize; in get_target_devlink() local
1656 if ((linksize = readlink(devname, physdev, MAXPATHLEN)) > 0 && in get_target_devlink()
1657 linksize < (MAXPATHLEN - 1)) { in get_target_devlink()
1658 physdev[linksize] = '\0'; in get_target_devlink()
1689 int linksize; in devname2physpath() local
1700 linksize = readlink(devname, tmpphyspath, MAXPATHLEN); in devname2physpath()
1704 linksize = readlink(devlink, tmpphyspath, MAXPATHLEN); in devname2physpath()
1706 if (linksize > 0 && linksize < (MAXPATHLEN - 1)) { in devname2physpath()
1707 tmpphyspath[linksize] = '\0'; in devname2physpath()