Lines Matching defs:table
23 /* remap old accept table embedded permissions to separate permission table */
146 * @size: Returns the permission table size
148 * Returns: remapped perm table
155 struct aa_perms *table;
161 table = kvcalloc(state_count * 2, sizeof(struct aa_perms), GFP_KERNEL);
162 if (!table)
167 table[state * 2] = compute_fperms_user(dfa, state);
168 table[state * 2 + 1] = compute_fperms_other(dfa, state);
171 return table;
254 struct aa_perms *table;
260 table = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL);
261 if (!table)
267 table[state] = compute_perms_entry(dfa, state, version);
269 return table;
273 * remap_dfa_accept - remap old dfa accept table to be an index
279 * there is a permission table and the accept table is an index into
280 * the permission table.