Searched refs:toname (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/zic/ |
H A D | zic.c | 601 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 D | nfs3_srv.c | 2756 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 D | libzfs_sendrecv.c | 1673 char *toname; in zfs_send_resume() local 1700 if (nvlist_lookup_string(resume_nvl, "toname", &toname) != 0 || in zfs_send_resume() 1721 if (guid_to_name(hdl, toname, toguid, B_FALSE, name) != 0) { in zfs_send_resume() 1722 if (zfs_dataset_exists(hdl, toname, ZFS_TYPE_DATASET)) { in zfs_send_resume() 1725 "the initial send"), toname); in zfs_send_resume() 1729 toname); in zfs_send_resume() 1741 if (guid_to_name(hdl, toname, fromguid, B_TRUE, name) != 0) { in zfs_send_resume()
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap.c | 2863 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 D | zfs_main.c | 4004 char *toname = NULL; in zfs_do_send() local 4221 toname = cp + 1; in zfs_do_send() 4261 err = zfs_send(zhp, fromname, toname, &flags, STDOUT_FILENO, NULL, 0, in zfs_do_send()
|