Lines Matching defs:old_mask
197 struct acl_mask *change_mask, *old_mask, *new_mask;
203 old_mask = *mask_p;
204 new_mask = old_mask;
208 if (old_mask == NULL) {
220 if (old_mask->size >= change_mask->size) {
223 old_mask->mask[i] |= change_mask->mask[i];
226 for (i = 0; i < old_mask->size; i++)
227 change_mask->mask[i] |= old_mask->mask[i];
232 if (old_mask == NULL || change_mask == NULL) {
238 size = I_MIN(old_mask->size, change_mask->size);
240 old_mask->mask[i] &= ~change_mask->mask[i];
243 if (old_mask == NULL && change_mask == NULL)
251 if (new_mask != old_mask) {
253 if (old_mask != NULL)
254 acl_cache_mask_deinit(&old_mask);