Searched refs:opt_list (Results 1 – 2 of 2) sorted by relevance
159 static int opt_list; /* list pages (in ranges) */ variable659 if (opt_list == 1) in add_page()661 else if (opt_list == 2) in add_page()722 if (opt_list == 1) in walk_swap()725 else if (opt_list == 2) in walk_swap()1040 if (first && opt_list) { in walk_file_range()1311 opt_list = 1; in main()1314 opt_list = 2; in main()1348 if (opt_list && opt_list_mapcnt) in main()1354 if (opt_list && opt_pid) in main()[all …]
290 struct ima_rule_opt_list *opt_list; in ima_alloc_rule_opt_list() local316 opt_list = kzalloc(struct_size(opt_list, items, count), GFP_KERNEL); in ima_alloc_rule_opt_list()317 if (!opt_list) { in ima_alloc_rule_opt_list()333 opt_list->items[i] = cur; in ima_alloc_rule_opt_list()336 opt_list->count = count; in ima_alloc_rule_opt_list()338 return opt_list; in ima_alloc_rule_opt_list()341 static void ima_free_rule_opt_list(struct ima_rule_opt_list *opt_list) in ima_free_rule_opt_list() argument343 if (!opt_list) in ima_free_rule_opt_list()346 if (opt_list->count) { in ima_free_rule_opt_list()347 kfree(opt_list->items[0]); in ima_free_rule_opt_list()[all …]