Lines Matching defs:context
4 * of security context structures indexed by SID value.
18 #include "context.h"
23 struct context context;
68 int (*func)(struct context *oldc, struct context *newc, void *args, gfp_t gfp_flags);
93 /* SID -> context string cache */
102 /* Hash table for fast reverse context-to-sid lookups. */
107 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context);
111 static inline struct context *sidtab_search(struct sidtab *s, u32 sid)
115 return entry ? &entry->context : NULL;
118 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid)
122 return entry ? &entry->context : NULL;
132 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid);