Home
last modified time | relevance | path

Searched refs:str (Results 1 – 11 of 11) 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.c141 static __init int set_mminit_loglevel(char *str) in set_mminit_loglevel() argument
143 get_option(&str, &mminit_loglevel); in set_mminit_loglevel()
Dslub.c1136 static int __init setup_slub_debug(char *str) in setup_slub_debug() argument
1139 if (*str++ != '=' || !*str) in setup_slub_debug()
1145 if (*str == ',') in setup_slub_debug()
1152 if (tolower(*str) == 'o') { in setup_slub_debug()
1162 if (*str == '-') in setup_slub_debug()
1171 for (; *str && *str != ','; str++) { in setup_slub_debug()
1172 switch (tolower(*str)) { in setup_slub_debug()
1193 *str); in setup_slub_debug()
1198 if (*str == ',') in setup_slub_debug()
1199 slub_debug_slabs = str + 1; in setup_slub_debug()
[all …]
Dkmemleak.c1589 static int dump_str_object_info(const char *str) in dump_str_object_info() argument
1595 if (kstrtoul(str, 0, &addr)) in dump_str_object_info()
1791 static int kmemleak_boot_config(char *str) in kmemleak_boot_config() argument
1793 if (!str) in kmemleak_boot_config()
1795 if (strcmp(str, "off") == 0) in kmemleak_boot_config()
1797 else if (strcmp(str, "on") == 0) in kmemleak_boot_config()
Dmempolicy.c2551 static int __init setup_numabalancing(char *str) in setup_numabalancing() argument
2554 if (!str) in setup_numabalancing()
2557 if (!strcmp(str, "enable")) { in setup_numabalancing()
2560 } else if (!strcmp(str, "disable")) { in setup_numabalancing()
2665 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
2671 char *nodelist = strchr(str, ':'); in mpol_parse_str()
2672 char *flags = strchr(str, '='); in mpol_parse_str()
2689 if (!strcmp(str, policy_modes[mode])) { in mpol_parse_str()
Dpercpu.c1735 static int __init percpu_alloc_setup(char *str) in percpu_alloc_setup() argument
1737 if (!str) in percpu_alloc_setup()
1743 else if (!strcmp(str, "embed")) in percpu_alloc_setup()
1747 else if (!strcmp(str, "page")) in percpu_alloc_setup()
1751 pr_warning("PERCPU: unknown allocator %s specified\n", str); in percpu_alloc_setup()
Dearly_ioremap.c22 static int __init early_ioremap_debug_setup(char *str) in early_ioremap_debug_setup() argument
Dpage_alloc.c1677 static int __init setup_fail_page_alloc(char *str) in setup_fail_page_alloc() argument
1679 return setup_fault_attr(&fail_page_alloc.attr, str); in setup_fail_page_alloc()
5508 void __init mem_init_print_info(const char *str) in mem_init_print_info() argument
5558 str ? ", " : "", str ? str : ""); in mem_init_print_info()
5987 static int __init set_hashdist(char *str) in set_hashdist() argument
5989 if (!str) in set_hashdist()
5991 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.c49 static int __init setup_slab_nomerge(char *str) in setup_slab_nomerge() argument
Dslab.c590 static int __init slab_max_order_setup(char *str) in slab_max_order_setup() argument
592 get_option(&str, &slab_max_order); in slab_max_order_setup()