Lines Matching full:sid
4 * of security context structures indexed by SID value.
21 u32 sid; member
92 /* SID -> context string cache */
98 /* index == SID - 1 (no entry for SECSID_NULL) */
101 /* Hash table for fast reverse context-to-sid lookups. */
106 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context);
107 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid);
108 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid);
110 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search() argument
112 struct sidtab_entry *entry = sidtab_search_entry(s, sid); in sidtab_search()
117 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force() argument
119 struct sidtab_entry *entry = sidtab_search_entry_force(s, sid); in sidtab_search_force()
131 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid);