Home
last modified time | relevance | path

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

/mm/
Dfailslab.c28 static int __init setup_failslab(char *str) in setup_failslab() argument
30 return setup_fault_attr(&failslab.attr, str); in setup_failslab()
Dmm_init.c134 static __init int set_mminit_loglevel(char *str) in set_mminit_loglevel() argument
136 get_option(&str, &mminit_loglevel); in set_mminit_loglevel()
Dkmemleak.c1630 static int dump_str_object_info(const char *str) in dump_str_object_info() argument
1636 if (kstrtoul(str, 0, &addr)) in dump_str_object_info()
1832 static int kmemleak_boot_config(char *str) in kmemleak_boot_config() argument
1834 if (!str) in kmemleak_boot_config()
1836 if (strcmp(str, "off") == 0) in kmemleak_boot_config()
1838 else if (strcmp(str, "on") == 0) in kmemleak_boot_config()
Dslub.c1186 static int __init setup_slub_debug(char *str) in setup_slub_debug() argument
1189 if (*str++ != '=' || !*str) in setup_slub_debug()
1195 if (*str == ',') in setup_slub_debug()
1203 if (*str == '-') in setup_slub_debug()
1212 for (; *str && *str != ','; str++) { in setup_slub_debug()
1213 switch (tolower(*str)) { in setup_slub_debug()
1241 *str); in setup_slub_debug()
1246 if (*str == ',') in setup_slub_debug()
1247 slub_debug_slabs = str + 1; in setup_slub_debug()
3587 static int __init setup_slub_min_order(char *str) in setup_slub_min_order() argument
[all …]
Dmempolicy.c2579 static int __init setup_numabalancing(char *str) in setup_numabalancing() argument
2582 if (!str) in setup_numabalancing()
2585 if (!strcmp(str, "enable")) { in setup_numabalancing()
2588 } else if (!strcmp(str, "disable")) { in setup_numabalancing()
2693 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
2699 char *nodelist = strchr(str, ':'); in mpol_parse_str()
2700 char *flags = strchr(str, '='); in mpol_parse_str()
2717 if (!strcmp(str, policy_modes[mode])) { in mpol_parse_str()
Dpercpu.c1733 static int __init percpu_alloc_setup(char *str) in percpu_alloc_setup() argument
1735 if (!str) in percpu_alloc_setup()
1741 else if (!strcmp(str, "embed")) in percpu_alloc_setup()
1745 else if (!strcmp(str, "page")) in percpu_alloc_setup()
1749 pr_warning("PERCPU: unknown allocator %s specified\n", str); in percpu_alloc_setup()
Dearly_ioremap.c23 static int __init early_ioremap_debug_setup(char *str) in early_ioremap_debug_setup() argument
Dpage_alloc.c2368 static int __init setup_fail_page_alloc(char *str) in setup_fail_page_alloc() argument
2370 return setup_fault_attr(&fail_page_alloc.attr, str); in setup_fail_page_alloc()
5950 void __init mem_init_print_info(const char *str) in mem_init_print_info() argument
5999 str ? ", " : "", str ? str : ""); in mem_init_print_info()
6427 static int __init set_hashdist(char *str) in set_hashdist() argument
6429 if (!str) in set_hashdist()
6431 hashdist = simple_strtoul(str, &str, 0); in set_hashdist()
Dhuge_memory.c667 static int __init setup_transparent_hugepage(char *str) in setup_transparent_hugepage() argument
670 if (!str) in setup_transparent_hugepage()
672 if (!strcmp(str, "always")) { in setup_transparent_hugepage()
678 } else if (!strcmp(str, "madvise")) { in setup_transparent_hugepage()
684 } else if (!strcmp(str, "never")) { in setup_transparent_hugepage()
Dslab_common.c48 static int __init setup_slab_nomerge(char *str) in setup_slab_nomerge() argument
Dslab.c575 static int __init slab_max_order_setup(char *str) in slab_max_order_setup() argument
577 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