Home
last modified time | relevance | path

Searched refs:str_has_prefix (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/mm/kfence/
Dreport.c76 if (str_has_prefix(buf, ARCH_FUNC_PREFIX "kfence_") || in get_stack_skipnr()
77 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kfence_") || in get_stack_skipnr()
78 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kmem_cache_free") || in get_stack_skipnr()
93 if (str_has_prefix(buf, ARCH_FUNC_PREFIX "kfree") || in get_stack_skipnr()
94 str_has_prefix(buf, ARCH_FUNC_PREFIX "kmem_cache_free") || in get_stack_skipnr()
95 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kmalloc") || in get_stack_skipnr()
96 str_has_prefix(buf, ARCH_FUNC_PREFIX "kmem_cache_alloc")) in get_stack_skipnr()
/linux-6.1.9/kernel/printk/
Dbraille.c16 len = str_has_prefix(*str, "brl,"); in _braille_console_setup()
23 len = str_has_prefix(*str, "brl="); in _braille_console_setup()
Dprintk.c132 len = str_has_prefix(str, "on"); in __control_devkmsg()
138 len = str_has_prefix(str, "off"); in __control_devkmsg()
144 len = str_has_prefix(str, "ratelimit"); in __control_devkmsg()
/linux-6.1.9/kernel/trace/
Dtrace_events_user.c409 if (str_has_prefix(type, "char[")) in user_field_size()
411 if (str_has_prefix(type, "unsigned char[")) in user_field_size()
413 if (str_has_prefix(type, "__data_loc ")) in user_field_size()
415 if (str_has_prefix(type, "__rel_loc ")) in user_field_size()
457 if (str_has_prefix(type, "__data_loc ")) in user_event_add_field()
460 if (str_has_prefix(type, "__rel_loc ")) { in user_event_add_field()
521 len = str_has_prefix(field, "unsigned "); in user_event_parse_field()
525 len = str_has_prefix(field, "struct "); in user_event_parse_field()
531 len = str_has_prefix(field, "__data_loc unsigned "); in user_event_parse_field()
535 len = str_has_prefix(field, "__data_loc "); in user_event_parse_field()
[all …]
Dtrace_events_hist.c1441 if ((str_has_prefix(str, "onmatch(")) || in parse_action()
1442 (str_has_prefix(str, "onmax(")) || in parse_action()
1443 (str_has_prefix(str, "onchange("))) { in parse_action()
1460 if ((len = str_has_prefix(str, "key=")) || in parse_assignment()
1461 (len = str_has_prefix(str, "keys="))) { in parse_assignment()
1467 } else if ((len = str_has_prefix(str, "val=")) || in parse_assignment()
1468 (len = str_has_prefix(str, "vals=")) || in parse_assignment()
1469 (len = str_has_prefix(str, "values="))) { in parse_assignment()
1475 } else if ((len = str_has_prefix(str, "sort="))) { in parse_assignment()
1481 } else if (str_has_prefix(str, "name=")) { in parse_assignment()
[all …]
Dtrace_stack.c546 if ((len = str_has_prefix(str, "_filter="))) in enable_stacktrace()
Dtrace_probe.c300 } else if ((len = str_has_prefix(arg, "stack"))) { in parse_probe_vars()
322 (len = str_has_prefix(arg, "arg"))) { in parse_probe_vars()
Dtrace_events_synth.c160 if (str_has_prefix(type, "u")) in synth_field_signed()
2090 len = str_has_prefix(name, SYNTH_SYSTEM "/"); in create_synth_event()
Dtrace_events.c241 if (!(len = str_has_prefix(fmt, "REC->"))) in test_field()
1584 if (str_has_prefix(field->type, "__data_loc")) in f_show()
/linux-6.1.9/arch/s390/kernel/
Dearly_printk.c28 if (buf && !str_has_prefix(buf, "sclp")) in setup_early_printk()
Dmodule.c535 (str_has_prefix(secname, ".s390_indirect"))) in module_finalize()
539 (str_has_prefix(secname, ".s390_return"))) in module_finalize()
Dsetup.c270 if (str_has_prefix(ptr + 8, "3270")) { in conmode_default()
278 } else if (str_has_prefix(ptr + 8, "3215")) { in conmode_default()
/linux-6.1.9/arch/s390/lib/
Dtest_unwind.c89 if (prev_is_func2 && str_has_prefix(sym, "unwindme_func1")) in test_unwind()
91 prev_is_func2 = str_has_prefix(sym, "unwindme_func2"); in test_unwind()
92 if (str_has_prefix(sym, "__kretprobe_trampoline+0x0/")) in test_unwind()
/linux-6.1.9/kernel/locking/
Dlocktorture.c955 if (str_has_prefix(torture_type, "mutex")) in lock_torture_init()
959 if (str_has_prefix(torture_type, "rtmutex")) in lock_torture_init()
963 if ((str_has_prefix(torture_type, "spin")) || in lock_torture_init()
964 (str_has_prefix(torture_type, "rw_lock"))) in lock_torture_init()
/linux-6.1.9/kernel/kcsan/
Ddebugfs.c239 } else if (str_has_prefix(arg, "microbench=")) { in debugfs_write()
Dreport.c294 if (!str_has_prefix(cur, "test")) in get_stack_skipnr()
/linux-6.1.9/arch/parisc/kernel/
Dsetup.c65 if (!str_has_prefix(p, "console=") && !strstr(p, " console=")) { in setup_cmdline()
/linux-6.1.9/arch/alpha/boot/tools/
Dobjstrip.c151 if (elf->e_ident[0] == 0x7f && str_has_prefix((char *)elf->e_ident + 1, "ELF")) { in main()
/linux-6.1.9/include/linux/
Dstring.h356 static __always_inline size_t str_has_prefix(const char *str, const char *prefix) in str_has_prefix() function
/linux-6.1.9/drivers/base/
Darch_numa.c31 if (str_has_prefix(opt, "off")) in numa_parse_early_param()
/linux-6.1.9/arch/arm64/kernel/
Dmodule-plts.c346 if (!str_has_prefix(secstrings + dstsec->sh_name, ".init")) in module_frob_arch_sections()
/linux-6.1.9/drivers/gpio/
Dgpio-aggregator.c196 if (!str_has_prefix(buf, DRV_NAME ".")) in delete_device_store()
/linux-6.1.9/tools/bpf/bpftool/
Dgen.c37 static bool str_has_prefix(const char *str, const char *prefix) in str_has_prefix() function
109 if (str_has_prefix(sec_name, pfx)) { in get_datasec_ident()
/linux-6.1.9/kernel/power/
Dmain.c604 if (len == 4 && str_has_prefix(buf, "disk")) in decode_state()
/linux-6.1.9/arch/alpha/kernel/
Dsetup.c474 alpha_using_srm = !str_has_prefix((const char *)hwrpb->ssn, "MILO"); in setup_arch()

12