/mm/ |
D | debug.c | 283 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument 291 if (*str++ != '=' || !*str) in setup_vm_debug() 295 if (*str == '-') in setup_vm_debug() 298 while (*str) { in setup_vm_debug() 299 switch (tolower(*str)) { in setup_vm_debug() 305 *str); in setup_vm_debug() 308 str++; in setup_vm_debug()
|
D | slub.c | 1310 parse_slub_debug_flags(char *str, slab_flags_t *flags, char **slabs, bool init) in parse_slub_debug_flags() argument 1315 while (*str && *str == ';') in parse_slub_debug_flags() 1316 str++; in parse_slub_debug_flags() 1318 if (*str == ',') { in parse_slub_debug_flags() 1329 for (; *str && *str != ',' && *str != ';'; str++) { in parse_slub_debug_flags() 1330 switch (tolower(*str)) { in parse_slub_debug_flags() 1361 pr_err("slub_debug option '%c' unknown. skipped\n", *str); in parse_slub_debug_flags() 1365 if (*str == ',') in parse_slub_debug_flags() 1366 *slabs = ++str; in parse_slub_debug_flags() 1371 while (*str && *str != ';') in parse_slub_debug_flags() [all …]
|
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 | 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 | 134 static __init int set_mminit_loglevel(char *str) in set_mminit_loglevel() argument 136 get_option(&str, &mminit_loglevel); in set_mminit_loglevel()
|
D | kmemleak.c | 1712 static int dump_str_object_info(const char *str) in dump_str_object_info() argument 1718 if (kstrtoul(str, 0, &addr)) in dump_str_object_info() 1918 static int __init kmemleak_boot_config(char *str) in kmemleak_boot_config() argument 1920 if (!str) in kmemleak_boot_config() 1922 if (strcmp(str, "off") == 0) in kmemleak_boot_config() 1924 else if (strcmp(str, "on") == 0) in kmemleak_boot_config()
|
D | mempolicy.c | 2772 static int __init setup_numabalancing(char *str) in setup_numabalancing() argument 2775 if (!str) in setup_numabalancing() 2778 if (!strcmp(str, "enable")) { in setup_numabalancing() 2781 } else if (!strcmp(str, "disable")) { in setup_numabalancing() 2886 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument 2891 char *nodelist = strchr(str, ':'); in mpol_parse_str() 2892 char *flags = strchr(str, '='); in mpol_parse_str() 2908 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 | 2606 static int __init percpu_alloc_setup(char *str) in percpu_alloc_setup() argument 2608 if (!str) in percpu_alloc_setup() 2614 else if (!strcmp(str, "embed")) in percpu_alloc_setup() 2618 else if (!strcmp(str, "page")) in percpu_alloc_setup() 2622 pr_warn("unknown allocator %s specified\n", str); in percpu_alloc_setup()
|
D | ioremap.c | 24 static int __init set_nohugeiomap(char *str) in set_nohugeiomap() argument
|
D | shmem.c | 487 static int shmem_parse_huge(const char *str) in shmem_parse_huge() argument 489 if (!strcmp(str, "never")) in shmem_parse_huge() 491 if (!strcmp(str, "always")) in shmem_parse_huge() 493 if (!strcmp(str, "within_size")) in shmem_parse_huge() 495 if (!strcmp(str, "advise")) in shmem_parse_huge() 497 if (!strcmp(str, "deny")) in shmem_parse_huge() 499 if (!strcmp(str, "force")) in shmem_parse_huge()
|
D | huge_memory.c | 448 static int __init setup_transparent_hugepage(char *str) in setup_transparent_hugepage() argument 451 if (!str) in setup_transparent_hugepage() 453 if (!strcmp(str, "always")) { in setup_transparent_hugepage() 459 } else if (!strcmp(str, "madvise")) { in setup_transparent_hugepage() 465 } else if (!strcmp(str, "never")) { in setup_transparent_hugepage()
|
D | page_alloc.c | 3681 static int __init setup_fail_page_alloc(char *str) in setup_fail_page_alloc() argument 3683 return setup_fault_attr(&fail_page_alloc.attr, str); in setup_fail_page_alloc() 7936 void __init mem_init_print_info(const char *str) in mem_init_print_info() argument 7985 str ? ", " : "", str ? str : ""); in mem_init_print_info() 8032 static int __init set_hashdist(char *str) in set_hashdist() argument 8034 if (!str) in set_hashdist() 8036 hashdist = simple_strtoul(str, &str, 0); in set_hashdist()
|
D | memblock.c | 1908 static int __init early_memblock_nomap(char *str) in early_memblock_nomap() argument 1910 return kstrtobool(str, &memblock_nomap_remove); in early_memblock_nomap()
|
D | memory_hotplug.c | 75 static int __init setup_memhp_default_state(char *str) in setup_memhp_default_state() argument 77 const int online_type = memhp_online_type_from_str(str); in setup_memhp_default_state()
|
D | slab_common.c | 69 static int __init setup_slab_nomerge(char *str) in setup_slab_nomerge() argument
|
D | vmscan.c | 186 static int __init kswapd_per_node_setup(char *str) in kswapd_per_node_setup() argument 190 if (kstrtoint(str, 0, &tmp) < 0) in kswapd_per_node_setup()
|
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()
|
D | memory.c | 2775 static int __init allow_file_spec_access_setup(char *str) in allow_file_spec_access_setup() argument
|
/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() 521 static int set_init_regions(struct damon_ctx *c, const char *str, ssize_t len) in set_init_regions() argument 536 ret = sscanf(&str[pos], "%lu %lu %lu%n", in set_init_regions()
|
/mm/kasan/ |
D | report.c | 55 static int __init kasan_set_multi_shot(char *str) in kasan_set_multi_shot() argument
|