Lines Matching refs:context_to_sid
46 hash_init(s->context_to_sid);
59 static u32 context_to_sid(struct sidtab *s, struct context *context, u32 hash)
65 hash_for_each_possible_rcu(s->context_to_sid, entry, list, hash) {
101 * context is not already represented in the context_to_sid hashtable
105 if (!context_to_sid(s, context, hash)) {
108 hash_add(s->context_to_sid, &isid->entry.list, hash);
125 hash_for_each_rcu(sidtab->context_to_sid, i, entry, list) {
274 *sid = context_to_sid(s, context, hash);
282 *sid = context_to_sid(s, context, hash);
341 hash_add_rcu(target->context_to_sid,
353 hash_add_rcu(s->context_to_sid, &dst->list, dst->hash);
371 hash_add_rcu(s->context_to_sid, &entry->list, entry->hash);
550 * The context_to_sid hashtable's objects are all shared