Home
last modified time | relevance | path

Searched refs:table_size (Results 1 – 3 of 3) sorted by relevance

/security/apparmor/
Dpolicy_unpack.c650 static bool verify_xindex(int xindex, int table_size) in verify_xindex() argument
655 if (xtype == AA_X_TABLE && index > table_size) in verify_xindex()
661 static bool verify_dfa_xindex(struct aa_dfa *dfa, int table_size) in verify_dfa_xindex() argument
665 if (!verify_xindex(dfa_user_xindex(dfa, i), table_size)) in verify_dfa_xindex()
667 if (!verify_xindex(dfa_other_xindex(dfa, i), table_size)) in verify_dfa_xindex()
Dmatch.c56 tsize = table_size(th.td_lolen, th.td_flags); in unpack_table()
266 data += table_size(table->td_lolen, table->td_flags); in aa_dfa_unpack()
267 size -= table_size(table->td_lolen, table->td_flags); in aa_dfa_unpack()
/security/apparmor/include/
Dmatch.h109 static inline size_t table_size(size_t len, size_t el_size) in table_size() function