/linux-master/kernel/printk/ |
H A D | braille.c | 16 len = str_has_prefix(*str, "brl,"); 23 len = str_has_prefix(*str, "brl=");
|
H A D | printk.c | 149 len = str_has_prefix(str, "on"); 155 len = str_has_prefix(str, "off"); 161 len = str_has_prefix(str, "ratelimit");
|
/linux-master/arch/s390/kernel/ |
H A D | early_printk.c | 28 if (buf && !str_has_prefix(buf, "sclp"))
|
H A D | module.c | 559 (str_has_prefix(secname, ".s390_indirect"))) 563 (str_has_prefix(secname, ".s390_return")))
|
H A D | setup.c | 270 if (str_has_prefix(ptr + 8, "3270")) { 278 } else if (str_has_prefix(ptr + 8, "3215")) {
|
/linux-master/mm/kfence/ |
H A D | report.c | 75 if (str_has_prefix(buf, ARCH_FUNC_PREFIX "kfence_") || 76 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kfence_") || 77 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kmem_cache_free") || 92 if (str_has_prefix(buf, ARCH_FUNC_PREFIX "kfree") || 93 str_has_prefix(buf, ARCH_FUNC_PREFIX "kmem_cache_free") || 94 str_has_prefix(buf, ARCH_FUNC_PREFIX "__kmalloc") || 95 str_has_prefix(buf, ARCH_FUNC_PREFIX "kmem_cache_alloc"))
|
/linux-master/kernel/trace/ |
H A D | trace_events_user.c | 1073 if (str_has_prefix(type, "char[")) 1075 if (str_has_prefix(type, "unsigned char[")) 1077 if (str_has_prefix(type, "__data_loc ")) 1079 if (str_has_prefix(type, "__rel_loc ")) 1121 if (str_has_prefix(type, "__data_loc ")) 1124 if (str_has_prefix(type, "__rel_loc ")) { 1188 len = str_has_prefix(field, "unsigned "); 1192 len = str_has_prefix(field, "struct "); 1198 len = str_has_prefix(field, "__data_loc unsigned "); 1202 len = str_has_prefix(fiel [all...] |
H A D | trace_stack.c | 546 if ((len = str_has_prefix(str, "_filter=")))
|
H A D | trace_probe.c | 900 if (str_has_prefix(arg, "retval")) { 913 len = str_has_prefix(arg, "stack"); 944 len = str_has_prefix(arg, "arg"); 1607 if (str_has_prefix(argv[i], "$arg")) { 1715 if (str_has_prefix(argv[i], "$arg")) {
|
H A D | trace_events_hist.c | 1445 if ((str_has_prefix(str, "onmatch(")) || 1446 (str_has_prefix(str, "onmax(")) || 1447 (str_has_prefix(str, "onchange("))) { 1464 if ((len = str_has_prefix(str, "key=")) || 1465 (len = str_has_prefix(str, "keys="))) { 1471 } else if ((len = str_has_prefix(str, "val=")) || 1472 (len = str_has_prefix(str, "vals=")) || 1473 (len = str_has_prefix(str, "values="))) { 1479 } else if ((len = str_has_prefix(str, "sort="))) { 1485 } else if (str_has_prefix(st [all...] |
H A D | trace_events_filter.c | 1549 if ((len = str_has_prefix(str + i, ".ustring"))) { 1555 if ((len = str_has_prefix(str + i, ".function"))) {
|
H A D | trace_events_synth.c | 171 if (str_has_prefix(type, "u")) 2164 len = str_has_prefix(name, SYNTH_SYSTEM "/");
|
/linux-master/drivers/tty/serial/ |
H A D | serial_base_bus.c | 34 str_has_prefix(drv->name, serial_ctrl_type.name)) 38 str_has_prefix(drv->name, serial_port_type.name))
|
/linux-master/arch/s390/lib/ |
H A D | test_unwind.c | 89 if (prev_is_func2 && str_has_prefix(sym, "unwindme_func1")) 91 prev_is_func2 = str_has_prefix(sym, "unwindme_func2"); 92 if (str_has_prefix(sym, "arch_rethook_trampoline+0x0/"))
|
/linux-master/kernel/kcsan/ |
H A D | debugfs.c | 239 } else if (str_has_prefix(arg, "microbench=")) {
|
H A D | report.c | 294 if (!str_has_prefix(cur, "test"))
|
/linux-master/arch/parisc/kernel/ |
H A D | setup.c | 59 if (!str_has_prefix(p, "console=") && !strstr(p, " console=")) {
|
/linux-master/kernel/locking/ |
H A D | locktorture.c | 1218 if (str_has_prefix(torture_type, "mutex")) 1222 if (str_has_prefix(torture_type, "rtmutex")) 1226 if ((str_has_prefix(torture_type, "spin")) || 1227 (str_has_prefix(torture_type, "rw_lock")))
|
/linux-master/drivers/base/ |
H A D | arch_numa.c | 31 if (str_has_prefix(opt, "off"))
|
H A D | property.c | 658 return str_has_prefix(node_name, name) == len;
|
/linux-master/include/linux/ |
H A D | string.h | 461 * str_has_prefix - Test if a string has a given prefix 469 * and not a constant. Instead use str_has_prefix(). 475 static __always_inline size_t str_has_prefix(const char *str, const char *prefix) function
|
/linux-master/drivers/gpio/ |
H A D | gpio-aggregator.c | 201 if (!str_has_prefix(buf, DRV_NAME "."))
|
/linux-master/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) &&
|
/linux-master/drivers/iio/pressure/ |
H A D | hsc030pa.c | 480 if (str_has_prefix(triplet, "NA")) {
|
/linux-master/tools/bpf/bpftool/ |
H A D | gen.c | 38 static bool str_has_prefix(const char *str, const char *prefix) function 132 if (str_has_prefix(sec_name, pfx)) {
|