Lines Matching full:sid
4 * of security context structures indexed by SID value.
21 u32 sid; member
93 /* SID -> context string cache */
99 /* index == SID - 1 (no entry for SECSID_NULL) */
102 /* Hash table for fast reverse context-to-sid lookups. */
107 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context);
108 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid);
109 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid);
111 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search() argument
113 struct sidtab_entry *entry = sidtab_search_entry(s, sid); in sidtab_search()
118 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force() argument
120 struct sidtab_entry *entry = sidtab_search_entry_force(s, sid); in sidtab_search_force()
132 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid);