Searched refs:opt_list (Results 1 – 2 of 2) sorted by relevance
157 static int opt_list; /* list pages (in ranges) */ variable655 if (opt_list == 1) in add_page()657 else if (opt_list == 2) in add_page()718 if (opt_list == 1) in walk_swap()721 else if (opt_list == 2) in walk_swap()1036 if (first && opt_list) { in walk_file_range()1307 opt_list = 1; in main()1310 opt_list = 2; in main()1344 if (opt_list && opt_list_mapcnt) in main()1350 if (opt_list && opt_pid) in main()[all …]
314 struct ima_rule_opt_list *opt_list; in ima_alloc_rule_opt_list() local340 opt_list = kzalloc(struct_size(opt_list, items, count), GFP_KERNEL); in ima_alloc_rule_opt_list()341 if (!opt_list) { in ima_alloc_rule_opt_list()345 opt_list->count = count; in ima_alloc_rule_opt_list()358 opt_list->items[i] = cur; in ima_alloc_rule_opt_list()362 return opt_list; in ima_alloc_rule_opt_list()365 static void ima_free_rule_opt_list(struct ima_rule_opt_list *opt_list) in ima_free_rule_opt_list() argument367 if (!opt_list) in ima_free_rule_opt_list()370 if (opt_list->count) { in ima_free_rule_opt_list()371 kfree(opt_list->items[0]); in ima_free_rule_opt_list()[all …]