Lines Matching defs:basep
1202 char *basep;
1217 basep = strrchr(devlink_path, '/');
1218 if (basep == NULL)
1219 basep = devlink_path;
1221 basep++;
1225 while (*basep != 0 && *basep != 's' && cnt < size) {
1226 *namep++ = *basep++;
1240 len = basep - devlink_path;
1296 char *basep;
1299 basep = strrchr(path, '/');
1300 if (basep == NULL) {
1301 basep = path;
1303 basep++;
1308 if (is_ctds(basep)) {
1309 while (*basep != 0 && *basep != 's' && cnt < size) {
1310 *name++ = *basep++;
1315 if (strncmp(basep, FLOPPY_NAME,
1321 basep++;
1325 (void) strlcpy(name, basep, size);