| /linux/mm/kfence/ |
| A D | report.c | 76 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/kernel/printk/ |
| 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()
|
| A D | printk.c | 150 len = str_has_prefix(str, "on"); in __control_devkmsg() 156 len = str_has_prefix(str, "off"); in __control_devkmsg() 162 len = str_has_prefix(str, "ratelimit"); in __control_devkmsg()
|
| /linux/kernel/trace/ |
| 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() 1210 len = str_has_prefix(field, "__rel_loc "); in user_event_parse_field() 1325 if (str_has_prefix(type, "__data_loc ")) { in user_field_is_dyn_string() [all …]
|
| A D | trace_events_hist.c | 1445 if ((str_has_prefix(str, "onmatch(")) || in parse_action() 1446 (str_has_prefix(str, "onmax(")) || in parse_action() 1447 (str_has_prefix(str, "onchange("))) { in parse_action() 1464 if ((len = str_has_prefix(str, "key=")) || in parse_assignment() 1465 (len = str_has_prefix(str, "keys="))) { in parse_assignment() 1472 (len = str_has_prefix(str, "vals=")) || in parse_assignment() 1473 (len = str_has_prefix(str, "values="))) { in parse_assignment() 1485 } else if (str_has_prefix(str, "name=")) { in parse_assignment() 3704 if (str_has_prefix(action_name, "save")) { in action_parse() 3755 if (str_has_prefix(action_name, "trace")) in action_parse() [all …]
|
| A D | trace_stack.c | 546 if ((len = str_has_prefix(str, "_filter="))) in enable_stacktrace()
|
| A D | trace_probe.c | 905 if (str_has_prefix(arg, "retval")) { in NOKPROBE_SYMBOL() 918 len = str_has_prefix(arg, "stack"); in NOKPROBE_SYMBOL() 949 len = str_has_prefix(arg, "arg"); in NOKPROBE_SYMBOL() 1610 if (str_has_prefix(argv[i], "$arg")) { in argv_has_var_arg() 1718 if (str_has_prefix(argv[i], "$arg")) { in traceprobe_expand_meta_args()
|
| /linux/arch/s390/kernel/ |
| A D | early_printk.c | 39 if (buf && !str_has_prefix(buf, "sclp")) in setup_early_printk()
|
| A D | module.c | 523 (str_has_prefix(secname, ".s390_indirect"))) in module_finalize() 527 (str_has_prefix(secname, ".s390_return"))) in module_finalize()
|
| A D | setup.c | 269 if (str_has_prefix(ptr + 8, "3270")) { in conmode_default() 277 } else if (str_has_prefix(ptr + 8, "3215")) { in conmode_default()
|
| /linux/drivers/tty/serial/ |
| A D | serial_base_bus.c | 35 str_has_prefix(drv->name, serial_ctrl_type.name)) in serial_base_match() 39 str_has_prefix(drv->name, serial_port_type.name)) in serial_base_match()
|
| /linux/arch/s390/lib/ |
| 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/arch/parisc/kernel/ |
| A D | setup.c | 59 if (!str_has_prefix(p, "console=") && !strstr(p, " console=")) { in setup_cmdline()
|
| /linux/kernel/locking/ |
| A D | locktorture.c | 1219 if (str_has_prefix(torture_type, "mutex")) in lock_torture_init() 1223 if (str_has_prefix(torture_type, "rtmutex")) in lock_torture_init() 1227 if ((str_has_prefix(torture_type, "spin")) || in lock_torture_init() 1228 (str_has_prefix(torture_type, "rw_lock"))) in lock_torture_init()
|
| /linux/drivers/base/ |
| A D | arch_numa.c | 27 if (str_has_prefix(opt, "off")) in numa_parse_early_param()
|
| A D | property.c | 658 return str_has_prefix(node_name, name) == len; in fwnode_name_eq()
|
| /linux/kernel/kcsan/ |
| A D | debugfs.c | 239 } else if (str_has_prefix(arg, "microbench=")) { in debugfs_write()
|
| A D | report.c | 294 if (!str_has_prefix(cur, "test")) in get_stack_skipnr()
|
| /linux/include/linux/ |
| A D | string.h | 545 static __always_inline size_t str_has_prefix(const char *str, const char *prefix) in str_has_prefix() function
|
| /linux/drivers/iio/pressure/ |
| A D | hsc030pa.c | 480 if (str_has_prefix(triplet, "NA")) { in hsc_common_probe()
|
| /linux/drivers/staging/media/atomisp/pci/ |
| A D | atomisp_csi2_bridge.c | 257 if (str_has_prefix(name, "CLK") && !kstrtou8(&name[3], 10, &clock_num) && in atomisp_csi2_get_pmc_clk_nr_from_acpi_pr0()
|
| /linux/drivers/gpio/ |
| A D | gpio-aggregator.c | 201 if (!str_has_prefix(buf, DRV_NAME ".")) in delete_device_store()
|
| /linux/kernel/power/ |
| A D | main.c | 702 if (len == 4 && str_has_prefix(buf, "disk")) in decode_state()
|
| /linux/arch/alpha/kernel/ |
| A D | setup.c | 455 alpha_using_srm = !str_has_prefix((const char *)hwrpb->ssn, "MILO"); in setup_arch()
|
| /linux/tools/bpf/bpftool/ |
| 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()
|