Home
last modified time | relevance | path

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

/linux-6.15/tools/mm/
H A Dpage-types.c655 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()
1307 opt_list = 1; in main()
1310 opt_list = 2; in main()
1350 if (opt_list && opt_pid) in main()
1359 if (opt_list == 1) in main()
1361 if (opt_list == 2) in main()
1369 if (opt_list == 1) in main()
[all …]
/linux-6.15/security/integrity/ima/
H A Dima_policy.c341 opt_list = kzalloc(struct_size(opt_list, items, count), GFP_KERNEL); in ima_alloc_rule_opt_list()
342 if (!opt_list) { in ima_alloc_rule_opt_list()
346 opt_list->count = count; in ima_alloc_rule_opt_list()
359 opt_list->items[i] = cur; in ima_alloc_rule_opt_list()
363 return opt_list; in ima_alloc_rule_opt_list()
368 if (!opt_list) in ima_free_rule_opt_list()
371 if (opt_list->count) { in ima_free_rule_opt_list()
372 kfree(opt_list->items[0]); in ima_free_rule_opt_list()
373 opt_list->count = 0; in ima_free_rule_opt_list()
376 kfree(opt_list); in ima_free_rule_opt_list()
[all …]