Home
last modified time | relevance | path

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

/linux/security/selinux/ss/
H A Davtab.c31 (u32)keyp->source_type, mask); in avtab_hash()
70 if (key1->source_type == key2->source_type && in avtab_node_cmp()
75 if (key1->source_type < key2->source_type) in avtab_node_cmp()
77 if (key1->source_type == key2->source_type && in avtab_node_cmp()
80 if (key1->source_type == key2->source_type && in avtab_node_cmp()
343 key.source_type = (u16)val; in avtab_read_item()
344 if (key.source_type != val) { in avtab_read_item()
402 key.source_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
407 if (!policydb_type_isvalid(pol, key.source_type) || in avtab_read_item()
527 buf16[0] = cpu_to_le16(cur->key.source_type); in avtab_write_item()
H A Dpolicydb.h140 u32 source_type; member
H 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()
H 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()
/linux/drivers/usb/typec/
H A Dpd.c453 static const struct device_type *source_type[] = { variable
510 type = source_type[pdo_type(pdo)]; in add_pdo()
/linux/include/acpi/
H A Dactbl1.h235 u8 source_type; member