Lines Matching defs:flags
39 int rm_rf_children(int fd, RemoveFlags flags, struct stat *root_dev) {
48 if (!(flags & REMOVE_PHYSICAL)) {
92 (de->d_type == DT_DIR && (root_dev || (flags & REMOVE_SUBVOLUME)))) {
131 if ((flags & REMOVE_SUBVOLUME) && st.st_ino == 256) {
158 r = rm_rf_children(subdir_fd, flags | REMOVE_PHYSICAL, root_dev);
167 } else if (!(flags & REMOVE_ONLY_DIRECTORIES)) {
177 int rm_rf(const char *path, RemoveFlags flags) {
191 if ((flags & (REMOVE_SUBVOLUME|REMOVE_ROOT|REMOVE_PHYSICAL)) == (REMOVE_SUBVOLUME|REMOVE_ROOT|REMOVE_PHYSICAL)) {
209 if (!(flags & REMOVE_PHYSICAL)) {
219 if ((flags & REMOVE_ROOT) && !(flags & REMOVE_ONLY_DIRECTORIES))
226 r = rm_rf_children(fd, flags, NULL);
228 if (flags & REMOVE_ROOT) {