Home
last modified time | relevance | path

Searched refs:opt_list (Results 1 – 2 of 2) sorted by relevance

/linux/tools/mm/
H A Dpage-types.c157 static int opt_list; /* list pages (in ranges) */ variable
655 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 …]
/linux/security/integrity/ima/
H A Dima_policy.c319 struct ima_rule_opt_list *opt_list; in ima_alloc_rule_opt_list() local
345 opt_list = kzalloc_flex(*opt_list, items, count); in ima_alloc_rule_opt_list()
346 if (!opt_list) { in ima_alloc_rule_opt_list()
350 opt_list->count = count; in ima_alloc_rule_opt_list()
363 opt_list->items[i] = cur; in ima_alloc_rule_opt_list()
367 return opt_list; in ima_alloc_rule_opt_list()
370 static void ima_free_rule_opt_list(struct ima_rule_opt_list *opt_list) in ima_free_rule_opt_list() argument
372 if (!opt_list) in ima_free_rule_opt_list()
375 if (opt_list->count) { in ima_free_rule_opt_list()
376 kfree(opt_list->items[0]); in ima_free_rule_opt_list()
[all …]