Lines Matching refs:basep
1284 char *basep; in fix_cluster_devpath() local
1300 basep = strrchr(devlink_path, '/'); in fix_cluster_devpath()
1301 if (basep == NULL) { in fix_cluster_devpath()
1302 basep = devlink_path; in fix_cluster_devpath()
1304 basep++; in fix_cluster_devpath()
1309 while (*basep != 0 && *basep != 's' && cnt < size) { in fix_cluster_devpath()
1310 *namep++ = *basep++; in fix_cluster_devpath()
1370 char *basep; in get_disk_name_from_path() local
1373 basep = strrchr(path, '/'); in get_disk_name_from_path()
1374 if (basep == NULL) { in get_disk_name_from_path()
1375 basep = path; in get_disk_name_from_path()
1377 basep++; in get_disk_name_from_path()
1382 if (is_ctds(basep)) { in get_disk_name_from_path()
1383 while (*basep != 0 && *basep != 's' && cnt < size) { in get_disk_name_from_path()
1384 *name++ = *basep++; in get_disk_name_from_path()
1389 if (strncmp(basep, FLOPPY_NAME, in get_disk_name_from_path()
1395 basep++; in get_disk_name_from_path()
1399 (void) strlcpy(name, basep, size); in get_disk_name_from_path()