Lines Matching full:sid
4 * of security context structures indexed by SID value.
22 u32 sid; member
94 /* SID -> context string cache */
100 /* index == SID - 1 (no entry for SECSID_NULL) */
103 /* Hash table for fast reverse context-to-sid lookups. */
108 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context);
109 struct sidtab_entry *sidtab_search_entry(struct sidtab *s, u32 sid);
110 struct sidtab_entry *sidtab_search_entry_force(struct sidtab *s, u32 sid);
112 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search() argument
114 struct sidtab_entry *entry = sidtab_search_entry(s, sid); in sidtab_search()
119 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force() argument
121 struct sidtab_entry *entry = sidtab_search_entry_force(s, sid); in sidtab_search_force()
135 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid);