Searched refs:items (Results 1 – 2 of 2) sorted by relevance
383 u32 items, items2, val, vers = pol->policyvers; in avtab_read_item() local412 items = 0; in avtab_read_item()414 val = le32_to_cpu(buf32[items++]); in avtab_read_item()420 val = le32_to_cpu(buf32[items++]); in avtab_read_item()426 val = le32_to_cpu(buf32[items++]); in avtab_read_item()433 val = le32_to_cpu(buf32[items++]); in avtab_read_item()453 datum.u.data = le32_to_cpu(buf32[items++]); in avtab_read_item()460 if (items != items2) { in avtab_read_item()461 printk(KERN_ERR "SELinux: avtab: entry only had %d items, expected %d\n", items2, items); in avtab_read_item()473 items = 0; in avtab_read_item()[all …]
992 u32 items; in mls_read_range_helper() local1000 items = le32_to_cpu(buf[0]); in mls_read_range_helper()1001 if (items > ARRAY_SIZE(buf)) { in mls_read_range_helper()1006 rc = next_entry(buf, fp, sizeof(u32) * items); in mls_read_range_helper()1013 if (items > 1) in mls_read_range_helper()1023 if (items > 1) { in mls_read_range_helper()2543 size_t items; in mls_write_range_helper() local2549 items = 2; in mls_write_range_helper()2551 items = 3; in mls_write_range_helper()2552 buf[0] = cpu_to_le32(items-1); in mls_write_range_helper()[all …]