Lines Matching refs:pflags
115 int pflags;
280 if (TT.pflags&(_CP_xattr|_CP_context)) { in cp_node()
289 if (!(TT.pflags&_CP_xattr) && strncmp(name, "security.", 9)) in cp_node()
315 if (TT.pflags & _CP_ownership) { in cp_node()
332 if (TT.pflags & _CP_timestamps) { in cp_node()
341 if (TT.pflags & _CP_mode) fchmod(fdout, try->st.st_mode); in cp_node()
374 if (FLAG(a)||FLAG(p)) TT.pflags = _CP_mode|_CP_ownership|_CP_timestamps; in cp_main()
380 if (comma_remove(pre, "all")) TT.pflags = ~0; in cp_main()
382 while (comma_remove(pre, cp_preserve[i].name)) TT.pflags |= 1<<i; in cp_main()
390 if (*s == 'a') TT.pflags = ~0; in cp_main()
392 } else TT.pflags |= 1<<i; in cp_main()
399 if (TT.pflags & _CP_mode) umask(0); in cp_main()