Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/avs/rdc/
H A Dsndrboot.c272 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 Dsndradm.c513 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 Dzic.c599 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 Drdcrules.c290 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 Drdcconfig.c238 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 Dlibzfs_sendrecv.c1509 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 Dnfs3_srv.c2682 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 Didmap.c2862 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 Dzfs_main.c3693 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()