Lines Matching refs:sidtab
20 int sidtab_init(struct sidtab *s) in sidtab_init()
40 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context) in sidtab_set_initial()
70 static int sidtab_alloc_roots(struct sidtab *s, u32 level) in sidtab_alloc_roots()
91 static struct context *sidtab_do_lookup(struct sidtab *s, u32 index, int alloc) in sidtab_do_lookup()
131 static struct context *sidtab_lookup(struct sidtab *s, u32 index) in sidtab_lookup()
142 static struct context *sidtab_lookup_initial(struct sidtab *s, u32 sid) in sidtab_lookup_initial()
147 static struct context *sidtab_search_core(struct sidtab *s, u32 sid, int force) in sidtab_search_core()
163 struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search()
168 struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force()
208 static void sidtab_rcache_update(struct sidtab *s, u32 index, u32 pos) in sidtab_rcache_update()
217 static void sidtab_rcache_push(struct sidtab *s, u32 index) in sidtab_rcache_push()
222 static int sidtab_rcache_search(struct sidtab *s, struct context *context, in sidtab_rcache_search()
242 static int sidtab_reverse_lookup(struct sidtab *s, struct context *context, in sidtab_reverse_lookup()
338 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid) in sidtab_context_to_sid()
406 int sidtab_convert(struct sidtab *s, struct sidtab_convert_params *params) in sidtab_convert()
481 void sidtab_destroy(struct sidtab *s) in sidtab_destroy()