Home
last modified time | relevance | path

Searched refs:fdslen (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c556 int fdslen, fsnlen; in get_snapshot_names() local
581 fdslen = atptrf - fromsnap; in get_snapshot_names()
585 di->ds[fdslen] = '\0'; in get_snapshot_names()
597 fdslen = atptrf ? atptrf - fromsnap : strlen(fromsnap); in get_snapshot_names()
599 fsnlen = strlen(fromsnap) - fdslen; /* includes @ sign */ in get_snapshot_names()
602 if (fsnlen <= 1 || tsnlen == 1 || (fdslen == 0 && tdslen == 0) || in get_snapshot_names()
605 } else if ((fdslen > 0 && tdslen > 0) && in get_snapshot_names()
606 ((tdslen != fdslen || strncmp(fromsnap, tosnap, fdslen) != 0))) { in get_snapshot_names()
651 int dslen = fdslen ? fdslen : tdslen; in get_snapshot_names()
654 (void) strncpy(di->ds, fdslen ? fromsnap : tosnap, dslen); in get_snapshot_names()