Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/avs/rdc/
H A Dsndrboot.c272 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; local
277 bzero(&fromname, MAXHOSTNAMELEN);
287 (void) strncpy(fromname, hp->h_name, MAXHOSTNAMELEN);
291 (void) strncpy(fromname, hp->h_aliases[i],
295 if (fromname[0] == '\0') {
325 if (self_check(fromname) && self_check(toname)) {
368 svp = get_addr(fromname, RDC_PROGRAM, RDC_VERS_MIN,
373 fromname);
405 if (!clustered && !self_check(fromname) && !self_check(toname)) {
454 if (strcmp(lhost, fromname) == 0) {
[all …]
H A Dsndradm.c513 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; in ctag_check() local
519 (void) strncpy(fromname, hp->h_name, MAXHOSTNAMELEN); in ctag_check()
522 if (!self_check(fromname) && !self_check(toname)) { in ctag_check()
534 is_primary = self_check(fromname); in ctag_check()
3806 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; local
3817 (void) strncpy(fromname, hp->h_name, MAXHOSTNAMELEN);
3821 if (self_check(fromname) && self_check(toname)) {
3903 svp = get_addr(fromname, RDC_PROGRAM, RDC_VERS_MIN,
3909 fromname);
3939 if (!self_check(fromname) && !self_check(toname)) {
[all …]
/titanic_41/usr/src/lib/librdc/common/
H A Drdcrules.c290 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; in ctag_check() local
314 strncpy(fromname, hp->h_name, MAXHOSTNAMELEN); in ctag_check()
317 if (!self_check(fromname) && !self_check(toname)) { in ctag_check()
330 is_primary = self_check(fromname); in ctag_check()
H A Drdcconfig.c239 char fromname[MAX_RDC_HOST_SIZE]; in populate_addrs() local
241 strncpy(fromname, urdc->primary.intf, MAX_RDC_HOST_SIZE); in populate_addrs()
244 if ((fromname[0] == '\0') || (fromname[0] == '\0')) { in populate_addrs()
250 hp = gethost_byname(fromname); in populate_addrs()
251 strncpy(fromname, hp->h_name, MAX_RDC_HOST_SIZE); in populate_addrs()
255 if (self_check(fromname) && self_check(toname)) { in populate_addrs()
274 svp = get_addr(fromname, RDC_PROGRAM, RDC_VERS_MIN, in populate_addrs()
/titanic_41/usr/src/cmd/zic/
H A Dzic.c598 register char *fromname; local
602 fromname = ecpyalloc(fromfield);
604 fromname = ecpyalloc(directory);
605 fromname = ecatalloc(fromname, "/");
606 fromname = ecatalloc(fromname, fromfield);
621 if (link(fromname, toname) != 0) {
627 result = link(fromname, toname);
629 if (result != 0 && access(fromname, F_OK) == 0 &&
630 !itsdir(fromname)) {
637 symlinkcontents = ecatalloc(symlinkcontents, fromname);
[all …]
/titanic_41/usr/src/cmd/zfs/
H A Dzfs_main.c3692 char *fromname = NULL; in zfs_do_send() local
3706 if (fromname) in zfs_do_send()
3708 fromname = optarg; in zfs_do_send()
3711 if (fromname) in zfs_do_send()
3713 fromname = optarg; in zfs_do_send()
3763 if (fromname != NULL || flags.replicate || flags.props || in zfs_do_send()
3802 (fromname && strchr(fromname, '#') != NULL)) { in zfs_do_send()
3824 if (fromname != NULL && in zfs_do_send()
3825 (fromname[0] == '#' || fromname[0] == '@')) { in zfs_do_send()
3834 (void) strlcat(frombuf, fromname, sizeof (frombuf)); in zfs_do_send()
[all …]
/titanic_41/usr/src/cmd/mv/
H A Dmv.c1242 char fromname[PATH_MAX]; in rcopy() local
1270 sizeof (fromname) - 1) { in rcopy()
1277 (void) snprintf(fromname, sizeof (fromname), in rcopy()
1279 errs += cpymve(fromname, to); in rcopy()
/titanic_41/usr/src/cmd/idmap/idmap/
H A Didmap.c2861 char *fromname; in do_show_mapping() local
3088 if (nm2type(nm, type_from, &fromname) < 0) in do_show_mapping()
3094 fromname, in do_show_mapping()
3097 free(fromname); in do_show_mapping()
3099 (void) printf("%s -> %s\n", fromname, toname); in do_show_mapping()
3100 free(fromname); in do_show_mapping()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_ioctl.c5362 char *fromname = NULL; in zfs_ioc_send_new() local
5373 (void) nvlist_lookup_string(innvl, "fromsnap", &fromname); in zfs_ioc_send_new()
5386 error = dmu_send(snapname, fromname, embedok, largeblockok, fd, in zfs_ioc_send_new()
5414 char *fromname; in zfs_ioc_send_space() local
5427 error = nvlist_lookup_string(innvl, "from", &fromname); in zfs_ioc_send_space()
5429 if (strchr(fromname, '@') != NULL) { in zfs_ioc_send_space()
5436 error = dsl_dataset_hold(dp, fromname, FTAG, &fromsnap); in zfs_ioc_send_space()
5441 } else if (strchr(fromname, '#') != NULL) { in zfs_ioc_send_space()
5449 error = dsl_bookmark_lookup(dp, fromname, tosnap, in zfs_ioc_send_space()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c1510 char *fromname = NULL; in zfs_send_resume() local
1576 fromname = name; in zfs_send_resume()
1581 error = lzc_send_space(zhp->zfs_name, fromname, &size); in zfs_send_resume()
1584 send_print_verbose(stderr, zhp->zfs_name, fromname, in zfs_send_resume()
1608 error = lzc_send_resume(zhp->zfs_name, fromname, outfd, in zfs_send_resume()
/titanic_41/usr/src/cmd/cpio/
H A Dcpio.c1777 char *fromname; in creat_lnk() local
1781 fromname = name1_p; in creat_lnk()
1785 newname = fromname = Fullnam_p; in creat_lnk()
1795 (attrname == NULL) ? fromname : newname, in creat_lnk()