| /linux/mm/kfence/ |
| H A D | report.c | 77 if (str_has_prefix(buf, ARCH_FUNC_PREFIX "kfence_") || in get_stack_skipnr() 78 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kfence_") || in get_stack_skipnr() 79 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kmem_cache_free") || in get_stack_skipnr() 94 if (str_has_prefix(buf, ARCH_FUNC_PREFIX "kfree") || in get_stack_skipnr() 95 str_has_prefix(buf, ARCH_FUNC_PREFIX "kmem_cache_free") || in get_stack_skipnr() 96 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kmalloc") || in get_stack_skipnr() 97 str_has_prefix(buf, ARCH_FUNC_PREFIX "kmem_cache_alloc")) in get_stack_skipnr()
|
| /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 | 151 len = str_has_prefix(str, "on"); in __control_devkmsg() 157 len = str_has_prefix(str, "off"); in __control_devkmsg() 163 len = str_has_prefix(str, "ratelimit"); in __control_devkmsg()
|
| /linux/kernel/trace/ |
| H A D | trace_events_user.c | 1073 if (str_has_prefix(type, "char[")) in user_field_size() 1075 if (str_has_prefix(type, "unsigned char[")) in user_field_size() 1077 if (str_has_prefix(type, "__data_loc ")) in user_field_size() 1079 if (str_has_prefix(type, "__rel_loc ")) in user_field_size() 1121 if (str_has_prefix(type, "__data_loc ")) in user_event_add_field() 1124 if (str_has_prefix(type, "__rel_loc ")) { in user_event_add_field() 1188 len = str_has_prefix(field, "unsigned "); in user_event_parse_field() 1192 len = str_has_prefix(field, "struct "); in user_event_parse_field() 1198 len = str_has_prefix(field, "__data_loc unsigned "); in user_event_parse_field() 1202 len = str_has_prefix(field, "__data_loc "); in user_event_parse_field() [all …]
|
| H A D | trace_events_hist.c | 1461 if ((str_has_prefix(str, "onmatch(")) || in parse_action() 1462 (str_has_prefix(str, "onmax(")) || in parse_action() 1463 (str_has_prefix(str, "onchange("))) { in parse_action() 1480 if ((len = str_has_prefix(str, "key=")) || in parse_assignment() 1481 (len = str_has_prefix(str, "keys="))) { in parse_assignment() 1487 } else if ((len = str_has_prefix(str, "val=")) || in parse_assignment() 1488 (len = str_has_prefix(str, "vals=")) || in parse_assignment() 1489 (len = str_has_prefix(str, "values="))) { in parse_assignment() 1495 } else if ((len = str_has_prefix(str, "sort="))) { in parse_assignment() 1501 } else if (str_has_prefix(str, "name=")) { in parse_assignment() [all …]
|
| H A D | trace_probe.c | 970 if (str_has_prefix(arg, "retval")) { in NOKPROBE_SYMBOL() 983 len = str_has_prefix(arg, "stack"); in NOKPROBE_SYMBOL() 1014 len = str_has_prefix(arg, "arg"); in NOKPROBE_SYMBOL() 1667 if (str_has_prefix(argv[i], "$arg")) { in argv_has_var_arg() 1775 if (str_has_prefix(argv[i], "$arg")) { in traceprobe_expand_meta_args()
|
| H A D | trace_stack.c | 544 if ((len = str_has_prefix(str, "_filter="))) in enable_stacktrace()
|
| H A D | trace_events_synth.c | 170 if (str_has_prefix(type, "u")) in synth_field_signed() 2190 len = str_has_prefix(name, SYNTH_SYSTEM "/"); in create_synth_event()
|
| /linux/drivers/tty/serial/ |
| H A D | serial_base_bus.c | 36 str_has_prefix(drv->name, serial_ctrl_type.name)) in serial_base_match() 40 str_has_prefix(drv->name, serial_port_type.name)) in serial_base_match()
|
| /linux/arch/s390/kernel/ |
| H A D | early_printk.c | 39 if (buf && !str_has_prefix(buf, "sclp")) in setup_early_printk()
|
| H A D | module.c | 523 (str_has_prefix(secname, ".s390_indirect"))) in module_finalize() 527 (str_has_prefix(secname, ".s390_return"))) in module_finalize() 531 (str_has_prefix(secname, "__stack_protector_loc"))) { in module_finalize()
|
| H A D | setup.c | 272 if (str_has_prefix(ptr + 8, "3270")) { in conmode_default() 280 } else if (str_has_prefix(ptr + 8, "3215")) { in conmode_default()
|
| /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()
|
| /linux/kernel/locking/ |
| H A D | locktorture.c | 1280 if (str_has_prefix(torture_type, "mutex")) in lock_torture_init() 1284 if (str_has_prefix(torture_type, "rtmutex")) in lock_torture_init() 1288 if ((str_has_prefix(torture_type, "spin")) || in lock_torture_init() 1289 (str_has_prefix(torture_type, "rw_lock"))) in lock_torture_init()
|
| /linux/arch/parisc/kernel/ |
| H A D | setup.c | 59 if (!str_has_prefix(p, "console=") && !strstr(p, " console=")) { in setup_cmdline()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_configfs.c | 475 if (!str_has_prefix(pattern, engine_info[i].cls)) in lookup_engine_info() 709 if (str_has_prefix(p, "cmd")) { in parse_wa_bb_lines() 721 } else if (str_has_prefix(p, "reg")) { in parse_wa_bb_lines()
|
| /linux/drivers/base/ |
| H A D | arch_numa.c | 27 if (str_has_prefix(opt, "off")) in numa_parse_early_param()
|
| H A D | property.c | 696 return str_has_prefix(node_name, name) == len; in fwnode_name_eq()
|
| /linux/kernel/kcsan/ |
| H A D | debugfs.c | 236 } else if (str_has_prefix(arg, "microbench=")) { in debugfs_write()
|
| H A D | report.c | 295 if (!str_has_prefix(cur, "test")) in get_stack_skipnr()
|
| /linux/drivers/staging/media/atomisp/pci/ |
| H A D | atomisp_csi2_bridge.c | 225 if (str_has_prefix(name, "CLK") && !kstrtou8(&name[3], 10, &clock_num) && in atomisp_csi2_get_pmc_clk_nr_from_acpi_pr0()
|
| /linux/include/linux/ |
| H A D | string.h | 553 static __always_inline size_t str_has_prefix(const char *str, const char *prefix) in str_has_prefix() function
|
| /linux/drivers/iio/pressure/ |
| H A D | hsc030pa.c | 480 if (str_has_prefix(triplet, "NA")) { in hsc_common_probe()
|
| /linux/tools/bpf/bpftool/ |
| H A D | gen.c | 38 static bool str_has_prefix(const char *str, const char *prefix) in str_has_prefix() function 132 if (str_has_prefix(sec_name, pfx)) { in get_datasec_ident()
|
| /linux/arch/alpha/kernel/ |
| H A D | setup.c | 455 alpha_using_srm = !str_has_prefix((const char *)hwrpb->ssn, "MILO"); in setup_arch()
|