Lines Matching refs:preserve
173 int preserve; /* preserve { ids perms times } */ member
206 preserve(State_t* state, const char* path, struct stat* ns, struct stat* os) in preserve() function
210 …if ((state->preserve & PRESERVE_TIME) && tmxtouch(path, tmxgetatime(os), tmxgetmtime(os), TMX_NOTI… in preserve()
212 if (state->preserve & PRESERVE_IDS) in preserve()
327 …if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU… in visit()
339 if (state->preserve & (PRESERVE_IDS|PRESERVE_TIME)) in visit()
340 preserve(state, state->path, &st, ent->fts_statp); in visit()
652 if (state->preserve) in visit()
660 …if ((state->preserve & PRESERVE_PERM) && (ent->fts_statp->st_mode & state->perm) != (st.st_mode & … in visit()
662 if (state->preserve & (PRESERVE_IDS|PRESERVE_TIME)) in visit()
663 preserve(state, state->path, &st, ent->fts_statp); in visit()
739 state->preserve = PRESERVE_IDS|PRESERVE_PERM|PRESERVE_TIME; in b_cp()
757 state->preserve = PRESERVE_IDS|PRESERVE_PERM|PRESERVE_TIME; in b_cp()
770 state->preserve |= PRESERVE_IDS|PRESERVE_PERM|PRESERVE_TIME; in b_cp()
773 state->preserve |= PRESERVE_IDS; in b_cp()
776 state->preserve |= PRESERVE_PERM; in b_cp()
779 state->preserve |= PRESERVE_TIME; in b_cp()
810 state->preserve = PRESERVE_IDS|PRESERVE_PERM|PRESERVE_TIME; in b_cp()