Lines Matching refs:srcdst
122 do_like(struct file *fp, side_t srcdst, bool_t do_stats) in do_like() argument
137 if (srcdst == opt_oneway) { in do_like()
146 if (srcdst == OPT_SRC) { in do_like()
338 link_update(fp, srcdst); in do_like()
354 if (srcdst == OPT_SRC) in do_like()
389 do_copy(struct file *fp, side_t srcdst) in do_copy() argument
414 if (srcdst == opt_oneway) { in do_copy()
422 if (srcdst == OPT_SRC) { in do_copy()
630 lp = find_link(fp, srcdst); in do_copy()
633 src = full_name(lp, srcdst, OPT_BASE); in do_copy()
762 rc = do_like(fp, srcdst, FALSE); in do_copy()
789 note_info(fp, &statb, srcdst); in do_copy()
790 link_update(fp, srcdst); in do_copy()
793 update_info(fp, srcdst); in do_copy()
825 if (srcdst == OPT_SRC) in do_copy()
850 do_remove(struct file *fp, side_t srcdst) in do_remove() argument
858 if (srcdst == opt_oneway) { in do_remove()
865 name = (srcdst == OPT_SRC) ? srcname : dstname; in do_remove()
901 fp->f_info[srcdst].f_nlink--; in do_remove()
902 link_update(fp, srcdst); in do_remove()
905 if (srcdst == OPT_SRC) in do_remove()
936 do_rename(struct file *fp, side_t srcdst) in do_rename() argument
947 if (srcdst == opt_oneway) { in do_rename()
957 newname = (srcdst == OPT_SRC) ? srcname : dstname; in do_rename()
958 oldname = full_name(pp, srcdst, OPT_BASE); in do_rename()
991 note_info(fp, &statb, srcdst); in do_rename()
992 link_update(fp, srcdst); in do_rename()
993 update_info(fp, srcdst); in do_rename()
1001 fp->f_info[srcdst].f_ino = pp->f_info[srcdst].f_ino; in do_rename()
1002 fp->f_info[srcdst].f_nlink = pp->f_info[srcdst].f_nlink; in do_rename()
1003 fp->f_info[srcdst].f_type = pp->f_info[srcdst].f_type; in do_rename()
1004 fp->f_info[srcdst].f_size = pp->f_info[srcdst].f_size; in do_rename()
1005 fp->f_info[srcdst].f_mode = pp->f_info[srcdst].f_mode; in do_rename()
1006 fp->f_info[srcdst].f_uid = pp->f_info[srcdst].f_uid; in do_rename()
1007 fp->f_info[srcdst].f_gid = pp->f_info[srcdst].f_gid; in do_rename()
1008 update_info(fp, srcdst); in do_rename()
1016 if (srcdst == OPT_SRC) { in do_rename()