| /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 | 1101 if (str_has_prefix(type, "char[")) in user_field_size() 1103 if (str_has_prefix(type, "unsigned char[")) in user_field_size() 1105 if (str_has_prefix(type, "__data_loc ")) in user_field_size() 1107 if (str_has_prefix(type, "__rel_loc ")) in user_field_size() 1149 if (str_has_prefix(type, "__data_loc ")) in user_event_add_field() 1152 if (str_has_prefix(type, "__rel_loc ")) { in user_event_add_field() 1216 len = str_has_prefix(field, "unsigned "); in user_event_parse_field() 1220 len = str_has_prefix(field, "struct "); in user_event_parse_field() 1226 len = str_has_prefix(field, "__data_loc unsigned "); in user_event_parse_field() 1230 len = str_has_prefix(field, "__data_loc "); in user_event_parse_field() [all …]
|
| H A D | trace_probe.c | 373 if (str_has_prefix(arg, THIS_CPU_PTR_PREFIX)) { in parse_this_cpu() 376 } else if (str_has_prefix(arg, THIS_CPU_READ_PREFIX)) { in parse_this_cpu() 747 if (!str_has_prefix(varname, "$current") && in parse_btf_arg() 1003 str_has_prefix(tmp, THIS_CPU_PTR_PREFIX) || in handle_typecast() 1004 str_has_prefix(tmp, THIS_CPU_READ_PREFIX)) { in handle_typecast() 1414 if (str_has_prefix(arg, "retval")) in parse_probe_vars() 1417 len = str_has_prefix(arg, "stack"); in parse_probe_vars() 1422 if (str_has_prefix(arg, "current")) in parse_probe_vars() 1425 len = str_has_prefix(arg, "arg"); in parse_probe_vars() 1644 !str_has_prefix(arg, THIS_CPU_PTR_PREFIX) && in parse_probe_arg_nested() [all …]
|
| H A D | trace_events_hist.c | 1464 if ((str_has_prefix(str, "onmatch(")) || in parse_action() 1465 (str_has_prefix(str, "onmax(")) || in parse_action() 1466 (str_has_prefix(str, "onchange("))) { in parse_action() 1483 if ((len = str_has_prefix(str, "key=")) || in parse_assignment() 1484 (len = str_has_prefix(str, "keys="))) { in parse_assignment() 1490 } else if ((len = str_has_prefix(str, "val=")) || in parse_assignment() 1491 (len = str_has_prefix(str, "vals=")) || in parse_assignment() 1492 (len = str_has_prefix(str, "values="))) { in parse_assignment() 1498 } else if ((len = str_has_prefix(str, "sort="))) { in parse_assignment() 1504 } else if (str_has_prefix(str, "name=")) { in parse_assignment() [all …]
|
| 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() 2261 len = str_has_prefix(name, SYNTH_SYSTEM "/"); in create_synth_event()
|
| H A D | trace_events_filter.c | 1679 if ((len = str_has_prefix(str + i, ".ustring"))) { in parse_pred() 1685 if ((len = str_has_prefix(str + i, ".function"))) { in parse_pred()
|
| H A D | trace_events.c | 260 if (!(len = str_has_prefix(fmt, "REC->"))) in find_event_field() 2146 if (str_has_prefix(field->type, "__data_loc")) in f_show()
|
| H A D | trace.c | 4084 len = str_has_prefix(cmp, "no"); in trace_set_options()
|
| /linux/arch/s390/kernel/ |
| H A D | early_printk.c | 39 if (buf && !str_has_prefix(buf, "sclp")) in setup_early_printk()
|
| /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/arch/parisc/kernel/ |
| H A D | setup.c | 59 if (!str_has_prefix(p, "console=") && !strstr(p, " console=")) { in setup_cmdline()
|
| /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/kernel/kcsan/ |
| H A D | debugfs.c | 236 } else if (str_has_prefix(arg, "microbench=")) { in debugfs_write()
|
| /linux/drivers/md/ |
| H A D | dm-inlinecrypt.c | 260 if (str_has_prefix(opt_string, "keytype:")) { in inlinecrypt_ctr_optional()
|
| /linux/drivers/iio/pressure/ |
| H A D | hsc030pa.c | 479 if (str_has_prefix(triplet, "NA")) { in hsc_common_probe()
|
| /linux/arch/alpha/kernel/ |
| H A D | setup.c | 455 alpha_using_srm = !str_has_prefix((const char *)hwrpb->ssn, "MILO"); in setup_arch()
|
| /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 138 if (str_has_prefix(sec_name, pfx)) { in get_datasec_ident()
|
| /linux/kernel/power/ |
| H A D | main.c | 784 if (len == 4 && str_has_prefix(buf, "disk")) in decode_state()
|
| /linux/drivers/net/ethernet/amd/pds_core/ |
| H A D | fw.c | 60 prefix_len = str_has_prefix(name, PDSC_FW_COMPONENT_PREFIX); in pdsc_name_to_fw_type()
|
| /linux/kernel/ |
| H A D | kprobes.c | 1614 return str_has_prefix(symbuf, "__cfi_") || in is_cfi_preamble_symbol() 1615 str_has_prefix(symbuf, "__pfx_"); in is_cfi_preamble_symbol()
|
| /linux/drivers/gpio/ |
| H A D | gpio-aggregator.c | 1549 if (!str_has_prefix(buf, DRV_NAME ".")) in gpio_aggregator_delete_device_store()
|
| /linux/kernel/debug/kdb/ |
| H A D | kdb_main.c | 807 if (!str_has_prefix(cp, "grep ")) { in parse_grep()
|