Lines Matching defs:flags
24 * Bitsets held in the 'status' flags get
99 struct flag *flags;
101 if (!(flags = _get_flags(type)))
107 for (f = 0; flags[f].mask; f++) {
108 if (status & flags[f].mask) {
109 status &= ~flags[f].mask;
111 if ((type & STATUS_FLAG) != flags[f].kind)
115 if (!flags[f].description)
125 flags[f].description))
134 log_error("Metadata inconsistency: Not all flags successfully "
144 struct flag *flags;
146 if (!(flags = _get_flags(type)))
158 for (f = 0; flags[f].description; f++)
159 if (!strcmp(flags[f].description, cv->v.str)) {
160 s |= flags[f].mask;
173 } else if (!flags[f].description && (type & STATUS_FLAG)) {