Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_zvolops.c228 int dslen; in devzvol_make_dsname() local
247 dslen = strlen(ptr); in devzvol_make_dsname()
248 if (dslen) in devzvol_make_dsname()
249 dslen++; /* plus null */ in devzvol_make_dsname()
251 dslen += strlen(name) + 1; /* plus slash */ in devzvol_make_dsname()
252 dsname = kmem_zalloc(dslen, KM_SLEEP); in devzvol_make_dsname()
254 (void) strlcpy(dsname, ptr, dslen); in devzvol_make_dsname()
256 (void) strlcat(dsname, "/", dslen); in devzvol_make_dsname()
259 (void) strlcat(dsname, name, dslen); in devzvol_make_dsname()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c653 int dslen = fdslen ? fdslen : tdslen; in get_snapshot_names() local
655 di->ds = zfs_alloc(hdl, dslen + 1); in get_snapshot_names()
656 (void) strncpy(di->ds, fdslen ? fromsnap : tosnap, dslen); in get_snapshot_names()
657 di->ds[dslen] = '\0'; in get_snapshot_names()
/illumos-gate/usr/src/cmd/man/
H A Dman.c1055 int len, dslen; in mandir() local
1069 dslen = strlen(*dv + 3); in mandir()
1070 if (dslen > len) in mandir()
1071 len = dslen; in mandir()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connmgmt.c2439 int dslen = strlen(DOORLINESEP); in get_server_change() local
2593 c += dslen; /* skip to next value */ in get_server_change()