/illumos-gate/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 290 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; local 316 strncpy(toname, hp->h_name, MAXHOSTNAMELEN); 317 if (!self_check(fromname) && !self_check(toname)) {
|
H A D | rdcconfig.c | 238 char toname[MAX_RDC_HOST_SIZE]; local 242 strncpy(toname, urdc->secondary.intf, MAX_RDC_HOST_SIZE); 252 hp = gethost_byname(toname); 253 strncpy(toname, hp->h_name, MAX_RDC_HOST_SIZE); 255 if (self_check(fromname) && self_check(toname)) { 260 svp = get_addr(toname, RDC_PROGRAM, RDC_VERS_MIN,
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrboot.c | 272 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; local 278 bzero(&toname, MAXHOSTNAMELEN); 309 (void) strncpy(toname, hp->h_name, MAXHOSTNAMELEN); 313 (void) strncpy(toname, hp->h_aliases[i], 317 if (toname[0] == '\0') { 325 if (self_check(fromname) && self_check(toname)) { 337 svp = get_addr(toname, RDC_PROGRAM, RDC_VERS_MIN, 342 (void) printf("get_addr failed for Ver 4 %s\n", toname); 405 if (!clustered && !self_check(fromname) && !self_check(toname)) {
|
H A D | sndradm.c | 513 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; local 521 (void) strncpy(toname, hp->h_name, MAXHOSTNAMELEN); 522 if (!self_check(fromname) && !self_check(toname)) { 3806 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; local 3819 (void) strncpy(toname, hp->h_name, MAXHOSTNAMELEN); 3821 if (self_check(fromname) && self_check(toname)) { 3870 svp = get_addr(toname, RDC_PROGRAM, RDC_VERS_MIN, 3876 "information for %s"), toname); 3878 (void) printf("get_addr failed for Ver 4 %s\n", toname); 3939 if (!self_check(fromname) && !self_check(toname)) { [all...] |
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap.c | 2862 char *toname; local 3091 if (nm2type(nm, type_to, &toname) < 0) { 3099 (void) printf("%s -> %s\n", fromname, toname); 3101 free(toname);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_srv.c | 2682 char *toname = NULL; local 2782 toname = nfscmd_convname(ca, exi, args->to.name, 2785 if (toname == NULL) { 2814 VOP_LOOKUP(tvp, toname, &targvp, NULL, 0, NULL, cr, 2826 error = VOP_RENAME(fvp, name, tvp, toname, cr, NULL, 0); 2832 error = VOP_RENAME(fvp, name, tvp, toname, cr, NULL, 0); 2874 if (toname != NULL && toname != args->to.name) 2875 kmem_free(toname, MAXPATHLEN + 1);
|
/illumos-gate/usr/src/cmd/zic/ |
H A D | zic.c | 599 register char *toname; local 609 toname = ecpyalloc(tofield); 611 toname = ecpyalloc(directory); 612 toname = ecatalloc(toname, "/"); 613 toname = ecatalloc(toname, tofield); 619 if (!itsdir(toname)) 620 (void) remove(toname); 621 if (link(fromname, toname) ! [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 1564 char *toname; local 1590 if (nvlist_lookup_string(resume_nvl, "toname", &toname) != 0 || 1609 if (guid_to_name(hdl, toname, toguid, B_FALSE, name) != 0) { 1610 if (zfs_dataset_exists(hdl, toname, ZFS_TYPE_DATASET)) { 1613 "the initial send"), toname); 1617 toname); 1629 if (guid_to_name(hdl, toname, fromguid, B_TRUE, name) != 0) {
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 3699 char *toname = NULL; local 3872 toname = cp + 1; 3912 err = zfs_send(zhp, fromname, toname, &flags, STDOUT_FILENO, NULL, 0,
|