/mm/ |
D | debug.c | 229 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument 237 if (*str++ != '=' || !*str) in setup_vm_debug() 241 if (*str == '-') in setup_vm_debug() 244 while (*str) { in setup_vm_debug() 245 switch (tolower(*str)) { in setup_vm_debug() 251 *str); in setup_vm_debug() 254 str++; in setup_vm_debug()
|
D | usercopy.c | 260 static int __init parse_hardened_usercopy(char *str) in parse_hardened_usercopy() argument 262 if (kstrtobool(str, &enable_checks)) in parse_hardened_usercopy() 264 str); in parse_hardened_usercopy()
|
D | slub.c | 1534 parse_slub_debug_flags(char *str, slab_flags_t *flags, char **slabs, bool init) in parse_slub_debug_flags() argument 1539 while (*str && *str == ';') in parse_slub_debug_flags() 1540 str++; in parse_slub_debug_flags() 1542 if (*str == ',') { in parse_slub_debug_flags() 1553 for (; *str && *str != ',' && *str != ';'; str++) { in parse_slub_debug_flags() 1554 switch (tolower(*str)) { in parse_slub_debug_flags() 1585 pr_err("slub_debug option '%c' unknown. skipped\n", *str); in parse_slub_debug_flags() 1589 if (*str == ',') in parse_slub_debug_flags() 1590 *slabs = ++str; in parse_slub_debug_flags() 1595 while (*str && *str != ';') in parse_slub_debug_flags() [all …]
|
D | fail_page_alloc.c | 18 static int __init setup_fail_page_alloc(char *str) in setup_fail_page_alloc() argument 20 return setup_fault_attr(&fail_page_alloc.attr, str); in setup_fail_page_alloc()
|
D | failslab.c | 47 static int __init setup_failslab(char *str) in setup_failslab() argument 49 return setup_fault_attr(&failslab.attr, str); in setup_failslab()
|
D | pgsize_migration.c | 146 static __always_inline bool str_has_suffix(const char *str, const char *suffix) in str_has_suffix() argument 148 size_t str_len = strlen(str); in str_has_suffix() 154 return !strncmp(str + str_len - suffix_len, suffix, suffix_len); in str_has_suffix()
|
D | kmemleak.c | 1861 static int dump_str_object_info(const char *str) in dump_str_object_info() argument 1867 if (kstrtoul(str, 0, &addr)) in dump_str_object_info() 2072 static int __init kmemleak_boot_config(char *str) in kmemleak_boot_config() argument 2074 if (!str) in kmemleak_boot_config() 2076 if (strcmp(str, "off") == 0) in kmemleak_boot_config() 2078 else if (strcmp(str, "on") == 0) { in kmemleak_boot_config()
|
D | mempolicy.c | 2892 static int __init setup_numabalancing(char *str) in setup_numabalancing() argument 2895 if (!str) in setup_numabalancing() 2898 if (!strcmp(str, "enable")) { in setup_numabalancing() 2901 } else if (!strcmp(str, "disable")) { in setup_numabalancing() 3004 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument 3009 char *nodelist = strchr(str, ':'); in mpol_parse_str() 3010 char *flags = strchr(str, '='); in mpol_parse_str() 3026 mode = match_string(policy_modes, MPOL_MAX, str); in mpol_parse_str()
|
D | mm_init.c | 149 static __init int set_mminit_loglevel(char *str) in set_mminit_loglevel() argument 151 get_option(&str, &mminit_loglevel); in set_mminit_loglevel() 713 static int __init set_hashdist(char *str) in set_hashdist() argument 715 if (!str) in set_hashdist() 717 hashdist = simple_strtoul(str, &str, 0); in set_hashdist()
|
D | memblock.c | 2031 static int __init early_memblock_memsize(char *str) in early_memblock_memsize() argument 2033 if (!str) in early_memblock_memsize() 2035 if (strcmp(str, "none") == 0) in early_memblock_memsize() 2037 else if (strcmp(str, "debugfs") == 0) in early_memblock_memsize() 2039 else if (strcmp(str, "procfs") == 0) in early_memblock_memsize()
|
D | early_ioremap.c | 25 static int __init early_ioremap_debug_setup(char *str) in early_ioremap_debug_setup() argument
|
D | percpu.c | 2778 static int __init percpu_alloc_setup(char *str) in percpu_alloc_setup() argument 2780 if (!str) in percpu_alloc_setup() 2786 else if (!strcmp(str, "embed")) in percpu_alloc_setup() 2790 else if (!strcmp(str, "page")) in percpu_alloc_setup() 2794 pr_warn("unknown allocator %s specified\n", str); in percpu_alloc_setup()
|
D | page_ext.c | 99 static int __init setup_early_page_ext(char *str) in setup_early_page_ext() argument
|
D | shmem.c | 587 static int shmem_parse_huge(const char *str) in shmem_parse_huge() argument 589 if (!strcmp(str, "never")) in shmem_parse_huge() 591 if (!strcmp(str, "always")) in shmem_parse_huge() 593 if (!strcmp(str, "within_size")) in shmem_parse_huge() 595 if (!strcmp(str, "advise")) in shmem_parse_huge() 597 if (!strcmp(str, "deny")) in shmem_parse_huge() 599 if (!strcmp(str, "force")) in shmem_parse_huge()
|
D | slab_common.c | 64 static int __init setup_slab_nomerge(char *str) in setup_slab_nomerge() argument 70 static int __init setup_slab_merge(char *str) in setup_slab_merge() argument
|
D | huge_memory.c | 759 static int __init setup_transparent_hugepage(char *str) in setup_transparent_hugepage() argument 762 if (!str) in setup_transparent_hugepage() 764 if (!strcmp(str, "always")) { in setup_transparent_hugepage() 770 } else if (!strcmp(str, "madvise")) { in setup_transparent_hugepage() 776 } else if (!strcmp(str, "never")) { in setup_transparent_hugepage()
|
D | memory_hotplug.c | 228 static int __init setup_memhp_default_state(char *str) in setup_memhp_default_state() argument 230 const int online_type = mhp_online_type_from_str(str); in setup_memhp_default_state()
|
D | slab.c | 464 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()
|
D | vmalloc.c | 59 static int __init set_nohugeiomap(char *str) in set_nohugeiomap() argument 72 static int __init set_nohugevmalloc(char *str) in set_nohugevmalloc() argument
|
D | page_alloc.c | 197 static int __init restrict_cma_redirect_setup(char *str) in restrict_cma_redirect_setup() argument
|
/mm/damon/ |
D | dbgfs.c | 232 static struct damos **str_to_schemes(const char *str, ssize_t len, in str_to_schemes() argument 252 ret = sscanf(&str[pos], in str_to_schemes() 378 static int *str_to_ints(const char *str, ssize_t len, ssize_t *nr_ints) in str_to_ints() argument 390 ret = sscanf(&str[pos], "%d%n", &nr, &parsed); in str_to_ints() 415 static struct pid **str_to_pids(const char *str, ssize_t len, ssize_t *nr_pids) in str_to_pids() argument 423 ints = str_to_ints(str, len, &nr_ints); in str_to_pids() 630 static int set_init_regions(struct damon_ctx *c, const char *str, ssize_t len) in set_init_regions() argument 645 ret = sscanf(&str[pos], "%d %lu %lu%n", in set_init_regions()
|
/mm/kasan/ |
D | report.c | 70 static int __init kasan_set_multi_shot(char *str) in kasan_set_multi_shot() argument
|