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

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

Completed in 68 milliseconds