Lines Matching refs:sidtab

33 int sidtab_init(struct sidtab *s)  in sidtab_init()
57 static u32 context_to_sid(struct sidtab *s, struct context *context, u32 hash) in context_to_sid()
75 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context) in sidtab_set_initial()
112 int sidtab_hash_stats(struct sidtab *sidtab, char *page) in sidtab_hash_stats() argument
123 hash_for_each_rcu(sidtab->context_to_sid, i, entry, list) { in sidtab_hash_stats()
158 static int sidtab_alloc_roots(struct sidtab *s, u32 level) in sidtab_alloc_roots()
179 static struct sidtab_entry *sidtab_do_lookup(struct sidtab *s, u32 index, in sidtab_do_lookup()
220 static struct sidtab_entry *sidtab_lookup(struct sidtab *s, u32 index) in sidtab_lookup()
231 static struct sidtab_entry *sidtab_lookup_initial(struct sidtab *s, u32 sid) in sidtab_lookup_initial()
236 static struct sidtab_entry *sidtab_search_core(struct sidtab *s, u32 sid, in sidtab_search_core()
253 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid) in sidtab_search_entry()
258 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid) in sidtab_search_entry_force()
263 int sidtab_context_to_sid(struct sidtab *s, struct context *context, in sidtab_context_to_sid()
347 static void sidtab_convert_hashtable(struct sidtab *s, u32 count) in sidtab_convert_hashtable()
408 int sidtab_convert(struct sidtab *s, struct sidtab_convert_params *params) in sidtab_convert()
467 void sidtab_cancel_convert(struct sidtab *s) in sidtab_cancel_convert()
510 void sidtab_destroy(struct sidtab *s) in sidtab_destroy()
532 void sidtab_sid2str_put(struct sidtab *s, struct sidtab_entry *entry, in sidtab_sid2str_put()
577 int sidtab_sid2str_get(struct sidtab *s, struct sidtab_entry *entry, in sidtab_sid2str_get()