Lines Matching defs:table
23 /* remap old accept table embedded permissions to separate permission table */
147 * Returns: remapped perm table
154 struct aa_perms *table;
160 table = kvcalloc(state_count * 2, sizeof(struct aa_perms), GFP_KERNEL);
161 if (!table)
166 table[state * 2] = compute_fperms_user(dfa, state);
167 table[state * 2 + 1] = compute_fperms_other(dfa, state);
170 return table;
253 struct aa_perms *table;
259 table = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL);
260 if (!table)
266 table[state] = compute_perms_entry(dfa, state, version);
268 return table;
272 * remap_dfa_accept - remap old dfa accept table to be an index
278 * there is a permission table and the accept table is an index into
279 * the permission table.