/illumos-gate/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 290 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; local 314 strncpy(fromname, hp->h_name, MAXHOSTNAMELEN); 317 if (!self_check(fromname) && !self_check(toname)) { 330 is_primary = self_check(fromname);
|
H A D | rdcconfig.c | 239 char fromname[MAX_RDC_HOST_SIZE]; local 241 strncpy(fromname, urdc->primary.intf, MAX_RDC_HOST_SIZE); 244 if ((fromname[0] == '\0') || (fromname[0] == '\0')) { 250 hp = gethost_byname(fromname); 251 strncpy(fromname, hp->h_name, MAX_RDC_HOST_SIZE); 255 if (self_check(fromname) && self_check(toname)) { 274 svp = get_addr(fromname, RDC_PROGRAM, RDC_VERS_MIN,
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrboot.c | 272 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) [all...] |
H A D | sndradm.c | 513 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN]; local 519 (void) strncpy(fromname, hp->h_name, MAXHOSTNAMELEN); 522 if (!self_check(fromname) && !self_check(toname)) { 534 is_primary = self_check(fromname); 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) [all...] |
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 1242 char fromname[PATH_MAX]; local 1270 sizeof (fromname) - 1) { 1277 (void) snprintf(fromname, sizeof (fromname), 1279 errs += cpymve(fromname, to);
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap.c | 2861 char *fromname; local 3088 if (nm2type(nm, type_from, &fromname) < 0) 3094 fromname, 3097 free(fromname); 3099 (void) printf("%s -> %s\n", fromname, toname); 3100 free(fromname);
|
/illumos-gate/usr/src/cmd/zic/ |
H A D | zic.c | 598 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_O [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 1565 char *fromname = NULL; local 1635 fromname = name; 1640 error = lzc_send_space(zhp->zfs_name, fromname, 1644 send_print_verbose(stderr, zhp->zfs_name, fromname, 1668 error = lzc_send_resume(zhp->zfs_name, fromname, outfd,
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ioctl.c | 5424 char *fromname = NULL; local 5436 (void) nvlist_lookup_string(innvl, "fromsnap", &fromname); 5450 error = dmu_send(snapname, fromname, embedok, largeblockok, compressok, 5484 char *fromname; local 5506 error = nvlist_lookup_string(innvl, "from", &fromname); 5508 if (strchr(fromname, '@') != NULL) { 5515 error = dsl_dataset_hold(dp, fromname, FTAG, &fromsnap); 5521 } else if (strchr(fromname, '#') != NULL) { 5529 error = dsl_bookmark_lookup(dp, fromname, tosnap,
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 3698 char *fromname = NULL; local 3727 if (fromname) 3729 fromname = optarg; 3732 if (fromname) 3734 fromname = optarg; 3789 if (fromname != NULL || flags.replicate || flags.props || 3828 (fromname && strchr(fromname, '#') != NULL)) { 3852 if (fromname != NULL && 3853 (fromname[ [all...] |
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 1777 char *fromname; local 1781 fromname = name1_p; 1785 newname = fromname = Fullnam_p; 1795 (attrname == NULL) ? fromname : newname,
|