Lines Matching refs:accum
104 static inline void aa_perms_accum_raw(struct aa_perms *accum, in aa_perms_accum_raw() argument
107 accum->deny |= addend->deny; in aa_perms_accum_raw()
108 accum->allow &= addend->allow & ~addend->deny; in aa_perms_accum_raw()
109 accum->audit |= addend->audit & addend->allow; in aa_perms_accum_raw()
110 accum->quiet &= addend->quiet & ~addend->allow; in aa_perms_accum_raw()
111 accum->kill |= addend->kill & ~addend->allow; in aa_perms_accum_raw()
112 accum->complain |= addend->complain & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
113 accum->cond |= addend->cond & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
114 accum->hide &= addend->hide & ~addend->allow; in aa_perms_accum_raw()
115 accum->prompt |= addend->prompt & ~addend->allow & ~addend->deny; in aa_perms_accum_raw()
116 accum->subtree |= addend->subtree & ~addend->deny; in aa_perms_accum_raw()
118 if (!accum->xindex) in aa_perms_accum_raw()
119 accum->xindex = addend->xindex; in aa_perms_accum_raw()
120 if (!accum->tag) in aa_perms_accum_raw()
121 accum->tag = addend->tag; in aa_perms_accum_raw()
122 if (!accum->label) in aa_perms_accum_raw()
123 accum->label = addend->label; in aa_perms_accum_raw()
131 static inline void aa_perms_accum(struct aa_perms *accum, in aa_perms_accum() argument
134 accum->deny |= addend->deny; in aa_perms_accum()
135 accum->allow &= addend->allow & ~accum->deny; in aa_perms_accum()
136 accum->audit |= addend->audit & accum->allow; in aa_perms_accum()
137 accum->quiet &= addend->quiet & ~accum->allow; in aa_perms_accum()
138 accum->kill |= addend->kill & ~accum->allow; in aa_perms_accum()
139 accum->complain |= addend->complain & ~accum->allow & ~accum->deny; in aa_perms_accum()
140 accum->cond |= addend->cond & ~accum->allow & ~accum->deny; in aa_perms_accum()
141 accum->hide &= addend->hide & ~accum->allow; in aa_perms_accum()
142 accum->prompt |= addend->prompt & ~accum->allow & ~accum->deny; in aa_perms_accum()
143 accum->subtree &= addend->subtree & ~accum->deny; in aa_perms_accum()
145 if (!accum->xindex) in aa_perms_accum()
146 accum->xindex = addend->xindex; in aa_perms_accum()
147 if (!accum->tag) in aa_perms_accum()
148 accum->tag = addend->tag; in aa_perms_accum()
149 if (!accum->label) in aa_perms_accum()
150 accum->label = addend->label; in aa_perms_accum()
208 void aa_perms_accum(struct aa_perms *accum, struct aa_perms *addend);
209 void aa_perms_accum_raw(struct aa_perms *accum, struct aa_perms *addend);