Lines Matching defs:old
1865 * If it ends in "/old", check the second-to-last
1868 if (tmp != str && strcmp(tmp, "/old") == 0) {
1925 * "s[01]/1" or "s[01]/old". The "s[01]" part is hidden
1963 * strings identical except trailing "s[01]/old"
1965 if ((strcmp(&val[vlen - 6], "s0/old") == 0 ||
1966 strcmp(&val[vlen - 6], "s1/old") == 0) &&
1967 strcmp(&srchval[slen - 4], "/old") == 0 &&
2618 * If 'replacing' is specified, the new disk will replace the old one.
3357 * devid, but the path will still refer to the old location. To catch this, we
3460 * the "s[01]" off, or if it ends with "s[01]/old",
3464 int old = 0;
3470 ((strcmp(&tmp[pathlen - 6], "s0/old") ==
3472 "s1/old") == 0))) {
3473 old = strlen("s0/old");
3474 tmp[pathlen - old] = 0;
3475 (void) strcat(tmp, "/old");