Home
last modified time | relevance | path

Searched refs:source_type (Results 1 – 6 of 6) sorted by relevance

/security/selinux/ss/
A Davtab.c54 mix(keyp->source_type); in avtab_hash()
103 if (key1->source_type == key2->source_type && in avtab_node_cmp()
108 if (key1->source_type < key2->source_type) in avtab_node_cmp()
110 if (key1->source_type == key2->source_type && in avtab_node_cmp()
113 if (key1->source_type == key2->source_type && in avtab_node_cmp()
376 key.source_type = (u16)val; in avtab_read_item()
377 if (key.source_type != val) { in avtab_read_item()
435 key.source_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
440 if (!policydb_type_isvalid(pol, key.source_type) || in avtab_read_item()
560 buf16[0] = cpu_to_le16(cur->key.source_type); in avtab_write_item()
A Davtab.h27 u16 source_type; /* source type */ member
A Dpolicydb.h140 u32 source_type; member
A Dmls.c495 rtr.source_type = scontext->type; in mls_compute_sid()
A Dpolicydb.c458 return key->source_type + (key->target_type << 3) + in rangetr_hash()
467 v = key1->source_type - key2->source_type; in rangetr_cmp()
1875 rt->source_type = le32_to_cpu(buf[0]); in range_read()
1886 if (!policydb_type_isvalid(p, rt->source_type) || in range_read()
3508 buf[0] = cpu_to_le32(rt->source_type); in range_write_helper()
A Dservices.c662 avkey.source_type = i + 1; in context_struct_compute_av()
1092 avkey.source_type = i + 1; in security_compute_xperms_decision()
1859 avkey.source_type = scontext->type; in security_compute_sid()

Completed in 17 milliseconds