Home
last modified time | relevance | path

Searched refs:items (Results 1 – 2 of 2) sorted by relevance

/security/selinux/ss/
Davtab.c396 u32 items, items2, val, vers = pol->policyvers; in avtab_read_item() local
424 items = 0; in avtab_read_item()
426 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
432 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
438 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
445 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
465 datum.u.data = le32_to_cpu(buf32[items++]); in avtab_read_item()
472 if (items != items2) { in avtab_read_item()
473 printk(KERN_ERR "SELinux: avtab: entry only had %d items, expected %d\n", items2, items); in avtab_read_item()
485 items = 0; in avtab_read_item()
[all …]
Dpolicydb.c1003 u32 items; in mls_read_range_helper() local
1011 items = le32_to_cpu(buf[0]); in mls_read_range_helper()
1012 if (items > ARRAY_SIZE(buf)) { in mls_read_range_helper()
1017 rc = next_entry(buf, fp, sizeof(u32) * items); in mls_read_range_helper()
1024 if (items > 1) in mls_read_range_helper()
1034 if (items > 1) { in mls_read_range_helper()
2614 size_t items; in mls_write_range_helper() local
2620 items = 2; in mls_write_range_helper()
2622 items = 3; in mls_write_range_helper()
2623 buf[0] = cpu_to_le32(items-1); in mls_write_range_helper()
[all …]