/mm/ |
D | debug.c | 273 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument 281 if (*str++ != '=' || !*str) in setup_vm_debug() 285 if (*str == '-') in setup_vm_debug() 288 while (*str) { in setup_vm_debug() 289 switch (tolower(*str)) { in setup_vm_debug() 295 *str); in setup_vm_debug() 298 str++; in setup_vm_debug()
|
D | usercopy.c | 295 static int __init parse_hardened_usercopy(char *str) in parse_hardened_usercopy() argument 297 if (strtobool(str, &enable_checks)) in parse_hardened_usercopy() 299 str); in parse_hardened_usercopy()
|
D | slub.c | 1430 parse_slub_debug_flags(char *str, slab_flags_t *flags, char **slabs, bool init) in parse_slub_debug_flags() argument 1435 while (*str && *str == ';') in parse_slub_debug_flags() 1436 str++; in parse_slub_debug_flags() 1438 if (*str == ',') { in parse_slub_debug_flags() 1449 for (; *str && *str != ',' && *str != ';'; str++) { in parse_slub_debug_flags() 1450 switch (tolower(*str)) { in parse_slub_debug_flags() 1481 pr_err("slub_debug option '%c' unknown. skipped\n", *str); in parse_slub_debug_flags() 1485 if (*str == ',') in parse_slub_debug_flags() 1486 *slabs = ++str; in parse_slub_debug_flags() 1491 while (*str && *str != ';') in parse_slub_debug_flags() [all …]
|
D | failslab.c | 36 static int __init setup_failslab(char *str) in setup_failslab() argument 38 return setup_fault_attr(&failslab.attr, str); in setup_failslab()
|
D | mm_init.c | 132 static __init int set_mminit_loglevel(char *str) in set_mminit_loglevel() argument 134 get_option(&str, &mminit_loglevel); in set_mminit_loglevel()
|
D | kmemleak.c | 1720 static int dump_str_object_info(const char *str) in dump_str_object_info() argument 1726 if (kstrtoul(str, 0, &addr)) in dump_str_object_info() 1932 static int __init kmemleak_boot_config(char *str) in kmemleak_boot_config() argument 1934 if (!str) in kmemleak_boot_config() 1936 if (strcmp(str, "off") == 0) in kmemleak_boot_config() 1938 else if (strcmp(str, "on") == 0) in kmemleak_boot_config()
|
D | mempolicy.c | 2689 static int __init setup_numabalancing(char *str) in setup_numabalancing() argument 2692 if (!str) in setup_numabalancing() 2695 if (!strcmp(str, "enable")) { in setup_numabalancing() 2698 } else if (!strcmp(str, "disable")) { in setup_numabalancing() 2801 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument 2806 char *nodelist = strchr(str, ':'); in mpol_parse_str() 2807 char *flags = strchr(str, '='); in mpol_parse_str() 2823 mode = match_string(policy_modes, MPOL_MAX, str); in mpol_parse_str()
|
D | early_ioremap.c | 24 static int __init early_ioremap_debug_setup(char *str) in early_ioremap_debug_setup() argument
|
D | percpu.c | 2795 static int __init percpu_alloc_setup(char *str) in percpu_alloc_setup() argument 2797 if (!str) in percpu_alloc_setup() 2803 else if (!strcmp(str, "embed")) in percpu_alloc_setup() 2807 else if (!strcmp(str, "page")) in percpu_alloc_setup() 2811 pr_warn("unknown allocator %s specified\n", str); in percpu_alloc_setup()
|
D | slab_common.c | 69 static int __init setup_slab_nomerge(char *str) in setup_slab_nomerge() argument 75 static int __init setup_slab_merge(char *str) in setup_slab_merge() argument
|
D | shmem.c | 509 static int shmem_parse_huge(const char *str) in shmem_parse_huge() argument 511 if (!strcmp(str, "never")) in shmem_parse_huge() 513 if (!strcmp(str, "always")) in shmem_parse_huge() 515 if (!strcmp(str, "within_size")) in shmem_parse_huge() 517 if (!strcmp(str, "advise")) in shmem_parse_huge() 519 if (!strcmp(str, "deny")) in shmem_parse_huge() 521 if (!strcmp(str, "force")) in shmem_parse_huge()
|
D | huge_memory.c | 463 static int __init setup_transparent_hugepage(char *str) in setup_transparent_hugepage() argument 466 if (!str) in setup_transparent_hugepage() 468 if (!strcmp(str, "always")) { in setup_transparent_hugepage() 474 } else if (!strcmp(str, "madvise")) { in setup_transparent_hugepage() 480 } else if (!strcmp(str, "never")) { in setup_transparent_hugepage()
|
D | memory_hotplug.c | 152 static int __init setup_memhp_default_state(char *str) in setup_memhp_default_state() argument 154 const int online_type = mhp_online_type_from_str(str); in setup_memhp_default_state()
|
D | page_alloc.c | 4075 static int __init setup_fail_page_alloc(char *str) in setup_fail_page_alloc() argument 4077 return setup_fault_attr(&fail_page_alloc.attr, str); in setup_fail_page_alloc() 8687 static int __init set_hashdist(char *str) in set_hashdist() argument 8689 if (!str) in set_hashdist() 8691 hashdist = simple_strtoul(str, &str, 0); in set_hashdist()
|
D | vmalloc.c | 51 static int __init set_nohugeiomap(char *str) in set_nohugeiomap() argument 64 static int __init set_nohugevmalloc(char *str) in set_nohugevmalloc() argument
|
D | slab.c | 465 static int __init slab_max_order_setup(char *str) in slab_max_order_setup() argument 467 get_option(&str, &slab_max_order); in slab_max_order_setup()
|
/mm/damon/ |
D | dbgfs.c | 184 static struct damos **str_to_schemes(const char *str, ssize_t len, in str_to_schemes() argument 204 ret = sscanf(&str[pos], in str_to_schemes() 329 static unsigned long *str_to_target_ids(const char *str, ssize_t len, in str_to_target_ids() argument 342 ret = sscanf(&str[pos], "%lu%n", &id, &parsed); in str_to_target_ids() 524 static int set_init_regions(struct damon_ctx *c, const char *str, ssize_t len) in set_init_regions() argument 539 ret = sscanf(&str[pos], "%lu %lu %lu%n", in set_init_regions()
|
/mm/kasan/ |
D | report.c | 80 static int __init kasan_set_multi_shot(char *str) in kasan_set_multi_shot() argument
|