Lines Matching defs:basep
1294 char *basep;
1310 basep = strrchr(devlink_path, '/');
1311 if (basep == NULL) {
1312 basep = devlink_path;
1314 basep++;
1319 while (*basep != 0 && *basep != 's' && cnt < size) {
1320 *namep++ = *basep++;
1380 char *basep;
1383 basep = strrchr(path, '/');
1384 if (basep == NULL) {
1385 basep = path;
1387 basep++;
1392 if (is_ctds(basep)) {
1393 while (*basep != 0 && *basep != 's' && cnt < size) {
1394 *name++ = *basep++;
1399 if (strncmp(basep, FLOPPY_NAME,
1405 basep++;
1409 (void) strlcpy(name, basep, size);