/openbmc/linux/mm/kfence/ |
H A D | report.c | 75 if (str_has_prefix(buf, ARCH_FUNC_PREFIX "kfence_") || in get_stack_skipnr() 76 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kfence_") || in get_stack_skipnr() 77 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kmem_cache_free") || in get_stack_skipnr() 92 if (str_has_prefix(buf, ARCH_FUNC_PREFIX "kfree") || in get_stack_skipnr() 93 str_has_prefix(buf, ARCH_FUNC_PREFIX "kmem_cache_free") || in get_stack_skipnr() 94 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kmalloc") || in get_stack_skipnr() 95 str_has_prefix(buf, ARCH_FUNC_PREFIX "kmem_cache_alloc")) in get_stack_skipnr()
|
/openbmc/linux/kernel/printk/ |
H A D | braille.c | 16 len = str_has_prefix(*str, "brl,"); in _braille_console_setup() 23 len = str_has_prefix(*str, "brl="); in _braille_console_setup()
|
H A D | printk.c | 155 len = str_has_prefix(str, "on"); in __control_devkmsg() 161 len = str_has_prefix(str, "off"); in __control_devkmsg() 167 len = str_has_prefix(str, "ratelimit"); in __control_devkmsg()
|
/openbmc/linux/kernel/trace/ |
H A D | trace_events_user.c | 1055 if (str_has_prefix(type, "char[")) in user_field_size() 1057 if (str_has_prefix(type, "unsigned char[")) in user_field_size() 1059 if (str_has_prefix(type, "__data_loc ")) in user_field_size() 1061 if (str_has_prefix(type, "__rel_loc ")) in user_field_size() 1103 if (str_has_prefix(type, "__data_loc ")) in user_event_add_field() 1106 if (str_has_prefix(type, "__rel_loc ")) { in user_event_add_field() 1170 len = str_has_prefix(field, "unsigned "); in user_event_parse_field() 1174 len = str_has_prefix(field, "struct "); in user_event_parse_field() 1180 len = str_has_prefix(field, "__data_loc unsigned "); in user_event_parse_field() 1184 len = str_has_prefix(field, "__data_loc "); in user_event_parse_field() [all …]
|
H A D | trace_events_hist.c | 1452 if ((str_has_prefix(str, "onmatch(")) || in parse_action() 1453 (str_has_prefix(str, "onmax(")) || in parse_action() 1454 (str_has_prefix(str, "onchange("))) { in parse_action() 1471 if ((len = str_has_prefix(str, "key=")) || in parse_assignment() 1472 (len = str_has_prefix(str, "keys="))) { in parse_assignment() 1478 } else if ((len = str_has_prefix(str, "val=")) || in parse_assignment() 1479 (len = str_has_prefix(str, "vals=")) || in parse_assignment() 1480 (len = str_has_prefix(str, "values="))) { in parse_assignment() 1486 } else if ((len = str_has_prefix(str, "sort="))) { in parse_assignment() 1492 } else if (str_has_prefix(str, "name=")) { in parse_assignment() [all …]
|
H A D | trace_probe.c | 904 if (str_has_prefix(arg, "retval")) { in NOKPROBE_SYMBOL() 917 len = str_has_prefix(arg, "stack"); in NOKPROBE_SYMBOL() 948 len = str_has_prefix(arg, "arg"); in NOKPROBE_SYMBOL() 1567 if (str_has_prefix(argv[i], "$arg")) { in argv_has_var_arg() 1675 if (str_has_prefix(argv[i], "$arg")) { in traceprobe_expand_meta_args()
|
H A D | trace_stack.c | 546 if ((len = str_has_prefix(str, "_filter="))) in enable_stacktrace()
|
H A D | trace_events_synth.c | 171 if (str_has_prefix(type, "u")) in synth_field_signed() 2164 len = str_has_prefix(name, SYNTH_SYSTEM "/"); in create_synth_event()
|
H A D | trace_events_filter.c | 1549 if ((len = str_has_prefix(str + i, ".ustring"))) { in parse_pred() 1555 if ((len = str_has_prefix(str + i, ".function"))) { in parse_pred()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_base_bus.c | 34 str_has_prefix(drv->name, serial_ctrl_type.name)) in serial_base_match() 38 str_has_prefix(drv->name, serial_port_type.name)) in serial_base_match()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | early_printk.c | 28 if (buf && !str_has_prefix(buf, "sclp")) in setup_early_printk()
|
H A D | module.c | 559 (str_has_prefix(secname, ".s390_indirect"))) in module_finalize() 563 (str_has_prefix(secname, ".s390_return"))) in module_finalize()
|
H A D | setup.c | 270 if (str_has_prefix(ptr + 8, "3270")) { in conmode_default() 278 } else if (str_has_prefix(ptr + 8, "3215")) { in conmode_default()
|
/openbmc/linux/arch/s390/lib/ |
H A D | test_unwind.c | 89 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, "arch_rethook_trampoline+0x0/")) in test_unwind()
|
/openbmc/linux/kernel/locking/ |
H A D | locktorture.c | 1116 if (str_has_prefix(torture_type, "mutex")) in lock_torture_init() 1120 if (str_has_prefix(torture_type, "rtmutex")) in lock_torture_init() 1124 if ((str_has_prefix(torture_type, "spin")) || in lock_torture_init() 1125 (str_has_prefix(torture_type, "rw_lock"))) in lock_torture_init()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | setup.c | 59 if (!str_has_prefix(p, "console=") && !strstr(p, " console=")) { in setup_cmdline()
|
/openbmc/linux/kernel/kcsan/ |
H A D | debugfs.c | 237 } else if (str_has_prefix(arg, "microbench=")) { in debugfs_write()
|
H A D | report.c | 294 if (!str_has_prefix(cur, "test")) in get_stack_skipnr()
|
/openbmc/linux/include/linux/ |
H A D | string.h | 400 static __always_inline size_t str_has_prefix(const char *str, const char *prefix) in str_has_prefix() function
|
/openbmc/linux/drivers/base/ |
H A D | arch_numa.c | 31 if (str_has_prefix(opt, "off")) in numa_parse_early_param()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-aggregator.c | 201 if (!str_has_prefix(buf, DRV_NAME ".")) in delete_device_store()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_csi2_bridge.c | 241 if (str_has_prefix(name, "CLK") && !kstrtou8(&name[3], 10, &clock_num) && in atomisp_csi2_get_pmc_clk_nr_from_acpi_pr0()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | gen.c | 37 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()
|
/openbmc/linux/kernel/power/ |
H A D | main.c | 672 if (len == 4 && str_has_prefix(buf, "disk")) in decode_state()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | setup.c | 475 alpha_using_srm = !str_has_prefix((const char *)hwrpb->ssn, "MILO"); in setup_arch()
|