Home
last modified time | relevance | path

Searched refs:OPT_SRC (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/cmd/filesync/
H A Drecon.c135 srcname = full_name(fp, OPT_SRC, OPT_SRC); in reconcile()
145 if (get_acls(srcname, &fp->f_info[ OPT_SRC ])) in reconcile()
172 errs = do_rename(fp, OPT_SRC); in reconcile()
222 has_other_links(fp, OPT_SRC)) { in reconcile()
226 errs = do_remove(fp, OPT_SRC); in reconcile()
236 if (opt_force == OPT_SRC) { in reconcile()
247 (opt_force == OPT_SRC) || in reconcile()
263 errs = do_copy(fp, OPT_SRC); in reconcile()
287 errs = do_copy(fp, OPT_SRC); in reconcile()
321 update_info(fp, OPT_SRC); in reconcile()
[all …]
H A Drename.c101 stype = np->f_info[OPT_SRC].f_type; in find_renames()
106 side = stype ? OPT_SRC : OPT_DST; in find_renames()
147 side_t otherside = (side == OPT_SRC) ? OPT_DST : OPT_SRC; in find_oldname()
171 if (((side == OPT_SRC) ? fp->f_s_inum : fp->f_d_inum) != inum) in find_oldname()
173 if (((side == OPT_SRC) ? fp->f_s_maj : fp->f_d_maj) != maj) in find_oldname()
175 if (((side == OPT_SRC) ? fp->f_s_min : fp->f_d_min) != min) in find_oldname()
238 if (side == OPT_SRC) { in note_rename()
H A Danal.c366 fp->f_srcdiffs |= check_changes(fp, OPT_BASE, OPT_SRC); in check_file()
552 if (srcdst == OPT_SRC) { in same_name()
655 chgside = (srcdst == OPT_SRC) ? OPT_DST : OPT_SRC; in find_link()
656 tgtside = (srcdst == OPT_SRC) ? OPT_SRC : OPT_DST; in find_link()
768 if (fcp->f_d_maj != ((srcdst == OPT_SRC) ? lp->f_d_maj in find_link()
771 if (fcp->f_d_min != ((srcdst == OPT_SRC) ? lp->f_d_min in find_link()
774 if (fcp->f_ino != ((srcdst == OPT_SRC) ? lp->f_d_inum in find_link()
991 } else if (fp->f_info[OPT_SRC].f_type != S_IFDIR && in queue_file()
996 fp->f_modtime = fp->f_info[OPT_SRC].f_modtime; in queue_file()
997 fp->f_modns = fp->f_info[OPT_SRC].f_modns; in queue_file()
H A Dbase.c827 fp->f_info[OPT_SRC].f_ino = fp->f_s_inum; in bw_file()
828 fp->f_info[OPT_SRC].f_nlink = fp->f_s_nlink; in bw_file()
829 fp->f_info[OPT_SRC].f_d_maj = fp->f_s_maj; in bw_file()
830 fp->f_info[OPT_SRC].f_d_min = fp->f_s_min; in bw_file()
831 fp->f_info[OPT_SRC].f_modtime = fp->f_s_modtime; in bw_file()
844 ll = fp->f_info[OPT_SRC].f_ino; in bw_file()
847 fp->f_info[OPT_SRC].f_d_maj, in bw_file()
848 fp->f_info[OPT_SRC].f_d_min, in bw_file()
849 fp->f_info[OPT_SRC].f_nlink, in bw_file()
850 fp->f_info[OPT_SRC].f_modtime); in bw_file()
H A Deval.c127 usingsrc = (srcdst == OPT_SRC); in evaluate()
146 if (opt_onesided == (usingsrc ? OPT_DST : OPT_SRC)) { in evaluate()
408 note_info(fp, &statb, usingsrc ? OPT_SRC : OPT_DST); in eval_file()
417 &fp->f_info[usingsrc ? OPT_SRC : OPT_DST]); in eval_file()
507 which = usingsrc ? OPT_SRC : OPT_DST; in walker()
782 fp->f_flags |= (which == OPT_SRC) ? F_IN_SOURCE : F_IN_DEST; in fakedata()
786 fp->f_info[which].f_nlink = (which == OPT_SRC) ? fp->f_s_nlink : in fakedata()
788 fp->f_info[which].f_modtime = (which == OPT_SRC) ? fp->f_s_modtime : in fakedata()
823 ip = &fp->f_info[ OPT_SRC ]; in check_inum()
H A Daction.c146 if (srcdst == OPT_SRC) { in do_like()
148 dp = &fp->f_info[ OPT_SRC ]; in do_like()
151 sp = &fp->f_info[ OPT_SRC ]; in do_like()
354 if (srcdst == OPT_SRC) in do_like()
422 if (srcdst == OPT_SRC) { in do_copy()
424 dp = &fp->f_info[ OPT_SRC ]; in do_copy()
428 sp = &fp->f_info[ OPT_SRC ]; in do_copy()
825 if (srcdst == OPT_SRC) in do_copy()
865 name = (srcdst == OPT_SRC) ? srcname : dstname; in do_remove()
905 if (srcdst == OPT_SRC) in do_remove()
[all …]
H A Dmain.c178 opt_force = OPT_SRC; in main()
201 opt_oneway = OPT_SRC; in main()
326 errs |= evaluate(bp, OPT_SRC, TRUE); in main()
342 errs |= evaluate(bp, OPT_SRC, FALSE); in main()
H A Dfilesync.h72 OPT_SRC = 1, /* use the source side */ enumerator