Searched refs:opt_list (Results 1 – 2 of 2) sorted by relevance
157 static int opt_list; /* list pages (in ranges) */ variable653 if (opt_list == 1) in add_page()655 else if (opt_list == 2) in add_page()716 if (opt_list == 1) in walk_swap()719 else if (opt_list == 2) in walk_swap()1037 if (first && opt_list) { in walk_file()1294 opt_list = 1; in main()1297 opt_list = 2; in main()1331 if (opt_list && opt_list_mapcnt) in main()1337 if (opt_list && opt_pid) in main()[all …]
262 struct ima_rule_opt_list *opt_list; in ima_alloc_rule_opt_list() local288 opt_list = kzalloc(struct_size(opt_list, items, count), GFP_KERNEL); in ima_alloc_rule_opt_list()289 if (!opt_list) { in ima_alloc_rule_opt_list()305 opt_list->items[i] = cur; in ima_alloc_rule_opt_list()308 opt_list->count = count; in ima_alloc_rule_opt_list()310 return opt_list; in ima_alloc_rule_opt_list()313 static void ima_free_rule_opt_list(struct ima_rule_opt_list *opt_list) in ima_free_rule_opt_list() argument315 if (!opt_list) in ima_free_rule_opt_list()318 if (opt_list->count) { in ima_free_rule_opt_list()319 kfree(opt_list->items[0]); in ima_free_rule_opt_list()[all …]