/titanic_41/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]; in ctag_check() local 521 (void) strncpy(toname, hp->h_name, MAXHOSTNAMELEN); in ctag_check() 522 if (!self_check(fromname) && !self_check(toname)) { in ctag_check() 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)) {
|
/titanic_41/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) != 0) { 624 if (mkdirs(toname) != 0) 627 result = link(fromname, toname); [all …]
|
/titanic_41/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 290 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; in ctag_check() local 316 strncpy(toname, hp->h_name, MAXHOSTNAMELEN); in ctag_check() 317 if (!self_check(fromname) && !self_check(toname)) { in ctag_check()
|
H A D | rdcconfig.c | 238 char toname[MAX_RDC_HOST_SIZE]; in populate_addrs() local 242 strncpy(toname, urdc->secondary.intf, MAX_RDC_HOST_SIZE); in populate_addrs() 252 hp = gethost_byname(toname); in populate_addrs() 253 strncpy(toname, hp->h_name, MAX_RDC_HOST_SIZE); in populate_addrs() 255 if (self_check(fromname) && self_check(toname)) { in populate_addrs() 260 svp = get_addr(toname, RDC_PROGRAM, RDC_VERS_MIN, in populate_addrs()
|
/titanic_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 1509 char *toname; in zfs_send_resume() local 1535 if (nvlist_lookup_string(resume_nvl, "toname", &toname) != 0 || in zfs_send_resume() 1550 if (guid_to_name(hdl, toname, toguid, B_FALSE, name) != 0) { in zfs_send_resume() 1551 if (zfs_dataset_exists(hdl, toname, ZFS_TYPE_DATASET)) { in zfs_send_resume() 1554 "the initial send"), toname); in zfs_send_resume() 1558 toname); in zfs_send_resume() 1570 if (guid_to_name(hdl, toname, fromguid, B_TRUE, name) != 0) { in zfs_send_resume()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_srv.c | 2682 char *toname = NULL; in rfs3_rename() local 2782 toname = nfscmd_convname(ca, exi, args->to.name, in rfs3_rename() 2785 if (toname == NULL) { in rfs3_rename() 2814 VOP_LOOKUP(tvp, toname, &targvp, NULL, 0, NULL, cr, in rfs3_rename() 2826 error = VOP_RENAME(fvp, name, tvp, toname, cr, NULL, 0); in rfs3_rename() 2832 error = VOP_RENAME(fvp, name, tvp, toname, cr, NULL, 0); in rfs3_rename() 2874 if (toname != NULL && toname != args->to.name) in rfs3_rename() 2875 kmem_free(toname, MAXPATHLEN + 1); in rfs3_rename()
|
/titanic_41/usr/src/cmd/idmap/idmap/ |
H A D | idmap.c | 2862 char *toname; in do_show_mapping() local 3091 if (nm2type(nm, type_to, &toname) < 0) { in do_show_mapping() 3099 (void) printf("%s -> %s\n", fromname, toname); in do_show_mapping() 3101 free(toname); in do_show_mapping()
|
/titanic_41/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 3693 char *toname = NULL; in zfs_do_send() local 3844 toname = cp + 1; in zfs_do_send() 3884 err = zfs_send(zhp, fromname, toname, &flags, STDOUT_FILENO, NULL, 0, in zfs_do_send()
|