Home
last modified time | relevance | path

Searched refs:str (Results 1 – 14 of 14) sorted by relevance

/mm/
Dfailslab.c35 static int __init setup_failslab(char *str) in setup_failslab() argument
37 return setup_fault_attr(&failslab.attr, str); in setup_failslab()
Dmm_init.c133 static __init int set_mminit_loglevel(char *str) in set_mminit_loglevel() argument
135 get_option(&str, &mminit_loglevel); in set_mminit_loglevel()
Dkmemleak.c1762 static int dump_str_object_info(const char *str) in dump_str_object_info() argument
1768 if (kstrtoul(str, 0, &addr)) in dump_str_object_info()
1964 static int kmemleak_boot_config(char *str) in kmemleak_boot_config() argument
1966 if (!str) in kmemleak_boot_config()
1968 if (strcmp(str, "off") == 0) in kmemleak_boot_config()
1970 else if (strcmp(str, "on") == 0) in kmemleak_boot_config()
Dslub.c1223 static int __init setup_slub_debug(char *str) in setup_slub_debug() argument
1226 if (*str++ != '=' || !*str) in setup_slub_debug()
1232 if (*str == ',') in setup_slub_debug()
1240 if (*str == '-') in setup_slub_debug()
1249 for (; *str && *str != ','; str++) { in setup_slub_debug()
1250 switch (tolower(*str)) { in setup_slub_debug()
1278 *str); in setup_slub_debug()
1283 if (*str == ',') in setup_slub_debug()
1284 slub_debug_slabs = str + 1; in setup_slub_debug()
3734 static int __init setup_slub_min_order(char *str) in setup_slub_min_order() argument
[all …]
Dmempolicy.c2604 static int __init setup_numabalancing(char *str) in setup_numabalancing() argument
2607 if (!str) in setup_numabalancing()
2610 if (!strcmp(str, "enable")) { in setup_numabalancing()
2613 } else if (!strcmp(str, "disable")) { in setup_numabalancing()
2718 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
2724 char *nodelist = strchr(str, ':'); in mpol_parse_str()
2725 char *flags = strchr(str, '='); in mpol_parse_str()
2742 if (!strcmp(str, policy_modes[mode])) { in mpol_parse_str()
Dpage_alloc.c2886 static int __init setup_fail_page_alloc(char *str) in setup_fail_page_alloc() argument
2888 return setup_fault_attr(&fail_page_alloc.attr, str); in setup_fail_page_alloc()
4940 char *str; in numa_zonelist_order_handler() local
4945 str = memdup_user_nul(buffer, 16); in numa_zonelist_order_handler()
4946 if (IS_ERR(str)) in numa_zonelist_order_handler()
4947 return PTR_ERR(str); in numa_zonelist_order_handler()
4949 ret = __parse_numa_zonelist_order(str); in numa_zonelist_order_handler()
4950 kfree(str); in numa_zonelist_order_handler()
6725 void __init mem_init_print_info(const char *str) in mem_init_print_info() argument
6774 str ? ", " : "", str ? str : ""); in mem_init_print_info()
[all …]
Dpercpu.c2194 static int __init percpu_alloc_setup(char *str) in percpu_alloc_setup() argument
2196 if (!str) in percpu_alloc_setup()
2202 else if (!strcmp(str, "embed")) in percpu_alloc_setup()
2206 else if (!strcmp(str, "page")) in percpu_alloc_setup()
2210 pr_warn("unknown allocator %s specified\n", str); in percpu_alloc_setup()
Dearly_ioremap.c24 static int __init early_ioremap_debug_setup(char *str) in early_ioremap_debug_setup() argument
Dmemory_hotplug.c77 static int __init setup_memhp_default_state(char *str) in setup_memhp_default_state() argument
79 if (!strcmp(str, "online")) in setup_memhp_default_state()
81 else if (!strcmp(str, "offline")) in setup_memhp_default_state()
Dshmem.c405 static int shmem_parse_huge(const char *str) in shmem_parse_huge() argument
407 if (!strcmp(str, "never")) in shmem_parse_huge()
409 if (!strcmp(str, "always")) in shmem_parse_huge()
411 if (!strcmp(str, "within_size")) in shmem_parse_huge()
413 if (!strcmp(str, "advise")) in shmem_parse_huge()
415 if (!strcmp(str, "deny")) in shmem_parse_huge()
417 if (!strcmp(str, "force")) in shmem_parse_huge()
Dhuge_memory.c439 static int __init setup_transparent_hugepage(char *str) in setup_transparent_hugepage() argument
442 if (!str) in setup_transparent_hugepage()
444 if (!strcmp(str, "always")) { in setup_transparent_hugepage()
450 } else if (!strcmp(str, "madvise")) { in setup_transparent_hugepage()
456 } else if (!strcmp(str, "never")) { in setup_transparent_hugepage()
Dslab_common.c54 static int __init setup_slab_nomerge(char *str) in setup_slab_nomerge() argument
Dslab.c506 static int __init slab_max_order_setup(char *str) in slab_max_order_setup() argument
508 get_option(&str, &slab_max_order); in slab_max_order_setup()
/mm/kasan/
Dreport.c377 static int __init kasan_set_multi_shot(char *str) in kasan_set_multi_shot() argument