Lines Matching refs:table
155 struct aa_perms *table; in compute_fperms() local
161 table = kvcalloc(state_count * 2, sizeof(struct aa_perms), GFP_KERNEL); in compute_fperms()
162 if (!table) in compute_fperms()
167 table[state * 2] = compute_fperms_user(dfa, state); in compute_fperms()
168 table[state * 2 + 1] = compute_fperms_other(dfa, state); in compute_fperms()
171 return table; in compute_fperms()
254 struct aa_perms *table; in compute_perms() local
260 table = kvcalloc(state_count, sizeof(struct aa_perms), GFP_KERNEL); in compute_perms()
261 if (!table) in compute_perms()
267 table[state] = compute_perms_entry(dfa, state, version); in compute_perms()
269 return table; in compute_perms()