Lines Matching refs:basep
1293 char *basep; in fix_cluster_devpath() local
1309 basep = strrchr(devlink_path, '/'); in fix_cluster_devpath()
1310 if (basep == NULL) { in fix_cluster_devpath()
1311 basep = devlink_path; in fix_cluster_devpath()
1313 basep++; in fix_cluster_devpath()
1318 while (*basep != 0 && *basep != 's' && cnt < size) { in fix_cluster_devpath()
1319 *namep++ = *basep++; in fix_cluster_devpath()
1379 char *basep; in get_disk_name_from_path() local
1382 basep = strrchr(path, '/'); in get_disk_name_from_path()
1383 if (basep == NULL) { in get_disk_name_from_path()
1384 basep = path; in get_disk_name_from_path()
1386 basep++; in get_disk_name_from_path()
1391 if (is_ctds(basep)) { in get_disk_name_from_path()
1392 while (*basep != 0 && *basep != 's' && cnt < size) { in get_disk_name_from_path()
1393 *name++ = *basep++; in get_disk_name_from_path()
1398 if (strncmp(basep, FLOPPY_NAME, in get_disk_name_from_path()
1404 basep++; in get_disk_name_from_path()
1408 (void) strlcpy(name, basep, size); in get_disk_name_from_path()