Searched refs:items (Results 1 – 3 of 3) sorted by relevance
/security/selinux/ss/ |
D | avtab.c | 407 u32 items, items2, val, vers = pol->policyvers; in avtab_read_item() local 435 items = 0; in avtab_read_item() 437 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 443 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 449 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 456 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 476 datum.u.data = le32_to_cpu(buf32[items++]); in avtab_read_item() 483 if (items != items2) { in avtab_read_item() 485 items2, items); in avtab_read_item() 497 items = 0; in avtab_read_item() [all …]
|
D | policydb.c | 979 u32 items; in mls_read_range_helper() local 987 items = le32_to_cpu(buf[0]); in mls_read_range_helper() 988 if (items > ARRAY_SIZE(buf)) { in mls_read_range_helper() 993 rc = next_entry(buf, fp, sizeof(u32) * items); in mls_read_range_helper() 1000 if (items > 1) in mls_read_range_helper() 1010 if (items > 1) { in mls_read_range_helper() 2752 size_t items; in mls_write_range_helper() local 2758 items = 2; in mls_write_range_helper() 2760 items = 3; in mls_write_range_helper() 2761 buf[0] = cpu_to_le32(items-1); in mls_write_range_helper() [all …]
|
/security/integrity/ima/ |
D | ima_policy.c | 69 char *items[]; member 309 opt_list = kzalloc(struct_size(opt_list, items, count), GFP_KERNEL); in ima_alloc_rule_opt_list() 326 opt_list->items[i] = cur; in ima_alloc_rule_opt_list() 340 kfree(opt_list->items[0]); in ima_free_rule_opt_list() 512 if (!strcmp(opt_list->items[i], func_data)) { in ima_match_rule_data() 1846 seq_printf(m, "%s%s", i ? "|" : "", opt_list->items[i]); in ima_show_rule_opt_list()
|