Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/zic/
H A Dzic.c601 register char *toname; local
611 toname = ecpyalloc(tofield);
613 toname = ecpyalloc(directory);
614 toname = ecatalloc(toname, "/");
615 toname = ecatalloc(toname, tofield);
621 if (!itsdir(toname))
622 (void) remove(toname);
623 if (link(fromname, toname) != 0) {
626 if (mkdirs(toname) != 0)
629 result = link(fromname, toname);
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_srv.c2756 char *toname = NULL; in rfs3_rename() local
2857 toname = nfscmd_convname(ca, exi, args->to.name, in rfs3_rename()
2860 if (toname == NULL) { in rfs3_rename()
2889 VOP_LOOKUP(tvp, toname, &targvp, NULL, 0, NULL, cr, in rfs3_rename()
2901 error = VOP_RENAME(fvp, name, tvp, toname, cr, NULL, 0); in rfs3_rename()
2907 error = VOP_RENAME(fvp, name, tvp, toname, cr, NULL, 0); in rfs3_rename()
2949 if (toname != NULL && toname != args->to.name) in rfs3_rename()
2950 kmem_free(toname, MAXPATHLEN + 1); in rfs3_rename()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c1672 char *toname; in zfs_send_resume() local
1699 if (nvlist_lookup_string(resume_nvl, "toname", &toname) != 0 || in zfs_send_resume()
1720 if (guid_to_name(hdl, toname, toguid, B_FALSE, name) != 0) { in zfs_send_resume()
1721 if (zfs_dataset_exists(hdl, toname, ZFS_TYPE_DATASET)) { in zfs_send_resume()
1724 "the initial send"), toname); in zfs_send_resume()
1728 toname); in zfs_send_resume()
1740 if (guid_to_name(hdl, toname, fromguid, B_TRUE, name) != 0) { in zfs_send_resume()
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Didmap.c2863 char *toname; in do_show_mapping() local
3092 if (nm2type(nm, type_to, &toname) < 0) { in do_show_mapping()
3100 (void) printf("%s -> %s\n", fromname, toname); in do_show_mapping()
3102 free(toname); in do_show_mapping()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c3978 char *toname = NULL; in zfs_do_send() local
4195 toname = cp + 1; in zfs_do_send()
4235 err = zfs_send(zhp, fromname, toname, &flags, STDOUT_FILENO, NULL, 0, in zfs_do_send()