Home
last modified time | relevance | path

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

/mm/
Ddebug.c200 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument
208 if (*str++ != '=' || !*str) in setup_vm_debug()
212 if (*str == '-') in setup_vm_debug()
215 while (*str) { in setup_vm_debug()
216 switch (tolower(*str)) { in setup_vm_debug()
222 *str); in setup_vm_debug()
225 str++; in setup_vm_debug()
Dfailslab.c36 static int __init setup_failslab(char *str) in setup_failslab() argument
38 return setup_fault_attr(&failslab.attr, str); in setup_failslab()
Dmm_init.c129 static __init int set_mminit_loglevel(char *str) in set_mminit_loglevel() argument
131 get_option(&str, &mminit_loglevel); in set_mminit_loglevel()
Dusercopy.c295 static int __init parse_hardened_usercopy(char *str) in parse_hardened_usercopy() argument
297 return strtobool(str, &enable_checks); in parse_hardened_usercopy()
Dkmemleak.c1703 static int dump_str_object_info(const char *str) in dump_str_object_info() argument
1709 if (kstrtoul(str, 0, &addr)) in dump_str_object_info()
1909 static int __init kmemleak_boot_config(char *str) in kmemleak_boot_config() argument
1911 if (!str) in kmemleak_boot_config()
1913 if (strcmp(str, "off") == 0) in kmemleak_boot_config()
1915 else if (strcmp(str, "on") == 0) in kmemleak_boot_config()
Dslub.c1220 static int __init setup_slub_debug(char *str) in setup_slub_debug() argument
1223 if (*str++ != '=' || !*str) in setup_slub_debug()
1229 if (*str == ',') in setup_slub_debug()
1237 if (*str == '-') in setup_slub_debug()
1246 for (; *str && *str != ','; str++) { in setup_slub_debug()
1247 switch (tolower(*str)) { in setup_slub_debug()
1275 *str); in setup_slub_debug()
1280 if (*str == ',') in setup_slub_debug()
1281 slub_debug_slabs = str + 1; in setup_slub_debug()
3757 static int __init setup_slub_min_order(char *str) in setup_slub_min_order() argument
[all …]
Dmempolicy.c2683 static int __init setup_numabalancing(char *str) in setup_numabalancing() argument
2686 if (!str) in setup_numabalancing()
2689 if (!strcmp(str, "enable")) { in setup_numabalancing()
2692 } else if (!strcmp(str, "disable")) { in setup_numabalancing()
2797 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
2802 char *nodelist = strchr(str, ':'); in mpol_parse_str()
2803 char *flags = strchr(str, '='); in mpol_parse_str()
2819 mode = match_string(policy_modes, MPOL_MAX, str); in mpol_parse_str()
Dpage_alloc.c3337 static int __init setup_fail_page_alloc(char *str) in setup_fail_page_alloc() argument
3339 return setup_fault_attr(&fail_page_alloc.attr, str); in setup_fail_page_alloc()
5511 char *str; in numa_zonelist_order_handler() local
5516 str = memdup_user_nul(buffer, 16); in numa_zonelist_order_handler()
5517 if (IS_ERR(str)) in numa_zonelist_order_handler()
5518 return PTR_ERR(str); in numa_zonelist_order_handler()
5520 ret = __parse_numa_zonelist_order(str); in numa_zonelist_order_handler()
5521 kfree(str); in numa_zonelist_order_handler()
7535 void __init mem_init_print_info(const char *str) in mem_init_print_info() argument
7584 str ? ", " : "", str ? str : ""); in mem_init_print_info()
[all …]
Dpercpu.c2469 static int __init percpu_alloc_setup(char *str) in percpu_alloc_setup() argument
2471 if (!str) in percpu_alloc_setup()
2477 else if (!strcmp(str, "embed")) in percpu_alloc_setup()
2481 else if (!strcmp(str, "page")) in percpu_alloc_setup()
2485 pr_warn("unknown allocator %s specified\n", str); in percpu_alloc_setup()
Dmemory_hotplug.c78 static int __init setup_memhp_default_state(char *str) in setup_memhp_default_state() argument
80 if (!strcmp(str, "online")) in setup_memhp_default_state()
82 else if (!strcmp(str, "offline")) in setup_memhp_default_state()
Dearly_ioremap.c24 static int __init early_ioremap_debug_setup(char *str) in early_ioremap_debug_setup() argument
Dshmem.c419 static int shmem_parse_huge(const char *str) in shmem_parse_huge() argument
421 if (!strcmp(str, "never")) in shmem_parse_huge()
423 if (!strcmp(str, "always")) in shmem_parse_huge()
425 if (!strcmp(str, "within_size")) in shmem_parse_huge()
427 if (!strcmp(str, "advise")) in shmem_parse_huge()
429 if (!strcmp(str, "deny")) in shmem_parse_huge()
431 if (!strcmp(str, "force")) in shmem_parse_huge()
Dhuge_memory.c461 static int __init setup_transparent_hugepage(char *str) in setup_transparent_hugepage() argument
464 if (!str) in setup_transparent_hugepage()
466 if (!strcmp(str, "always")) { in setup_transparent_hugepage()
472 } else if (!strcmp(str, "madvise")) { in setup_transparent_hugepage()
478 } else if (!strcmp(str, "never")) { in setup_transparent_hugepage()
Dslab_common.c64 static int __init setup_slab_nomerge(char *str) in setup_slab_nomerge() argument
Dslab.c464 static int __init slab_max_order_setup(char *str) in slab_max_order_setup() argument
466 get_option(&str, &slab_max_order); in slab_max_order_setup()
/mm/kasan/
Dreport.c62 static int __init kasan_set_multi_shot(char *str) in kasan_set_multi_shot() argument