str 43 arch/alpha/boot/stdio.c static char * number(char * str, unsigned long long num, int base, int size, int precision, int type) str 87 arch/alpha/boot/stdio.c *str++ = ' '; str 89 arch/alpha/boot/stdio.c *str++ = sign; str 92 arch/alpha/boot/stdio.c *str++ = '0'; str 94 arch/alpha/boot/stdio.c *str++ = '0'; str 95 arch/alpha/boot/stdio.c *str++ = digits[33]; str 100 arch/alpha/boot/stdio.c *str++ = c; str 102 arch/alpha/boot/stdio.c *str++ = '0'; str 104 arch/alpha/boot/stdio.c *str++ = tmp[i]; str 106 arch/alpha/boot/stdio.c *str++ = ' '; str 107 arch/alpha/boot/stdio.c return str; str 115 arch/alpha/boot/stdio.c char * str; str 128 arch/alpha/boot/stdio.c for (str=buf ; *fmt ; ++fmt) { str 130 arch/alpha/boot/stdio.c *str++ = *fmt; str 193 arch/alpha/boot/stdio.c *str++ = ' '; str 194 arch/alpha/boot/stdio.c *str++ = (unsigned char) va_arg(args, int); str 196 arch/alpha/boot/stdio.c *str++ = ' '; str 208 arch/alpha/boot/stdio.c *str++ = ' '; str 210 arch/alpha/boot/stdio.c *str++ = *s++; str 212 arch/alpha/boot/stdio.c *str++ = ' '; str 220 arch/alpha/boot/stdio.c str = number(str, str 229 arch/alpha/boot/stdio.c *ip = (str - buf); str 232 arch/alpha/boot/stdio.c *ip = (str - buf); str 235 arch/alpha/boot/stdio.c *ip = (str - buf); str 240 arch/alpha/boot/stdio.c *str++ = '%'; str 261 arch/alpha/boot/stdio.c *str++ = '%'; str 263 arch/alpha/boot/stdio.c *str++ = *fmt; str 287 arch/alpha/boot/stdio.c str = number(str, num, base, field_width, precision, flags); str 289 arch/alpha/boot/stdio.c *str = '\0'; str 290 arch/alpha/boot/stdio.c return str-buf; str 76 arch/alpha/include/asm/core_titan.h titan_64 str; str 69 arch/alpha/include/asm/core_tsunami.h tsunami_64 str; str 331 arch/alpha/include/asm/uaccess.h extern __must_check long strnlen_user(const char __user *str, long n); str 79 arch/alpha/kernel/core_marvel.c mk_resource_name(int pe, int port, char *str) str 84 arch/alpha/kernel/core_marvel.c sprintf(tmp, "PCI %s PE %d PORT %d", str, pe, port); str 427 arch/alpha/kernel/core_marvel.c marvel_specify_io7(char *str) str 434 arch/alpha/kernel/core_marvel.c pid = simple_strtoul(str, &pchar, 0); str 435 arch/alpha/kernel/core_marvel.c if (pchar != str) { str 441 arch/alpha/kernel/core_marvel.c if (pchar == str) pchar++; str 442 arch/alpha/kernel/core_marvel.c str = pchar; str 443 arch/alpha/kernel/core_marvel.c } while(*str); str 384 arch/alpha/kernel/core_titan.c printk("%s: CSR_STR 0x%lx\n", __func__, TITAN_dchip->str.csr); str 407 arch/alpha/kernel/core_tsunami.c printk("%s: CSR_STR 0x%lx\n", __func__, TSUNAMI_dchip->str.csr); str 37 arch/alpha/kernel/rtc.c specifiy_epoch(char *str) str 39 arch/alpha/kernel/rtc.c unsigned long epoch = simple_strtoul(str, NULL, 0); str 200 arch/alpha/kernel/smp.c send_secondary_console_msg(char *str, int cpuid) str 216 arch/alpha/kernel/smp.c cp2 = str; str 177 arch/alpha/kernel/traps.c die_if_kernel(char * str, struct pt_regs *regs, long err, unsigned long *r9_15) str 184 arch/alpha/kernel/traps.c printk("%s(%d): %s %ld\n", current->comm, task_pid_nr(current), str, err); str 10 arch/alpha/lib/srm_puts.c srm_puts(const char *str, long len) str 19 arch/alpha/lib/srm_puts.c written = callback_puts(0, str, remaining); str 21 arch/alpha/lib/srm_puts.c str += written; str 17 arch/arc/include/asm/bug.h void show_kernel_fault_diag(const char *str, struct pt_regs *regs, str 19 arch/arc/include/asm/bug.h void die(const char *str, struct pt_regs *regs, unsigned long address); str 24 arch/arc/include/asm/setup.h const char *str; str 503 arch/arc/kernel/perf_event.c static void arc_pmu_add_raw_event_attr(int j, char *str) str 505 arch/arc/kernel/perf_event.c memmove(arc_pmu->raw_entry[j].name, str, ARCPMU_EVENT_NAME_LEN - 1); str 547 arch/arc/kernel/perf_event.c static void arc_pmu_map_hw_event(int j, char *str) str 553 arch/arc/kernel/perf_event.c if (event_in_hw_event_map(i, str)) { str 555 arch/arc/kernel/perf_event.c i, str, j); str 573 arch/arc/kernel/perf_event.c char str[ARCPMU_EVENT_NAME_LEN]; str 610 arch/arc/kernel/perf_event.c cc_name.str[ARCPMU_EVENT_NAME_LEN - 1] = 0; str 620 arch/arc/kernel/perf_event.c arc_pmu_map_hw_event(i, cc_name.str); str 621 arch/arc/kernel/perf_event.c arc_pmu_add_raw_event_attr(i, cc_name.str); str 128 arch/arc/kernel/setup.c cpu->release = tbl->str; str 135 arch/arc/kernel/setup.c else if (tbl->str) str 161 arch/arc/kernel/setup.c cpu->release = tbl->str; str 456 arch/arc/kernel/setup.c char str[512]; str 462 arch/arc/kernel/setup.c pr_info("%s", arc_cpu_mumbojumbo(cpu_id, str, sizeof(str))); str 467 arch/arc/kernel/setup.c pr_info("%s", arc_extn_mumbojumbo(cpu_id, str, sizeof(str))); str 618 arch/arc/kernel/setup.c char *str; str 629 arch/arc/kernel/setup.c str = (char *)__get_free_page(GFP_KERNEL); str 630 arch/arc/kernel/setup.c if (!str) str 633 arch/arc/kernel/setup.c seq_printf(m, arc_cpu_mumbojumbo(cpu_id, str, PAGE_SIZE)); str 650 arch/arc/kernel/setup.c seq_printf(m, arc_mmu_mumbojumbo(cpu_id, str, PAGE_SIZE)); str 651 arch/arc/kernel/setup.c seq_printf(m, arc_cache_mumbojumbo(cpu_id, str, PAGE_SIZE)); str 652 arch/arc/kernel/setup.c seq_printf(m, arc_extn_mumbojumbo(cpu_id, str, PAGE_SIZE)); str 655 arch/arc/kernel/setup.c free_page((unsigned long)str); str 28 arch/arc/kernel/traps.c void die(const char *str, struct pt_regs *regs, unsigned long address) str 30 arch/arc/kernel/traps.c show_kernel_fault_diag(str, regs, address); str 42 arch/arc/kernel/traps.c unhandled_exception(const char *str, struct pt_regs *regs, str 57 arch/arc/kernel/traps.c die(str, regs, (unsigned long)addr); str 63 arch/arc/kernel/traps.c #define DO_ERROR_INFO(signr, str, name, sicode) \ str 66 arch/arc/kernel/traps.c return unhandled_exception(str, regs, signr, sicode, \ str 235 arch/arc/kernel/troubleshoot.c void show_kernel_fault_diag(const char *str, struct pt_regs *regs, str 241 arch/arc/kernel/troubleshoot.c pr_info("\n%s\n", str); str 43 arch/arc/mm/cache.c #define PR_CACHE(p, cfg, str) \ str 45 arch/arc/mm/cache.c n += scnprintf(buf + n, len - n, str"\t\t: N/A\n"); \ str 48 arch/arc/mm/cache.c str"\t\t: %uK, %dway/set, %uB Line, %s%s%s\n", \ str 1303 arch/arc/mm/cache.c char str[256]; str 1305 arch/arc/mm/cache.c pr_info("%s", arc_cache_mumbojumbo(0, str, sizeof(str))); str 45 arch/arc/mm/init.c static int __init setup_mem_sz(char *str) str 47 arch/arc/mm/init.c low_mem_sz = memparse(str, NULL) & PAGE_MASK; str 50 arch/arc/mm/init.c pr_info("\"mem=%s\": mem sz set to %ldM\n", str, TO_MB(low_mem_sz)); str 821 arch/arc/mm/tlb.c char str[256]; str 824 arch/arc/mm/tlb.c pr_info("%s", arc_mmu_mumbojumbo(0, str, sizeof(str))); str 74 arch/arc/plat-axs10x/axs10x.c static void __init axs10x_print_board_ver(unsigned int creg, const char *str) str 88 arch/arc/plat-axs10x/axs10x.c pr_info("AXS: %s FPGA Date: %u-%u-%u\n", str, board.d, board.m, str 93 arch/arc/plat-eznps/include/plat/ctop.h u32 str:1, __reserved:27, thr_id:4; str 62 arch/arc/plat-eznps/mtm.c thr_init.str = 1; str 219 arch/arm/include/asm/assembler.h str \tmp, [\ti, #TI_PREEMPT] str 225 arch/arm/include/asm/assembler.h str \tmp, [\ti, #TI_PREEMPT] str 434 arch/arm/include/asm/assembler.h usracc str, \reg, \ptr, \inc, \cond, \rept, \abort str 477 arch/arm/include/asm/assembler.h .pushsection .rodata.str, "aMS", %progbits, 1 str 65 arch/arm/include/asm/bug.h void arm_notify_die(const char *str, struct pt_regs *regs, str 90 arch/arm/include/asm/futex.h "2: " TUSER(str) " %0, [%3]\n" \ str 117 arch/arm/include/asm/futex.h "2: " TUSERCOND(str, eq) " %3, [%4]\n" str 22 arch/arm/include/asm/setup.h extern void early_print(const char *str, ...); str 17 arch/arm/include/asm/tls.h str \tmp2, [\base, #TI_TP_VALUE + 4] @ save it str 34 arch/arm/include/asm/tls.h str \tp, [\tmp1, #-15] @ set TLS value at 0xffff0ff0 str 89 arch/arm/include/asm/uaccess-asm.h str \tmp2, [\tsk, #TI_ADDR_LIMIT] str 91 arch/arm/include/asm/uaccess-asm.h DACR( str \tmp0, [sp, #SVC_DACR]) str 92 arch/arm/include/asm/uaccess-asm.h str \tmp1, [sp, #SVC_ADDR_LIMIT] str 111 arch/arm/include/asm/uaccess-asm.h str \tmp1, [\tsk, #TI_ADDR_LIMIT] str 478 arch/arm/include/asm/uaccess.h __put_user_asm(x, __pu_addr, err, str) str 490 arch/arm/include/asm/uaccess.h ARM( "1: " TUSER(str) " " __reg_oper1 ", [%1], #4\n" ) \ str 491 arch/arm/include/asm/uaccess.h ARM( "2: " TUSER(str) " " __reg_oper0 ", [%1]\n" ) \ str 492 arch/arm/include/asm/uaccess.h THUMB( "1: " TUSER(str) " " __reg_oper1 ", [%1]\n" ) \ str 493 arch/arm/include/asm/uaccess.h THUMB( "2: " TUSER(str) " " __reg_oper0 ", [%1, #4]\n" ) \ str 587 arch/arm/include/asm/uaccess.h extern __must_check long strnlen_user(const char __user *str, long n); str 568 arch/arm/kernel/bios32.c char * __init pcibios_setup(char *str) str 570 arch/arm/kernel/bios32.c if (!strcmp(str, "debug")) { str 574 arch/arm/kernel/bios32.c return str; str 363 arch/arm/kernel/setup.c void __init early_print(const char *str, ...) str 369 arch/arm/kernel/setup.c va_start(ap, str); str 370 arch/arm/kernel/setup.c vsnprintf(buf, sizeof(buf), str, ap); str 55 arch/arm/kernel/traps.c static int __init user_debug_setup(char *str) str 57 arch/arm/kernel/traps.c get_option(&str, &user_debug); str 79 arch/arm/kernel/traps.c char str[80], *p; str 83 arch/arm/kernel/traps.c for (reg = 10, x = 0, p = str; reg >= 0; reg--) { str 88 arch/arm/kernel/traps.c p = str; str 89 arch/arm/kernel/traps.c printk("%s\n", str); str 93 arch/arm/kernel/traps.c if (p != str) str 94 arch/arm/kernel/traps.c printk("%s\n", str); str 116 arch/arm/kernel/traps.c static void dump_mem(const char *lvl, const char *str, unsigned long bottom, str 131 arch/arm/kernel/traps.c printk("%s%s(0x%08lx to 0x%08lx)\n", lvl, str, bottom, top); str 135 arch/arm/kernel/traps.c char str[sizeof(" 12345678") * 8 + 1]; str 137 arch/arm/kernel/traps.c memset(str, ' ', sizeof(str)); str 138 arch/arm/kernel/traps.c str[sizeof(str) - 1] = '\0'; str 144 arch/arm/kernel/traps.c sprintf(str + i * 9, " %08lx", val); str 146 arch/arm/kernel/traps.c sprintf(str + i * 9, " ????????"); str 149 arch/arm/kernel/traps.c printk("%s%04lx:%s\n", lvl, first & 0xffff, str); str 160 arch/arm/kernel/traps.c char str[sizeof("00000000 ") * 5 + 2 + 1], *p = str; str 184 arch/arm/kernel/traps.c printk("%sCode: %s\n", lvl, str); str 265 arch/arm/kernel/traps.c static int __die(const char *str, int err, struct pt_regs *regs) str 272 arch/arm/kernel/traps.c str, err, ++die_counter); str 275 arch/arm/kernel/traps.c ret = notify_die(DIE_OOPS, str, regs, err, tsk->thread.trap_no, SIGSEGV); str 347 arch/arm/kernel/traps.c void die(const char *str, struct pt_regs *regs, int err) str 356 arch/arm/kernel/traps.c str = "Oops - BUG"; str 358 arch/arm/kernel/traps.c if (__die(str, err, regs)) str 364 arch/arm/kernel/traps.c void arm_notify_die(const char *str, struct pt_regs *regs, str 374 arch/arm/kernel/traps.c die(str, regs, err); str 73 arch/arm/lib/bitops.h str r2, [r1, r0, lsl #2] str 857 arch/arm/mach-at91/pm.c static int __init at91_pm_modes_select(char *str) str 863 arch/arm/mach-at91/pm.c if (!str) str 866 arch/arm/mach-at91/pm.c s = strsep(&str, ","); str 871 arch/arm/mach-at91/pm.c suspend = match_token(str, pm_modes, args); str 43 arch/arm/mach-imx/mach-pcm037.c static int __init pcm037_variant_setup(char *str) str 45 arch/arm/mach-imx/mach-pcm037.c if (!strcmp("eet", str)) str 47 arch/arm/mach-imx/mach-pcm037.c else if (strcmp("pcm970", str)) str 48 arch/arm/mach-imx/mach-pcm037.c pr_warn("Unknown pcm037 baseboard variant %s\n", str); str 302 arch/arm/mach-iop32x/iq31244.c static int __init force_ep80219_setup(char *str) str 369 arch/arm/mach-iop32x/pci.c static int __init iop3xx_init_atu_setup(char *str) str 372 arch/arm/mach-iop32x/pci.c if (str) { str 373 arch/arm/mach-iop32x/pci.c while (*str != '\0') { str 374 arch/arm/mach-iop32x/pci.c switch (*str) { str 390 arch/arm/mach-iop32x/pci.c *str); str 391 arch/arm/mach-iop32x/pci.c *(str + 1) = '\0'; str 393 arch/arm/mach-iop32x/pci.c str++; str 95 arch/arm/mach-omap1/i2c.c static int __init omap_i2c_bus_setup(char *str) str 99 arch/arm/mach-omap1/i2c.c get_options(str, 3, ints); str 732 arch/arm/mach-omap2/timer.c static int __init omap2_override_clocksource(char *str) str 734 arch/arm/mach-omap2/timer.c if (!str) str 741 arch/arm/mach-omap2/timer.c if (!strcmp(str, "gp_timer")) str 351 arch/arm/mach-pxa/cm-x2xx.c static int __init cmx2xx_set_display(char *str) str 353 arch/arm/mach-pxa/cm-x2xx.c int disp_type = simple_strtol(str, NULL, 0); str 425 arch/arm/mach-pxa/lpd270.c static int __init lpd270_set_lcd(char *str) str 427 arch/arm/mach-pxa/lpd270.c if (!strncasecmp(str, "lq057q3dc02", 11)) { str 429 arch/arm/mach-pxa/lpd270.c } else if (!strncasecmp(str, "lq121s1dg31", 11)) { str 431 arch/arm/mach-pxa/lpd270.c } else if (!strncasecmp(str, "lq036q1da01", 11)) { str 433 arch/arm/mach-pxa/lpd270.c } else if (!strncasecmp(str, "lq64d343", 8)) { str 435 arch/arm/mach-pxa/lpd270.c } else if (!strncasecmp(str, "lq10d368", 8)) { str 437 arch/arm/mach-pxa/lpd270.c } else if (!strncasecmp(str, "lq035q7db02-20", 14)) { str 440 arch/arm/mach-pxa/lpd270.c printk(KERN_INFO "lpd270: unknown lcd panel [%s]\n", str); str 781 arch/arm/mach-pxa/viper.c static int __init viper_tpm_setup(char *str) str 783 arch/arm/mach-pxa/viper.c return kstrtoul(str, 10, &viper_tpm) >= 0; str 770 arch/arm/mach-rpc/ecard.c char *str = buf; str 774 arch/arm/mach-rpc/ecard.c str += sprintf(str, "%08x %08x %08lx\n", str 779 arch/arm/mach-rpc/ecard.c return str - buf; str 579 arch/arm/mach-s3c24xx/mach-mini2440.c static int __init mini2440_features_setup(char *str) str 581 arch/arm/mach-s3c24xx/mach-mini2440.c if (str) str 582 arch/arm/mach-s3c24xx/mach-mini2440.c strlcpy(mini2440_features_str, str, str 294 arch/arm/mach-s3c24xx/mach-qt2410.c static int __init qt2410_tft_setup(char *str) str 296 arch/arm/mach-s3c24xx/mach-qt2410.c tft_type = str[0]; str 263 arch/arm/mach-s3c64xx/mach-mini6410.c static int __init mini6410_features_setup(char *str) str 265 arch/arm/mach-s3c64xx/mach-mini6410.c if (str) str 266 arch/arm/mach-s3c64xx/mach-mini6410.c strlcpy(mini6410_features_str, str, str 233 arch/arm/mach-s3c64xx/mach-real6410.c static int __init real6410_features_setup(char *str) str 235 arch/arm/mach-s3c64xx/mach-real6410.c if (str) str 236 arch/arm/mach-s3c64xx/mach-real6410.c strlcpy(real6410_features_str, str, str 1450 arch/arm/plat-omap/dma.c static int __init omap_dma_cmdline_reserve_ch(char *str) str 1452 arch/arm/plat-omap/dma.c if (get_option(&str, &omap_dma_reserve_channels) != 1) str 48 arch/arm/vfp/vfpdouble.c static void vfp_double_dump(const char *str, struct vfp_double *d) str 51 arch/arm/vfp/vfpdouble.c str, d->sign != 0, d->exponent, d->significand); str 48 arch/arm/vfp/vfpsingle.c static void vfp_single_dump(const char *str, struct vfp_single *s) str 51 arch/arm/vfp/vfpsingle.c str, s->sign != 0, s->exponent, s->significand); str 13 arch/arm64/include/asm/asm-bug.h .pushsection .rodata.str,"aMS",@progbits,1; \ str 231 arch/arm64/include/asm/assembler.h str \src, [\tmp, :lo12:\sym] str 27 arch/arm64/include/asm/fpsimdmacros.h str w\tmpnr, [\state, #16 * 2] str 29 arch/arm64/include/asm/fpsimdmacros.h str w\tmpnr, [\state, #16 * 2 + 4] str 194 arch/arm64/include/asm/fpsimdmacros.h str w\nxtmp, [\xpfpsr] str 196 arch/arm64/include/asm/fpsimdmacros.h str w\nxtmp, [\xpfpsr, #4] str 24 arch/arm64/include/asm/system_misc.h void arm64_notify_die(const char *str, struct pt_regs *regs, str 29 arch/arm64/include/asm/traps.h void arm64_force_sig_fault(int signo, int code, void __user *addr, const char *str); str 30 arch/arm64/include/asm/traps.h void arm64_force_sig_mceerr(int code, void __user *addr, short lsb, const char *str); str 31 arch/arm64/include/asm/traps.h void arm64_force_sig_ptrace_errno_trap(int errno, void __user *addr, const char *str); str 433 arch/arm64/include/asm/uaccess.h extern __must_check long strnlen_user(const char __user *str, long n); str 205 arch/arm64/kernel/cpu_errata.c static int __init parse_nospectre_v2(char *str) str 283 arch/arm64/kernel/cpu_errata.c const char *str; str 299 arch/arm64/kernel/cpu_errata.c int len = strlen(ssbd_options[i].str); str 301 arch/arm64/kernel/cpu_errata.c if (strncmp(buf, ssbd_options[i].str, len)) str 985 arch/arm64/kernel/cpufeature.c char const *str = "kpti command line option"; str 1003 arch/arm64/kernel/cpufeature.c str = "ARM64_WORKAROUND_CAVIUM_27456"; str 1010 arch/arm64/kernel/cpufeature.c str = "KASLR"; str 1016 arch/arm64/kernel/cpufeature.c str = "mitigations=off"; str 1028 arch/arm64/kernel/cpufeature.c __kpti_forced > 0 ? "ON" : "OFF", str); str 1072 arch/arm64/kernel/cpufeature.c static int __init parse_kpti(char *str) str 1075 arch/arm64/kernel/cpufeature.c int ret = strtobool(str, &enabled); str 77 arch/arm64/kernel/kaslr.c const u8 *cmdline, *str; str 109 arch/arm64/kernel/kaslr.c str = strstr(cmdline, "nokaslr"); str 110 arch/arm64/kernel/kaslr.c if (str == cmdline || (str > cmdline && *(str - 1) == ' ')) str 63 arch/arm64/kernel/traps.c char str[sizeof("00000000 ") * 5 + 2 + 1], *p = str; str 82 arch/arm64/kernel/traps.c printk("%sCode: %s\n", lvl, str); str 151 arch/arm64/kernel/traps.c static int __die(const char *str, int err, struct pt_regs *regs) str 157 arch/arm64/kernel/traps.c str, err, ++die_counter); str 160 arch/arm64/kernel/traps.c ret = notify_die(DIE_OOPS, str, regs, err, 0, SIGSEGV); str 177 arch/arm64/kernel/traps.c void die(const char *str, struct pt_regs *regs, int err) str 188 arch/arm64/kernel/traps.c ret = __die(str, err, regs); str 208 arch/arm64/kernel/traps.c static void arm64_show_signal(int signo, const char *str) str 226 arch/arm64/kernel/traps.c pr_cont("%s", str); str 233 arch/arm64/kernel/traps.c const char *str) str 235 arch/arm64/kernel/traps.c arm64_show_signal(signo, str); str 243 arch/arm64/kernel/traps.c const char *str) str 245 arch/arm64/kernel/traps.c arm64_show_signal(SIGBUS, str); str 250 arch/arm64/kernel/traps.c const char *str) str 252 arch/arm64/kernel/traps.c arm64_show_signal(SIGTRAP, str); str 256 arch/arm64/kernel/traps.c void arm64_notify_die(const char *str, struct pt_regs *regs, str 265 arch/arm64/kernel/traps.c arm64_force_sig_fault(signo, sicode, addr, str); str 267 arch/arm64/kernel/traps.c die(str, regs, err); str 16 arch/c6x/include/asm/bug.h extern void die(char *str, struct pt_regs *fp, int nr); str 31 arch/c6x/kernel/soc.c static int __init get_mac_addr_from_cmdline(char *str) str 35 arch/c6x/kernel/soc.c for (count = 0; count < 6 && *str; count++, str += 3) { str 36 arch/c6x/kernel/soc.c if (!isxdigit(str[0]) || !isxdigit(str[1])) str 38 arch/c6x/kernel/soc.c if (str[2] != ((count < 5) ? ':' : '\0')) str 43 arch/c6x/kernel/soc.c val |= isdigit(str[i]) ? str 44 arch/c6x/kernel/soc.c str[i] - '0' : toupper(str[i]) - 'A' + 10; str 68 arch/c6x/kernel/traps.c void die(char *str, struct pt_regs *fp, int nr) str 71 arch/c6x/kernel/traps.c pr_err("%s: %08x\n", str, nr); str 83 arch/c6x/kernel/traps.c static void die_if_kernel(char *str, struct pt_regs *fp, int nr) str 88 arch/c6x/kernel/traps.c die(str, fp, nr); str 23 arch/csky/include/asm/bug.h void die_if_kernel(char *str, struct pt_regs *regs, int nr); str 402 arch/csky/include/asm/uaccess.h #define strlen_user(str) strnlen_user(str, 32767) str 79 arch/csky/kernel/traps.c void die_if_kernel(char *str, struct pt_regs *regs, int nr) str 85 arch/csky/kernel/traps.c pr_err("%s: %08x\n", str, nr); str 11 arch/h8300/include/asm/bug.h extern void die(const char *str, struct pt_regs *fp, unsigned long err); str 100 arch/h8300/kernel/traps.c void die(const char *str, struct pt_regs *fp, unsigned long err) str 109 arch/h8300/kernel/traps.c pr_crit("%s: %04lx [#%d] ", str, err & 0xffff, ++diecount); str 23 arch/h8300/mm/fault.c void die(const char *str, struct pt_regs *fp, unsigned long err); str 13 arch/hexagon/include/asm/traps.h extern int die(const char *str, struct pt_regs *regs, long err); str 14 arch/hexagon/include/asm/traps.h extern int die_if_kernel(char *str, struct pt_regs *regs, long err); str 187 arch/hexagon/kernel/traps.c int die(const char *str, struct pt_regs *regs, long err) str 202 arch/hexagon/kernel/traps.c printk(KERN_EMERG "Oops: %s[#%d]:\n", str, ++die.counter); str 204 arch/hexagon/kernel/traps.c if (notify_die(DIE_OOPS, str, regs, err, pt_cause(regs), SIGSEGV) == str 228 arch/hexagon/kernel/traps.c int die_if_kernel(char *str, struct pt_regs *regs, long err) str 231 arch/hexagon/kernel/traps.c return die(str, regs, err); str 2117 arch/ia64/hp/common/sba_iommu.c nosbagart(char *str) str 2126 arch/ia64/hp/common/sba_iommu.c sba_page_override(char *str) str 2130 arch/ia64/hp/common/sba_iommu.c page_size = memparse(str, &str); str 251 arch/ia64/include/asm/uaccess.h #define strnlen_user(str, len) \ str 253 arch/ia64/include/asm/uaccess.h const char __user *__su_str = (str); \ str 1761 arch/ia64/kernel/mca.c ia64_mca_disable_cpe_polling(char *str) str 205 arch/ia64/kernel/process.c static int __init nohalt_setup(char * str) str 48 arch/ia64/kernel/sal.c const char *str; str 50 arch/ia64/kernel/sal.c case 0: str = "Call completed without error"; break; str 51 arch/ia64/kernel/sal.c case 1: str = "Effect a warm boot of the system to complete " str 53 arch/ia64/kernel/sal.c case -1: str = "Not implemented"; break; str 54 arch/ia64/kernel/sal.c case -2: str = "Invalid argument"; break; str 55 arch/ia64/kernel/sal.c case -3: str = "Call completed with error"; break; str 56 arch/ia64/kernel/sal.c case -4: str = "Virtual address not registered"; break; str 57 arch/ia64/kernel/sal.c case -5: str = "No information available"; break; str 58 arch/ia64/kernel/sal.c case -6: str = "Insufficient space to add the entry"; break; str 59 arch/ia64/kernel/sal.c case -7: str = "Invalid entry_addr value"; break; str 60 arch/ia64/kernel/sal.c case -8: str = "Invalid interrupt vector"; break; str 61 arch/ia64/kernel/sal.c case -9: str = "Requested memory not available"; break; str 62 arch/ia64/kernel/sal.c case -10: str = "Unable to write to the NVM device"; break; str 63 arch/ia64/kernel/sal.c case -11: str = "Invalid partition type specified"; break; str 64 arch/ia64/kernel/sal.c case -12: str = "Invalid NVM_Object id specified"; break; str 65 arch/ia64/kernel/sal.c case -13: str = "NVM_Object already has the maximum number " str 67 arch/ia64/kernel/sal.c case -14: str = "Insufficient space in partition for the " str 69 arch/ia64/kernel/sal.c case -15: str = "Insufficient data buffer space for the " str 71 arch/ia64/kernel/sal.c case -16: str = "Scratch buffer required for the write/delete " str 73 arch/ia64/kernel/sal.c case -17: str = "Insufficient space in the NVM_Object for the " str 75 arch/ia64/kernel/sal.c case -18: str = "Invalid value specified in the partition_rec " str 77 arch/ia64/kernel/sal.c case -19: str = "Record oriented I/O not supported for this " str 79 arch/ia64/kernel/sal.c case -20: str = "Bad format of record to be written or " str 82 arch/ia64/kernel/sal.c default: str = "Unknown SAL status code"; break; str 84 arch/ia64/kernel/sal.c return str; str 227 arch/ia64/kernel/sal.c force_pal_cache_flush(char *str) str 147 arch/ia64/kernel/smpboot.c cmdl_force_cpei(char *str) str 151 arch/ia64/kernel/smpboot.c get_option (&str, &value); str 160 arch/ia64/kernel/smpboot.c nointroute (char *str) str 493 arch/ia64/kernel/smpboot.c decay (char *str) str 496 arch/ia64/kernel/smpboot.c get_option (&str, &ticks); str 242 arch/ia64/kernel/time.c static int __init nojitter_setup(char *str) str 43 arch/ia64/kernel/traps.c die (const char *str, struct pt_regs *regs, long err) str 68 arch/ia64/kernel/traps.c current->comm, task_pid_nr(current), str, err, ++die_counter); str 69 arch/ia64/kernel/traps.c if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV) str 93 arch/ia64/kernel/traps.c die_if_kernel (char *str, struct pt_regs *regs, long err) str 96 arch/ia64/kernel/traps.c return die(str, regs, err); str 31 arch/ia64/kernel/unaligned.c extern int die_if_kernel(char *str, struct pt_regs *regs, long err); str 37 arch/ia64/kernel/unaligned.c # define DDUMP(str,vp,len) dump(str, vp, len) str 40 arch/ia64/kernel/unaligned.c dump (const char *str, void *vp, size_t len) str 45 arch/ia64/kernel/unaligned.c printk("%s", str); str 52 arch/ia64/kernel/unaligned.c # define DDUMP(str,vp,len) str 168 arch/ia64/mm/hugetlbpage.c static int __init hugetlb_setup_sz(char *str) str 179 arch/ia64/mm/hugetlbpage.c size = memparse(str, &str); str 180 arch/ia64/mm/hugetlbpage.c if (*str || !is_power_of_2(size) || !(tr_pages & size) || str 159 arch/ia64/mm/tlb.c set_nptcg(char *str) str 163 arch/ia64/mm/tlb.c get_option(&str, &value); str 321 arch/m68k/amiga/config.c #define AMIGAHW_ANNOUNCE(name, str) \ str 323 arch/m68k/amiga/config.c pr_cont(str) str 810 arch/m68k/amiga/config.c #define AMIGAHW_ANNOUNCE(name, str) \ str 812 arch/m68k/amiga/config.c seq_printf (m, "\t%s\n", str) str 118 arch/m68k/apollo/config.c void dn_serial_console_write (struct console *co, const char *str,unsigned int count) str 121 arch/m68k/apollo/config.c if (*str == '\n') { str 126 arch/m68k/apollo/config.c sio01.rhrb_thrb = (unsigned char)*str++; str 132 arch/m68k/apollo/config.c void dn_serial_print (const char *str) str 134 arch/m68k/apollo/config.c while (*str) { str 135 arch/m68k/apollo/config.c if (*str == '\n') { str 140 arch/m68k/apollo/config.c sio01.rhrb_thrb = (unsigned char)*str++; str 319 arch/m68k/atari/atakeyb.c void ikbd_write(const char *str, int len) str 328 arch/m68k/atari/atakeyb.c acia.key_data = *str++; str 148 arch/m68k/atari/config.c static int __init atari_switches_setup(char *str) str 159 arch/m68k/atari/config.c strcpy(switches, str); str 621 arch/m68k/atari/config.c #define ATARIHW_ANNOUNCE(name, str) \ str 623 arch/m68k/atari/config.c seq_printf(m, "\t%s\n", str) str 42 arch/m68k/atari/debug.c static void atari_mfp_console_write(struct console *co, const char *str, str 46 arch/m68k/atari/debug.c if (*str == '\n') str 48 arch/m68k/atari/debug.c ata_mfp_out(*str++); str 61 arch/m68k/atari/debug.c static void atari_scc_console_write(struct console *co, const char *str, str 65 arch/m68k/atari/debug.c if (*str == '\n') str 67 arch/m68k/atari/debug.c ata_scc_out(*str++); str 78 arch/m68k/atari/debug.c static void atari_midi_console_write(struct console *co, const char *str, str 82 arch/m68k/atari/debug.c if (*str == '\n') str 84 arch/m68k/atari/debug.c ata_midi_out(*str++); str 109 arch/m68k/atari/debug.c static void atari_par_console_write(struct console *co, const char *str, str 118 arch/m68k/atari/debug.c if (*str == '\n') { str 124 arch/m68k/atari/debug.c if (!ata_par_out(*str++)) { str 26 arch/m68k/emu/nfcon.c static void nfputs(const char *str, unsigned int count) str 33 arch/m68k/emu/nfcon.c memcpy(buf, str, 64); str 35 arch/m68k/emu/nfcon.c str += 64; str 38 arch/m68k/emu/nfcon.c memcpy(buf, str, count); str 43 arch/m68k/emu/nfcon.c static void nfcon_write(struct console *con, const char *str, str 46 arch/m68k/emu/nfcon.c nfputs(str, count); str 117 arch/m68k/include/asm/math-emu.h #define uprint(str) ({ \ str 122 arch/m68k/include/asm/math-emu.h "fpu instruction (%s)\n", str); \ str 218 arch/m68k/include/asm/openprom.h void (*pv_putstr)(char *str, int len); str 230 arch/m68k/include/asm/openprom.h void (*v0_eval)(int len, char *str); str 231 arch/m68k/include/asm/openprom.h void (*v2_eval)(char *str); str 384 arch/m68k/include/asm/uaccess_mm.h extern __must_check long strnlen_user(const char __user *str, long n); str 16 arch/m68k/kernel/early_printk.c const char *str, unsigned count); str 96 arch/m68k/kernel/pcibios.c char *pcibios_setup(char *str) str 98 arch/m68k/kernel/pcibios.c return str; str 544 arch/m68k/kernel/setup_mm.c static int __init adb_probe_sync_enable (char *str) { str 1133 arch/m68k/kernel/traps.c void die_if_kernel (char *str, struct pt_regs *fp, int nr) str 1139 arch/m68k/kernel/traps.c pr_crit("%s: %08x\n", str, nr); str 69 arch/m68k/mac/config.c static void mac_get_model(char *str); str 899 arch/m68k/mac/config.c static void mac_get_model(char *str) str 901 arch/m68k/mac/config.c strcpy(str, "Macintosh "); str 902 arch/m68k/mac/config.c strcat(str, macintosh_config->name); str 209 arch/m68k/mvme16x/config.c void mvme16x_cons_write(struct console *co, const char *str, unsigned count) str 242 arch/m68k/mvme16x/config.c str++; str 246 arch/m68k/mvme16x/config.c else if (*str == '\n') { str 251 arch/m68k/mvme16x/config.c base_addr[CyTDR] = *str++; str 95 arch/m68k/q40/config.c void printq40(char *str) str 97 arch/m68k/q40/config.c int l = strlen(str); str 101 arch/m68k/q40/config.c *p = *str++; str 72 arch/microblaze/include/asm/exceptions.h void die(const char *str, struct pt_regs *fp, long err); str 40 arch/microblaze/kernel/exceptions.c void die(const char *str, struct pt_regs *fp, long err) str 44 arch/microblaze/kernel/exceptions.c pr_warn("Oops: %s, sig: %ld\n", str, err); str 91 arch/mips/alchemy/common/prom.c static inline void str2eaddr(unsigned char *ea, unsigned char *str) str 98 arch/mips/alchemy/common/prom.c if ((*str == '.') || (*str == ':')) str 99 arch/mips/alchemy/common/prom.c str++; str 100 arch/mips/alchemy/common/prom.c num = str2hexnum(*str++) << 4; str 101 arch/mips/alchemy/common/prom.c num |= str2hexnum(*str++); str 169 arch/mips/cavium-octeon/setup.c char *str = (char *)image->segment[i].buf; str 170 arch/mips/cavium-octeon/setup.c char *ptr = strchr(str, ' '); str 174 arch/mips/cavium-octeon/setup.c offt = (int)(ptr - str + 1); str 1201 arch/mips/cavium-octeon/setup.c static int __init disable_octeon_edac(char *str) str 20 arch/mips/emma/markeins/led.c void markeins_led(const char *str) str 23 arch/mips/emma/markeins/led.c int len = strlen(str); str 31 arch/mips/emma/markeins/led.c emma2rh_out8(LED_BASE + i, str[i]); str 35 arch/mips/emma/markeins/led.c str[i]); str 40 arch/mips/emma/markeins/led.c char str[10]; str 42 arch/mips/emma/markeins/led.c sprintf(str, "%08x", val); str 43 arch/mips/emma/markeins/led.c markeins_led(str); str 90 arch/mips/fw/lib/cmdline.c char *str; str 93 arch/mips/fw/lib/cmdline.c str = fw_getenv(envname); str 94 arch/mips/fw/lib/cmdline.c if (str) { str 95 arch/mips/fw/lib/cmdline.c tmp = kstrtoul(str, 0, &envl); str 13 arch/mips/generic/proc.c const char *str; str 16 arch/mips/generic/proc.c err = of_property_read_string(of_root, "model", &str); str 18 arch/mips/generic/proc.c return str; str 20 arch/mips/generic/proc.c err = of_property_read_string_index(of_root, "compatible", 0, &str); str 22 arch/mips/generic/proc.c return str; str 40 arch/mips/include/asm/kgdb.h extern int kgdb_ll_trap(int cmd, const char *str, str 77 arch/mips/include/asm/mips-boards/generic.h extern void mips_display_message(const char *str); str 83 arch/mips/include/asm/mips-r2-to-r6-emul.h const char *str); str 222 arch/mips/include/asm/octeon/cvmx-rst-defs.h uint64_t str:3; str 224 arch/mips/include/asm/octeon/cvmx-rst-defs.h uint64_t str:3; str 69 arch/mips/include/asm/pci.h extern char * (*pcibios_plat_setup)(char *str); str 164 arch/mips/include/asm/ptrace.h static inline void die_if_kernel(const char *str, struct pt_regs *regs) str 167 arch/mips/include/asm/ptrace.h die(str, regs); str 48 arch/mips/include/asm/sibyte/board.h extern void setleds(char *str); str 36 arch/mips/include/asm/txx9/pci.h extern char * (*txx9_board_pcibios_setup)(char *str); str 37 arch/mips/include/asm/txx9/pci.h char *txx9_pcibios_setup(char *str); str 199 arch/mips/include/asm/txx9/tx4927pcic.h char *tx4927_pcibios_setup(char *str); str 345 arch/mips/kernel/kgdb.c int kgdb_ll_trap(int cmd, const char *str, str 350 arch/mips/kernel/kgdb.c .str = str, str 194 arch/mips/kernel/mips-mt-fpaff.c static int __init fpaff_thresh(char *str) str 196 arch/mips/kernel/mips-mt-fpaff.c get_option(&str, &fpaff_threshold); str 25 arch/mips/kernel/mips-mt.c static int __init maxvpes(char *str) str 27 arch/mips/kernel/mips-mt.c get_option(&str, &vpelimit); str 36 arch/mips/kernel/mips-mt.c static int __init maxtcs(char *str) str 38 arch/mips/kernel/mips-mt.c get_option(&str, &tclimit); str 127 arch/mips/kernel/mips-mt.c static int __init rpsctl_set(char *str) str 129 arch/mips/kernel/mips-mt.c get_option(&str, &mt_opt_rpsctl); str 134 arch/mips/kernel/mips-mt.c static int __init nblsu_set(char *str) str 136 arch/mips/kernel/mips-mt.c get_option(&str, &mt_opt_nblsu); str 141 arch/mips/kernel/mips-mt.c static int __init config7_set(char *str) str 143 arch/mips/kernel/mips-mt.c get_option(&str, &mt_opt_config7); str 151 arch/mips/kernel/mips-mt.c static int __init set_itc_base(char *str) str 153 arch/mips/kernel/mips-mt.c get_option(&str, &itc_base); str 234 arch/mips/kernel/relocate.c char *str; str 239 arch/mips/kernel/relocate.c str = strstr(builtin_cmdline, "nokaslr"); str 240 arch/mips/kernel/relocate.c if (str == builtin_cmdline || str 241 arch/mips/kernel/relocate.c (str > builtin_cmdline && *(str - 1) == ' ')) str 244 arch/mips/kernel/relocate.c str = strstr(arcs_cmdline, "nokaslr"); str 245 arch/mips/kernel/relocate.c if (str == arcs_cmdline || (str > arcs_cmdline && *(str - 1) == ' ')) str 16 arch/mips/kernel/segment.c static void build_segment_config(char *str, unsigned int cfg) str 25 arch/mips/kernel/segment.c str += sprintf(str, "%-5s", am_str[am]); str 33 arch/mips/kernel/segment.c str += sprintf(str, " %03lx", str 36 arch/mips/kernel/segment.c str += sprintf(str, " UND"); str 39 arch/mips/kernel/segment.c str += sprintf(str, " %01ld", str 42 arch/mips/kernel/segment.c str += sprintf(str, " U"); str 45 arch/mips/kernel/segment.c str += sprintf(str, " %01ld\n", str 52 arch/mips/kernel/segment.c char str[42]; str 58 arch/mips/kernel/segment.c build_segment_config(str, segcfg); str 59 arch/mips/kernel/segment.c seq_printf(m, " 0 e0000000 512M %s", str); str 62 arch/mips/kernel/segment.c build_segment_config(str, segcfg); str 63 arch/mips/kernel/segment.c seq_printf(m, " 1 c0000000 512M %s", str); str 66 arch/mips/kernel/segment.c build_segment_config(str, segcfg); str 67 arch/mips/kernel/segment.c seq_printf(m, " 2 a0000000 512M %s", str); str 70 arch/mips/kernel/segment.c build_segment_config(str, segcfg); str 71 arch/mips/kernel/segment.c seq_printf(m, " 3 80000000 512M %s", str); str 74 arch/mips/kernel/segment.c build_segment_config(str, segcfg); str 75 arch/mips/kernel/segment.c seq_printf(m, " 4 40000000 1G %s", str); str 78 arch/mips/kernel/segment.c build_segment_config(str, segcfg); str 79 arch/mips/kernel/segment.c seq_printf(m, " 5 00000000 1G %s\n", str); str 788 arch/mips/kernel/setup.c static int __init setcoherentio(char *str) str 796 arch/mips/kernel/setup.c static int __init setnocoherentio(char *str) str 133 arch/mips/kernel/traps.c static int __init set_raw_show_trace(char *str) str 387 arch/mips/kernel/traps.c void __noreturn die(const char *str, struct pt_regs *regs) str 394 arch/mips/kernel/traps.c if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, str 402 arch/mips/kernel/traps.c printk("%s[#%d]:\n", str, ++die_counter); str 919 arch/mips/kernel/traps.c const char *str) str 924 arch/mips/kernel/traps.c if (kgdb_ll_trap(DIE_TRAP, str, regs, code, current->thread.trap_nr, str 929 arch/mips/kernel/traps.c if (notify_die(DIE_TRAP, str, regs, code, current->thread.trap_nr, str 942 arch/mips/kernel/traps.c scnprintf(b, sizeof(b), "%s instruction in kernel code", str); str 968 arch/mips/kernel/traps.c scnprintf(b, sizeof(b), "%s instruction in kernel code", str); str 1911 arch/mips/kernel/traps.c char str[100]; str 1916 arch/mips/kernel/traps.c snprintf(str, 100, "CPU%d NMI taken, CP0_EPC=%lx\n", str 1919 arch/mips/kernel/traps.c die(str, regs); str 2260 arch/mips/kernel/traps.c static int __init set_rdhwr_noopt(char *str) str 111 arch/mips/lasat/picvue.c void pvc_write_string(const unsigned char *str, u8 addr, int line) str 119 arch/mips/lasat/picvue.c while (*str != 0 && i < PVC_LINELEN) { str 120 arch/mips/lasat/picvue.c pvc_write(*str++, MODE_DATA); str 125 arch/mips/lasat/picvue.c void pvc_write_string_centered(const unsigned char *str, int line) str 127 arch/mips/lasat/picvue.c int len = strlen(str); str 133 arch/mips/lasat/picvue.c addr = (PVC_VISIBLE_CHARS - strlen(str))/2; str 135 arch/mips/lasat/picvue.c pvc_write_string(str, addr, line); str 138 arch/mips/lasat/picvue.c void pvc_dump_string(const unsigned char *str) str 140 arch/mips/lasat/picvue.c int len = strlen(str); str 142 arch/mips/lasat/picvue.c pvc_write_string(str, 0, 0); str 144 arch/mips/lasat/picvue.c pvc_write_string(&str[PVC_VISIBLE_CHARS], 0, 1); str 24 arch/mips/lasat/picvue.h void pvc_write_string(const unsigned char *str, u8 addr, int line); str 25 arch/mips/lasat/picvue.h void pvc_write_string_centered(const unsigned char *str, int line); str 26 arch/mips/lasat/picvue.h void pvc_dump_string(const unsigned char *str); str 36 arch/mips/loongson32/common/prom.c char *str = prom_getenv(env); str 37 arch/mips/loongson32/common/prom.c return str ? simple_strtol(str, 0, 0) : dfl; str 41 arch/mips/loongson64/common/machtype.c char *p, str[MACHTYPE_LEN + 1]; str 52 arch/mips/loongson64/common/machtype.c strncpy(str, p, MACHTYPE_LEN); str 53 arch/mips/loongson64/common/machtype.c str[MACHTYPE_LEN] = '\0'; str 54 arch/mips/loongson64/common/machtype.c p = strstr(str, " "); str 59 arch/mips/loongson64/common/machtype.c if (strstr(system_types[machtype], str)) { str 1752 arch/mips/mm/c-r4k.c static int __init cca_setup(char *str) str 1754 arch/mips/mm/c-r4k.c get_option(&str, &cca); str 491 arch/mips/mm/tlb-r4k.c static int __init set_ntlb(char *str) str 493 arch/mips/mm/tlb-r4k.c get_option(&str, &ntlb); str 29 arch/mips/paravirt/paravirt-smp.c static int __init set_numcpus(char *str) str 33 arch/mips/paravirt/paravirt-smp.c if (get_option(&str, &newval)) { str 196 arch/mips/pci/ops-tx4927.c char *tx4927_pcibios_setup(char *str) str 198 arch/mips/pci/ops-tx4927.c if (!strncmp(str, "trdyto=", 7)) { str 200 arch/mips/pci/ops-tx4927.c if (kstrtou8(str + 7, 0, &val) == 0) str 204 arch/mips/pci/ops-tx4927.c if (!strncmp(str, "retryto=", 8)) { str 206 arch/mips/pci/ops-tx4927.c if (kstrtou8(str + 8, 0, &val) == 0) str 210 arch/mips/pci/ops-tx4927.c if (!strncmp(str, "gbwc=", 5)) { str 212 arch/mips/pci/ops-tx4927.c if (kstrtou16(str + 5, 0, &val) == 0) str 216 arch/mips/pci/ops-tx4927.c return str; str 373 arch/mips/pci/ops-tx4927.c const char *str; str 402 arch/mips/pci/ops-tx4927.c cont++ ? " " : "", pcistat_tbl[i].str); str 410 arch/mips/pci/ops-tx4927.c cont++ ? " " : "", g2pstat_tbl[i].str); str 418 arch/mips/pci/ops-tx4927.c cont++ ? " " : "", pcicstat_tbl[i].str); str 303 arch/mips/pci/pci-legacy.c char * (*pcibios_plat_setup)(char *str) __initdata; str 305 arch/mips/pci/pci-legacy.c char *__init pcibios_setup(char *str) str 308 arch/mips/pci/pci-legacy.c return pcibios_plat_setup(str); str 309 arch/mips/pci/pci-legacy.c return str; str 91 arch/mips/pmcs-msp71xx/msp_prom.c int str2eaddr(unsigned char *ea, unsigned char *str) str 96 arch/mips/pmcs-msp71xx/msp_prom.c while (*str != '\0') { str 97 arch/mips/pmcs-msp71xx/msp_prom.c if ((*str == '.') || (*str == ':')) { str 100 arch/mips/pmcs-msp71xx/msp_prom.c str++; str 103 arch/mips/pmcs-msp71xx/msp_prom.c num |= str2hexnum(*str++); str 115 arch/mips/pmcs-msp71xx/msp_prom.c static inline unsigned long str2hex(unsigned char *str) str 119 arch/mips/pmcs-msp71xx/msp_prom.c while (*str) { str 121 arch/mips/pmcs-msp71xx/msp_prom.c value |= str2hexnum(*str++); str 434 arch/mips/pmcs-msp71xx/msp_prom.c char *str; str 439 arch/mips/pmcs-msp71xx/msp_prom.c str = prom_getenv(memsz_env); str 440 arch/mips/pmcs-msp71xx/msp_prom.c if (!str) { str 445 arch/mips/pmcs-msp71xx/msp_prom.c memsize = simple_strtol(str, NULL, 0); str 456 arch/mips/pmcs-msp71xx/msp_prom.c str = prom_getenv(heaptop_env); str 457 arch/mips/pmcs-msp71xx/msp_prom.c if (!str) { str 462 arch/mips/pmcs-msp71xx/msp_prom.c heaptop = simple_strtol(str, NULL, 16); str 465 arch/mips/pmcs-msp71xx/msp_prom.c heaptop = simple_strtol(str, NULL, 0); str 41 arch/mips/pnx833x/stb22x/board.c char *str = prom_getenv(env); str 42 arch/mips/pnx833x/stb22x/board.c return str ? simple_strtol(str, 0, 0) : dfl; str 103 arch/mips/sgi-ip22/ip22-eisa.c char *str; str 112 arch/mips/sgi-ip22/ip22-eisa.c if ((str = decode_eisa_sig(0x1000 * i + EISA_VENDOR_ID_OFFSET))) { str 114 arch/mips/sgi-ip22/ip22-eisa.c i, str); str 483 arch/mips/sgi-ip22/ip28-berr.c static int __init debug_be_setup(char *str) str 49 arch/mips/sgi-ip32/ip32-setup.c static inline void str2eaddr(unsigned char *ea, unsigned char *str) str 56 arch/mips/sgi-ip32/ip32-setup.c if(*str == ':') str 57 arch/mips/sgi-ip32/ip32-setup.c str++; str 58 arch/mips/sgi-ip32/ip32-setup.c num = str2hexnum(*str++) << 4; str 59 arch/mips/sgi-ip32/ip32-setup.c num |= (str2hexnum(*str++)); str 168 arch/mips/sibyte/common/cfe.c static int __init initrd_setup(char *str) str 177 arch/mips/sibyte/common/cfe.c if (!str[idx] || (str[idx] == ' ')) break; str 178 arch/mips/sibyte/common/cfe.c rdarg[idx] = str[idx]; str 182 arch/mips/sibyte/common/cfe.c str = rdarg; str 188 arch/mips/sibyte/common/cfe.c for (tmp = str; *tmp != '@'; tmp++) { str 198 arch/mips/sibyte/common/cfe.c initrd_size = simple_strtoul(str, &endptr, 16); str 13 arch/mips/sibyte/common/cfe_console.c static void cfe_console_write(struct console *cons, const char *str, str 19 arch/mips/sibyte/common/cfe_console.c if (!str[i]) str 22 arch/mips/sibyte/common/cfe_console.c if (str[i] == '\n') { str 24 arch/mips/sibyte/common/cfe_console.c written = cfe_write(cfe_cons_handle, &str[last], i-last); str 35 arch/mips/sibyte/common/cfe_console.c written = cfe_write(cfe_cons_handle, &str[last], count-last); str 44 arch/mips/sibyte/common/cfe_console.c static int cfe_console_setup(struct console *cons, char *str) str 156 arch/mips/sibyte/swarm/setup.c void setleds(char *str) str 164 arch/mips/sibyte/swarm/setup.c if (!str[i]) str 167 arch/mips/sibyte/swarm/setup.c writeb(str[i], reg); str 395 arch/mips/txx9/generic/pci.c char * (*txx9_board_pcibios_setup)(char *str) __initdata; str 397 arch/mips/txx9/generic/pci.c char *__init txx9_pcibios_setup(char *str) str 399 arch/mips/txx9/generic/pci.c if (txx9_board_pcibios_setup && !txx9_board_pcibios_setup(str)) str 401 arch/mips/txx9/generic/pci.c if (!strcmp(str, "picmg")) { str 406 arch/mips/txx9/generic/pci.c } else if (!strcmp(str, "nopicmg")) { str 411 arch/mips/txx9/generic/pci.c } else if (!strncmp(str, "clk=", 4)) { str 412 arch/mips/txx9/generic/pci.c char *val = str + 4; str 421 arch/mips/txx9/generic/pci.c } else if (!strncmp(str, "err=", 4)) { str 422 arch/mips/txx9/generic/pci.c if (!strcmp(str + 4, "panic")) str 424 arch/mips/txx9/generic/pci.c else if (!strcmp(str + 4, "ignore")) str 431 arch/mips/txx9/generic/pci.c return str; str 134 arch/mips/txx9/generic/setup.c char *str = (char *)(long)argv32[i]; str 137 arch/mips/txx9/generic/setup.c if (strchr(str, ' ')) { str 139 arch/mips/txx9/generic/setup.c strcat(arcs_cmdline, str); str 142 arch/mips/txx9/generic/setup.c strcat(arcs_cmdline, str); str 259 arch/mips/txx9/generic/setup.c char *str = strsep(&s, " "); str 260 arch/mips/txx9/generic/setup.c if (strncmp(str, "board=", 6) == 0) { str 261 arch/mips/txx9/generic/setup.c txx9_board_vec = find_board_byname(str + 6); str 263 arch/mips/txx9/generic/setup.c } else if (strncmp(str, "masterclk=", 10) == 0) { str 265 arch/mips/txx9/generic/setup.c if (kstrtouint(str + 10, 10, &val) == 0) str 268 arch/mips/txx9/generic/setup.c } else if (strcmp(str, "icdisable") == 0) { str 271 arch/mips/txx9/generic/setup.c } else if (strcmp(str, "dcdisable") == 0) { str 274 arch/mips/txx9/generic/setup.c } else if (strcmp(str, "toeoff") == 0) { str 277 arch/mips/txx9/generic/setup.c } else if (strcmp(str, "toeon") == 0) { str 283 arch/mips/txx9/generic/setup.c strcat(arcs_cmdline, str); str 354 arch/mips/txx9/generic/setup.c const s32 *str; str 359 arch/mips/txx9/generic/setup.c str = (const s32 *)fw_arg2; str 361 arch/mips/txx9/generic/setup.c while (str[0] && str[1]) { str 362 arch/mips/txx9/generic/setup.c if (!strcmp((const char *)(unsigned long)str[0], name)) str 363 arch/mips/txx9/generic/setup.c return (const char *)(unsigned long)str[1]; str 364 arch/mips/txx9/generic/setup.c str += 2; str 264 arch/nds32/include/asm/uaccess.h extern __must_check long strlen_user(const char __user * str); str 265 arch/nds32/include/asm/uaccess.h extern __must_check long strnlen_user(const char __user * str, long n); str 35 arch/nds32/kernel/process.c int __init reboot_setup(char *str) str 37 arch/nds32/kernel/process.c reboot_mode_nds32 = str[0]; str 93 arch/nds32/kernel/setup.c char str[sizeof(hwcap_str) + 16]; str 97 arch/nds32/kernel/setup.c sprintf(str + p, "%s ", hwcap_str[i]); str 102 arch/nds32/kernel/setup.c pr_info("CPU%d Features: %s\n", cpu, str); str 43 arch/nds32/kernel/traps.c char str[sizeof(" 12345678") * 8 + 1]; str 45 arch/nds32/kernel/traps.c memset(str, ' ', sizeof(str)); str 46 arch/nds32/kernel/traps.c str[sizeof(str) - 1] = '\0'; str 52 arch/nds32/kernel/traps.c sprintf(str + i * 9, " %08lx", val); str 54 arch/nds32/kernel/traps.c sprintf(str + i * 9, " ????????"); str 57 arch/nds32/kernel/traps.c pr_emerg("%s%04lx:%s\n", lvl, first & 0xffff, str); str 69 arch/nds32/kernel/traps.c char str[sizeof("00000000 ") * 5 + 2 + 1], *p = str; str 94 arch/nds32/kernel/traps.c pr_emerg("Code: %s\n", str); str 163 arch/nds32/kernel/traps.c void die(const char *str, struct pt_regs *regs, int err) str 172 arch/nds32/kernel/traps.c pr_emerg("Internal error: %s: %x [#%d]\n", str, err, ++die_counter); str 192 arch/nds32/kernel/traps.c void die_if_kernel(const char *str, struct pt_regs *regs, int err) str 197 arch/nds32/kernel/traps.c die(str, regs, err); str 17 arch/nds32/mm/fault.c extern void die(const char *str, struct pt_regs *regs, long err); str 86 arch/nios2/include/asm/uaccess.h extern __must_check long strlen_user(const char __user *str); str 34 arch/nios2/kernel/cpuinfo.c const char *str; str 48 arch/nios2/kernel/cpuinfo.c str = of_get_property(cpu, "altr,implementation", &len); str 49 arch/nios2/kernel/cpuinfo.c if (str) str 50 arch/nios2/kernel/cpuinfo.c strlcpy(cpuinfo.cpu_impl, str, sizeof(cpuinfo.cpu_impl)); str 32 arch/nios2/kernel/traps.c void die(const char *str, struct pt_regs *regs, long err) str 36 arch/nios2/kernel/traps.c pr_warn("Oops: %s, sig: %ld\n", str, err); str 266 arch/openrisc/include/asm/uaccess.h extern __must_check long strnlen_user(const char __user *str, long n); str 206 arch/openrisc/kernel/traps.c void die(const char *str, struct pt_regs *regs, long err) str 210 arch/openrisc/kernel/traps.c printk("\n%s#: %04lx\n", str, err & 0xffff); str 225 arch/openrisc/kernel/traps.c void die_if_kernel(const char *str, struct pt_regs *regs, long err) str 230 arch/openrisc/kernel/traps.c die(str, regs, err); str 157 arch/parisc/boot/compressed/misc.c char str[40]; str 158 arch/parisc/boot/compressed/misc.c int i = sizeof(str)-1; str 160 arch/parisc/boot/compressed/misc.c str[i--] = '\0'; str 162 arch/parisc/boot/compressed/misc.c str[i--] = hex[num % base]; str 167 arch/parisc/boot/compressed/misc.c str[i--] = 'x'; str 168 arch/parisc/boot/compressed/misc.c str[i] = '0'; str 170 arch/parisc/boot/compressed/misc.c puts(&str[i]); str 35 arch/parisc/include/asm/led.h int lcd_print(const char *str); str 37 arch/parisc/include/asm/led.h #define lcd_print(str) str 87 arch/parisc/include/asm/pdc.h int pdc_iodc_print(const unsigned char *str, unsigned count); str 14 arch/parisc/include/asm/traps.h void die_if_kernel(char *str, struct pt_regs *regs, long err); str 15 arch/parisc/kernel/alternative.c static int __init setup_no_alternatives(char *str) str 1230 arch/parisc/kernel/firmware.c int pdc_iodc_print(const unsigned char *str, unsigned count) str 1236 arch/parisc/kernel/firmware.c switch(str[i]) { str 1243 arch/parisc/kernel/firmware.c iodc_dbuf[i] = str[i]; str 46 arch/parisc/kernel/pdc_chassis.c static int __init pdc_chassis_setup(char *str) str 49 arch/parisc/kernel/pdc_chassis.c get_option(&str, &pdc_chassis_enabled); str 211 arch/parisc/kernel/traps.c void die_if_kernel(char *str, struct pt_regs *regs, long err) str 219 arch/parisc/kernel/traps.c current->comm, task_pid_nr(current), str, err, regs->iaoq[0]); str 250 arch/parisc/kernel/traps.c current->comm, task_pid_nr(current), str, err); str 54 arch/powerpc/boot/planetcore.c const char *str = planetcore_get_key(table, key); str 55 arch/powerpc/boot/planetcore.c if (!str) str 58 arch/powerpc/boot/planetcore.c *val = strtoull(str, NULL, 10); str 64 arch/powerpc/boot/planetcore.c const char *str = planetcore_get_key(table, key); str 65 arch/powerpc/boot/planetcore.c if (!str) str 68 arch/powerpc/boot/planetcore.c *val = strtoull(str, NULL, 16); str 79 arch/powerpc/boot/stdio.c static char * number(char * str, unsigned long long num, int base, int size, int precision, int type) str 123 arch/powerpc/boot/stdio.c *str++ = ' '; str 125 arch/powerpc/boot/stdio.c *str++ = sign; str 128 arch/powerpc/boot/stdio.c *str++ = '0'; str 130 arch/powerpc/boot/stdio.c *str++ = '0'; str 131 arch/powerpc/boot/stdio.c *str++ = digits[33]; str 136 arch/powerpc/boot/stdio.c *str++ = c; str 138 arch/powerpc/boot/stdio.c *str++ = '0'; str 140 arch/powerpc/boot/stdio.c *str++ = tmp[i]; str 142 arch/powerpc/boot/stdio.c *str++ = ' '; str 143 arch/powerpc/boot/stdio.c return str; str 151 arch/powerpc/boot/stdio.c char * str; str 164 arch/powerpc/boot/stdio.c for (str=buf ; *fmt ; ++fmt) { str 166 arch/powerpc/boot/stdio.c *str++ = *fmt; str 229 arch/powerpc/boot/stdio.c *str++ = ' '; str 230 arch/powerpc/boot/stdio.c *str++ = (unsigned char) va_arg(args, int); str 232 arch/powerpc/boot/stdio.c *str++ = ' '; str 244 arch/powerpc/boot/stdio.c *str++ = ' '; str 246 arch/powerpc/boot/stdio.c *str++ = *s++; str 248 arch/powerpc/boot/stdio.c *str++ = ' '; str 256 arch/powerpc/boot/stdio.c str = number(str, str 265 arch/powerpc/boot/stdio.c *ip = (str - buf); str 268 arch/powerpc/boot/stdio.c *ip = (str - buf); str 271 arch/powerpc/boot/stdio.c *ip = (str - buf); str 276 arch/powerpc/boot/stdio.c *str++ = '%'; str 297 arch/powerpc/boot/stdio.c *str++ = '%'; str 299 arch/powerpc/boot/stdio.c *str++ = *fmt; str 323 arch/powerpc/boot/stdio.c str = number(str, num, base, field_width, precision, flags); str 325 arch/powerpc/boot/stdio.c *str = '\0'; str 326 arch/powerpc/boot/stdio.c return str-buf; str 25 arch/powerpc/include/asm/btext.h extern void btext_drawstring(const char *str); str 38 arch/powerpc/include/asm/fadump-internal.h static inline u64 fadump_str_to_u64(const char *str) str 44 arch/powerpc/include/asm/fadump-internal.h val = (*str) ? (val << 8) | *str++ : val << 8; str 26 arch/powerpc/include/asm/fadump.h static inline void crash_fadump(struct pt_regs *regs, const char *str) { } str 67 arch/powerpc/include/asm/machdep.h void (*panic)(char *str); str 360 arch/powerpc/include/asm/rtas.h extern void rtas_os_term(char *str); str 424 arch/powerpc/include/asm/uaccess.h extern __must_check long strnlen_user(const char __user *str, long n); str 633 arch/powerpc/kernel/dt_cpu_ftrs.c static int __init dt_cpu_ftrs_parse(char *str) str 635 arch/powerpc/kernel/dt_cpu_ftrs.c if (!str) str 638 arch/powerpc/kernel/dt_cpu_ftrs.c if (!strcmp(str, "off")) str 640 arch/powerpc/kernel/dt_cpu_ftrs.c else if (!strcmp(str, "known")) str 142 arch/powerpc/kernel/eeh.c static int __init eeh_setup(char *str) str 144 arch/powerpc/kernel/eeh.c if (!strcmp(str, "off")) str 146 arch/powerpc/kernel/eeh.c else if (!strcmp(str, "early_log")) str 595 arch/powerpc/kernel/fadump.c void crash_fadump(struct pt_regs *regs, const char *str) str 637 arch/powerpc/kernel/fadump.c fw_dump.ops->fadump_trigger(fdh, str); str 45 arch/powerpc/kernel/iommu.c static int __init setup_iommu(char *str) str 47 arch/powerpc/kernel/iommu.c if (!strcmp(str, "novmerge")) str 49 arch/powerpc/kernel/iommu.c else if (!strcmp(str, "vmerge")) str 80 arch/powerpc/kernel/iommu.c static int __init setup_fail_iommu(char *str) str 82 arch/powerpc/kernel/iommu.c return setup_fault_attr(&fail_iommu, str); str 731 arch/powerpc/kernel/irq.c static int __init setup_noirqdistrib(char *str) str 586 arch/powerpc/kernel/mce.c const char *str; str 593 arch/powerpc/kernel/mce.c prop, str) { str 594 arch/powerpc/kernel/mce.c if (strcmp(str, "bit17-vector-ci-load") == 0) str 596 arch/powerpc/kernel/mce.c else if (strcmp(str, "bit17-tm-suspend-escape") == 0) str 111 arch/powerpc/kernel/process.c static int __init enable_strict_msr_control(char *str) str 659 arch/powerpc/kernel/prom.c static int __init parse_ppc_tm(char *str) str 663 arch/powerpc/kernel/prom.c if (kstrtobool(str, &res)) str 645 arch/powerpc/kernel/prom_init.c static void add_string(char **str, const char *q) str 647 arch/powerpc/kernel/prom_init.c char *p = *str; str 652 arch/powerpc/kernel/prom_init.c *str = p; str 1745 arch/powerpc/kernel/prom_init.c static void __init prom_rtas_os_term(char *str) str 1766 arch/powerpc/kernel/prom_init.c os_term_args.args[0] = cpu_to_be32(__pa(str)); str 2447 arch/powerpc/kernel/prom_init.c static unsigned long __init dt_find_string(char *str) str 2454 arch/powerpc/kernel/prom_init.c if (prom_strcmp(s, str) == 0) str 718 arch/powerpc/kernel/rtas.c void rtas_os_term(char *str) str 732 arch/powerpc/kernel/rtas.c snprintf(rtas_os_term_buf, 2048, "OS panic: %s", str); str 116 arch/powerpc/kernel/rtasd.c char * str = "RTAS event"; str 120 arch/powerpc/kernel/rtasd.c error_log_cnt, str); str 147 arch/powerpc/kernel/rtasd.c error_log_cnt, str); str 583 arch/powerpc/kernel/rtasd.c static int __init surveillance_setup(char *str) str 591 arch/powerpc/kernel/rtasd.c if (get_option(&str,&i)) { str 600 arch/powerpc/kernel/rtasd.c static int __init rtasmsgs_setup(char *str) str 602 arch/powerpc/kernel/rtasd.c return (kstrtobool(str, &full_rtas_msgs) == 0); str 100 arch/powerpc/kernel/setup_32.c static int __init ppc_setup_l2cr(char *str) str 103 arch/powerpc/kernel/setup_32.c unsigned long val = simple_strtoul(str, NULL, 0); str 113 arch/powerpc/kernel/setup_32.c static int __init ppc_setup_l3cr(char *str) str 116 arch/powerpc/kernel/setup_32.c unsigned long val = simple_strtoul(str, NULL, 0); str 72 arch/powerpc/kernel/sysfs.c static int __init setup_smt_snooze_delay(char *str) str 80 arch/powerpc/kernel/sysfs.c snooze = simple_strtol(str, NULL, 10); str 968 arch/powerpc/kernel/trace/ftrace.c char *arch_ftrace_match_adjust(char *str, const char *search) str 970 arch/powerpc/kernel/trace/ftrace.c if (str[0] == '.' && search[0] != '.') str 971 arch/powerpc/kernel/trace/ftrace.c return str + 1; str 973 arch/powerpc/kernel/trace/ftrace.c return str; str 262 arch/powerpc/kernel/traps.c static int __die(const char *str, struct pt_regs *regs, long err) str 264 arch/powerpc/kernel/traps.c printk("Oops: %s, sig: %ld [#%d]\n", str, err, ++die_counter); str 276 arch/powerpc/kernel/traps.c if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV) == NOTIFY_STOP) str 286 arch/powerpc/kernel/traps.c void die(const char *str, struct pt_regs *regs, long err) str 299 arch/powerpc/kernel/traps.c if (__die(str, regs, err)) str 480 arch/powerpc/mm/book3s64/pgtable.c static int __init setup_disable_tlbie(char *str) str 586 arch/powerpc/mm/hugetlbpage.c static int __init hugepage_setup_sz(char *str) str 590 arch/powerpc/mm/hugetlbpage.c size = memparse(str, &str); str 389 arch/powerpc/perf/hv-24x7.c static struct attribute *device_str_attr_create_(char *name, char *str) str 398 arch/powerpc/perf/hv-24x7.c attr->var = str; str 417 arch/powerpc/perf/hv-24x7.c char *str, size_t str_max) str 420 arch/powerpc/perf/hv-24x7.c char *s = memdup_to_str(str, str_max, GFP_KERNEL); str 989 arch/powerpc/perf/hv-24x7.c const char *str; str 992 arch/powerpc/perf/hv-24x7.c str = domain_name(d); str 993 arch/powerpc/perf/hv-24x7.c if (!str) str 996 arch/powerpc/perf/hv-24x7.c n = sprintf(page, "%d: %s\n", d, str); str 123 arch/powerpc/perf/imc-pmu.c static struct attribute *device_str_attr_create(const char *name, const char *str) str 132 arch/powerpc/perf/imc-pmu.c attr->event_str = str; str 1018 arch/powerpc/platforms/cell/iommu.c static int __init setup_iommu_fixed(char *str) str 1022 arch/powerpc/platforms/cell/iommu.c if (strcmp(str, "off") == 0) str 1032 arch/powerpc/platforms/cell/iommu.c if (strcmp(str, "weak") == 0 || (pciep && strcmp(str, "strong") != 0)) str 116 arch/powerpc/platforms/powermac/bootx_init.c static unsigned long __init bootx_dt_find_string(char *str) str 123 arch/powerpc/platforms/powermac/bootx_init.c if (strcmp(s, str) == 0) str 89 arch/powerpc/platforms/powernv/pci-ioda.c static int __init iommu_setup(char *str) str 91 arch/powerpc/platforms/powernv/pci-ioda.c if (!str) str 94 arch/powerpc/platforms/powernv/pci-ioda.c while (*str) { str 95 arch/powerpc/platforms/powernv/pci-ioda.c if (!strncmp(str, "nobypass", 8)) { str 100 arch/powerpc/platforms/powernv/pci-ioda.c str += strcspn(str, ","); str 101 arch/powerpc/platforms/powernv/pci-ioda.c if (*str == ',') str 102 arch/powerpc/platforms/powernv/pci-ioda.c str++; str 109 arch/powerpc/platforms/powernv/pci-ioda.c static int __init pci_reset_phbs_setup(char *str) str 309 arch/powerpc/platforms/ps3/os-area.c char str[sizeof(h->magic_num) + 1]; str 311 arch/powerpc/platforms/ps3/os-area.c dump_field(str, h->magic_num, sizeof(h->magic_num)); str 313 arch/powerpc/platforms/ps3/os-area.c str); str 529 arch/powerpc/platforms/ps3/os-area.c char str[sizeof(db->magic_num) + 1]; str 531 arch/powerpc/platforms/ps3/os-area.c dump_field(str, db->magic_num, sizeof(db->magic_num)); str 533 arch/powerpc/platforms/ps3/os-area.c str); str 95 arch/powerpc/platforms/ps3/setup.c static void ps3_panic(char *str) str 97 arch/powerpc/platforms/ps3/setup.c DBG("%s:%d %s\n", __func__, __LINE__, str); str 54 arch/powerpc/platforms/pseries/hotplug-cpu.c static int __init setup_cede_offline(char *str) str 56 arch/powerpc/platforms/pseries/hotplug-cpu.c return (kstrtobool(str, &cede_offline_enabled) == 0); str 760 arch/powerpc/platforms/pseries/iommu.c static int __init disable_ddw_setup(char *str) str 1340 arch/powerpc/platforms/pseries/iommu.c static int __init disable_multitce(char *str) str 1342 arch/powerpc/platforms/pseries/iommu.c if (strcmp(str, "off") == 0 && str 1543 arch/powerpc/platforms/pseries/lpar.c static int __init disable_bulk_remove(char *str) str 1545 arch/powerpc/platforms/pseries/lpar.c if (strcmp(str, "off") == 0 && str 1720 arch/powerpc/platforms/pseries/lpar.c static int __init cmo_free_hint(char *str) str 1723 arch/powerpc/platforms/pseries/lpar.c parm = strstrip(str); str 232 arch/powerpc/platforms/pseries/rtas-fadump.c char str[3]; str 239 arch/powerpc/platforms/pseries/rtas-fadump.c str[2] = '\0'; str 240 arch/powerpc/platforms/pseries/rtas-fadump.c str[1] = id & 0xff; str 241 arch/powerpc/platforms/pseries/rtas-fadump.c str[0] = (id >> 8) & 0xff; str 242 arch/powerpc/platforms/pseries/rtas-fadump.c if (kstrtoint(str, 10, &i)) str 789 arch/powerpc/platforms/pseries/setup.c static void pseries_panic(char *str) str 792 arch/powerpc/platforms/pseries/setup.c rtas_os_term(str); str 38 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c static int __init get_size_from_cmdline(char *str) str 40 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c if (!str) str 43 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c sram_size = str; str 47 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c static int __init get_offset_from_cmdline(char *str) str 49 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c if (!str) str 52 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c sram_offset = str; str 389 arch/powerpc/sysdev/fsl_rio.c const char *str; str 394 arch/powerpc/sysdev/fsl_rio.c str = "1"; str 397 arch/powerpc/sysdev/fsl_rio.c str = "4"; str 400 arch/powerpc/sysdev/fsl_rio.c str = "Unknown"; str 403 arch/powerpc/sysdev/fsl_rio.c dev_info(dev, "Hardware port width: %s\n", str); str 407 arch/powerpc/sysdev/fsl_rio.c str = "Single-lane 0"; str 410 arch/powerpc/sysdev/fsl_rio.c str = "Single-lane 2"; str 413 arch/powerpc/sysdev/fsl_rio.c str = "Four-lane"; str 416 arch/powerpc/sysdev/fsl_rio.c str = "Unknown"; str 419 arch/powerpc/sysdev/fsl_rio.c dev_info(dev, "Training connection status: %s\n", str); str 147 arch/powerpc/xmon/nonstdio.c char *xmon_gets(char *str, int nb) str 152 arch/powerpc/xmon/nonstdio.c for (p = str; p < str + nb - 1; ) { str 155 arch/powerpc/xmon/nonstdio.c if (p == str) str 164 arch/powerpc/xmon/nonstdio.c return str; str 185 arch/powerpc/xmon/nonstdio.c void xmon_puts(const char *str) str 187 arch/powerpc/xmon/nonstdio.c xmon_write(str, strlen(str)); str 3463 arch/powerpc/xmon/xmon.c take_input(char *str) str 3465 arch/powerpc/xmon/xmon.c lineptr = str; str 80 arch/riscv/include/asm/bug.h void die(struct pt_regs *regs, const char *str); str 389 arch/riscv/include/asm/uaccess.h extern long __must_check strlen_user(const char __user *str); str 390 arch/riscv/include/asm/uaccess.h extern long __must_check strnlen_user(const char __user *str, long n); str 29 arch/riscv/kernel/traps.c void die(struct pt_regs *regs, const char *str) str 40 arch/riscv/kernel/traps.c pr_emerg("%s [#%d]\n", str, ++die_counter); str 44 arch/riscv/kernel/traps.c ret = notify_die(DIE_OOPS, str, regs, 0, regs->scause, SIGSEGV); str 76 arch/riscv/kernel/traps.c unsigned long addr, const char *str) str 82 arch/riscv/kernel/traps.c die(regs, str); str 86 arch/riscv/kernel/traps.c #define DO_ERROR_INFO(name, signo, code, str) \ str 89 arch/riscv/kernel/traps.c do_trap_error(regs, signo, code, regs->sepc, "Oops - " str); \ str 22 arch/s390/boot/als.c static void u16_to_hex(char *str, u16 val) str 30 arch/s390/boot/als.c *str++ = '0' + num; str 32 arch/s390/boot/als.c *str = '\0'; str 48 arch/s390/boot/als.c static void u16_to_decimal(char *str, u16 val) str 55 arch/s390/boot/als.c *str++ = '0' + val / div; str 59 arch/s390/boot/als.c *str = '\0'; str 129 arch/s390/boot/ipl_parm.c static inline int has_ebcdic_char(const char *str) str 133 arch/s390/boot/ipl_parm.c for (i = 0; str[i]; i++) str 134 arch/s390/boot/ipl_parm.c if (str[i] & 0x80) str 175 arch/s390/boot/ipl_parm.c static void modify_fac_list(char *str) str 181 arch/s390/boot/ipl_parm.c while (*str) { str 183 arch/s390/boot/ipl_parm.c if (*str == '!') { str 185 arch/s390/boot/ipl_parm.c str++; str 187 arch/s390/boot/ipl_parm.c val = simple_strtoull(str, &endp, 0); str 188 arch/s390/boot/ipl_parm.c if (str == endp) str 190 arch/s390/boot/ipl_parm.c str = endp; str 191 arch/s390/boot/ipl_parm.c if (*str == '-') { str 192 arch/s390/boot/ipl_parm.c str++; str 193 arch/s390/boot/ipl_parm.c endval = simple_strtoull(str, &endp, 0); str 194 arch/s390/boot/ipl_parm.c if (str == endp) str 196 arch/s390/boot/ipl_parm.c str = endp; str 204 arch/s390/boot/ipl_parm.c if (*str != ',') str 206 arch/s390/boot/ipl_parm.c str++; str 24 arch/s390/boot/string.c char *skip_spaces(const char *str) str 26 arch/s390/boot/string.c while (isspace(*str)) str 27 arch/s390/boot/string.c ++str; str 28 arch/s390/boot/string.c return (char *)str; str 11 arch/s390/kernel/alternative.c static int __init disable_alternative_instructions(char *str) str 1232 arch/s390/kernel/debug.c char *str; str 1240 arch/s390/kernel/debug.c str = debug_get_user_string(user_buf, user_len); str 1241 arch/s390/kernel/debug.c if (IS_ERR(str)) { str 1242 arch/s390/kernel/debug.c rc = PTR_ERR(str); str 1245 arch/s390/kernel/debug.c new_pages = debug_get_uint(str); str 1257 arch/s390/kernel/debug.c kfree(str); str 1286 arch/s390/kernel/debug.c char *str; str 1294 arch/s390/kernel/debug.c str = debug_get_user_string(user_buf, user_len); str 1295 arch/s390/kernel/debug.c if (IS_ERR(str)) { str 1296 arch/s390/kernel/debug.c rc = PTR_ERR(str); str 1299 arch/s390/kernel/debug.c if (str[0] == '-') { str 1304 arch/s390/kernel/debug.c new_level = debug_get_uint(str); str 1307 arch/s390/kernel/debug.c pr_warn("%s is not a valid level for a debug feature\n", str); str 1314 arch/s390/kernel/debug.c kfree(str); str 183 arch/s390/kernel/dumpstack.c void die(struct pt_regs *regs, const char *str) str 193 arch/s390/kernel/dumpstack.c printk("%s: %04x ilc:%d [#%d] ", str, regs->int_code & 0xffff, str 202 arch/s390/kernel/dumpstack.c notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV); str 89 arch/s390/kernel/early.c static inline void strim_all(char *str) str 93 arch/s390/kernel/early.c s = strim(str); str 94 arch/s390/kernel/early.c if (s != str) str 95 arch/s390/kernel/early.c memmove(str, s, strlen(s)); str 96 arch/s390/kernel/early.c while (*str) { str 97 arch/s390/kernel/early.c if (!isspace(*str++)) str 99 arch/s390/kernel/early.c if (isspace(*str)) { str 100 arch/s390/kernel/early.c s = skip_spaces(str); str 101 arch/s390/kernel/early.c memmove(str, s, strlen(s) + 1); str 263 arch/s390/kernel/early.c static int __init disable_vector_extension(char *str) str 271 arch/s390/kernel/early.c static int __init noexec_setup(char *str) str 276 arch/s390/kernel/early.c rc = kstrtobool(str, &enabled); str 286 arch/s390/kernel/early.c static int __init cad_setup(char *str) str 291 arch/s390/kernel/early.c rc = kstrtobool(str, &enabled); str 50 arch/s390/kernel/entry.h void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str); str 63 arch/s390/kernel/entry.h void die(struct pt_regs *regs, const char *str); str 1585 arch/s390/kernel/ipl.c char str[8] = {0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40}; str 1598 arch/s390/kernel/ipl.c if (memcmp(sclp_ipl_info.loadparm, str, sizeof(str)) == 0 && ipl_block_valid) str 1621 arch/s390/kernel/ipl.c static int __init vmcmd_on_reboot_setup(char *str) str 1625 arch/s390/kernel/ipl.c strncpy_skip_quote(vmcmd_on_reboot, str, 127); str 1632 arch/s390/kernel/ipl.c static int __init vmcmd_on_panic_setup(char *str) str 1636 arch/s390/kernel/ipl.c strncpy_skip_quote(vmcmd_on_panic, str, 127); str 1643 arch/s390/kernel/ipl.c static int __init vmcmd_on_halt_setup(char *str) str 1647 arch/s390/kernel/ipl.c strncpy_skip_quote(vmcmd_on_halt, str, 127); str 1654 arch/s390/kernel/ipl.c static int __init vmcmd_on_poff_setup(char *str) str 1658 arch/s390/kernel/ipl.c strncpy_skip_quote(vmcmd_on_poff, str, 127); str 7 arch/s390/kernel/nospec-branch.c static int __init nobp_setup_early(char *str) str 12 arch/s390/kernel/nospec-branch.c rc = kstrtobool(str, &enabled); str 30 arch/s390/kernel/nospec-branch.c static int __init nospec_setup_early(char *str) str 53 arch/s390/kernel/nospec-branch.c static int __init nospectre_v2_setup_early(char *str) str 85 arch/s390/kernel/nospec-branch.c static int __init spectre_v2_setup_early(char *str) str 87 arch/s390/kernel/nospec-branch.c if (str && !strncmp(str, "on", 2)) { str 91 arch/s390/kernel/nospec-branch.c if (str && !strncmp(str, "off", 3)) str 93 arch/s390/kernel/nospec-branch.c if (str && !strncmp(str, "auto", 4)) str 144 arch/s390/kernel/setup.c static int __init condev_setup(char *str) str 148 arch/s390/kernel/setup.c vdev = simple_strtoul(str, &str, 0); str 170 arch/s390/kernel/setup.c static int __init conmode_setup(char *str) str 173 arch/s390/kernel/setup.c if (!strcmp(str, "hwc") || !strcmp(str, "sclp")) str 177 arch/s390/kernel/setup.c if (!strcmp(str, "3215")) str 181 arch/s390/kernel/setup.c if (!strcmp(str, "3270")) str 1061 arch/s390/kernel/setup.c char *str; str 1075 arch/s390/kernel/setup.c str = "signed, verified"; str 1077 arch/s390/kernel/setup.c str = "signed, verification failed"; str 1079 arch/s390/kernel/setup.c str = "not signed"; str 1082 arch/s390/kernel/setup.c ptr->addr, ptr->addr + ptr->len, str); str 384 arch/s390/kernel/sysinfo.c char *query_buffer, *str; str 390 arch/s390/kernel/sysinfo.c str = strchr(query_buffer, '\n'); str 391 arch/s390/kernel/sysinfo.c if (str) str 392 arch/s390/kernel/sysinfo.c *str = 0; str 573 arch/s390/kernel/topology.c static int __init topology_setup(char *str) str 578 arch/s390/kernel/topology.c rc = kstrtobool(str, &enabled); str 45 arch/s390/kernel/traps.c void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str) str 61 arch/s390/kernel/traps.c die(regs, str); str 66 arch/s390/kernel/traps.c static void do_trap(struct pt_regs *regs, int si_signo, int si_code, char *str) str 68 arch/s390/kernel/traps.c if (notify_die(DIE_TRAP, str, regs, 0, str 71 arch/s390/kernel/traps.c do_report_trap(regs, si_signo, si_code, str); str 95 arch/s390/kernel/traps.c #define DO_ERROR_INFO(name, signr, sicode, str) \ str 98 arch/s390/kernel/traps.c do_trap(regs, signr, sicode, str); \ str 100 arch/s390/kernel/vdso.c static int __init vdso_setup(char *str) str 104 arch/s390/kernel/vdso.c if (!kstrtobool(str, &enabled)) str 32 arch/s390/lib/spinlock.c static int __init spin_retry_setup(char *str) str 34 arch/s390/lib/spinlock.c spin_retry = simple_strtoul(str, &str, 0); str 241 arch/s390/mm/cmm.c char *str; str 243 arch/s390/mm/cmm.c for (str = cp; *str == ' ' || *str == '\t'; str++) str 245 arch/s390/mm/cmm.c *endp = str; str 246 arch/s390/mm/cmm.c return str != cp; str 600 arch/s390/mm/fault.c static int __init nopfault(char *str) str 22 arch/s390/mm/page-states.c static int __init cmma(char *str) str 26 arch/s390/mm/page-states.c if (!kstrtobool(str, &enabled)) str 861 arch/s390/pci/pci.c char * __init pcibios_setup(char *str) str 863 arch/s390/pci/pci.c if (!strcmp(str, "off")) { str 867 arch/s390/pci/pci.c if (!strcmp(str, "nomio")) { str 871 arch/s390/pci/pci.c if (!strcmp(str, "force_floating")) { str 875 arch/s390/pci/pci.c return str; str 677 arch/s390/pci/pci_dma.c static int __init s390_iommu_setup(char *str) str 679 arch/s390/pci/pci_dma.c if (!strcmp(str, "strict")) str 25 arch/sh/boards/mach-sdk7786/nmi.c static int __init nmi_mode_setup(char *str) str 27 arch/sh/boards/mach-sdk7786/nmi.c if (!str) str 30 arch/sh/boards/mach-sdk7786/nmi.c if (strcmp(str, "manual") == 0) str 32 arch/sh/boards/mach-sdk7786/nmi.c else if (strcmp(str, "aux") == 0) str 34 arch/sh/boards/mach-sdk7786/nmi.c else if (strcmp(str, "masked") == 0) str 36 arch/sh/boards/mach-sdk7786/nmi.c else if (strcmp(str, "any") == 0) str 40 arch/sh/boards/mach-sdk7786/nmi.c pr_warning("Unknown NMI mode %s\n", str); str 25 arch/sh/drivers/pci/fixups-sdk7786.c char *__init pcibios_setup(char *str) str 27 arch/sh/drivers/pci/fixups-sdk7786.c if (strcmp(str, "slot4en") == 0) { str 32 arch/sh/drivers/pci/fixups-sdk7786.c return str; str 68 arch/sh/drivers/pci/pci-sh7780.c const char *str; str 123 arch/sh/drivers/pci/pci-sh7780.c pci_arbiter_errors[i].str, addr); str 136 arch/sh/drivers/pci/pci-sh7780.c pci_interrupt_errors[i].str, addr); str 117 arch/sh/include/asm/bug.h extern void die(const char *str, struct pt_regs *regs, long err) __attribute__ ((noreturn)); str 118 arch/sh/include/asm/bug.h extern void die_if_kernel(const char *str, struct pt_regs *regs, long err); str 119 arch/sh/include/asm/bug.h extern void die_if_no_fixup(const char *str, struct pt_regs *regs, long err); str 16 arch/sh/include/asm/kdebug.h extern void dump_mem(const char *str, unsigned long bottom, unsigned long top); str 107 arch/sh/include/asm/uaccess.h extern __must_check long strnlen_user(const char __user *str, long n); str 19 arch/sh/kernel/dumpstack.c void dump_mem(const char *str, unsigned long bottom, unsigned long top) str 24 arch/sh/kernel/dumpstack.c printk("%s(0x%08lx to 0x%08lx)\n", str, bottom, top); str 45 arch/sh/kernel/nmi_debug.c static int __init nmi_debug_setup(char *str) str 51 arch/sh/kernel/nmi_debug.c if (*str != '=') str 54 arch/sh/kernel/nmi_debug.c for (p = str + 1; *p; p = sep + 1) { str 23 arch/sh/kernel/traps.c void die(const char *str, struct pt_regs *regs, long err) str 33 arch/sh/kernel/traps.c printk("%s: %04lx [#%d]\n", str, err & 0xffff, ++die_counter); str 44 arch/sh/kernel/traps.c notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV); str 63 arch/sh/kernel/traps.c void die_if_kernel(const char *str, struct pt_regs *regs, long err) str 66 arch/sh/kernel/traps.c die(str, regs, err); str 75 arch/sh/kernel/traps.c void die_if_no_fixup(const char *str, struct pt_regs *regs, long err) str 85 arch/sh/kernel/traps.c die(str, regs, err); str 598 arch/sh/kernel/traps_64.c static void do_unhandled_exception(int signr, char *str, unsigned long error, str 604 arch/sh/kernel/traps_64.c die_if_no_fixup(str, regs, error); str 607 arch/sh/kernel/traps_64.c #define DO_ERROR(signr, str, name) \ str 610 arch/sh/kernel/traps_64.c do_unhandled_exception(signr, str, error_code, regs); \ str 14 arch/sh/mm/consistent.c static int __init memchunk_setup(char *str) str 57 arch/sparc/boot/piggyback.c static void die(const char *str) str 59 arch/sparc/boot/piggyback.c perror(str); str 28 arch/sparc/include/asm/bug.h void __noreturn die_if_kernel(char *str, struct pt_regs *regs); str 115 arch/sparc/include/asm/openprom.h void (*pv_putstr)(char *str, int len); str 127 arch/sparc/include/asm/openprom.h void (*v0_eval)(int len, char *str); str 128 arch/sparc/include/asm/openprom.h void (*v2_eval)(char *str); str 279 arch/sparc/include/asm/uaccess_32.h __must_check long strnlen_user(const char __user *str, long n); str 196 arch/sparc/include/asm/uaccess_64.h __must_check long strnlen_user(const char __user *str, long n); str 47 arch/sparc/kernel/apc.c static int __init apc_setup(char *str) str 49 arch/sparc/kernel/apc.c if(!strncmp(str, "noidle", strlen("noidle"))) { str 68 arch/sparc/kernel/nmi.c static void die_nmi(const char *str, struct pt_regs *regs, int do_panic) str 72 arch/sparc/kernel/nmi.c if (notify_die(DIE_NMIWATCHDOG, str, regs, 0, str 272 arch/sparc/kernel/nmi.c static int __init setup_nmi_watchdog(char *str) str 274 arch/sparc/kernel/nmi.c if (!strncmp(str, "panic", 5)) str 423 arch/sparc/kernel/of_device_32.c static int __init of_debug(char *str) str 427 arch/sparc/kernel/of_device_32.c get_option(&str, &val); str 716 arch/sparc/kernel/of_device_64.c static int __init of_debug(char *str) str 720 arch/sparc/kernel/of_device_64.c get_option(&str, &val); str 171 arch/sparc/kernel/pci.c static int __init ofpci_debug(char *str) str 175 arch/sparc/kernel/pci.c get_option(&str, &val); str 50 arch/sparc/kernel/traps_32.c void __noreturn die_if_kernel(char *str, struct pt_regs *regs) str 62 arch/sparc/kernel/traps_32.c printk("%s(%d): %s [#%d]\n", current->comm, task_pid_nr(current), str, ++die_counter); str 2525 arch/sparc/kernel/traps_64.c void __noreturn die_if_kernel(char *str, struct pt_regs *regs) str 2537 arch/sparc/kernel/traps_64.c printk("%s(%d): %s [#%d]\n", current->comm, task_pid_nr(current), str, ++die_counter); str 2538 arch/sparc/kernel/traps_64.c notify_die(DIE_OOPS, str, regs, 0, 255, SIGSEGV); str 168 arch/sparc/kernel/unaligned_32.c static void unaligned_panic(char *str) str 170 arch/sparc/kernel/unaligned_32.c panic("%s", str); str 192 arch/sparc/kernel/unaligned_64.c static void __used unaligned_panic(char *str, struct pt_regs *regs) str 194 arch/sparc/kernel/unaligned_64.c die_if_kernel(str, regs); str 118 arch/sparc/kernel/vio.c const char *str = "none"; str 121 arch/sparc/kernel/vio.c str = "vnet"; str 123 arch/sparc/kernel/vio.c str = "vdisk"; str 125 arch/sparc/kernel/vio.c return sprintf(buf, "%s\n", str); str 31 arch/um/drivers/chan.h extern int parse_chan_pair(char *str, struct line *line, int device, str 46 arch/um/drivers/chan.h extern int chan_config_string(struct line *line, char *str, int size, str 14 arch/um/drivers/chan_kern.c static void *not_configged_init(char *str, int device, str 338 arch/um/drivers/chan_kern.c static int one_chan_config_string(struct chan *chan, char *str, int size, str 344 arch/um/drivers/chan_kern.c CONFIG_CHUNK(str, size, n, "none", 1); str 348 arch/um/drivers/chan_kern.c CONFIG_CHUNK(str, size, n, chan->ops->type, 0); str 351 arch/um/drivers/chan_kern.c CONFIG_CHUNK(str, size, n, "", 1); str 355 arch/um/drivers/chan_kern.c CONFIG_CHUNK(str, size, n, ":", 0); str 356 arch/um/drivers/chan_kern.c CONFIG_CHUNK(str, size, n, chan->dev, 0); str 362 arch/um/drivers/chan_kern.c char *str, int size, char **error_out) str 366 arch/um/drivers/chan_kern.c n = one_chan_config_string(in, str, size, error_out); str 367 arch/um/drivers/chan_kern.c str += n; str 371 arch/um/drivers/chan_kern.c CONFIG_CHUNK(str, size, n, "", 1); str 375 arch/um/drivers/chan_kern.c CONFIG_CHUNK(str, size, n, ",", 1); str 376 arch/um/drivers/chan_kern.c n = one_chan_config_string(out, str, size, error_out); str 377 arch/um/drivers/chan_kern.c str += n; str 379 arch/um/drivers/chan_kern.c CONFIG_CHUNK(str, size, n, "", 1); str 384 arch/um/drivers/chan_kern.c int chan_config_string(struct line *line, char *str, int size, str 394 arch/um/drivers/chan_kern.c return chan_pair_config_string(in, out, str, size, error_out); str 438 arch/um/drivers/chan_kern.c static struct chan *parse_chan(struct line *line, char *str, int device, str 451 arch/um/drivers/chan_kern.c if (!strncmp(str, entry->key, strlen(entry->key))) { str 453 arch/um/drivers/chan_kern.c str += strlen(entry->key); str 462 arch/um/drivers/chan_kern.c data = (*ops->init)(str, device, opts); str 488 arch/um/drivers/chan_kern.c int parse_chan_pair(char *str, struct line *line, int device, str 501 arch/um/drivers/chan_kern.c if (!str) str 504 arch/um/drivers/chan_kern.c out = strchr(str, ','); str 506 arch/um/drivers/chan_kern.c in = str; str 526 arch/um/drivers/chan_kern.c new = parse_chan(line, str, device, opts, error_out); str 21 arch/um/drivers/cow_sys.h static inline char *cow_strdup(char *str) str 23 arch/um/drivers/cow_sys.h return uml_strdup(str); str 61 arch/um/drivers/daemon_kern.c static int daemon_setup(char *str, char **mac_out, void *data) str 70 arch/um/drivers/daemon_kern.c remain = split_if_spec(str, mac_out, &init->sock_type, &init->ctl_sock, str 19 arch/um/drivers/fd.c char str[sizeof("1234567890\0")]; str 22 arch/um/drivers/fd.c static void *fd_init(char *str, int device, const struct chan_opts *opts) str 28 arch/um/drivers/fd.c if (*str != ':') { str 33 arch/um/drivers/fd.c str++; str 34 arch/um/drivers/fd.c n = strtoul(str, &end, 0); str 35 arch/um/drivers/fd.c if ((*end != '\0') || (end == str)) { str 37 arch/um/drivers/fd.c "'%s'\n", str); str 64 arch/um/drivers/fd.c sprintf(data->str, "%d", data->fd); str 65 arch/um/drivers/fd.c *dev_out = data->str; str 458 arch/um/drivers/line.c int line_config(struct line *lines, unsigned int num, char *str, str 464 arch/um/drivers/line.c if (*str == '=') { str 469 arch/um/drivers/line.c n = simple_strtoul(str, &end, 0); str 482 arch/um/drivers/line.c int line_get_config(char *name, struct line *lines, unsigned int num, char *str, str 503 arch/um/drivers/line.c CONFIG_CHUNK(str, size, n, "none", 1); str 507 arch/um/drivers/line.c CONFIG_CHUNK(str, size, n, line->init_str, 1); str 509 arch/um/drivers/line.c n = chan_config_string(line, str, size, error_out); str 517 arch/um/drivers/line.c int line_id(char **str, int *start_out, int *end_out) str 522 arch/um/drivers/line.c n = simple_strtoul(*str, &end, 0); str 523 arch/um/drivers/line.c if ((*end != '\0') || (end == *str)) str 526 arch/um/drivers/line.c *str = end; str 90 arch/um/drivers/line.h char *str, const struct chan_opts *opts, str 92 arch/um/drivers/line.h extern int line_id(char **str, int *start_out, int *end_out); str 96 arch/um/drivers/line.h unsigned int sizeof_lines, char *str, str 74 arch/um/drivers/mconsole.h extern int mconsole_reply(struct mc_request *req, const char *str, int err, str 282 arch/um/drivers/mconsole_kern.c static int mem_config(char *str, char **error_out) str 288 arch/um/drivers/mconsole_kern.c if (str[0] != '=') { str 293 arch/um/drivers/mconsole_kern.c str++; str 294 arch/um/drivers/mconsole_kern.c if (str[0] == '-') str 296 arch/um/drivers/mconsole_kern.c else if (str[0] == '+') { str 304 arch/um/drivers/mconsole_kern.c str++; str 305 arch/um/drivers/mconsole_kern.c diff = memparse(str, &ret); str 375 arch/um/drivers/mconsole_kern.c static int mem_get_config(char *name, char *str, int size, char **error_out) str 381 arch/um/drivers/mconsole_kern.c CONFIG_CHUNK(str, size, len, buf, 1); str 386 arch/um/drivers/mconsole_kern.c static int mem_id(char **str, int *start_out, int *end_out) str 792 arch/um/drivers/mconsole_kern.c static int mconsole_setup(char *str) str 794 arch/um/drivers/mconsole_kern.c if (!strncmp(str, NOTIFY, strlen(NOTIFY))) { str 795 arch/um/drivers/mconsole_kern.c str += strlen(NOTIFY); str 796 arch/um/drivers/mconsole_kern.c notify_socket = str; str 798 arch/um/drivers/mconsole_kern.c else printk(KERN_ERR "mconsole_setup : Unknown option - '%s'\n", str); str 27 arch/um/drivers/mconsole_kern.h #define CONFIG_CHUNK(str, size, current, chunk, end) \ str 31 arch/um/drivers/mconsole_kern.h str = NULL; \ str 32 arch/um/drivers/mconsole_kern.h if(str != NULL){ \ str 33 arch/um/drivers/mconsole_kern.h strcpy(str, chunk); \ str 34 arch/um/drivers/mconsole_kern.h str += strlen(chunk); \ str 126 arch/um/drivers/mconsole_user.c int mconsole_reply_len(struct mc_request *req, const char *str, int total, str 148 arch/um/drivers/mconsole_user.c memcpy(reply.data, str, len); str 151 arch/um/drivers/mconsole_user.c str += len; str 165 arch/um/drivers/mconsole_user.c int mconsole_reply(struct mc_request *req, const char *str, int err, int more) str 167 arch/um/drivers/mconsole_user.c return mconsole_reply_len(req, str, strlen(str), err, more); str 289 arch/um/drivers/net_kern.c void uml_net_setup_etheraddr(struct net_device *dev, char *str) str 295 arch/um/drivers/net_kern.c if (str == NULL) str 299 arch/um/drivers/net_kern.c addr[i] = simple_strtoul(str, &end, 16); str 300 arch/um/drivers/net_kern.c if ((end == str) || str 304 arch/um/drivers/net_kern.c "as an ethernet address\n", str); str 307 arch/um/drivers/net_kern.c str = end + 1; str 518 arch/um/drivers/net_kern.c static int eth_parse(char *str, int *index_out, char **str_out, str 524 arch/um/drivers/net_kern.c n = simple_strtoul(str, &end, 0); str 525 arch/um/drivers/net_kern.c if (end == str) { str 530 arch/um/drivers/net_kern.c str = end; str 531 arch/um/drivers/net_kern.c if (*str != '=') { str 536 arch/um/drivers/net_kern.c str++; str 543 arch/um/drivers/net_kern.c *str_out = str; str 612 arch/um/drivers/net_kern.c static int eth_setup_common(char *str, int index) str 623 arch/um/drivers/net_kern.c if (!check_transport(transport, str, index, &init, str 638 arch/um/drivers/net_kern.c static int __init eth_setup(char *str) str 644 arch/um/drivers/net_kern.c err = eth_parse(str, &n, &str, &error); str 647 arch/um/drivers/net_kern.c str, error); str 658 arch/um/drivers/net_kern.c new->init = str; str 670 arch/um/drivers/net_kern.c static int net_config(char *str, char **error_out) str 674 arch/um/drivers/net_kern.c err = eth_parse(str, &n, &str, error_out); str 681 arch/um/drivers/net_kern.c str = kstrdup(str, GFP_KERNEL); str 682 arch/um/drivers/net_kern.c if (str == NULL) { str 686 arch/um/drivers/net_kern.c err = !eth_setup_common(str, n); str 688 arch/um/drivers/net_kern.c kfree(str); str 692 arch/um/drivers/net_kern.c static int net_id(char **str, int *start_out, int *end_out) str 697 arch/um/drivers/net_kern.c n = simple_strtoul(*str, &end, 0); str 698 arch/um/drivers/net_kern.c if ((*end != '\0') || (end == *str)) str 703 arch/um/drivers/net_kern.c *str = end; str 886 arch/um/drivers/net_kern.c int tap_setup_common(char *str, char *type, char **dev_name, char **mac_out, str 891 arch/um/drivers/net_kern.c remain = split_if_spec(str, dev_name, mac_out, gate_addr, NULL); str 54 arch/um/drivers/net_user.c char *str; str 68 arch/um/drivers/net_user.c str = "length"; str 78 arch/um/drivers/net_user.c str = "data"; str 89 arch/um/drivers/net_user.c "errno = %d\n", str, -ret); str 92 arch/um/drivers/net_user.c "%d of %d bytes\n", str, ret, expected); str 250 arch/um/drivers/net_user.c char *split_if_spec(char *str, ...) str 255 arch/um/drivers/net_user.c va_start(ap, str); str 257 arch/um/drivers/net_user.c if (*str == '\0') str 259 arch/um/drivers/net_user.c end = strchr(str, ','); str 260 arch/um/drivers/net_user.c if (end != str) str 261 arch/um/drivers/net_user.c *arg = str; str 265 arch/um/drivers/net_user.c str = end; str 267 arch/um/drivers/net_user.c ret = str; str 15 arch/um/drivers/null.c static void *null_init(char *str, int device, const struct chan_opts *opts) str 53 arch/um/drivers/pcap_kern.c int pcap_setup(char *str, char **mac_out, void *data) str 65 arch/um/drivers/pcap_kern.c remain = split_if_spec(str, &host_if, &init->filter, str 24 arch/um/drivers/port_user.c static void *port_init(char *str, int device, const struct chan_opts *opts) str 31 arch/um/drivers/port_user.c if (*str != ':') { str 36 arch/um/drivers/port_user.c str++; str 37 arch/um/drivers/port_user.c port = strtoul(str, &end, 0); str 38 arch/um/drivers/port_user.c if ((*end != '\0') || (end == str)) { str 40 arch/um/drivers/port_user.c str); str 26 arch/um/drivers/pty.c static void *pty_chan_init(char *str, int device, const struct chan_opts *opts) str 66 arch/um/drivers/slip_kern.c static int slip_setup(char *str, char **mac_out, void *data) str 72 arch/um/drivers/slip_kern.c if (str[0] != '\0') str 73 arch/um/drivers/slip_kern.c init->gate_addr = str; str 71 arch/um/drivers/slirp_kern.c static int slirp_setup(char *str, char **mac_out, void *data) str 78 arch/um/drivers/slirp_kern.c str = split_if_spec(str, mac_out, NULL); str 80 arch/um/drivers/slirp_kern.c if (str == NULL) /* no command line given after MAC addr */ str 89 arch/um/drivers/slirp_kern.c init->argw.argv[i++] = str; str 90 arch/um/drivers/slirp_kern.c while(*str && *str!=',') { str 91 arch/um/drivers/slirp_kern.c if (*str == '_') str 92 arch/um/drivers/slirp_kern.c *str=' '; str 93 arch/um/drivers/slirp_kern.c str++; str 95 arch/um/drivers/slirp_kern.c if (*str != ',') str 97 arch/um/drivers/slirp_kern.c *str++ = '\0'; str 37 arch/um/drivers/ssl.c static int ssl_config(char *str, char **error_out); str 38 arch/um/drivers/ssl.c static int ssl_get_config(char *dev, char *str, int size, char **error_out); str 71 arch/um/drivers/ssl.c static int ssl_config(char *str, char **error_out) str 73 arch/um/drivers/ssl.c return line_config(serial_lines, ARRAY_SIZE(serial_lines), str, &opts, str 77 arch/um/drivers/ssl.c static int ssl_get_config(char *dev, char *str, int size, char **error_out) str 79 arch/um/drivers/ssl.c return line_get_config(dev, serial_lines, ARRAY_SIZE(serial_lines), str, str 191 arch/um/drivers/ssl.c static int ssl_chan_setup(char *str) str 193 arch/um/drivers/ssl.c line_setup(conf, NR_PORTS, &def_conf, str, "serial line"); str 39 arch/um/drivers/stderr_console.c static int stderr_setup(char *str) str 41 arch/um/drivers/stderr_console.c if (!str) str 43 arch/um/drivers/stderr_console.c use_stderr_console = simple_strtoul(str,&str,0); str 43 arch/um/drivers/stdio_console.c static int con_config(char *str, char **error_out); str 44 arch/um/drivers/stdio_console.c static int con_get_config(char *dev, char *str, int size, char **error_out); str 77 arch/um/drivers/stdio_console.c static int con_config(char *str, char **error_out) str 79 arch/um/drivers/stdio_console.c return line_config(vts, ARRAY_SIZE(vts), str, &opts, error_out); str 82 arch/um/drivers/stdio_console.c static int con_get_config(char *dev, char *str, int size, char **error_out) str 84 arch/um/drivers/stdio_console.c return line_get_config(dev, vts, ARRAY_SIZE(vts), str, size, error_out); str 193 arch/um/drivers/stdio_console.c static int console_chan_setup(char *str) str 195 arch/um/drivers/stdio_console.c if (!strncmp(str, "sole=", 5)) /* console= option specifies tty */ str 198 arch/um/drivers/stdio_console.c line_setup(vt_conf, MAX_TTYS, &def_conf, str, "console"); str 19 arch/um/drivers/tty.c static void *tty_chan_init(char *str, int device, const struct chan_opts *opts) str 23 arch/um/drivers/tty.c if (*str != ':') { str 28 arch/um/drivers/tty.c str++; str 33 arch/um/drivers/tty.c *data = ((struct tty_chan) { .dev = str, str 227 arch/um/drivers/ubd_kern.c static int fake_ide_setup(char *str) str 242 arch/um/drivers/ubd_kern.c char *str = *ptr, *end; str 245 arch/um/drivers/ubd_kern.c if(isdigit(*str)) { str 246 arch/um/drivers/ubd_kern.c n = simple_strtoul(str, &end, 0); str 247 arch/um/drivers/ubd_kern.c if(end == str) str 251 arch/um/drivers/ubd_kern.c else if (('a' <= *str) && (*str <= 'z')) { str 252 arch/um/drivers/ubd_kern.c n = *str - 'a'; str 253 arch/um/drivers/ubd_kern.c str++; str 254 arch/um/drivers/ubd_kern.c *ptr = str; str 263 arch/um/drivers/ubd_kern.c static int ubd_setup_common(char *str, int *index_out, char **error_out) str 271 arch/um/drivers/ubd_kern.c n = *str; str 276 arch/um/drivers/ubd_kern.c str++; str 277 arch/um/drivers/ubd_kern.c if(!strcmp(str, "sync")){ str 283 arch/um/drivers/ubd_kern.c major = simple_strtoul(str, &end, 0); str 284 arch/um/drivers/ubd_kern.c if((*end != '\0') || (end == str)){ str 305 arch/um/drivers/ubd_kern.c n = parse_unit(&str); str 329 arch/um/drivers/ubd_kern.c switch (*str) { str 346 arch/um/drivers/ubd_kern.c str++; str 353 arch/um/drivers/ubd_kern.c str++; str 356 arch/um/drivers/ubd_kern.c if (*str == '=') str 363 arch/um/drivers/ubd_kern.c backing_file = strchr(str, ','); str 366 arch/um/drivers/ubd_kern.c backing_file = strchr(str, ':'); str 379 arch/um/drivers/ubd_kern.c ubd_dev->file = str; str 387 arch/um/drivers/ubd_kern.c static int ubd_setup(char *str) str 392 arch/um/drivers/ubd_kern.c err = ubd_setup_common(str, NULL, &error); str 395 arch/um/drivers/ubd_kern.c "%s\n", str, error); str 426 arch/um/drivers/ubd_kern.c static int udb_setup(char *str) str 429 arch/um/drivers/ubd_kern.c "udb TYPO\n", str); str 976 arch/um/drivers/ubd_kern.c static int ubd_config(char *str, char **error_out) str 984 arch/um/drivers/ubd_kern.c str = kstrdup(str, GFP_KERNEL); str 985 arch/um/drivers/ubd_kern.c if (str == NULL) { str 990 arch/um/drivers/ubd_kern.c ret = ubd_setup_common(str, &n, error_out); str 1009 arch/um/drivers/ubd_kern.c kfree(str); str 1013 arch/um/drivers/ubd_kern.c static int ubd_get_config(char *name, char *str, int size, char **error_out) str 1028 arch/um/drivers/ubd_kern.c CONFIG_CHUNK(str, size, len, "", 1); str 1032 arch/um/drivers/ubd_kern.c CONFIG_CHUNK(str, size, len, ubd_dev->file, 0); str 1035 arch/um/drivers/ubd_kern.c CONFIG_CHUNK(str, size, len, ",", 0); str 1036 arch/um/drivers/ubd_kern.c CONFIG_CHUNK(str, size, len, ubd_dev->cow.file, 1); str 1038 arch/um/drivers/ubd_kern.c else CONFIG_CHUNK(str, size, len, "", 1); str 1045 arch/um/drivers/ubd_kern.c static int ubd_id(char **str, int *start_out, int *end_out) str 1049 arch/um/drivers/ubd_kern.c n = parse_unit(str); str 70 arch/um/drivers/umcast_kern.c static int mcast_setup(char *str, char **mac_out, void *data) str 81 arch/um/drivers/umcast_kern.c remain = split_if_spec(str, mac_out, &init->addr, &port_str, &ttl_str, str 116 arch/um/drivers/umcast_kern.c static int ucast_setup(char *str, char **mac_out, void *data) str 127 arch/um/drivers/umcast_kern.c remain = split_if_spec(str, mac_out, &init->addr, str 70 arch/um/drivers/vde_kern.c static int vde_setup(char *str, char **mac_out, void *data) str 82 arch/um/drivers/vde_kern.c remain = split_if_spec(str, &init->vde_switch, mac_out, &port_str, str 691 arch/um/drivers/vector_kern.c static int vector_parse(char *str, int *index_out, char **str_out, str 695 arch/um/drivers/vector_kern.c char *start = str; str 697 arch/um/drivers/vector_kern.c len = strlen(str); str 699 arch/um/drivers/vector_kern.c while ((*str != ':') && (strlen(str) > 1)) str 700 arch/um/drivers/vector_kern.c str++; str 701 arch/um/drivers/vector_kern.c if (*str != ':') { str 705 arch/um/drivers/vector_kern.c *str = '\0'; str 713 arch/um/drivers/vector_kern.c str++; str 720 arch/um/drivers/vector_kern.c *str_out = str; str 724 arch/um/drivers/vector_kern.c static int vector_config(char *str, char **error_out) str 730 arch/um/drivers/vector_kern.c err = vector_parse(str, &n, ¶ms, error_out); str 756 arch/um/drivers/vector_kern.c static int vector_id(char **str, int *start_out, int *end_out) str 761 arch/um/drivers/vector_kern.c n = simple_strtoul(*str, &end, 0); str 762 arch/um/drivers/vector_kern.c if ((*end != '\0') || (end == *str)) str 767 arch/um/drivers/vector_kern.c *str = end; str 1596 arch/um/drivers/vector_kern.c static int __init vector_setup(char *str) str 1602 arch/um/drivers/vector_kern.c err = vector_parse(str, &n, &str, &error); str 1605 arch/um/drivers/vector_kern.c str, error); str 1614 arch/um/drivers/vector_kern.c new->arguments = str; str 27 arch/um/drivers/xterm.c static void *xterm_init(char *str, int device, const struct chan_opts *opts) str 27 arch/um/include/asm/uaccess.h extern long __strnlen_user(const void __user *str, long len); str 63 arch/um/include/shared/init.h const char *str; str 86 arch/um/include/shared/init.h #define __uml_setup(str, fn, help...) \ str 87 arch/um/include/shared/init.h __non_empty_string(fn ##_setup, str); \ str 89 arch/um/include/shared/init.h static char __uml_setup_str_##fn[] __initdata = str; \ str 92 arch/um/include/shared/init.h #define __uml_setup(str, fn, help...) \ str 64 arch/um/include/shared/net_kern.h extern int tap_setup_common(char *str, char *type, char **dev_name, str 68 arch/um/include/shared/net_kern.h extern void uml_net_setup_etheraddr(struct net_device *dev, char *str); str 49 arch/um/include/shared/net_user.h extern char *split_if_spec(char *str, ...); str 50 arch/um/include/shared/user.h extern int in_aton(char *str); str 164 arch/um/kernel/physmem.c extern int __init parse_iomem(char *str, int *add); str 222 arch/um/kernel/skas/uaccess.c static int strnlen_chunk(unsigned long str, int len, void *arg) str 226 arch/um/kernel/skas/uaccess.c n = strnlen((void *) str, len); str 234 arch/um/kernel/skas/uaccess.c long __strnlen_user(const void __user *str, long len) str 239 arch/um/kernel/skas/uaccess.c return strnlen((__force char*)str, len) + 1; str 241 arch/um/kernel/skas/uaccess.c n = buffer_op((unsigned long) str, len, 0, strnlen_chunk, &count); str 212 arch/um/kernel/time.c int setup_time_travel(char *str) str 214 arch/um/kernel/time.c if (strcmp(str, "=inf-cpu") == 0) { str 221 arch/um/kernel/time.c if (!*str) { str 247 arch/um/kernel/time.c int setup_time_travel_start(char *str) str 251 arch/um/kernel/time.c err = kstrtoull(str, 0, &time_travel_start); str 192 arch/um/kernel/um_arch.c n = strlen(p->str); str 193 arch/um/kernel/um_arch.c if (!strncmp(line, p->str, n) && p->setup_func(line + n, add)) str 66 arch/um/os-Linux/drivers/ethertap_kern.c int ethertap_setup(char *str, char **mac_out, void *data) str 73 arch/um/os-Linux/drivers/ethertap_kern.c if (tap_setup_common(str, "ethertap", &init->dev_name, mac_out, str 56 arch/um/os-Linux/drivers/tuntap_kern.c int tuntap_setup(char *str, char **mac_out, void *data) str 63 arch/um/os-Linux/drivers/tuntap_kern.c if (tap_setup_common(str, "tuntap", &init->dev_name, mac_out, str 67 arch/um/os-Linux/start_up.c static void fatal_perror(const char *str) str 69 arch/um/os-Linux/start_up.c perror(str); str 149 arch/um/os-Linux/start_up.c static int __init nosysemu_cmd_param(char *str, int* add) str 344 arch/um/os-Linux/start_up.c int __init parse_iomem(char *str, int *add) str 351 arch/um/os-Linux/start_up.c driver = str; str 352 arch/um/os-Linux/start_up.c file = strchr(str,','); str 119 arch/um/os-Linux/user_syms.c extern int __sprintf_chk(char *str, int flag, size_t strlen, const char *format); str 159 arch/um/os-Linux/util.c static int __init quiet_cmd_param(char *str, int *add) str 16 arch/unicore32/include/asm/bug.h extern void uc32_notify_die(const char *str, struct pt_regs *regs, str 298 arch/unicore32/kernel/pci.c char * __init pcibios_setup(char *str) str 300 arch/unicore32/kernel/pci.c if (!strcmp(str, "debug")) { str 304 arch/unicore32/kernel/pci.c return str; str 64 arch/unicore32/kernel/traps.c static void dump_mem(const char *lvl, const char *str, unsigned long bottom, str 80 arch/unicore32/kernel/traps.c lvl, str, bottom, top); str 84 arch/unicore32/kernel/traps.c char str[sizeof(" 12345678") * 8 + 1]; str 86 arch/unicore32/kernel/traps.c memset(str, ' ', sizeof(str)); str 87 arch/unicore32/kernel/traps.c str[sizeof(str) - 1] = '\0'; str 93 arch/unicore32/kernel/traps.c sprintf(str + i * 9, " %08lx", val); str 95 arch/unicore32/kernel/traps.c sprintf(str + i * 9, " ????????"); str 98 arch/unicore32/kernel/traps.c printk(KERN_DEFAULT "%s%04lx:%s\n", lvl, first & 0xffff, str); str 109 arch/unicore32/kernel/traps.c char str[sizeof("00000000 ") * 5 + 2 + 1], *p = str; str 133 arch/unicore32/kernel/traps.c printk(KERN_DEFAULT "%sCode: %s\n", lvl, str); str 179 arch/unicore32/kernel/traps.c static int __die(const char *str, int err, struct thread_info *thread, str 187 arch/unicore32/kernel/traps.c str, err, ++die_counter); str 190 arch/unicore32/kernel/traps.c ret = notify_die(DIE_OOPS, str, regs, err, tsk->thread.trap_no, \ str 215 arch/unicore32/kernel/traps.c void die(const char *str, struct pt_regs *regs, int err) str 225 arch/unicore32/kernel/traps.c ret = __die(str, err, thread, regs); str 240 arch/unicore32/kernel/traps.c void uc32_notify_die(const char *str, struct pt_regs *regs, str 250 arch/unicore32/kernel/traps.c die(str, regs, err); str 44 arch/x86/boot/compressed/eboot.c void efi_char16_printk(efi_system_table_t *table, efi_char16_t *str) str 47 arch/x86/boot/compressed/eboot.c efi_early->text_output, str); str 126 arch/x86/boot/compressed/kaslr.c char *skip_spaces(const char *str) str 128 arch/x86/boot/compressed/kaslr.c while (isspace(*str)) str 129 arch/x86/boot/compressed/kaslr.c ++str; str 130 arch/x86/boot/compressed/kaslr.c return (char *)str; str 175 arch/x86/boot/compressed/kaslr.c static void mem_avoid_memmap(char *str) str 182 arch/x86/boot/compressed/kaslr.c while (str && (i < MAX_MEMMAP_REGIONS)) { str 185 arch/x86/boot/compressed/kaslr.c char *k = strchr(str, ','); str 190 arch/x86/boot/compressed/kaslr.c rc = parse_memmap(str, &start, &size); str 193 arch/x86/boot/compressed/kaslr.c str = k; str 209 arch/x86/boot/compressed/kaslr.c if ((i >= MAX_MEMMAP_REGIONS) && str) str 114 arch/x86/boot/compressed/misc.c const char *str = s; str 115 arch/x86/boot/compressed/misc.c while (*str) { str 116 arch/x86/boot/compressed/misc.c if (*str == '\n') str 118 arch/x86/boot/compressed/misc.c serial_putchar(*str++); str 23 arch/x86/boot/mkcpustr.c const char *str; str 29 arch/x86/boot/mkcpustr.c str = x86_cap_flags[i*32+j]; str 35 arch/x86/boot/mkcpustr.c if (!str) str 36 arch/x86/boot/mkcpustr.c str = ""; str 38 arch/x86/boot/mkcpustr.c i, j, str); str 39 arch/x86/boot/mkcpustr.c } else if (str) { str 43 arch/x86/boot/mkcpustr.c i, j, i, j, str); str 41 arch/x86/boot/printf.c static char *number(char *str, long num, int base, int size, int precision, str 90 arch/x86/boot/printf.c *str++ = ' '; str 92 arch/x86/boot/printf.c *str++ = sign; str 95 arch/x86/boot/printf.c *str++ = '0'; str 97 arch/x86/boot/printf.c *str++ = '0'; str 98 arch/x86/boot/printf.c *str++ = ('X' | locase); str 103 arch/x86/boot/printf.c *str++ = c; str 105 arch/x86/boot/printf.c *str++ = '0'; str 107 arch/x86/boot/printf.c *str++ = tmp[i]; str 109 arch/x86/boot/printf.c *str++ = ' '; str 110 arch/x86/boot/printf.c return str; str 118 arch/x86/boot/printf.c char *str; str 128 arch/x86/boot/printf.c for (str = buf; *fmt; ++fmt) { str 130 arch/x86/boot/printf.c *str++ = *fmt; str 199 arch/x86/boot/printf.c *str++ = ' '; str 200 arch/x86/boot/printf.c *str++ = (unsigned char)va_arg(args, int); str 202 arch/x86/boot/printf.c *str++ = ' '; str 211 arch/x86/boot/printf.c *str++ = ' '; str 213 arch/x86/boot/printf.c *str++ = *s++; str 215 arch/x86/boot/printf.c *str++ = ' '; str 223 arch/x86/boot/printf.c str = number(str, str 231 arch/x86/boot/printf.c *ip = (str - buf); str 234 arch/x86/boot/printf.c *ip = (str - buf); str 239 arch/x86/boot/printf.c *str++ = '%'; str 260 arch/x86/boot/printf.c *str++ = '%'; str 262 arch/x86/boot/printf.c *str++ = *fmt; str 277 arch/x86/boot/printf.c str = number(str, num, base, field_width, precision, flags); str 279 arch/x86/boot/printf.c *str = '\0'; str 280 arch/x86/boot/printf.c return str - buf; str 130 arch/x86/boot/tools/build.c static void die(const char * str, ...) str 133 arch/x86/boot/tools/build.c va_start(args, str); str 134 arch/x86/boot/tools/build.c vfprintf(stderr, str, args); str 61 arch/x86/boot/tty.c void __attribute__((section(".inittext"))) puts(const char *str) str 63 arch/x86/boot/tty.c while (*str) str 64 arch/x86/boot/tty.c putchar(*str++); str 54 arch/x86/entry/vsyscall/vsyscall_64.c static int __init vsyscall_setup(char *str) str 56 arch/x86/entry/vsyscall/vsyscall_64.c if (str) { str 57 arch/x86/entry/vsyscall/vsyscall_64.c if (!strcmp("emulate", str)) str 59 arch/x86/entry/vsyscall/vsyscall_64.c else if (!strcmp("xonly", str)) str 61 arch/x86/entry/vsyscall/vsyscall_64.c else if (!strcmp("none", str)) str 107 arch/x86/events/intel/rapl.c #define RAPL_EVENT_ATTR_STR(_name, v, str) \ str 111 arch/x86/events/intel/rapl.c .event_str = str, \ str 751 arch/x86/events/perf_event.h #define EVENT_ATTR_STR(_name, v, str) \ str 755 arch/x86/events/perf_event.h .event_str = str, \ str 89 arch/x86/include/asm/kgdb.h extern int kgdb_ll_trap(int cmd, const char *str, str 73 arch/x86/include/asm/mpspec.h extern void default_mpc_oem_bus_info(struct mpc_bus *m, char *str); str 582 arch/x86/include/asm/uaccess.h extern __must_check long strnlen_user(const char __user *str, long n); str 110 arch/x86/include/asm/uv/uv_mmrs.h extern unsigned long uv_undefined(char *str); str 368 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_console_io(int cmd, int count, char *str) str 370 arch/x86/include/asm/xen/hypercall.h return _hypercall3(int, console_io, cmd, count, str); str 121 arch/x86/kernel/acpi/sleep.c static int __init acpi_sleep_setup(char *str) str 123 arch/x86/kernel/acpi/sleep.c while ((str != NULL) && (*str != '\0')) { str 124 arch/x86/kernel/acpi/sleep.c if (strncmp(str, "s3_bios", 7) == 0) str 126 arch/x86/kernel/acpi/sleep.c if (strncmp(str, "s3_mode", 7) == 0) str 128 arch/x86/kernel/acpi/sleep.c if (strncmp(str, "s3_beep", 7) == 0) str 131 arch/x86/kernel/acpi/sleep.c if (strncmp(str, "s4_nohwsig", 10) == 0) str 134 arch/x86/kernel/acpi/sleep.c if (strncmp(str, "nonvs", 5) == 0) str 136 arch/x86/kernel/acpi/sleep.c if (strncmp(str, "nonvs_s3", 8) == 0) str 138 arch/x86/kernel/acpi/sleep.c if (strncmp(str, "old_ordering", 12) == 0) str 140 arch/x86/kernel/acpi/sleep.c if (strncmp(str, "nobl", 4) == 0) str 142 arch/x86/kernel/acpi/sleep.c str = strchr(str, ','); str 143 arch/x86/kernel/acpi/sleep.c if (str != NULL) str 144 arch/x86/kernel/acpi/sleep.c str += strspn(str, ", \t"); str 37 arch/x86/kernel/alternative.c static int __init debug_alt(char *str) str 46 arch/x86/kernel/alternative.c static int __init setup_noreplace_smp(char *str) str 1821 arch/x86/kernel/apic/apic.c static int __init setup_nox2apic(char *str) str 206 arch/x86/kernel/apic/io_apic.c static int __init parse_noapic(char *str) str 611 arch/x86/kernel/apic/io_apic.c static int __init ioapic_pirq_setup(char *str) str 616 arch/x86/kernel/apic/io_apic.c get_options(str, ARRAY_SIZE(ints), ints); str 13 arch/x86/kernel/apic/ipi.c static __init int apic_ipi_shorthand(char *str) str 15 arch/x86/kernel/apic/ipi.c get_option(&str, &apic_ipi_shorthand_off); str 56 arch/x86/kernel/apic/x2apic_uv_x.c unsigned long uv_undefined(char *str) str 59 arch/x86/kernel/apic/x2apic_uv_x.c panic("UV: error: undefined MMR: %s\n", str); str 61 arch/x86/kernel/apic/x2apic_uv_x.c pr_crit("UV: error: undefined MMR: %s\n", str); str 495 arch/x86/kernel/apm_32.c static void apm_error(char *str, int err) str 503 arch/x86/kernel/apm_32.c pr_notice("%s: %s\n", str, error_table[i].msg); str 505 arch/x86/kernel/apm_32.c pr_notice("%s: linux error code %i\n", str, err); str 508 arch/x86/kernel/apm_32.c str, err); str 1855 arch/x86/kernel/apm_32.c static int __init apm_setup(char *str) str 1859 arch/x86/kernel/apm_32.c while ((str != NULL) && (*str != '\0')) { str 1860 arch/x86/kernel/apm_32.c if (strncmp(str, "off", 3) == 0) str 1862 arch/x86/kernel/apm_32.c if (strncmp(str, "on", 2) == 0) str 1864 arch/x86/kernel/apm_32.c if ((strncmp(str, "bounce-interval=", 16) == 0) || str 1865 arch/x86/kernel/apm_32.c (strncmp(str, "bounce_interval=", 16) == 0)) str 1866 arch/x86/kernel/apm_32.c bounce_interval = simple_strtol(str + 16, NULL, 0); str 1867 arch/x86/kernel/apm_32.c if ((strncmp(str, "idle-threshold=", 15) == 0) || str 1868 arch/x86/kernel/apm_32.c (strncmp(str, "idle_threshold=", 15) == 0)) str 1869 arch/x86/kernel/apm_32.c idle_threshold = simple_strtol(str + 15, NULL, 0); str 1870 arch/x86/kernel/apm_32.c if ((strncmp(str, "idle-period=", 12) == 0) || str 1871 arch/x86/kernel/apm_32.c (strncmp(str, "idle_period=", 12) == 0)) str 1872 arch/x86/kernel/apm_32.c idle_period = simple_strtol(str + 12, NULL, 0); str 1873 arch/x86/kernel/apm_32.c invert = (strncmp(str, "no-", 3) == 0) || str 1874 arch/x86/kernel/apm_32.c (strncmp(str, "no_", 3) == 0); str 1876 arch/x86/kernel/apm_32.c str += 3; str 1877 arch/x86/kernel/apm_32.c if (strncmp(str, "debug", 5) == 0) str 1879 arch/x86/kernel/apm_32.c if ((strncmp(str, "power-off", 9) == 0) || str 1880 arch/x86/kernel/apm_32.c (strncmp(str, "power_off", 9) == 0)) str 1882 arch/x86/kernel/apm_32.c if (strncmp(str, "smp", 3) == 0) { str 1886 arch/x86/kernel/apm_32.c if ((strncmp(str, "allow-ints", 10) == 0) || str 1887 arch/x86/kernel/apm_32.c (strncmp(str, "allow_ints", 10) == 0)) str 1889 arch/x86/kernel/apm_32.c if ((strncmp(str, "broken-psr", 10) == 0) || str 1890 arch/x86/kernel/apm_32.c (strncmp(str, "broken_psr", 10) == 0)) str 1892 arch/x86/kernel/apm_32.c if ((strncmp(str, "realmode-power-off", 18) == 0) || str 1893 arch/x86/kernel/apm_32.c (strncmp(str, "realmode_power_off", 18) == 0)) str 1895 arch/x86/kernel/apm_32.c str = strchr(str, ','); str 1896 arch/x86/kernel/apm_32.c if (str != NULL) str 1897 arch/x86/kernel/apm_32.c str += strspn(str, ", \t"); str 811 arch/x86/kernel/cpu/amd.c static int __init rdrand_cmdline(char *str) str 813 arch/x86/kernel/cpu/amd.c if (!str) str 816 arch/x86/kernel/cpu/amd.c if (!strcmp(str, "force")) str 267 arch/x86/kernel/cpu/bugs.c static int __init mds_cmdline(char *str) str 272 arch/x86/kernel/cpu/bugs.c if (!str) str 275 arch/x86/kernel/cpu/bugs.c if (!strcmp(str, "off")) str 277 arch/x86/kernel/cpu/bugs.c else if (!strcmp(str, "full")) str 279 arch/x86/kernel/cpu/bugs.c else if (!strcmp(str, "full,nosmt")) { str 374 arch/x86/kernel/cpu/bugs.c static int __init tsx_async_abort_parse_cmdline(char *str) str 379 arch/x86/kernel/cpu/bugs.c if (!str) str 382 arch/x86/kernel/cpu/bugs.c if (!strcmp(str, "off")) { str 384 arch/x86/kernel/cpu/bugs.c } else if (!strcmp(str, "full")) { str 386 arch/x86/kernel/cpu/bugs.c } else if (!strcmp(str, "full,nosmt")) { str 473 arch/x86/kernel/cpu/bugs.c static int __init srbds_parse_cmdline(char *str) str 475 arch/x86/kernel/cpu/bugs.c if (!str) str 481 arch/x86/kernel/cpu/bugs.c srbds_off = !strcmp(str, "off"); str 571 arch/x86/kernel/cpu/bugs.c static int __init nospectre_v1_cmdline(char *str) str 1491 arch/x86/kernel/cpu/bugs.c static int __init l1tf_cmdline(char *str) str 1496 arch/x86/kernel/cpu/bugs.c if (!str) str 1499 arch/x86/kernel/cpu/bugs.c if (!strcmp(str, "off")) str 1501 arch/x86/kernel/cpu/bugs.c else if (!strcmp(str, "flush,nowarn")) str 1503 arch/x86/kernel/cpu/bugs.c else if (!strcmp(str, "flush")) str 1505 arch/x86/kernel/cpu/bugs.c else if (!strcmp(str, "flush,nosmt")) str 1507 arch/x86/kernel/cpu/bugs.c else if (!strcmp(str, "full")) str 1509 arch/x86/kernel/cpu/bugs.c else if (!strcmp(str, "full,force")) str 222 arch/x86/kernel/cpu/common.c static int __init cachesize_setup(char *str) str 224 arch/x86/kernel/cpu/common.c get_option(&str, &cachesize_override); str 1948 arch/x86/kernel/cpu/mce/core.c static int __init mcheck_enable(char *str) str 1952 arch/x86/kernel/cpu/mce/core.c if (*str == 0) { str 1956 arch/x86/kernel/cpu/mce/core.c if (*str == '=') str 1957 arch/x86/kernel/cpu/mce/core.c str++; str 1958 arch/x86/kernel/cpu/mce/core.c if (!strcmp(str, "off")) str 1960 arch/x86/kernel/cpu/mce/core.c else if (!strcmp(str, "no_cmci")) str 1962 arch/x86/kernel/cpu/mce/core.c else if (!strcmp(str, "no_lmce")) str 1964 arch/x86/kernel/cpu/mce/core.c else if (!strcmp(str, "dont_log_ce")) str 1966 arch/x86/kernel/cpu/mce/core.c else if (!strcmp(str, "ignore_ce")) str 1968 arch/x86/kernel/cpu/mce/core.c else if (!strcmp(str, "bootlog") || !strcmp(str, "nobootlog")) str 1969 arch/x86/kernel/cpu/mce/core.c cfg->bootlog = (str[0] == 'b'); str 1970 arch/x86/kernel/cpu/mce/core.c else if (!strcmp(str, "bios_cmci_threshold")) str 1972 arch/x86/kernel/cpu/mce/core.c else if (!strcmp(str, "recovery")) str 1974 arch/x86/kernel/cpu/mce/core.c else if (isdigit(str[0])) { str 1975 arch/x86/kernel/cpu/mce/core.c if (get_option(&str, &cfg->tolerant) == 2) str 1976 arch/x86/kernel/cpu/mce/core.c get_option(&str, &(cfg->monarch_timeout)); str 1978 arch/x86/kernel/cpu/mce/core.c pr_info("mce argument %s ignored. Please use /sys\n", str); str 2483 arch/x86/kernel/cpu/mce/core.c static int __init mcheck_disable(char *str) str 153 arch/x86/kernel/cpu/mtrr/cleanup.c static int __init disable_mtrr_cleanup_setup(char *str) str 160 arch/x86/kernel/cpu/mtrr/cleanup.c static int __init enable_mtrr_cleanup_setup(char *str) str 167 arch/x86/kernel/cpu/mtrr/cleanup.c static int __init mtrr_cleanup_debug_setup(char *str) str 813 arch/x86/kernel/cpu/mtrr/cleanup.c static int __init disable_mtrr_trim_setup(char *str) str 778 arch/x86/kernel/cpu/resctrl/core.c static int __init set_rdt_options(char *str) str 784 arch/x86/kernel/cpu/resctrl/core.c if (*str == '=') str 785 arch/x86/kernel/cpu/resctrl/core.c str++; str 786 arch/x86/kernel/cpu/resctrl/core.c while ((tok = strsep(&str, ",")) != NULL) { str 368 arch/x86/kernel/dumpstack.c int __die(const char *str, struct pt_regs *regs, long err) str 380 arch/x86/kernel/dumpstack.c "%s: %04lx [#%d]%s%s%s%s%s\n", str, err & 0xffff, ++die_counter, str 391 arch/x86/kernel/dumpstack.c if (notify_die(DIE_OOPS, str, regs, err, str 403 arch/x86/kernel/dumpstack.c void die(const char *str, struct pt_regs *regs, long err) str 408 arch/x86/kernel/dumpstack.c if (__die(str, regs, err)) str 968 arch/x86/kernel/e820.c static int __init parse_memmap_opt(char *str) str 970 arch/x86/kernel/e820.c while (str) { str 971 arch/x86/kernel/e820.c char *k = strchr(str, ','); str 976 arch/x86/kernel/e820.c parse_memmap_one(str); str 977 arch/x86/kernel/e820.c str = k; str 32 arch/x86/kernel/early_printk.c static void early_vga_write(struct console *con, const char *str, unsigned n) str 37 arch/x86/kernel/early_printk.c while ((c = *str++) != '\0' && n-- > 0) { str 99 arch/x86/kernel/hpet.c static int __init hpet_setup(char *str) str 101 arch/x86/kernel/hpet.c while (str) { str 102 arch/x86/kernel/hpet.c char *next = strchr(str, ','); str 106 arch/x86/kernel/hpet.c if (!strncmp("disable", str, 7)) str 108 arch/x86/kernel/hpet.c if (!strncmp("force", str, 5)) str 110 arch/x86/kernel/hpet.c if (!strncmp("verbose", str, 7)) str 112 arch/x86/kernel/hpet.c str = next; str 118 arch/x86/kernel/hpet.c static int __init disable_hpet(char *str) str 556 arch/x86/kernel/kgdb.c int kgdb_ll_trap(int cmd, const char *str, str 561 arch/x86/kernel/kgdb.c .str = str, str 75 arch/x86/kernel/mpparse.c void __init default_mpc_oem_bus_info(struct mpc_bus *m, char *str) str 77 arch/x86/kernel/mpparse.c memcpy(str, m->bustype, 6); str 78 arch/x86/kernel/mpparse.c str[6] = 0; str 79 arch/x86/kernel/mpparse.c apic_printk(APIC_VERBOSE, "Bus #%d is %s\n", m->busid, str); str 84 arch/x86/kernel/mpparse.c char str[7]; str 86 arch/x86/kernel/mpparse.c x86_init.mpparse.mpc_oem_bus_info(m, str); str 91 arch/x86/kernel/mpparse.c m->busid, str, MAX_MP_BUSSES - 1); str 97 arch/x86/kernel/mpparse.c if (strncmp(str, BUSTYPE_ISA, sizeof(BUSTYPE_ISA) - 1) == 0) { str 101 arch/x86/kernel/mpparse.c } else if (strncmp(str, BUSTYPE_PCI, sizeof(BUSTYPE_PCI) - 1) == 0) { str 108 arch/x86/kernel/mpparse.c } else if (strncmp(str, BUSTYPE_EISA, sizeof(BUSTYPE_EISA) - 1) == 0) { str 112 arch/x86/kernel/mpparse.c pr_warn("Unknown bustype %s - ignoring\n", str); str 151 arch/x86/kernel/mpparse.c static int __init smp_check_mpc(struct mpc_table *mpc, char *oem, char *str) str 176 arch/x86/kernel/mpparse.c memcpy(str, mpc->productid, 12); str 177 arch/x86/kernel/mpparse.c str[12] = 0; str 179 arch/x86/kernel/mpparse.c pr_info("MPTABLE: Product ID: %s\n", str); str 204 arch/x86/kernel/mpparse.c char str[16]; str 210 arch/x86/kernel/mpparse.c if (!smp_check_mpc(mpc, oem, str)) str 819 arch/x86/kernel/mpparse.c static int __init update_mptable_setup(char *str) str 856 arch/x86/kernel/mpparse.c char str[16]; str 890 arch/x86/kernel/mpparse.c if (!smp_check_mpc(mpc, oem, str)) str 88 arch/x86/kernel/nmi.c static int __init setup_unknown_nmi_panic(char *str) str 750 arch/x86/kernel/process.c static int __init idle_setup(char *str) str 752 arch/x86/kernel/process.c if (!str) str 755 arch/x86/kernel/process.c if (!strcmp(str, "poll")) { str 759 arch/x86/kernel/process.c } else if (!strcmp(str, "halt")) { str 769 arch/x86/kernel/process.c } else if (!strcmp(str, "nomwait")) { str 267 arch/x86/kernel/smp.c static int __init nonmi_ipi_setup(char *str) str 723 arch/x86/kernel/smpboot.c static int __init cpu_init_udelay(char *str) str 725 arch/x86/kernel/smpboot.c get_option(&str, &init_udelay); str 1434 arch/x86/kernel/smpboot.c static int __init _setup_possible_cpus(char *str) str 1436 arch/x86/kernel/smpboot.c get_option(&str, &setup_possible_cpus); str 64 arch/x86/kernel/sys_x86_64.c static int __init control_va_addr_alignment(char *str) str 70 arch/x86/kernel/sys_x86_64.c if (*str == 0) str 73 arch/x86/kernel/sys_x86_64.c if (*str == '=') str 74 arch/x86/kernel/sys_x86_64.c str++; str 76 arch/x86/kernel/sys_x86_64.c if (!strcmp(str, "32")) str 78 arch/x86/kernel/sys_x86_64.c else if (!strcmp(str, "64")) str 80 arch/x86/kernel/sys_x86_64.c else if (!strcmp(str, "off")) str 82 arch/x86/kernel/sys_x86_64.c else if (!strcmp(str, "on")) str 44 arch/x86/kernel/topology.c static int __init enable_cpu0_hotplug(char *str) str 193 arch/x86/kernel/traps.c do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str, str 212 arch/x86/kernel/traps.c die(str, regs, error_code); str 245 arch/x86/kernel/traps.c do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, str 251 arch/x86/kernel/traps.c if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) str 254 arch/x86/kernel/traps.c show_signal(tsk, signr, "trap ", str, regs, error_code); str 263 arch/x86/kernel/traps.c static void do_error_trap(struct pt_regs *regs, long error_code, char *str, str 275 arch/x86/kernel/traps.c if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) != str 278 arch/x86/kernel/traps.c do_trap(trapnr, signr, str, regs, error_code, sicode, addr); str 283 arch/x86/kernel/traps.c #define DO_ERROR(trapnr, signr, sicode, addr, str, name) \ str 286 arch/x86/kernel/traps.c do_error_trap(regs, error_code, str, trapnr, signr, sicode, addr); \ str 318 arch/x86/kernel/traps.c static const char str[] = "double fault"; str 372 arch/x86/kernel/traps.c notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_DF, SIGSEGV); str 427 arch/x86/kernel/traps.c die(str, regs, error_code); str 823 arch/x86/kernel/traps.c char *str = (trapnr == X86_TRAP_MF) ? "fpu exception" : str 835 arch/x86/kernel/traps.c if (notify_die(DIE_TRAP, str, regs, error_code, str 837 arch/x86/kernel/traps.c die(str, regs, error_code); str 266 arch/x86/kernel/tsc.c int __init notsc_setup(char *str) str 276 arch/x86/kernel/tsc.c int __init notsc_setup(char *str) str 288 arch/x86/kernel/tsc.c static int __init tsc_setup(char *str) str 290 arch/x86/kernel/tsc.c if (!strcmp(str, "reliable")) str 292 arch/x86/kernel/tsc.c if (!strncmp(str, "noirqtime", 9)) str 294 arch/x86/kernel/tsc.c if (!strcmp(str, "unstable")) str 296 arch/x86/kernel/tsc.c if (!strcmp(str, "nowatchdog")) str 4541 arch/x86/kvm/emulate.c II(Prot | DstMem, em_str, str), str 117 arch/x86/mm/init_64.c static int __init nonx32_setup(char *str) str 119 arch/x86/mm/init_64.c if (!strcmp(str, "on")) str 121 arch/x86/mm/init_64.c else if (!strcmp(str, "off")) str 16 arch/x86/mm/numa_emulation.c void __init numa_emu_cmdline(char *str) str 18 arch/x86/mm/numa_emulation.c emu_cmdline = str; str 60 arch/x86/mm/pat.c static int __init nopat(char *str) str 75 arch/x86/mm/pat.c static int __init pat_debug_setup(char *str) str 20 arch/x86/mm/setup_nx.c static int __init noexec_setup(char *str) str 22 arch/x86/mm/setup_nx.c if (!str) str 24 arch/x86/mm/setup_nx.c if (!strncmp(str, "on", 2)) { str 26 arch/x86/mm/setup_nx.c } else if (!strncmp(str, "off", 3)) { str 595 arch/x86/oprofile/nmi_int.c static int set_cpu_type(const char *str, const struct kernel_param *kp) str 597 arch/x86/oprofile/nmi_int.c if (!strcmp(str, "timer")) { str 600 arch/x86/oprofile/nmi_int.c } else if (!strcmp(str, "arch_perfmon")) { str 515 arch/x86/pci/common.c char *__init pcibios_setup(char *str) str 517 arch/x86/pci/common.c if (!strcmp(str, "off")) { str 520 arch/x86/pci/common.c } else if (!strcmp(str, "bfsort")) { str 523 arch/x86/pci/common.c } else if (!strcmp(str, "nobfsort")) { str 528 arch/x86/pci/common.c else if (!strcmp(str, "bios")) { str 531 arch/x86/pci/common.c } else if (!strcmp(str, "nobios")) { str 534 arch/x86/pci/common.c } else if (!strcmp(str, "biosirq")) { str 537 arch/x86/pci/common.c } else if (!strncmp(str, "pirqaddr=", 9)) { str 538 arch/x86/pci/common.c pirq_table_addr = simple_strtoul(str+9, NULL, 0); str 543 arch/x86/pci/common.c else if (!strcmp(str, "conf1")) { str 547 arch/x86/pci/common.c else if (!strcmp(str, "conf2")) { str 553 arch/x86/pci/common.c else if (!strcmp(str, "nommconf")) { str 557 arch/x86/pci/common.c else if (!strcmp(str, "check_enable_amd_mmconf")) { str 562 arch/x86/pci/common.c else if (!strcmp(str, "noacpi")) { str 566 arch/x86/pci/common.c else if (!strcmp(str, "noearly")) { str 570 arch/x86/pci/common.c else if (!strcmp(str, "usepirqmask")) { str 573 arch/x86/pci/common.c } else if (!strncmp(str, "irqmask=", 8)) { str 574 arch/x86/pci/common.c pcibios_irq_mask = simple_strtol(str+8, NULL, 0); str 576 arch/x86/pci/common.c } else if (!strncmp(str, "lastbus=", 8)) { str 577 arch/x86/pci/common.c pcibios_last_bus = simple_strtol(str+8, NULL, 0); str 579 arch/x86/pci/common.c } else if (!strcmp(str, "rom")) { str 582 arch/x86/pci/common.c } else if (!strcmp(str, "norom")) { str 585 arch/x86/pci/common.c } else if (!strcmp(str, "nobar")) { str 588 arch/x86/pci/common.c } else if (!strcmp(str, "assign-busses")) { str 591 arch/x86/pci/common.c } else if (!strcmp(str, "use_crs")) { str 594 arch/x86/pci/common.c } else if (!strcmp(str, "nocrs")) { str 598 arch/x86/pci/common.c } else if (!strcmp(str, "big_root_window")) { str 602 arch/x86/pci/common.c } else if (!strcmp(str, "routeirq")) { str 605 arch/x86/pci/common.c } else if (!strcmp(str, "skip_isa_align")) { str 608 arch/x86/pci/common.c } else if (!strcmp(str, "noioapicquirk")) { str 611 arch/x86/pci/common.c } else if (!strcmp(str, "ioapicreroute")) { str 615 arch/x86/pci/common.c } else if (!strcmp(str, "noioapicreroute")) { str 620 arch/x86/pci/common.c return str; str 1062 arch/x86/platform/efi/efi.c static int __init arch_parse_efi_cmdline(char *str) str 1064 arch/x86/platform/efi/efi.c if (!str) { str 1069 arch/x86/platform/efi/efi.c if (parse_option_str(str, "old_map")) str 38 arch/x86/platform/goldfish/goldfish.c static int __init goldfish_setup(char *str) str 35 arch/x86/platform/olpc/olpc.c static int __init olpc_ec_timeout_set(char *str) str 37 arch/x86/platform/olpc/olpc.c if (get_option(&str, &ec_timeout) != 1) { str 334 arch/x86/platform/uv/uv_time.c static int __init uv_enable_evt_rtc(char *str) str 311 arch/xtensa/include/asm/uaccess.h static inline long strnlen_user(const char *str, long len) str 315 arch/xtensa/include/asm/uaccess.h if ((unsigned long)str > top) str 317 arch/xtensa/include/asm/uaccess.h return __strnlen_user(str, len); str 170 arch/xtensa/kernel/traps.c __die_if_kernel(const char *str, struct pt_regs *regs, long err) str 173 arch/xtensa/kernel/traps.c die(str, regs, err); str 524 arch/xtensa/kernel/traps.c void die(const char * str, struct pt_regs * regs, long err) str 531 arch/xtensa/kernel/traps.c pr_info("%s: sig: %ld [#%d]%s\n", str, err, ++die_counter, str 240 arch/xtensa/mm/init.c static int __init parse_memmap_opt(char *str) str 242 arch/xtensa/mm/init.c while (str) { str 243 arch/xtensa/mm/init.c char *k = strchr(str, ','); str 248 arch/xtensa/mm/init.c parse_memmap_one(str); str 249 arch/xtensa/mm/init.c str = k; str 98 arch/xtensa/platforms/iss/network.c static char *split_if_spec(char *str, ...) str 103 arch/xtensa/platforms/iss/network.c va_start(ap, str); str 105 arch/xtensa/platforms/iss/network.c if (*str == '\0') { str 109 arch/xtensa/platforms/iss/network.c end = strchr(str, ','); str 110 arch/xtensa/platforms/iss/network.c if (end != str) str 111 arch/xtensa/platforms/iss/network.c *arg = str; str 117 arch/xtensa/platforms/iss/network.c str = end; str 120 arch/xtensa/platforms/iss/network.c return str; str 125 arch/xtensa/platforms/iss/network.c static void setup_etheraddr(struct net_device *dev, char *str) str 129 arch/xtensa/platforms/iss/network.c if (str == NULL) str 132 arch/xtensa/platforms/iss/network.c if (!mac_pton(str, addr)) { str 134 arch/xtensa/platforms/iss/network.c dev->name, str); str 606 arch/xtensa/platforms/iss/network.c static int __init iss_net_setup(char *str) str 615 arch/xtensa/platforms/iss/network.c end = strchr(str, '='); str 621 arch/xtensa/platforms/iss/network.c rc = kstrtouint(str, 0, &n); str 624 arch/xtensa/platforms/iss/network.c pr_err("Failed to parse '%s'\n", str); str 627 arch/xtensa/platforms/iss/network.c str = end; str 652 arch/xtensa/platforms/iss/network.c new->init = str + 1; str 16 arch/xtensa/platforms/xtfpga/include/platform/lcd.h void lcd_disp_at_pos(char *str, unsigned char pos); str 22 arch/xtensa/platforms/xtfpga/include/platform/lcd.h static inline void lcd_disp_at_pos(char *str, unsigned char pos) str 66 arch/xtensa/platforms/xtfpga/lcd.c void lcd_disp_at_pos(char *str, unsigned char pos) str 70 arch/xtensa/platforms/xtfpga/lcd.c while (*str != 0) { str 71 arch/xtensa/platforms/xtfpga/lcd.c lcd_put_byte(LCD_DATA_ADDR, *str); str 73 arch/xtensa/platforms/xtfpga/lcd.c str++; str 1055 block/bfq-iosched.h static inline void bfq_pid_to_str(int pid, char *str, int len) str 1058 block/bfq-iosched.h snprintf(str, len, "%d", pid); str 1060 block/bfq-iosched.h snprintf(str, len, "SHARED-"); str 756 block/blk-core.c static int __init setup_fail_make_request(char *str) str 758 block/blk-core.c return setup_fault_attr(&fail_make_request, str); str 17 block/blk-timeout.c static int __init setup_fail_io_timeout(char *str) str 19 block/blk-timeout.c return setup_fault_attr(&fail_io_timeout, str); str 99 block/partitions/efi.c force_gpt_fn(char *str) str 24 crypto/asymmetric_keys/restrict.c static int __init ca_keys_setup(char *str) str 26 crypto/asymmetric_keys/restrict.c if (!str) /* default system keyring */ str 29 crypto/asymmetric_keys/restrict.c if (strncmp(str, "id:", 3) == 0) { str 31 crypto/asymmetric_keys/restrict.c size_t hexlen = (strlen(str) - 3) / 2; str 39 crypto/asymmetric_keys/restrict.c ret = __asymmetric_key_hex_to_key_id(str + 3, p, hexlen); str 44 crypto/asymmetric_keys/restrict.c } else if (strcmp(str, "builtin") == 0) { str 23 crypto/fips.c static int fips_enable(char *str) str 25 crypto/fips.c fips_enabled = !!simple_strtol(str, NULL, 0); str 98 drivers/acpi/acpi_configfs.c static ssize_t acpi_table_signature_show(struct config_item *cfg, char *str) str 105 drivers/acpi/acpi_configfs.c return sprintf(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->signature); str 108 drivers/acpi/acpi_configfs.c static ssize_t acpi_table_length_show(struct config_item *cfg, char *str) str 115 drivers/acpi/acpi_configfs.c return sprintf(str, "%d\n", h->length); str 118 drivers/acpi/acpi_configfs.c static ssize_t acpi_table_revision_show(struct config_item *cfg, char *str) str 125 drivers/acpi/acpi_configfs.c return sprintf(str, "%d\n", h->revision); str 128 drivers/acpi/acpi_configfs.c static ssize_t acpi_table_oem_id_show(struct config_item *cfg, char *str) str 135 drivers/acpi/acpi_configfs.c return sprintf(str, "%.*s\n", ACPI_OEM_ID_SIZE, h->oem_id); str 138 drivers/acpi/acpi_configfs.c static ssize_t acpi_table_oem_table_id_show(struct config_item *cfg, char *str) str 145 drivers/acpi/acpi_configfs.c return sprintf(str, "%.*s\n", ACPI_OEM_TABLE_ID_SIZE, h->oem_table_id); str 148 drivers/acpi/acpi_configfs.c static ssize_t acpi_table_oem_revision_show(struct config_item *cfg, char *str) str 155 drivers/acpi/acpi_configfs.c return sprintf(str, "%d\n", h->oem_revision); str 159 drivers/acpi/acpi_configfs.c char *str) str 166 drivers/acpi/acpi_configfs.c return sprintf(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->asl_compiler_id); str 170 drivers/acpi/acpi_configfs.c char *str) str 177 drivers/acpi/acpi_configfs.c return sprintf(str, "%d\n", h->asl_compiler_revision); str 351 drivers/acpi/acpi_memhotplug.c static int __init disable_acpi_memory_hotplug(char *str) str 160 drivers/acpi/acpi_tad.c char *str, *s; str 163 drivers/acpi/acpi_tad.c str = kmemdup_nul(buf, count, GFP_KERNEL); str 164 drivers/acpi/acpi_tad.c if (!str) str 167 drivers/acpi/acpi_tad.c s = acpi_tad_rt_next_field(str, &val); str 221 drivers/acpi/acpi_tad.c kfree(str); str 94 drivers/acpi/acpi_watchdog.c static int __init disable_acpi_watchdog(char *str) str 76 drivers/acpi/apei/bert.c static int __init setup_bert_disable(char *str) str 891 drivers/acpi/apei/erst.c static int __init setup_erst_disable(char *str) str 219 drivers/acpi/apei/hest.c static int __init setup_hest_disable(char *str) str 666 drivers/acpi/bus.c const char *str, *chr; str 677 drivers/acpi/bus.c str = obj->string.pointer; str 678 drivers/acpi/bus.c chr = strchr(str, ','); str 679 drivers/acpi/bus.c strlcpy(modalias, chr ? chr + 1 : str, len); str 61 drivers/acpi/internal.h int acpi_rev_override_setup(char *str); str 93 drivers/acpi/osi.c void __init acpi_osi_setup(char *str) str 102 drivers/acpi/osi.c if (str == NULL || *str == '\0') { str 108 drivers/acpi/osi.c if (*str == '!') { str 109 drivers/acpi/osi.c str++; str 110 drivers/acpi/osi.c if (*str == '\0') { str 116 drivers/acpi/osi.c } else if (*str == '*') { str 123 drivers/acpi/osi.c } else if (*str == '!') { str 132 drivers/acpi/osi.c if (!strcmp(osi->string, str)) { str 137 drivers/acpi/osi.c strncpy(osi->string, str, OSI_STRING_LENGTH_MAX); str 219 drivers/acpi/osi.c char *str; str 234 drivers/acpi/osi.c str = osi->string; str 235 drivers/acpi/osi.c if (*str == '\0') str 238 drivers/acpi/osi.c status = acpi_install_interface(str); str 240 drivers/acpi/osi.c pr_info("Added _OSI(%s)\n", str); str 242 drivers/acpi/osi.c status = acpi_remove_interface(str); str 244 drivers/acpi/osi.c pr_info("Deleted _OSI(%s)\n", str); str 249 drivers/acpi/osi.c static int __init osi_setup(char *str) str 251 drivers/acpi/osi.c if (str && !strcmp("Linux", str)) str 253 drivers/acpi/osi.c else if (str && !strcmp("!Linux", str)) str 255 drivers/acpi/osi.c else if (str && !strcmp("Darwin", str)) str 257 drivers/acpi/osi.c else if (str && !strcmp("!Darwin", str)) str 260 drivers/acpi/osi.c acpi_osi_setup(str); str 504 drivers/acpi/osl.c int __init acpi_rev_override_setup(char *str) str 1373 drivers/acpi/osl.c static int __init acpi_os_name_setup(char *str) str 1378 drivers/acpi/osl.c if (!str || !*str) str 1381 drivers/acpi/osl.c for (; count-- && *str; str++) { str 1382 drivers/acpi/osl.c if (isalnum(*str) || *str == ' ' || *str == ':') str 1383 drivers/acpi/osl.c *p++ = *str; str 1384 drivers/acpi/osl.c else if (*str == '\'' || *str == '"') str 1403 drivers/acpi/osl.c static int __init acpi_no_auto_serialize_setup(char *str) str 1435 drivers/acpi/osl.c static int __init acpi_enforce_resources_setup(char *str) str 1437 drivers/acpi/osl.c if (str == NULL || *str == '\0') str 1440 drivers/acpi/osl.c if (!strcmp("strict", str)) str 1442 drivers/acpi/osl.c else if (!strcmp("lax", str)) str 1444 drivers/acpi/osl.c else if (!strcmp("no", str)) str 813 drivers/acpi/pci_link.c static int __init acpi_irq_penalty_update(char *str, int used) str 822 drivers/acpi/pci_link.c retval = get_option(&str, &irq); str 880 drivers/acpi/pci_link.c static int __init acpi_irq_isa(char *str) str 882 drivers/acpi/pci_link.c return acpi_irq_penalty_update(str, 1); str 892 drivers/acpi/pci_link.c static int __init acpi_irq_pci(char *str) str 894 drivers/acpi/pci_link.c return acpi_irq_penalty_update(str, 0); str 899 drivers/acpi/pci_link.c static int __init acpi_irq_nobalance_set(char *str) str 907 drivers/acpi/pci_link.c static int __init acpi_irq_balance_set(char *str) str 101 drivers/acpi/proc.c char str[5] = ""; str 109 drivers/acpi/proc.c sscanf(strbuf, "%s", str); str 118 drivers/acpi/proc.c if (!strncmp(dev->pnp.bus_id, str, 4)) { str 1117 drivers/acpi/property.c const char *str) str 1119 drivers/acpi/property.c unsigned int len = strlen(str); str 1128 drivers/acpi/property.c !strncmp(name, str, len) && name[len] == '@') || str 1129 drivers/acpi/property.c fwnode_property_present(fwnode, str); str 823 drivers/acpi/tables.c static int __init acpi_parse_apic_instance(char *str) str 825 drivers/acpi/tables.c if (!str) str 828 drivers/acpi/tables.c if (kstrtoint(str, 0, &acpi_apic_instance)) str 255 drivers/acpi/thermal.c #define ACPI_THERMAL_TRIPS_EXCEPTION(flags, str) \ str 260 drivers/acpi/thermal.c "Please send acpidump to linux-acpi@vger.kernel.org", str)); \ str 827 drivers/acpi/utils.c static int __init acpi_backlight(char *str) str 829 drivers/acpi/utils.c strlcpy(acpi_video_backlight_string, str, str 282 drivers/atm/firestream.c #define fs_dprintk(f, str...) if (fs_debug & f) printk (str) str 284 drivers/atm/firestream.c #define fs_dprintk(f, str...) /* nothing */ str 155 drivers/atm/fore200e.c static char str[8]; str 156 drivers/atm/fore200e.c sprintf(str, "%d", irq); str 157 drivers/atm/fore200e.c return str; str 2398 drivers/atm/fore200e.c static void fore200e_monitor_puts(struct fore200e *fore200e, char *str) str 2400 drivers/atm/fore200e.c while (*str) { str 2405 drivers/atm/fore200e.c fore200e_monitor_putc(fore200e, *str++); str 341 drivers/atm/solos-pci.c char *str, *state_str, *snr, *attn; str 347 drivers/atm/solos-pci.c str = next_string(skb); str 348 drivers/atm/solos-pci.c if (!str) str 351 drivers/atm/solos-pci.c err = kstrtoint(str, 10, &ver); str 362 drivers/atm/solos-pci.c str = next_string(skb); str 363 drivers/atm/solos-pci.c if (!str) str 365 drivers/atm/solos-pci.c if (!strcmp(str, "ERROR")) { str 371 drivers/atm/solos-pci.c err = kstrtoint(str, 10, &rate_down); str 375 drivers/atm/solos-pci.c str = next_string(skb); str 376 drivers/atm/solos-pci.c if (!str) str 378 drivers/atm/solos-pci.c err = kstrtoint(str, 10, &rate_up); str 208 drivers/auxdisplay/arm-charlcd.c static void charlcd_4bit_print(struct charlcd *lcd, int line, const char *str) str 229 drivers/auxdisplay/arm-charlcd.c for (i = 0; i < strlen(str) && i < 0x28; i++) str 230 drivers/auxdisplay/arm-charlcd.c charlcd_4bit_char(lcd, str[i]); str 480 drivers/base/class.c return snprintf(buf, PAGE_SIZE, "%s\n", cs->str); str 228 drivers/base/dd.c static int __init deferred_probe_timeout_setup(char *str) str 232 drivers/base/dd.c if (!kstrtoint(str, 10, &timeout)) str 52 drivers/base/devtmpfs.c static int __init mount_param(char *str) str 54 drivers/base/devtmpfs.c mount_dev = simple_strtoul(str, NULL, 0); str 136 drivers/base/swnode.c prop->pointer.str = pointer; str 138 drivers/base/swnode.c prop->value.str = pointer; str 166 drivers/base/swnode.c return prop->pointer.str; str 167 drivers/base/swnode.c return &prop->value.str; str 328 drivers/base/swnode.c if (p->type == DEV_PROP_STRING && p->pointer.str) { str 331 drivers/base/swnode.c kfree(p->pointer.str[i]); str 335 drivers/base/swnode.c kfree(p->value.str); str 352 drivers/base/swnode.c d[i] = kstrdup(src->pointer.str[i], GFP_KERNEL); str 353 drivers/base/swnode.c if (!d[i] && src->pointer.str[i]) { str 361 drivers/base/swnode.c dst->pointer.str = d; str 380 drivers/base/swnode.c new = dst->pointer.str; str 387 drivers/base/swnode.c new = kstrdup(src->value.str, GFP_KERNEL); str 388 drivers/base/swnode.c if (!new && src->value.str) str 1942 drivers/block/amiflop.c static int __init amiga_floppy_setup (char *str) str 1947 drivers/block/amiflop.c if (!get_option(&str, &n)) str 238 drivers/block/aoe/aoe.h int aoedev_flush(const char __user *str, size_t size); str 246 drivers/block/aoe/aoe.h int set_aoe_iflist(const char __user *str, size_t size); str 69 drivers/block/aoe/aoechr.c interfaces(const char __user *str, size_t size) str 71 drivers/block/aoe/aoechr.c if (set_aoe_iflist(str, size)) { str 80 drivers/block/aoe/aoechr.c revalidate(const char __user *str, size_t size) str 91 drivers/block/aoe/aoechr.c if (copy_from_user(buf, str, size)) str 304 drivers/block/aoe/aoedev.c flush(const char __user *str, size_t cnt, int exiting) str 318 drivers/block/aoe/aoedev.c if (copy_from_user(buf, str, cnt)) str 394 drivers/block/aoe/aoedev.c aoedev_flush(const char __user *str, size_t cnt) str 396 drivers/block/aoe/aoedev.c return flush(str, cnt, NOT_EXITING); str 40 drivers/block/aoe/aoenet.c static int __init aoe_iflist_setup(char *str) str 42 drivers/block/aoe/aoenet.c strncpy(aoe_iflist, str, IFLISTSZ); str 2063 drivers/block/ataflop.c static int __init atari_floppy_setup(char *str) str 2071 drivers/block/ataflop.c str = get_options(str, 3 + FD_MAX_UNITS, ints); str 353 drivers/block/brd.c static int __init ramdisk_size(char *str) str 355 drivers/block/brd.c rd_size = simple_strtol(str, NULL, 0); str 4425 drivers/block/floppy.c static int __init floppy_setup(char *str) str 4431 drivers/block/floppy.c str = get_options(str, ARRAY_SIZE(ints), ints); str 4432 drivers/block/floppy.c if (str) { str 4434 drivers/block/floppy.c if (strcmp(str, config_params[i].name) == 0) { str 4444 drivers/block/floppy.c DPRINT("%s=%d\n", str, param); str 4451 drivers/block/floppy.c if (str) { str 4452 drivers/block/floppy.c DPRINT("unknown floppy option [%s]\n", str); str 2341 drivers/block/loop.c static int __init max_loop_setup(char *str) str 2343 drivers/block/loop.c max_loop = simple_strtol(str, NULL, 0); str 108 drivers/block/null_blk_main.c static int null_param_store_val(const char *str, int *val, int min, int max) str 112 drivers/block/null_blk_main.c ret = kstrtoint(str, 10, &new_val); str 123 drivers/block/null_blk_main.c static int null_set_queue_mode(const char *str, const struct kernel_param *kp) str 125 drivers/block/null_blk_main.c return null_param_store_val(str, &g_queue_mode, NULL_Q_BIO, NULL_Q_MQ); str 158 drivers/block/null_blk_main.c static int null_set_irqmode(const char *str, const struct kernel_param *kp) str 160 drivers/block/null_blk_main.c return null_param_store_val(str, &g_irqmode, NULL_IRQ_NONE, str 1608 drivers/block/null_blk_main.c static bool __null_setup_fault(struct fault_attr *attr, char *str) str 1610 drivers/block/null_blk_main.c if (!str[0]) str 1613 drivers/block/null_blk_main.c if (!setup_fault_attr(attr, str)) str 529 drivers/block/rsxx/cregs.c static void hw_log_msg(struct rsxx_cardinfo *card, const char *str, int len) str 537 drivers/block/rsxx/cregs.c if ((len > 3) && (str[0] == '<') && (str[2] == '>')) { str 538 drivers/block/rsxx/cregs.c level = str[1]; str 539 drivers/block/rsxx/cregs.c str += 3; /* Skip past the log level. */ str 545 drivers/block/rsxx/cregs.c dev_emerg(CARD_TO_DEV(card), "HW: %.*s", len, str); str 548 drivers/block/rsxx/cregs.c dev_alert(CARD_TO_DEV(card), "HW: %.*s", len, str); str 551 drivers/block/rsxx/cregs.c dev_crit(CARD_TO_DEV(card), "HW: %.*s", len, str); str 554 drivers/block/rsxx/cregs.c dev_err(CARD_TO_DEV(card), "HW: %.*s", len, str); str 557 drivers/block/rsxx/cregs.c dev_warn(CARD_TO_DEV(card), "HW: %.*s", len, str); str 560 drivers/block/rsxx/cregs.c dev_notice(CARD_TO_DEV(card), "HW: %.*s", len, str); str 563 drivers/block/rsxx/cregs.c dev_info(CARD_TO_DEV(card), "HW: %.*s", len, str); str 566 drivers/block/rsxx/cregs.c dev_dbg(CARD_TO_DEV(card), "HW: %.*s", len, str); str 569 drivers/block/rsxx/cregs.c dev_info(CARD_TO_DEV(card), "HW: %.*s", len, str); str 3135 drivers/block/skd_main.c static char *skd_pci_info(struct skd_device *skdev, char *str) str 3139 drivers/block/skd_main.c strcpy(str, "PCIe ("); str 3153 drivers/block/skd_main.c strcat(str, "2.5GT/s "); str 3155 drivers/block/skd_main.c strcat(str, "5.0GT/s "); str 3157 drivers/block/skd_main.c strcat(str, "<unknown> "); str 3159 drivers/block/skd_main.c strcat(str, lwstr); str 3161 drivers/block/skd_main.c return str; str 687 drivers/char/apm-emulation.c static int __init apm_setup(char *str) str 689 drivers/char/apm-emulation.c while ((str != NULL) && (*str != '\0')) { str 690 drivers/char/apm-emulation.c if (strncmp(str, "off", 3) == 0) str 692 drivers/char/apm-emulation.c if (strncmp(str, "on", 2) == 0) str 694 drivers/char/apm-emulation.c str = strchr(str, ','); str 695 drivers/char/apm-emulation.c if (str != NULL) str 696 drivers/char/apm-emulation.c str += strspn(str, ", \t"); str 70 drivers/char/dtlk.c #define TRACE_TEXT(str) printk(str); str 73 drivers/char/dtlk.c #define TRACE_TEXT(str) ((void) 0) str 69 drivers/char/hangcheck-timer.c static int __init hangcheck_parse_tick(char *str) str 72 drivers/char/hangcheck-timer.c if (get_option(&str,&par)) str 77 drivers/char/hangcheck-timer.c static int __init hangcheck_parse_margin(char *str) str 80 drivers/char/hangcheck-timer.c if (get_option(&str,&par)) str 85 drivers/char/hangcheck-timer.c static int __init hangcheck_parse_reboot(char *str) str 88 drivers/char/hangcheck-timer.c if (get_option(&str,&par)) str 93 drivers/char/hangcheck-timer.c static int __init hangcheck_parse_dump_tasks(char *str) str 96 drivers/char/hangcheck-timer.c if (get_option(&str,&par)) str 371 drivers/char/hpet.c static __init int hpet_mmap_enable(char *str) str 373 drivers/char/hpet.c get_option(&str, &hpet_mmap_enabled); str 4917 drivers/char/ipmi/ipmi_msghandler.c static void send_panic_events(struct ipmi_smi *intf, char *str) str 4923 drivers/char/ipmi/ipmi_msghandler.c char *p = str; str 4950 drivers/char/ipmi/ipmi_msghandler.c if (str) { str 4951 drivers/char/ipmi/ipmi_msghandler.c data[3] = str[0]; str 4952 drivers/char/ipmi/ipmi_msghandler.c data[6] = str[1]; str 4953 drivers/char/ipmi/ipmi_msghandler.c data[7] = str[2]; str 4963 drivers/char/ipmi/ipmi_msghandler.c if (ipmi_send_panic_event != IPMI_SEND_PANIC_EVENT_STRING || !str) str 119 drivers/char/ipmi/ipmi_si_hardcode.c char *str; str 125 drivers/char/ipmi/ipmi_si_hardcode.c str = si_type_str; str 126 drivers/char/ipmi/ipmi_si_hardcode.c if (*str != '\0') { str 127 drivers/char/ipmi/ipmi_si_hardcode.c for (i = 0; (i < SI_MAX_PARMS) && (*str != '\0'); i++) { str 128 drivers/char/ipmi/ipmi_si_hardcode.c si_type[i] = str; str 129 drivers/char/ipmi/ipmi_si_hardcode.c str = strchr(str, ','); str 130 drivers/char/ipmi/ipmi_si_hardcode.c if (str) { str 131 drivers/char/ipmi/ipmi_si_hardcode.c *str = '\0'; str 132 drivers/char/ipmi/ipmi_si_hardcode.c str++; str 188 drivers/char/ipmi/ipmi_si_hotmod.c char *str = kstrdup(val, GFP_KERNEL), *curr, *next; str 194 drivers/char/ipmi/ipmi_si_hotmod.c if (!str) str 198 drivers/char/ipmi/ipmi_si_hotmod.c len = strlen(str); str 200 drivers/char/ipmi/ipmi_si_hotmod.c while ((ival >= 0) && isspace(str[ival])) { str 201 drivers/char/ipmi/ipmi_si_hotmod.c str[ival] = '\0'; str 205 drivers/char/ipmi/ipmi_si_hotmod.c for (curr = str; curr; curr = next) { str 240 drivers/char/ipmi/ipmi_si_hotmod.c kfree(str); str 60 drivers/char/ipmi/kcs_bmc.c return kcs_bmc->io_inputb(kcs_bmc, kcs_bmc->ioreg.str); str 65 drivers/char/ipmi/kcs_bmc.c kcs_bmc->io_outputb(kcs_bmc, kcs_bmc->ioreg.str, data); str 66 drivers/char/ipmi/kcs_bmc.h u32 str; str 230 drivers/char/ipmi/kcs_bmc_aspeed.c { .idr = LPC_IDR1, .odr = LPC_ODR1, .str = LPC_STR1 }, str 231 drivers/char/ipmi/kcs_bmc_aspeed.c { .idr = LPC_IDR2, .odr = LPC_ODR2, .str = LPC_STR2 }, str 232 drivers/char/ipmi/kcs_bmc_aspeed.c { .idr = LPC_IDR3, .odr = LPC_ODR3, .str = LPC_STR3 }, str 233 drivers/char/ipmi/kcs_bmc_aspeed.c { .idr = LPC_IDR4, .odr = LPC_ODR4, .str = LPC_STR4 }, str 287 drivers/char/ipmi/kcs_bmc_aspeed.c kcs_bmc->ioreg.idr, kcs_bmc->ioreg.odr, kcs_bmc->ioreg.str); str 163 drivers/char/ipmi/kcs_bmc_npcm7xx.c kcs_bmc->ioreg.str = priv->reg->sts; str 182 drivers/char/ipmi/kcs_bmc_npcm7xx.c kcs_bmc->ioreg.idr, kcs_bmc->ioreg.odr, kcs_bmc->ioreg.str); str 883 drivers/char/lp.c static int __init lp_setup(char *str) str 888 drivers/char/lp.c if (get_option(&str, &x)) { str 896 drivers/char/lp.c } else if (!strncmp(str, "parport", 7)) { str 897 drivers/char/lp.c int n = simple_strtoul(str+7, NULL, 10); str 902 drivers/char/lp.c str); str 903 drivers/char/lp.c } else if (!strcmp(str, "auto")) { str 905 drivers/char/lp.c } else if (!strcmp(str, "none")) { str 910 drivers/char/lp.c str); str 911 drivers/char/lp.c } else if (!strcmp(str, "reset")) { str 38 drivers/char/tpm/tpm-sysfs.c char *str = buf; str 57 drivers/char/tpm/tpm-sysfs.c str += str 58 drivers/char/tpm/tpm-sysfs.c sprintf(str, str 80 drivers/char/tpm/tpm-sysfs.c str += sprintf(str, "%02X ", out->modulus[i]); str 82 drivers/char/tpm/tpm-sysfs.c str += sprintf(str, "\n"); str 89 drivers/char/tpm/tpm-sysfs.c return str - buf; str 99 drivers/char/tpm/tpm-sysfs.c char *str = buf; str 115 drivers/char/tpm/tpm-sysfs.c str = buf; str 118 drivers/char/tpm/tpm-sysfs.c str += sprintf(str, "PCR-%02d: ", i); str 120 drivers/char/tpm/tpm-sysfs.c str += sprintf(str, "%02X ", digest[j]); str 121 drivers/char/tpm/tpm-sysfs.c str += sprintf(str, "\n"); str 124 drivers/char/tpm/tpm-sysfs.c return str - buf; str 221 drivers/char/tpm/tpm-sysfs.c char *str = buf; str 232 drivers/char/tpm/tpm-sysfs.c str += sprintf(str, "Manufacturer: 0x%x\n", str 240 drivers/char/tpm/tpm-sysfs.c str += sprintf(str, str 252 drivers/char/tpm/tpm-sysfs.c str += sprintf(str, str 259 drivers/char/tpm/tpm-sysfs.c rc = str - buf; str 287 drivers/char/tpm/tpm_ppi.c char *str = buf; str 317 drivers/char/tpm/tpm_ppi.c str += scnprintf(str, PAGE_SIZE, "%d %d: %s\n", str 321 drivers/char/tpm/tpm_ppi.c return str - buf; str 138 drivers/clk/imx/clk.c static int __init imx_keep_uart_clocks_param(char *str) str 180 drivers/cpufreq/elanfreq.c static int __init elanfreq_setup(char *str) str 182 drivers/cpufreq/elanfreq.c max_freq = simple_strtoul(str, &str, 0); str 2809 drivers/cpufreq/intel_pstate.c static int __init intel_pstate_setup(char *str) str 2811 drivers/cpufreq/intel_pstate.c if (!str) str 2814 drivers/cpufreq/intel_pstate.c if (!strcmp(str, "disable")) { str 2816 drivers/cpufreq/intel_pstate.c } else if (!strcmp(str, "passive")) { str 2821 drivers/cpufreq/intel_pstate.c if (!strcmp(str, "no_hwp")) { str 2825 drivers/cpufreq/intel_pstate.c if (!strcmp(str, "force")) str 2827 drivers/cpufreq/intel_pstate.c if (!strcmp(str, "hwp_only")) str 2829 drivers/cpufreq/intel_pstate.c if (!strcmp(str, "per_cpu_perf_limits")) str 2833 drivers/cpufreq/intel_pstate.c if (!strcmp(str, "support_acpi_ppc")) str 26 drivers/cpuidle/cpuidle.h extern struct cpuidle_governor *cpuidle_find_governor(const char *str); str 31 drivers/cpuidle/governor.c struct cpuidle_governor *cpuidle_find_governor(const char *str) str 36 drivers/cpuidle/governor.c if (!strncasecmp(str, gov->name, CPUIDLE_NAME_LEN)) str 240 drivers/crypto/qat/qat_common/qat_uclo.c static int qat_uclo_parse_num(char *str, unsigned int *num) str 246 drivers/crypto/qat/qat_common/qat_uclo.c strncpy(buf, str, 15); str 265 drivers/crypto/qat/qat_common/qat_uclo.c char *str; str 275 drivers/crypto/qat/qat_common/qat_uclo.c str = qat_uclo_get_string(&obj_handle->str_table, init_mem->sym_name); str 276 drivers/crypto/qat/qat_common/qat_uclo.c if (!str) { str 280 drivers/crypto/qat/qat_common/qat_uclo.c if (qat_uclo_parse_num(str, ae)) { str 123 drivers/crypto/ux500/hash/hash_alg.h &device_data->base->str, \ str 128 drivers/crypto/ux500/hash/hash_alg.h &device_data->base->str, \ str 181 drivers/crypto/ux500/hash/hash_alg.h u32 str; str 432 drivers/crypto/ux500/hash/hash_core.c HASH_CLEAR_BITS(&device_data->base->str, HASH_STR_NBLW_MASK); str 453 drivers/crypto/ux500/hash/hash_core.c while (readl(&device_data->base->str) & HASH_STR_DCAL_MASK) str 458 drivers/crypto/ux500/hash/hash_core.c while (readl(&device_data->base->str) & HASH_STR_DCAL_MASK) str 596 drivers/crypto/ux500/hash/hash_core.c HASH_CLEAR_BITS(&device_data->base->str, HASH_STR_NBLW_MASK); str 623 drivers/crypto/ux500/hash/hash_core.c HASH_CLEAR_BITS(&device_data->base->str, HASH_STR_NBLW_MASK); str 635 drivers/crypto/ux500/hash/hash_core.c while (readl(&device_data->base->str) & HASH_STR_DCAL_MASK) str 642 drivers/crypto/ux500/hash/hash_core.c readl_relaxed(&device_data->base->str) & HASH_STR_NBLW_MASK); str 646 drivers/crypto/ux500/hash/hash_core.c readl_relaxed(&device_data->base->str) & HASH_STR_NBLW_MASK); str 648 drivers/crypto/ux500/hash/hash_core.c while (readl(&device_data->base->str) & HASH_STR_DCAL_MASK) str 747 drivers/crypto/ux500/hash/hash_core.c while (readl(&device_data->base->str) & HASH_STR_DCAL_MASK) str 760 drivers/crypto/ux500/hash/hash_core.c HASH_CLEAR_BITS(&device_data->base->str, HASH_STR_NBLW_MASK); str 930 drivers/crypto/ux500/hash/hash_core.c while (readl(&device_data->base->str) & HASH_STR_DCAL_MASK) str 1031 drivers/crypto/ux500/hash/hash_core.c while (readl(&device_data->base->str) & HASH_STR_DCAL_MASK) str 1173 drivers/crypto/ux500/hash/hash_core.c writel_relaxed(device_state->str_reg, &device_data->base->str); str 1201 drivers/crypto/ux500/hash/hash_core.c while (readl(&device_data->base->str) & HASH_STR_DCAL_MASK) str 1206 drivers/crypto/ux500/hash/hash_core.c device_state->str_reg = readl_relaxed(&device_data->base->str); str 161 drivers/dma-buf/sw_sync.c char *str, int size) str 163 drivers/dma-buf/sw_sync.c snprintf(str, size, "%lld", fence->seqno); str 167 drivers/dma-buf/sw_sync.c char *str, int size) str 171 drivers/dma-buf/sw_sync.c snprintf(str, size, "%d", parent->value); str 73 drivers/edac/edac_mc.c static int edac_report_set(const char *str, const struct kernel_param *kp) str 75 drivers/edac/edac_mc.c if (!str) str 78 drivers/edac/edac_mc.c if (!strncmp(str, "on", 2)) str 80 drivers/edac/edac_mc.c else if (!strncmp(str, "off", 3)) str 82 drivers/edac/edac_mc.c else if (!strncmp(str, "force", 5)) str 50 drivers/edac/thunderx_edac.c static void decode_register(char *str, size_t size, str 58 drivers/edac/thunderx_edac.c ret = snprintf(str, size, "\n\t%s, %s", str 62 drivers/edac/thunderx_edac.c str += ret; str 1118 drivers/extcon/extcon.c char *str; str 1131 drivers/extcon/extcon.c str = kasprintf(GFP_KERNEL, "cable.%d", index); str 1132 drivers/extcon/extcon.c if (!str) { str 1147 drivers/extcon/extcon.c cable->attr_g.name = str; str 64 drivers/firmware/dmi_scan.c char *str; str 71 drivers/firmware/dmi_scan.c str = dmi_alloc(len); str 72 drivers/firmware/dmi_scan.c if (str != NULL) str 73 drivers/firmware/dmi_scan.c strcpy(str, bp); str 75 drivers/firmware/dmi_scan.c return str; str 908 drivers/firmware/dmi_scan.c int dmi_name_in_serial(const char *str) str 911 drivers/firmware/dmi_scan.c if (dmi_ident[f] && strstr(dmi_ident[f], str)) str 920 drivers/firmware/dmi_scan.c int dmi_name_in_vendors(const char *str) str 926 drivers/firmware/dmi_scan.c if (dmi_ident[f] && strstr(dmi_ident[f], str)) str 1090 drivers/firmware/dmi_scan.c bool dmi_match(enum dmi_field f, const char *str) str 1094 drivers/firmware/dmi_scan.c if (info == NULL || str == NULL) str 1095 drivers/firmware/dmi_scan.c return info == str; str 1097 drivers/firmware/dmi_scan.c return !strcmp(info, str); str 152 drivers/firmware/efi/cper-x86.c static inline void print_bool(char *str, const char *pfx, u64 check, u64 bit) str 154 drivers/firmware/efi/cper-x86.c printk("%s%s: %s\n", pfx, str, (check & bit) ? "true" : "false"); str 88 drivers/firmware/efi/cper.c const char *str; str 94 drivers/firmware/efi/cper.c str = strs[i]; str 95 drivers/firmware/efi/cper.c if (!str) str 97 drivers/firmware/efi/cper.c if (len && len + strlen(str) + 2 > 80) { str 102 drivers/firmware/efi/cper.c len = snprintf(buf, sizeof(buf), "%s%s", pfx, str); str 104 drivers/firmware/efi/cper.c len += snprintf(buf+len, sizeof(buf)-len, ", %s", str); str 133 drivers/firmware/efi/earlycon.c efi_earlycon_write(struct console *con, const char *str, unsigned int num) str 147 drivers/firmware/efi/earlycon.c for (s = str; *s && *s != '\n'; s++) { str 164 drivers/firmware/efi/earlycon.c s = str; str 179 drivers/firmware/efi/earlycon.c str += count; str 184 drivers/firmware/efi/earlycon.c str++; str 84 drivers/firmware/efi/efi.c static int __init parse_efi_cmdline(char *str) str 86 drivers/firmware/efi/efi.c if (!str) { str 91 drivers/firmware/efi/efi.c if (parse_option_str(str, "debug")) str 94 drivers/firmware/efi/efi.c if (parse_option_str(str, "noruntime")) str 112 drivers/firmware/efi/efi.c char *str = buf; str 118 drivers/firmware/efi/efi.c str += sprintf(str, "MPS=0x%lx\n", efi.mps); str 120 drivers/firmware/efi/efi.c str += sprintf(str, "ACPI20=0x%lx\n", efi.acpi20); str 122 drivers/firmware/efi/efi.c str += sprintf(str, "ACPI=0x%lx\n", efi.acpi); str 129 drivers/firmware/efi/efi.c str += sprintf(str, "SMBIOS3=0x%lx\n", efi.smbios3); str 131 drivers/firmware/efi/efi.c str += sprintf(str, "SMBIOS=0x%lx\n", efi.smbios); str 133 drivers/firmware/efi/efi.c str += sprintf(str, "HCDP=0x%lx\n", efi.hcdp); str 135 drivers/firmware/efi/efi.c str += sprintf(str, "BOOTINFO=0x%lx\n", efi.boot_info); str 137 drivers/firmware/efi/efi.c str += sprintf(str, "UGA=0x%lx\n", efi.uga); str 139 drivers/firmware/efi/efi.c return str - buf; str 223 drivers/firmware/efi/efi.c static int __init efivar_ssdt_setup(char *str) str 230 drivers/firmware/efi/efi.c if (strlen(str) < sizeof(efivar_ssdt)) str 231 drivers/firmware/efi/efi.c memcpy(efivar_ssdt, str, strlen(str)); str 233 drivers/firmware/efi/efi.c pr_warn("efivar_ssdt: name too long: %s\n", str); str 14 drivers/firmware/efi/efibc.c static void efibc_str_to_str16(const char *str, efi_char16_t *str16) str 18 drivers/firmware/efi/efibc.c for (i = 0; i < strlen(str); i++) str 19 drivers/firmware/efi/efibc.c str16[i] = str[i]; str 70 drivers/firmware/efi/efivars.c char *str = buf; str 75 drivers/firmware/efi/efivars.c efi_guid_to_str(&var->VendorGuid, str); str 76 drivers/firmware/efi/efivars.c str += strlen(str); str 77 drivers/firmware/efi/efivars.c str += sprintf(str, "\n"); str 79 drivers/firmware/efi/efivars.c return str - buf; str 87 drivers/firmware/efi/efivars.c char *str = buf; str 99 drivers/firmware/efi/efivars.c str += sprintf(str, "EFI_VARIABLE_NON_VOLATILE\n"); str 101 drivers/firmware/efi/efivars.c str += sprintf(str, "EFI_VARIABLE_BOOTSERVICE_ACCESS\n"); str 103 drivers/firmware/efi/efivars.c str += sprintf(str, "EFI_VARIABLE_RUNTIME_ACCESS\n"); str 105 drivers/firmware/efi/efivars.c str += sprintf(str, "EFI_VARIABLE_HARDWARE_ERROR_RECORD\n"); str 107 drivers/firmware/efi/efivars.c str += sprintf(str, str 111 drivers/firmware/efi/efivars.c str += sprintf(str, str 114 drivers/firmware/efi/efivars.c str += sprintf(str, "EFI_VARIABLE_APPEND_WRITE\n"); str 115 drivers/firmware/efi/efivars.c return str - buf; str 123 drivers/firmware/efi/efivars.c char *str = buf; str 134 drivers/firmware/efi/efivars.c str += sprintf(str, "0x%lx\n", var->DataSize); str 135 drivers/firmware/efi/efivars.c return str - buf; str 112 drivers/firmware/efi/esrt.c char *str = buf; str 114 drivers/firmware/efi/esrt.c efi_guid_to_str(&entry->esre.esre1->fw_class, str); str 115 drivers/firmware/efi/esrt.c str += strlen(str); str 116 drivers/firmware/efi/esrt.c str += sprintf(str, "\n"); str 118 drivers/firmware/efi/esrt.c return str - buf; str 41 drivers/firmware/efi/libstub/arm-stub.c efi_char16_t *str) str 46 drivers/firmware/efi/libstub/arm-stub.c out->output_string(out, str); str 56 drivers/firmware/efi/libstub/efi-stub-helper.c void efi_printk(efi_system_table_t *sys_table_arg, char *str) str 60 drivers/firmware/efi/libstub/efi-stub-helper.c for (s8 = str; *s8; s8++) { str 451 drivers/firmware/efi/libstub/efi-stub-helper.c char *str; str 453 drivers/firmware/efi/libstub/efi-stub-helper.c str = strstr(cmdline, "nokaslr"); str 454 drivers/firmware/efi/libstub/efi-stub-helper.c if (str == cmdline || (str && str > cmdline && *(str - 1) == ' ')) str 457 drivers/firmware/efi/libstub/efi-stub-helper.c str = strstr(cmdline, "quiet"); str 458 drivers/firmware/efi/libstub/efi-stub-helper.c if (str == cmdline || (str && str > cmdline && *(str - 1) == ' ')) str 465 drivers/firmware/efi/libstub/efi-stub-helper.c str = strstr(cmdline, "efi="); str 466 drivers/firmware/efi/libstub/efi-stub-helper.c if (!str) str 470 drivers/firmware/efi/libstub/efi-stub-helper.c str += strlen("efi="); str 476 drivers/firmware/efi/libstub/efi-stub-helper.c while (*str && *str != ' ') { str 477 drivers/firmware/efi/libstub/efi-stub-helper.c if (!strncmp(str, "nochunk", 7)) { str 478 drivers/firmware/efi/libstub/efi-stub-helper.c str += strlen("nochunk"); str 482 drivers/firmware/efi/libstub/efi-stub-helper.c if (!strncmp(str, "novamap", 7)) { str 483 drivers/firmware/efi/libstub/efi-stub-helper.c str += strlen("novamap"); str 488 drivers/firmware/efi/libstub/efi-stub-helper.c while (*str && *str != ' ' && *str != ',') str 489 drivers/firmware/efi/libstub/efi-stub-helper.c str++; str 491 drivers/firmware/efi/libstub/efi-stub-helper.c if (*str == ',') str 492 drivers/firmware/efi/libstub/efi-stub-helper.c str++; str 517 drivers/firmware/efi/libstub/efi-stub-helper.c char *str; str 523 drivers/firmware/efi/libstub/efi-stub-helper.c str = cmd_line; str 533 drivers/firmware/efi/libstub/efi-stub-helper.c if (!str || !*str) str 536 drivers/firmware/efi/libstub/efi-stub-helper.c for (nr_files = 0; *str; nr_files++) { str 537 drivers/firmware/efi/libstub/efi-stub-helper.c str = strstr(str, option_string); str 538 drivers/firmware/efi/libstub/efi-stub-helper.c if (!str) str 541 drivers/firmware/efi/libstub/efi-stub-helper.c str += strlen(option_string); str 544 drivers/firmware/efi/libstub/efi-stub-helper.c while (*str == '/' || *str == '\\') str 545 drivers/firmware/efi/libstub/efi-stub-helper.c str++; str 547 drivers/firmware/efi/libstub/efi-stub-helper.c while (*str && *str != ' ' && *str != '\n') str 548 drivers/firmware/efi/libstub/efi-stub-helper.c str++; str 561 drivers/firmware/efi/libstub/efi-stub-helper.c str = cmd_line; str 567 drivers/firmware/efi/libstub/efi-stub-helper.c str = strstr(str, option_string); str 568 drivers/firmware/efi/libstub/efi-stub-helper.c if (!str) str 571 drivers/firmware/efi/libstub/efi-stub-helper.c str += strlen(option_string); str 577 drivers/firmware/efi/libstub/efi-stub-helper.c while (*str == '/' || *str == '\\') str 578 drivers/firmware/efi/libstub/efi-stub-helper.c str++; str 580 drivers/firmware/efi/libstub/efi-stub-helper.c while (*str && *str != ' ' && *str != '\n') { str 584 drivers/firmware/efi/libstub/efi-stub-helper.c if (*str == '/') { str 586 drivers/firmware/efi/libstub/efi-stub-helper.c str++; str 588 drivers/firmware/efi/libstub/efi-stub-helper.c *p++ = *str++; str 15 drivers/firmware/efi/reboot.c const char *str[] = { "cold", "warm", "shutdown", "platform" }; str 41 drivers/firmware/efi/reboot.c "%s reset.\n", str[efi_mode], str[cap_reset_mode], str 42 drivers/firmware/efi/reboot.c str[cap_reset_mode]); str 33 drivers/firmware/efi/test/efi_test.c static inline size_t user_ucs2_strsize(efi_char16_t __user *str) str 35 drivers/firmware/efi/test/efi_test.c efi_char16_t *s = str, c; str 38 drivers/firmware/efi/test/efi_test.c if (!str) str 203 drivers/firmware/iscsi_ibft.c char *str = buf; str 211 drivers/firmware/iscsi_ibft.c str += sprintf(buf, "%pI4", ip + 12); str 216 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%pI6", ip); str 218 drivers/firmware/iscsi_ibft.c str += sprintf(str, "\n"); str 219 drivers/firmware/iscsi_ibft.c return str - buf; str 222 drivers/firmware/iscsi_ibft.c static ssize_t sprintf_string(char *str, int len, char *buf) str 224 drivers/firmware/iscsi_ibft.c return sprintf(str, "%.*s\n", len, buf); str 256 drivers/firmware/iscsi_ibft.c char *str = buf; str 263 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", initiator->hdr.index); str 266 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", initiator->hdr.flags); str 269 drivers/firmware/iscsi_ibft.c str += sprintf_ipaddr(str, initiator->isns_server); str 272 drivers/firmware/iscsi_ibft.c str += sprintf_ipaddr(str, initiator->slp_server); str 275 drivers/firmware/iscsi_ibft.c str += sprintf_ipaddr(str, initiator->pri_radius_server); str 278 drivers/firmware/iscsi_ibft.c str += sprintf_ipaddr(str, initiator->sec_radius_server); str 281 drivers/firmware/iscsi_ibft.c str += sprintf_string(str, initiator->initiator_name_len, str 289 drivers/firmware/iscsi_ibft.c return str - buf; str 297 drivers/firmware/iscsi_ibft.c char *str = buf; str 305 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", nic->hdr.index); str 308 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", nic->hdr.flags); str 311 drivers/firmware/iscsi_ibft.c str += sprintf_ipaddr(str, nic->ip_addr); str 315 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%pI4", &val); str 318 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", nic->subnet_mask_prefix); str 321 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", nic->origin); str 324 drivers/firmware/iscsi_ibft.c str += sprintf_ipaddr(str, nic->gateway); str 327 drivers/firmware/iscsi_ibft.c str += sprintf_ipaddr(str, nic->primary_dns); str 330 drivers/firmware/iscsi_ibft.c str += sprintf_ipaddr(str, nic->secondary_dns); str 333 drivers/firmware/iscsi_ibft.c str += sprintf_ipaddr(str, nic->dhcp); str 336 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", nic->vlan); str 339 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%pM\n", nic->mac); str 342 drivers/firmware/iscsi_ibft.c str += sprintf_string(str, nic->hostname_len, str 349 drivers/firmware/iscsi_ibft.c return str - buf; str 357 drivers/firmware/iscsi_ibft.c char *str = buf; str 365 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", tgt->hdr.index); str 368 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", tgt->hdr.flags); str 371 drivers/firmware/iscsi_ibft.c str += sprintf_ipaddr(str, tgt->ip_addr); str 374 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", tgt->port); str 378 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%x", (u8)tgt->lun[i]); str 379 drivers/firmware/iscsi_ibft.c str += sprintf(str, "\n"); str 382 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", tgt->nic_assoc); str 385 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", tgt->chap_type); str 388 drivers/firmware/iscsi_ibft.c str += sprintf_string(str, tgt->tgt_name_len, str 392 drivers/firmware/iscsi_ibft.c str += sprintf_string(str, tgt->chap_name_len, str 396 drivers/firmware/iscsi_ibft.c str += sprintf_string(str, tgt->chap_secret_len, str 400 drivers/firmware/iscsi_ibft.c str += sprintf_string(str, tgt->rev_chap_name_len, str 405 drivers/firmware/iscsi_ibft.c str += sprintf_string(str, tgt->rev_chap_secret_len, str 413 drivers/firmware/iscsi_ibft.c return str - buf; str 419 drivers/firmware/iscsi_ibft.c char *str = buf; str 423 drivers/firmware/iscsi_ibft.c str += sprintf_string(str, ACPI_NAMESEG_SIZE, str 427 drivers/firmware/iscsi_ibft.c str += sprintf_string(str, ACPI_OEM_ID_SIZE, str 431 drivers/firmware/iscsi_ibft.c str += sprintf_string(str, ACPI_OEM_TABLE_ID_SIZE, str 438 drivers/firmware/iscsi_ibft.c return str - buf; str 801 drivers/firmware/qemu_fw_cfg.c char *str; str 817 drivers/firmware/qemu_fw_cfg.c size = memparse(arg, &str); str 820 drivers/firmware/qemu_fw_cfg.c processed = sscanf(str, PH_ADDR_SCAN_FMT, str 831 drivers/firmware/qemu_fw_cfg.c if (str[consumed] || str 57 drivers/firmware/tegra/bpmp-debugfs.c static int seqbuf_read_str(struct seqbuf *seqbuf, const char **str) str 59 drivers/firmware/tegra/bpmp-debugfs.c *str = seqbuf->buf + seqbuf->pos; str 60 drivers/firmware/tegra/bpmp-debugfs.c seqbuf->pos += strnlen(*str, seqbuf_avail(seqbuf)); str 40 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK0_PIN_MIN(str) 0 str 41 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK0_PIN_MAX(str) (ZYNQ_GPIO_BANK0_PIN_MIN(str) + \ str 42 drivers/gpio/gpio-zynq.c ZYNQ##str##_GPIO_BANK0_NGPIO - 1) str 43 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK1_PIN_MIN(str) (ZYNQ_GPIO_BANK0_PIN_MAX(str) + 1) str 44 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK1_PIN_MAX(str) (ZYNQ_GPIO_BANK1_PIN_MIN(str) + \ str 45 drivers/gpio/gpio-zynq.c ZYNQ##str##_GPIO_BANK1_NGPIO - 1) str 46 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK2_PIN_MIN(str) (ZYNQ_GPIO_BANK1_PIN_MAX(str) + 1) str 47 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK2_PIN_MAX(str) (ZYNQ_GPIO_BANK2_PIN_MIN(str) + \ str 48 drivers/gpio/gpio-zynq.c ZYNQ##str##_GPIO_BANK2_NGPIO - 1) str 49 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK3_PIN_MIN(str) (ZYNQ_GPIO_BANK2_PIN_MAX(str) + 1) str 50 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK3_PIN_MAX(str) (ZYNQ_GPIO_BANK3_PIN_MIN(str) + \ str 51 drivers/gpio/gpio-zynq.c ZYNQ##str##_GPIO_BANK3_NGPIO - 1) str 52 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK4_PIN_MIN(str) (ZYNQ_GPIO_BANK3_PIN_MAX(str) + 1) str 53 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK4_PIN_MAX(str) (ZYNQ_GPIO_BANK4_PIN_MIN(str) + \ str 54 drivers/gpio/gpio-zynq.c ZYNQ##str##_GPIO_BANK4_NGPIO - 1) str 55 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK5_PIN_MIN(str) (ZYNQ_GPIO_BANK4_PIN_MAX(str) + 1) str 56 drivers/gpio/gpio-zynq.c #define ZYNQ_GPIO_BANK5_PIN_MAX(str) (ZYNQ_GPIO_BANK5_PIN_MIN(str) + \ str 57 drivers/gpio/gpio-zynq.c ZYNQ##str##_GPIO_BANK5_NGPIO - 1) str 123 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c char str[65]; str 135 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c memset(str, 0, sizeof(str)); str 138 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (copy_from_user(str, buf, s)) str 141 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (sscanf(str, "disable %32s", block_name) == 1) str 143 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c else if (sscanf(str, "enable %32s %8s", block_name, err) == 2) str 145 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c else if (sscanf(str, "inject %32s %8s", block_name, err) == 2) str 147 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c else if (str[0] && str[1] && str[2] && str[3]) str 167 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (sscanf(str, "%*s %*s %*s %u %llu %llu", str 169 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (sscanf(str, "%*s %*s %*s 0x%x 0x%llx 0x%llx", str 335 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c char *str; str 364 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c &str); str 367 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c strcpy(str, THIS_MODULE->version); str 370 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c strcpy(str, "N/A"); str 1304 drivers/gpu/drm/amd/amdgpu/atom.c char *str; str 1347 drivers/gpu/drm/amd/amdgpu/atom.c str = CSTR(idx); str 1348 drivers/gpu/drm/amd/amdgpu/atom.c if (*str != '\0') { str 1349 drivers/gpu/drm/amd/amdgpu/atom.c pr_info("ATOM BIOS: %s\n", str); str 1350 drivers/gpu/drm/amd/amdgpu/atom.c strlcpy(ctx->vbios_version, str, sizeof(ctx->vbios_version)); str 85 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c while (j < 13 && edid_buf->detailed_timings[i].data.other_data.data.str.str[j]) { str 86 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c if (edid_buf->detailed_timings[i].data.other_data.data.str.str[j] == '\n') str 90 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c edid_buf->detailed_timings[i].data.other_data.data.str.str[j]; str 47 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c static char str[10] = {0}; str 50 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c strcpy(str, "DOWN_REQ"); str 52 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c strcpy(str, "UP_REP"); str 54 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c strcpy(str, "DOWN_REP"); str 56 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c strcpy(str, "UP_REQ"); str 58 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c return str; str 33 drivers/gpu/drm/amd/display/dc/dml/dml_logger.h #define dml_print(str, ...) {DC_LOG_DML(str, ##__VA_ARGS__); } str 34 drivers/gpu/drm/amd/display/dc/dml/dml_logger.h #define DTRACE(str, ...) {DC_LOG_DML(str, ##__VA_ARGS__); } str 509 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c char str[16]; str 522 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c sprintf(str, "pipe-%d", crtc->slave->id); str 524 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c sprintf(str, "None"); str 527 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c kms->n_crtcs, master->id, str); str 1012 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c const char *str; str 1020 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c ret = of_property_read_string(np, "adi,input-colorspace", &str); str 1024 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c if (!strcmp(str, "rgb")) str 1026 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c else if (!strcmp(str, "yuv422")) str 1028 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c else if (!strcmp(str, "yuv444")) str 1033 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c ret = of_property_read_string(np, "adi,input-clock", &str); str 1037 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c if (!strcmp(str, "1x")) str 1039 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c else if (!strcmp(str, "2x")) str 1041 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c else if (!strcmp(str, "ddr")) str 1057 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c &str); str 1061 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c if (!strcmp(str, "left")) str 1064 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c else if (!strcmp(str, "evenly")) str 1067 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c else if (!strcmp(str, "right")) str 4021 drivers/gpu/drm/drm_edid.c *(u8 **)data = t->data.other_data.data.str.str; str 140 drivers/gpu/drm/drm_fourcc.c snprintf(buf->str, sizeof(buf->str), str 149 drivers/gpu/drm/drm_fourcc.c return buf->str; str 1418 drivers/gpu/drm/drm_modes.c static int drm_mode_parse_cmdline_bpp(const char *str, char **end_ptr, str 1423 drivers/gpu/drm/drm_modes.c if (str[0] != '-') str 1426 drivers/gpu/drm/drm_modes.c str++; str 1427 drivers/gpu/drm/drm_modes.c bpp = simple_strtol(str, end_ptr, 10); str 1428 drivers/gpu/drm/drm_modes.c if (*end_ptr == str) str 1437 drivers/gpu/drm/drm_modes.c static int drm_mode_parse_cmdline_refresh(const char *str, char **end_ptr, str 1442 drivers/gpu/drm/drm_modes.c if (str[0] != '@') str 1445 drivers/gpu/drm/drm_modes.c str++; str 1446 drivers/gpu/drm/drm_modes.c refresh = simple_strtol(str, end_ptr, 10); str 1447 drivers/gpu/drm/drm_modes.c if (*end_ptr == str) str 1456 drivers/gpu/drm/drm_modes.c static int drm_mode_parse_cmdline_extra(const char *str, int length, str 1464 drivers/gpu/drm/drm_modes.c switch (str[i]) { str 1507 drivers/gpu/drm/drm_modes.c static int drm_mode_parse_cmdline_res_mode(const char *str, unsigned int length, str 1512 drivers/gpu/drm/drm_modes.c const char *str_start = str; str 1518 drivers/gpu/drm/drm_modes.c xres = simple_strtol(str, &end_ptr, 10); str 1519 drivers/gpu/drm/drm_modes.c if (end_ptr == str) str 1526 drivers/gpu/drm/drm_modes.c str = end_ptr; str 1527 drivers/gpu/drm/drm_modes.c yres = simple_strtol(str, &end_ptr, 10); str 1528 drivers/gpu/drm/drm_modes.c if (end_ptr == str) str 1571 drivers/gpu/drm/drm_modes.c static int drm_mode_parse_cmdline_options(char *str, size_t len, str 1576 drivers/gpu/drm/drm_modes.c char *sep = str; str 1587 drivers/gpu/drm/drm_modes.c delim = str + len; str 38 drivers/gpu/drm/drm_print.c void __drm_puts_coredump(struct drm_printer *p, const char *str) str 49 drivers/gpu/drm/drm_print.c len = strlen(str); str 63 drivers/gpu/drm/drm_print.c str + (iterator->start - iterator->offset), copy); str 70 drivers/gpu/drm/drm_print.c len = min_t(ssize_t, strlen(str), iterator->remain); str 72 drivers/gpu/drm/drm_print.c memcpy(iterator->data + pos, str, len); str 126 drivers/gpu/drm/drm_print.c void __drm_puts_seq_file(struct drm_printer *p, const char *str) str 128 drivers/gpu/drm/drm_print.c seq_puts(p->arg, str); str 158 drivers/gpu/drm/drm_print.c void drm_puts(struct drm_printer *p, const char *str) str 161 drivers/gpu/drm/drm_print.c p->puts(p, str); str 163 drivers/gpu/drm/drm_print.c drm_printf(p, "%s", str); str 205 drivers/gpu/drm/i915/display/dvo_ch7017.c const char *str; str 220 drivers/gpu/drm/i915/display/dvo_ch7017.c str = "ch7017"; str 223 drivers/gpu/drm/i915/display/dvo_ch7017.c str = "ch7018"; str 226 drivers/gpu/drm/i915/display/dvo_ch7017.c str = "ch7019"; str 236 drivers/gpu/drm/i915/display/dvo_ch7017.c str, adapter->name, dvo->slave_addr); str 12006 drivers/gpu/drm/i915/display/intel_display.c char *str = buf; str 12009 drivers/gpu/drm/i915/display/intel_display.c str[0] = '\0'; str 12017 drivers/gpu/drm/i915/display/intel_display.c r = snprintf(str, len, "%s%s", str 12018 drivers/gpu/drm/i915/display/intel_display.c str != buf ? "," : "", output_type_str[i]); str 12021 drivers/gpu/drm/i915/display/intel_display.c str += r; str 1759 drivers/gpu/drm/i915/display/intel_dp.c static void snprintf_int_array(char *str, size_t len, str 1764 drivers/gpu/drm/i915/display/intel_dp.c str[0] = '\0'; str 1767 drivers/gpu/drm/i915/display/intel_dp.c int r = snprintf(str, len, "%s%d", i ? ", " : "", array[i]); str 1770 drivers/gpu/drm/i915/display/intel_dp.c str += r; str 1777 drivers/gpu/drm/i915/display/intel_dp.c char str[128]; /* FIXME: too big for stack? */ str 1782 drivers/gpu/drm/i915/display/intel_dp.c snprintf_int_array(str, sizeof(str), str 1784 drivers/gpu/drm/i915/display/intel_dp.c DRM_DEBUG_KMS("source rates: %s\n", str); str 1786 drivers/gpu/drm/i915/display/intel_dp.c snprintf_int_array(str, sizeof(str), str 1788 drivers/gpu/drm/i915/display/intel_dp.c DRM_DEBUG_KMS("sink rates: %s\n", str); str 1790 drivers/gpu/drm/i915/display/intel_dp.c snprintf_int_array(str, sizeof(str), str 1792 drivers/gpu/drm/i915/display/intel_dp.c DRM_DEBUG_KMS("common rates: %s\n", str); str 1085 drivers/gpu/drm/i915/gt/selftest_workarounds.c const char *str) str 1092 drivers/gpu/drm/i915/gt/selftest_workarounds.c ok &= wa_list_verify(&i915->uncore, &lists->gt_wa_list, str); str 1099 drivers/gpu/drm/i915/gt/selftest_workarounds.c str) == 0; str 1103 drivers/gpu/drm/i915/gt/selftest_workarounds.c str) == 0; str 2102 drivers/gpu/drm/i915/i915_debugfs.c const char *str = "unknown"; str 2106 drivers/gpu/drm/i915/i915_debugfs.c str = sink_status[val]; str 2107 drivers/gpu/drm/i915/i915_debugfs.c seq_printf(m, "Sink PSR status: 0x%x [%s]\n", val, str); str 2666 drivers/gpu/drm/i915/i915_debugfs.c sprintf(format_name.str, "N/A"); str 2684 drivers/gpu/drm/i915/i915_debugfs.c format_name.str, str 721 drivers/gpu/drm/i915/i915_drv.c static const char * const str[] = { str 729 drivers/gpu/drm/i915/i915_drv.c if (type >= ARRAY_SIZE(str)) str 732 drivers/gpu/drm/i915/i915_drv.c return str[type]; str 143 drivers/gpu/drm/i915/i915_gpu_error.c static void i915_error_puts(struct drm_i915_error_state_buf *e, const char *str) str 147 drivers/gpu/drm/i915/i915_gpu_error.c if (e->err || !str) str 150 drivers/gpu/drm/i915/i915_gpu_error.c len = strlen(str); str 155 drivers/gpu/drm/i915/i915_gpu_error.c memcpy(e->buf + e->bytes, str, len); str 726 drivers/gpu/drm/i915/i915_pmu.c const char *str; str 735 drivers/gpu/drm/i915/i915_pmu.c return sprintf(buf, "%s\n", eattr->str); str 741 drivers/gpu/drm/i915/i915_pmu.c .str = _config, } \ str 826 drivers/gpu/drm/i915/i915_pmu.c const char *str) str 832 drivers/gpu/drm/i915/i915_pmu.c attr->event_str = str; str 900 drivers/gpu/drm/i915/i915_pmu.c char *str; str 905 drivers/gpu/drm/i915/i915_pmu.c str = kstrdup(events[i].name, GFP_KERNEL); str 906 drivers/gpu/drm/i915/i915_pmu.c if (!str) str 910 drivers/gpu/drm/i915/i915_pmu.c i915_iter = add_i915_attr(i915_iter, str, events[i].config); str 913 drivers/gpu/drm/i915/i915_pmu.c str = kasprintf(GFP_KERNEL, "%s.unit", events[i].name); str 914 drivers/gpu/drm/i915/i915_pmu.c if (!str) str 918 drivers/gpu/drm/i915/i915_pmu.c pmu_iter = add_pmu_attr(pmu_iter, str, events[i].unit); str 925 drivers/gpu/drm/i915/i915_pmu.c char *str; str 931 drivers/gpu/drm/i915/i915_pmu.c str = kasprintf(GFP_KERNEL, "%s-%s", str 933 drivers/gpu/drm/i915/i915_pmu.c if (!str) str 938 drivers/gpu/drm/i915/i915_pmu.c add_i915_attr(i915_iter, str, str 943 drivers/gpu/drm/i915/i915_pmu.c str = kasprintf(GFP_KERNEL, "%s-%s.unit", str 945 drivers/gpu/drm/i915/i915_pmu.c if (!str) str 949 drivers/gpu/drm/i915/i915_pmu.c pmu_iter = add_pmu_attr(pmu_iter, str, "ns"); str 528 drivers/gpu/drm/i915/i915_sysfs.c const char *str = "No error state collected\n"; str 529 drivers/gpu/drm/i915/i915_sysfs.c size_t len = strlen(str); str 532 drivers/gpu/drm/i915/i915_sysfs.c memcpy(buf, str + off, ret); str 13 drivers/gpu/drm/nouveau/include/nvkm/core/option.h strncasecmpz(const char *str, const char *cmp, size_t len) str 17 drivers/gpu/drm/nouveau/include/nvkm/core/option.h return strncasecmp(str, cmp, len); str 27 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios.h u16 nvbios_findstr(const u8 *data, int size, const char *str, int len); str 1232 drivers/gpu/drm/nouveau/nouveau_bios.c static uint16_t findstr(uint8_t *data, int n, const uint8_t *str, int len) str 1238 drivers/gpu/drm/nouveau/nouveau_bios.c if (data[i + j] != str[j]) str 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c nvbios_findstr(const u8 *data, int size, const char *str, int len) str 89 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c if ((char)data[i + j] != str[j]) str 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c nvbios_memcmp(struct nvkm_bios *bios, u32 addr, const char *str, u32 len) str 105 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c c2 = *(str++); str 4212 drivers/gpu/drm/omapdrm/dss/dsi.c static void print_dsi_vm(const char *str, str 4227 drivers/gpu/drm/omapdrm/dss/dsi.c str, str 4245 drivers/gpu/drm/omapdrm/dss/dsi.c static void print_dispc_vm(const char *str, const struct videomode *vm) str 4258 drivers/gpu/drm/omapdrm/dss/dsi.c str, str 4273 drivers/gpu/drm/omapdrm/dss/dsi.c static void print_dsi_dispc_vm(const char *str, str 4293 drivers/gpu/drm/omapdrm/dss/dsi.c print_dispc_vm(str, &vm); str 589 drivers/gpu/drm/qxl/qxl_dev.h QXLPHYSICAL str; str 1270 drivers/gpu/drm/radeon/atom.c char *str; str 1310 drivers/gpu/drm/radeon/atom.c str = CSTR(CU16(base + ATOM_ROM_MSG_PTR)); str 1311 drivers/gpu/drm/radeon/atom.c while (*str && ((*str == '\n') || (*str == '\r'))) str 1312 drivers/gpu/drm/radeon/atom.c str++; str 1315 drivers/gpu/drm/radeon/atom.c name[i] = str[i]; str 593 drivers/gpu/drm/sti/sti_hdmi.c #define DBGFS_DUMP(str, reg) seq_printf(s, "%s %-25s 0x%08X", str, #reg, \ str 317 drivers/gpu/drm/tilcdc/tilcdc_drv.c const char *str = "\0"; str 319 drivers/gpu/drm/tilcdc/tilcdc_drv.c of_property_read_string(node, "blue-and-red-wiring", &str); str 320 drivers/gpu/drm/tilcdc/tilcdc_drv.c if (0 == strcmp(str, "crossed")) { str 326 drivers/gpu/drm/tilcdc/tilcdc_drv.c } else if (0 == strcmp(str, "straight")) { str 334 drivers/gpu/drm/tilcdc/tilcdc_drv.c str); str 548 drivers/gpu/drm/tiny/gm12u320.c .data.other_data.data.str.str = { str 554 drivers/gpu/drm/tiny/gm12u320.c .data.other_data.data.str.str = { str 56 drivers/gpu/drm/vgem/vgem_fence.c static void vgem_fence_value_str(struct dma_fence *fence, char *str, int size) str 58 drivers/gpu/drm/vgem/vgem_fence.c snprintf(str, size, "%llu", fence->seqno); str 61 drivers/gpu/drm/vgem/vgem_fence.c static void vgem_fence_timeline_value_str(struct dma_fence *fence, char *str, str 64 drivers/gpu/drm/vgem/vgem_fence.c snprintf(str, size, "%llu", str 49 drivers/gpu/drm/virtio/virtgpu_fence.c static void virtio_fence_value_str(struct dma_fence *f, char *str, int size) str 51 drivers/gpu/drm/virtio/virtgpu_fence.c snprintf(str, size, "%llu", f->seqno); str 54 drivers/gpu/drm/virtio/virtgpu_fence.c static void virtio_timeline_value_str(struct dma_fence *f, char *str, int size) str 58 drivers/gpu/drm/virtio/virtgpu_fence.c snprintf(str, size, "%llu", (u64)atomic64_read(&fence->drv->last_seq)); str 16 drivers/gpu/host1x/debug.h void (*fn)(void *ctx, const char *str, size_t len, bool cont); str 21 drivers/gpu/host1x/debug.h static inline void write_to_seqfile(void *ctx, const char *str, size_t len, str 24 drivers/gpu/host1x/debug.h seq_write((struct seq_file *)ctx, str, len); str 27 drivers/gpu/host1x/debug.h static inline void write_to_printk(void *ctx, const char *str, size_t len, str 31 drivers/gpu/host1x/debug.h pr_cont("%s", str); str 33 drivers/gpu/host1x/debug.h pr_info("%s", str); str 393 drivers/greybus/manifest.c char *str; str 396 drivers/greybus/manifest.c str = gb_string_get(intf, desc_intf->vendor_stringid); str 397 drivers/greybus/manifest.c if (IS_ERR(str)) str 399 drivers/greybus/manifest.c control->vendor_string = str; str 401 drivers/greybus/manifest.c str = gb_string_get(intf, desc_intf->product_stringid); str 402 drivers/greybus/manifest.c if (IS_ERR(str)) str 404 drivers/greybus/manifest.c control->product_string = str; str 101 drivers/hid/hid-wiimote-debug.c const char *str = NULL; str 110 drivers/hid/hid-wiimote-debug.c str = wiidebug_drmmap[drm]; str 111 drivers/hid/hid-wiimote-debug.c if (!str) str 112 drivers/hid/hid-wiimote-debug.c str = "unknown"; str 114 drivers/hid/hid-wiimote-debug.c seq_printf(f, "%s\n", str); str 721 drivers/hwmon/acpi_power_meter.c acpi_string *str; str 724 drivers/hwmon/acpi_power_meter.c str = &resource->model_number; str 725 drivers/hwmon/acpi_power_meter.c for (i = 0; i < 3; i++, str++) str 726 drivers/hwmon/acpi_power_meter.c kfree(*str); str 737 drivers/hwmon/acpi_power_meter.c acpi_string *str; str 777 drivers/hwmon/acpi_power_meter.c str = &resource->model_number; str 787 drivers/hwmon/acpi_power_meter.c *str = kcalloc(element->string.length + 1, sizeof(u8), str 789 drivers/hwmon/acpi_power_meter.c if (!*str) { str 794 drivers/hwmon/acpi_power_meter.c strncpy(*str, element->string.pointer, element->string.length); str 795 drivers/hwmon/acpi_power_meter.c str++; str 801 drivers/hwmon/acpi_power_meter.c str = &resource->model_number; str 802 drivers/hwmon/acpi_power_meter.c for (i = 0; i < 3; i++, str++) str 803 drivers/hwmon/acpi_power_meter.c kfree(*str); str 770 drivers/hwmon/asus_atk0110.c char *str = file->private_data; str 771 drivers/hwmon/asus_atk0110.c size_t len = strlen(str); str 773 drivers/hwmon/asus_atk0110.c return simple_read_from_buffer(buf, count, pos, str, len); str 294 drivers/hwmon/ibmpowernv.c const char *str; str 307 drivers/hwmon/ibmpowernv.c if (of_property_read_string(np, "sensor-type", &str)) str 311 drivers/hwmon/ibmpowernv.c if (!strcmp(str, sensor_groups[type].name)) str 497 drivers/hwmon/ina3221.c u32 attr, int channel, const char **str) str 502 drivers/hwmon/ina3221.c *str = ina->inputs[index].label; str 288 drivers/hwmon/lochnagar-hwmon.c int chan, const char **str) str 294 drivers/hwmon/lochnagar-hwmon.c *str = lochnagar_chan_names[chan]; str 350 drivers/hwmon/max6621.c int channel, const char **str) str 356 drivers/hwmon/max6621.c *str = max6621_temp_labels[channel]; str 398 drivers/hwmon/pmbus/ucd9000.c char str[(I2C_SMBUS_BLOCK_MAX * 2) + 2]; str 406 drivers/hwmon/pmbus/ucd9000.c res = bin2hex(str, buffer, min(rc, I2C_SMBUS_BLOCK_MAX)); str 410 drivers/hwmon/pmbus/ucd9000.c return simple_read_from_buffer(buf, count, ppos, str, res - str); str 88 drivers/hwmon/scmi-hwmon.c u32 attr, int channel, const char **str) str 94 drivers/hwmon/scmi-hwmon.c *str = sensor->name; str 869 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c char str[20] = ""; str 875 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c if (sscanf(buf, "%s", str) != 1) str 880 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c if (!strcmp(str, "instr")) str 1151 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c char str[10] = ""; str 1157 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c if (sscanf(buf, "%s", str) != 1) str 1162 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c if (!strcmp(str, "none")) str 1165 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c else if (!strcmp(str, "ctxid")) { str 1171 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c } else if (!strcmp(str, "vmid")) { str 1177 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c } else if (!strcmp(str, "all")) { str 30 drivers/hwtracing/stm/heartbeat.c static const char str[] = "heartbeat stm source driver is here to serve you"; str 37 drivers/hwtracing/stm/heartbeat.c stm_source_write(&heartbeat->data, 0, str, sizeof str); str 240 drivers/i2c/busses/i2c-pxa.c const char *str = val & bits->mask ? bits->set : bits->unset; str 241 drivers/i2c/busses/i2c-pxa.c if (str) str 242 drivers/i2c/busses/i2c-pxa.c printk("%s ", str); str 248 drivers/ide/ide.c static int ide_set_disk_chs(const char *str, const struct kernel_param *kp) str 254 drivers/ide/ide.c if (sscanf(str, "%u.%u:%u,%u,%u", &a, &b, &c, &h, &s) != 5 && str 255 drivers/ide/ide.c sscanf(str, "%u.%u:%u", &a, &b, &j) != 3) str 953 drivers/iio/accel/kxcjk-1013.c const char *str; str 956 drivers/iio/accel/kxcjk-1013.c str = kxtf9_samp_freq_avail; str 958 drivers/iio/accel/kxcjk-1013.c str = kxcjk1013_samp_freq_avail; str 960 drivers/iio/accel/kxcjk-1013.c return sprintf(buf, "%s\n", str); str 124 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_str2val(const char *str, str 130 drivers/iio/adc/stm32-dfsdm-adc.c if (!strcmp(p->name, str)) str 778 drivers/iio/industrialio-core.c int iio_str_to_fixpoint(const char *str, int fract_mult, str 787 drivers/iio/industrialio-core.c return kstrtoint(str, 0, integer); str 790 drivers/iio/industrialio-core.c if (str[0] == '-') { str 792 drivers/iio/industrialio-core.c str++; str 793 drivers/iio/industrialio-core.c } else if (str[0] == '+') { str 794 drivers/iio/industrialio-core.c str++; str 797 drivers/iio/industrialio-core.c while (*str) { str 798 drivers/iio/industrialio-core.c if ('0' <= *str && *str <= '9') { str 800 drivers/iio/industrialio-core.c i = i * 10 + *str - '0'; str 802 drivers/iio/industrialio-core.c f += fract_mult * (*str - '0'); str 805 drivers/iio/industrialio-core.c } else if (*str == '\n') { str 806 drivers/iio/industrialio-core.c if (*(str + 1) == '\0') str 810 drivers/iio/industrialio-core.c } else if (*str == '.' && integer_part) { str 815 drivers/iio/industrialio-core.c str++; str 806 drivers/infiniband/core/device.c void ib_get_device_fw_str(struct ib_device *dev, char *str) str 809 drivers/infiniband/core/device.c dev->ops.get_dev_fw_str(dev, str); str 811 drivers/infiniband/core/device.c str[0] = '\0'; str 269 drivers/infiniband/hw/bnxt_re/ib_verbs.c void bnxt_re_query_fw_str(struct ib_device *ibdev, char *str) str 273 drivers/infiniband/hw/bnxt_re/ib_verbs.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%d.%d.%d.%d", str 155 drivers/infiniband/hw/bnxt_re/ib_verbs.h void bnxt_re_query_fw_str(struct ib_device *ibdev, char *str); str 1192 drivers/infiniband/hw/cxgb3/iwch_provider.c static void get_dev_fw_ver_str(struct ib_device *ibdev, char *str) str 1200 drivers/infiniband/hw/cxgb3/iwch_provider.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%s", info.fw_version); str 447 drivers/infiniband/hw/cxgb4/provider.c static void get_dev_fw_str(struct ib_device *dev, char *str) str 453 drivers/infiniband/hw/cxgb4/provider.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%u.%u.%u.%u", str 109 drivers/infiniband/hw/hfi1/chip.c char *str; /* description string */ str 116 drivers/infiniband/hw/hfi1/chip.c #define FLAG_ENTRY(str, extra, flag) {flag, str, extra} str 117 drivers/infiniband/hw/hfi1/chip.c #define FLAG_ENTRY0(str, flag) {flag, str, 0} str 5315 drivers/infiniband/hw/hfi1/chip.c no_room = append_str(buf, &p, &len, table[i].str); str 7101 drivers/infiniband/hw/hfi1/chip.c const char *str = NULL; str 7104 drivers/infiniband/hw/hfi1/chip.c str = link_down_reason_strs[reason]; str 7105 drivers/infiniband/hw/hfi1/chip.c if (!str) str 7106 drivers/infiniband/hw/hfi1/chip.c str = "(invalid)"; str 7108 drivers/infiniband/hw/hfi1/chip.c return str; str 10230 drivers/infiniband/hw/hfi1/chip.c const char *str = NULL; str 10233 drivers/infiniband/hw/hfi1/chip.c str = state_complete_reasons[code]; str 10235 drivers/infiniband/hw/hfi1/chip.c if (str) str 10236 drivers/infiniband/hw/hfi1/chip.c return str; str 1620 drivers/infiniband/hw/hfi1/verbs.c static void hfi1_get_dev_fw_str(struct ib_device *ibdev, char *str) str 1626 drivers/infiniband/hw/hfi1/verbs.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%u.%u.%u", dc8051_ver_maj(ver), str 2534 drivers/infiniband/hw/i40iw/i40iw_verbs.c static void i40iw_get_dev_fw_str(struct ib_device *dev, char *str) str 2538 drivers/infiniband/hw/i40iw/i40iw_verbs.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%u.%u", firmware_version, str 2516 drivers/infiniband/hw/mlx4/main.c static void get_fw_ver_str(struct ib_device *device, char *str) str 2520 drivers/infiniband/hw/mlx4/main.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%d.%d.%d", str 5168 drivers/infiniband/hw/mlx5/main.c static void get_dev_fw_str(struct ib_device *ibdev, char *str) str 5172 drivers/infiniband/hw/mlx5/main.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%d.%d.%04d", str 1135 drivers/infiniband/hw/mthca/mthca_provider.c static void get_dev_fw_str(struct ib_device *device, char *str) str 1139 drivers/infiniband/hw/mthca/mthca_provider.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%d.%d.%d", str 267 drivers/infiniband/hw/ocrdma/ocrdma_hw.c char *str = ""; str 273 drivers/infiniband/hw/ocrdma/ocrdma_hw.c str = "40Gbps "; str 275 drivers/infiniband/hw/ocrdma/ocrdma_hw.c str = "10Gbps "; str 277 drivers/infiniband/hw/ocrdma/ocrdma_hw.c str = "1Gbps "; str 279 drivers/infiniband/hw/ocrdma/ocrdma_hw.c return str; str 108 drivers/infiniband/hw/ocrdma/ocrdma_main.c static void get_dev_fw_str(struct ib_device *device, char *str) str 112 drivers/infiniband/hw/ocrdma/ocrdma_main.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%s", &dev->attr.fw_ver[0]); str 74 drivers/infiniband/hw/qedr/main.c static void qedr_get_dev_fw_str(struct ib_device *ibdev, char *str) str 79 drivers/infiniband/hw/qedr/main.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%d.%d.%d.%d", str 175 drivers/infiniband/hw/qedr/qedr_iw_cm.c enum ib_event_type ib_event, char *str) str 182 drivers/infiniband/hw/qedr/qedr_iw_cm.c DP_NOTICE(dev, "QP error received: %s\n", str); str 6051 drivers/infiniband/hw/qib/qib_iba7322.c char *nxt, *str; str 6057 drivers/infiniband/hw/qib/qib_iba7322.c str = txselect_list; str 6060 drivers/infiniband/hw/qib/qib_iba7322.c deflt = simple_strtoul(str, &nxt, 0); str 6069 drivers/infiniband/hw/qib/qib_iba7322.c str = ++nxt; str 6070 drivers/infiniband/hw/qib/qib_iba7322.c unit = simple_strtoul(str, &nxt, 0); str 6071 drivers/infiniband/hw/qib/qib_iba7322.c if (nxt == str || !*nxt || *nxt != ',') { str 6076 drivers/infiniband/hw/qib/qib_iba7322.c str = ++nxt; str 6077 drivers/infiniband/hw/qib/qib_iba7322.c port = simple_strtoul(str, &nxt, 0); str 6078 drivers/infiniband/hw/qib/qib_iba7322.c if (nxt == str || *nxt != '=') { str 6083 drivers/infiniband/hw/qib/qib_iba7322.c str = ++nxt; str 6084 drivers/infiniband/hw/qib/qib_iba7322.c val = simple_strtoul(str, &nxt, 0); str 6085 drivers/infiniband/hw/qib/qib_iba7322.c if (nxt == str) { str 6095 drivers/infiniband/hw/qib/qib_iba7322.c str = ++nxt; str 6096 drivers/infiniband/hw/qib/qib_iba7322.c h1 = (u32)simple_strtoul(str, &nxt, 0); str 6097 drivers/infiniband/hw/qib/qib_iba7322.c if (nxt == str) str 6137 drivers/infiniband/hw/qib/qib_iba7322.c static int setup_txselect(const char *str, const struct kernel_param *kp) str 6143 drivers/infiniband/hw/qib/qib_iba7322.c if (strlen(str) >= ARRAY_SIZE(txselect_list)) { str 6147 drivers/infiniband/hw/qib/qib_iba7322.c val = simple_strtoul(str, &n, 0); str 6148 drivers/infiniband/hw/qib/qib_iba7322.c if (n == str || val >= (TXDDS_TABLE_SZ + TXDDS_EXTRA_SZ + str 6154 drivers/infiniband/hw/qib/qib_iba7322.c strncpy(txselect_list, str, ARRAY_SIZE(txselect_list) - 1); str 324 drivers/infiniband/hw/usnic/usnic_ib_main.c static void usnic_get_dev_fw_str(struct ib_device *device, char *str) str 334 drivers/infiniband/hw/usnic/usnic_ib_main.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%s", info.fw_version); str 100 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c static void pvrdma_get_fw_ver_str(struct ib_device *device, char *str) str 104 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c snprintf(str, IB_FW_VERSION_NAME_MAX, "%d.%d.%d\n", str 763 drivers/input/evdev.c static int str_to_user(const char *str, unsigned int maxlen, void __user *p) str 767 drivers/input/evdev.c if (!str) str 770 drivers/input/evdev.c len = strlen(str) + 1; str 774 drivers/input/evdev.c return copy_to_user(p, str, len) ? -EFAULT : len; str 73 drivers/input/keyboard/sh_keysc.c const char *str) str 78 drivers/input/keyboard/sh_keysc.c dev_dbg(dev, "%s[%d] 0x%lx\n", str, k, map[k]); str 135 drivers/input/misc/ideapad_slidebar.c static bool slidebar_i8042_filter(unsigned char data, unsigned char str, str 141 drivers/input/misc/ideapad_slidebar.c if (str & I8042_STR_AUXDATA) str 813 drivers/input/misc/uinput.c static int uinput_str_to_user(void __user *dest, const char *str, str 819 drivers/input/misc/uinput.c if (!str) str 825 drivers/input/misc/uinput.c len = strlen(str) + 1; str 829 drivers/input/misc/uinput.c ret = copy_to_user(p, str, len); str 98 drivers/input/serio/gscps2.c u8 str; str 236 drivers/input/serio/gscps2.c while ( (ps2port->buffer[ps2port->append].str = str 261 drivers/input/serio/gscps2.c status = ps2port->buffer[ps2port->act].str; str 1060 drivers/input/serio/hp_sdc.c const char *str; str 1074 drivers/input/serio/hp_sdc.c HP_SDC_XTD_REV_STRINGS(hp_sdc.r7e & HP_SDC_XTD_REV, str) str 1075 drivers/input/serio/hp_sdc.c printk(KERN_INFO PREFIX "Revision: %s\n", str); str 171 drivers/input/serio/i8042.c static bool (*i8042_platform_filter)(unsigned char data, unsigned char str, str 186 drivers/input/serio/i8042.c int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, str 207 drivers/input/serio/i8042.c int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str, str 264 drivers/input/serio/i8042.c unsigned char data, str; str 270 drivers/input/serio/i8042.c while ((str = i8042_read_status()) & I8042_STR_OBF) { str 275 drivers/input/serio/i8042.c data, str & I8042_STR_AUXDATA ? "aux" : "kbd"); str 486 drivers/input/serio/i8042.c static bool i8042_filter(unsigned char data, unsigned char str, str 490 drivers/input/serio/i8042.c if ((~str & I8042_STR_AUXDATA) && str 498 drivers/input/serio/i8042.c if (i8042_platform_filter && i8042_platform_filter(data, str, serio)) { str 517 drivers/input/serio/i8042.c unsigned char str, data; str 525 drivers/input/serio/i8042.c str = i8042_read_status(); str 526 drivers/input/serio/i8042.c if (unlikely(~str & I8042_STR_OBF)) { str 536 drivers/input/serio/i8042.c if (i8042_mux_present && (str & I8042_STR_AUXDATA)) { str 541 drivers/input/serio/i8042.c if (str & I8042_STR_MUXERR) { str 543 drivers/input/serio/i8042.c str, data); str 560 drivers/input/serio/i8042.c str = last_str; str 571 drivers/input/serio/i8042.c port_no = I8042_MUX_PORT_NO + ((str >> 6) & 3); str 572 drivers/input/serio/i8042.c last_str = str; str 576 drivers/input/serio/i8042.c dfl = ((str & I8042_STR_PARITY) ? SERIO_PARITY : 0) | str 577 drivers/input/serio/i8042.c ((str & I8042_STR_TIMEOUT && !i8042_notimeout) ? SERIO_TIMEOUT : 0); str 579 drivers/input/serio/i8042.c port_no = (str & I8042_STR_AUXDATA) ? str 591 drivers/input/serio/i8042.c filtered = i8042_filter(data, str, serio); str 743 drivers/input/serio/i8042.c unsigned char str, data; str 747 drivers/input/serio/i8042.c str = i8042_read_status(); str 748 drivers/input/serio/i8042.c if (str & I8042_STR_OBF) { str 751 drivers/input/serio/i8042.c data, str & I8042_STR_AUXDATA ? "aux" : "kbd"); str 753 drivers/input/serio/i8042.c data == 0xa5 && (str & I8042_STR_AUXDATA)) str 353 drivers/input/tablet/aiptek.c static int map_str_to_val(const struct aiptek_map *map, const char *str, size_t count) str 357 drivers/input/tablet/aiptek.c if (str[count - 1] == '\n') str 361 drivers/input/tablet/aiptek.c if (!strncmp(str, p->string, count)) str 401 drivers/input/touchscreen/silead.c const char *str; str 411 drivers/input/touchscreen/silead.c error = device_property_read_string(dev, "firmware-name", &str); str 414 drivers/input/touchscreen/silead.c "silead/%s", str); str 2939 drivers/iommu/amd_iommu_init.c static int __init parse_amd_iommu_dump(char *str) str 2946 drivers/iommu/amd_iommu_init.c static int __init parse_amd_iommu_intr(char *str) str 2948 drivers/iommu/amd_iommu_init.c for (; *str; ++str) { str 2949 drivers/iommu/amd_iommu_init.c if (strncmp(str, "legacy", 6) == 0) { str 2953 drivers/iommu/amd_iommu_init.c if (strncmp(str, "vapic", 5) == 0) { str 2961 drivers/iommu/amd_iommu_init.c static int __init parse_amd_iommu_options(char *str) str 2963 drivers/iommu/amd_iommu_init.c for (; *str; ++str) { str 2964 drivers/iommu/amd_iommu_init.c if (strncmp(str, "fullflush", 9) == 0) str 2966 drivers/iommu/amd_iommu_init.c if (strncmp(str, "off", 3) == 0) str 2968 drivers/iommu/amd_iommu_init.c if (strncmp(str, "force_isolation", 15) == 0) str 2975 drivers/iommu/amd_iommu_init.c static int __init parse_ivrs_ioapic(char *str) str 2981 drivers/iommu/amd_iommu_init.c ret = sscanf(str, "[%d]=%x:%x.%x", &id, &bus, &dev, &fn); str 2984 drivers/iommu/amd_iommu_init.c pr_err("Invalid command line: ivrs_ioapic%s\n", str); str 2990 drivers/iommu/amd_iommu_init.c str); str 3005 drivers/iommu/amd_iommu_init.c static int __init parse_ivrs_hpet(char *str) str 3011 drivers/iommu/amd_iommu_init.c ret = sscanf(str, "[%d]=%x:%x.%x", &id, &bus, &dev, &fn); str 3014 drivers/iommu/amd_iommu_init.c pr_err("Invalid command line: ivrs_hpet%s\n", str); str 3020 drivers/iommu/amd_iommu_init.c str); str 3035 drivers/iommu/amd_iommu_init.c static int __init parse_ivrs_acpihid(char *str) str 3042 drivers/iommu/amd_iommu_init.c ret = sscanf(str, "[%x:%x.%x]=%s", &bus, &dev, &fn, acpiid); str 3044 drivers/iommu/amd_iommu_init.c pr_err("Invalid command line: ivrs_acpihid(%s)\n", str); str 437 drivers/iommu/intel-iommu.c static int __init intel_iommu_setup(char *str) str 439 drivers/iommu/intel-iommu.c if (!str) str 441 drivers/iommu/intel-iommu.c while (*str) { str 442 drivers/iommu/intel-iommu.c if (!strncmp(str, "on", 2)) { str 445 drivers/iommu/intel-iommu.c } else if (!strncmp(str, "off", 3)) { str 449 drivers/iommu/intel-iommu.c } else if (!strncmp(str, "igfx_off", 8)) { str 452 drivers/iommu/intel-iommu.c } else if (!strncmp(str, "forcedac", 8)) { str 455 drivers/iommu/intel-iommu.c } else if (!strncmp(str, "strict", 6)) { str 458 drivers/iommu/intel-iommu.c } else if (!strncmp(str, "sp_off", 6)) { str 461 drivers/iommu/intel-iommu.c } else if (!strncmp(str, "sm_on", 5)) { str 464 drivers/iommu/intel-iommu.c } else if (!strncmp(str, "tboot_noforce", 13)) { str 468 drivers/iommu/intel-iommu.c } else if (!strncmp(str, "nobounce", 8)) { str 473 drivers/iommu/intel-iommu.c str += strcspn(str, ","); str 474 drivers/iommu/intel-iommu.c while (*str == ',') str 475 drivers/iommu/intel-iommu.c str++; str 212 drivers/iommu/iommu.c static int __init iommu_set_def_domain_type(char *str) str 217 drivers/iommu/iommu.c ret = kstrtobool(str, &pt); str 230 drivers/iommu/iommu.c static int __init iommu_dma_setup(char *str) str 232 drivers/iommu/iommu.c return kstrtobool(str, &iommu_dma_strict); str 386 drivers/iommu/iommu.c char *str = buf; str 392 drivers/iommu/iommu.c str += sprintf(str, "0x%016llx 0x%016llx %s\n", str 400 drivers/iommu/iommu.c return (str - buf); str 48 drivers/iommu/irq_remapping.c static __init int setup_nointremap(char *str) str 55 drivers/iommu/irq_remapping.c static __init int setup_irqremap(char *str) str 57 drivers/iommu/irq_remapping.c if (!str) str 60 drivers/iommu/irq_remapping.c while (*str) { str 61 drivers/iommu/irq_remapping.c if (!strncmp(str, "on", 2)) { str 64 drivers/iommu/irq_remapping.c } else if (!strncmp(str, "off", 3)) { str 67 drivers/iommu/irq_remapping.c } else if (!strncmp(str, "nosid", 5)) str 69 drivers/iommu/irq_remapping.c else if (!strncmp(str, "no_x2apic_optout", 16)) str 71 drivers/iommu/irq_remapping.c else if (!strncmp(str, "nopost", 6)) str 74 drivers/iommu/irq_remapping.c str += strcspn(str, ","); str 75 drivers/iommu/irq_remapping.c while (*str == ',') str 76 drivers/iommu/irq_remapping.c str++; str 33 drivers/iommu/omap-iommu-debug.c const char *str = "%20s: %08x\n"; \ str 35 drivers/iommu/omap-iommu-debug.c bytes = snprintf(p, maxcol, str, __stringify(name), \ str 173 drivers/irqchip/irq-renesas-intc-irqpin.c static void intc_irqpin_dbg(struct intc_irqpin_irq *i, char *str) str 176 drivers/irqchip/irq-renesas-intc-irqpin.c str, i->requested_irq, i->hw_irq, i->domain_irq); str 61 drivers/irqchip/irq-renesas-irqc.c static void irqc_dbg(struct irqc_irq *i, char *str) str 63 drivers/irqchip/irq-renesas-irqc.c dev_dbg(i->p->dev, "%s (%d:%d)\n", str, i->requested_irq, i->hw_irq); str 208 drivers/leds/leds-an30259a.c const char *str; str 232 drivers/leds/leds-an30259a.c if (!of_property_read_string(child, "default-state", &str)) { str 233 drivers/leds/leds-an30259a.c if (!strcmp(str, "on")) str 235 drivers/leds/leds-an30259a.c else if (!strcmp(str, "keep")) str 144 drivers/leds/leds-lm3530.c static int lm3530_get_mode_from_str(const char *str) str 149 drivers/leds/leds-lm3530.c if (sysfs_streq(str, mode_map[i].mode)) str 98 drivers/leds/leds-lp3952.c const char *str; str 100 drivers/leds/leds-lp3952.c ret = device_property_read_string(dev, label, &str); str 104 drivers/leds/leds-lp3952.c strncpy(dest, str, LP3952_LABEL_MAX_LEN); str 144 drivers/leds/leds-mc13783.c const char *str; str 151 drivers/leds/leds-mc13783.c if (!of_property_read_string(child, "label", &str)) str 152 drivers/leds/leds-mc13783.c pdata->led[i].name = str; str 154 drivers/leds/leds-mc13783.c &str)) str 155 drivers/leds/leds-mc13783.c pdata->led[i].default_trigger = str; str 3267 drivers/md/dm-cache-target.c static int parse_cblock_range(struct cache *cache, const char *str, str 3277 drivers/md/dm-cache-target.c r = sscanf(str, "%llu-%llu%c", &b, &e, &dummy); str 3290 drivers/md/dm-cache-target.c r = sscanf(str, "%llu%c", &b, &dummy); str 3300 drivers/md/dm-cache-target.c DMERR("%s: invalid cblock range '%s'", cache_device_name(cache), str); str 1900 drivers/md/dm-crypt.c static bool contains_whitespace(const char *str) str 1902 drivers/md/dm-crypt.c while (*str) str 1903 drivers/md/dm-crypt.c if (isspace(*str++)) str 83 drivers/md/dm-init.c static char __init *str_field_delimit(char **str, char separator) str 88 drivers/md/dm-init.c *str = skip_spaces(*str); str 89 drivers/md/dm-init.c s = strchr(*str, separator); str 93 drivers/md/dm-init.c *str = strim(*str); str 106 drivers/md/dm-init.c static char __init *dm_parse_table_entry(struct dm_device *dev, char *str) str 115 drivers/md/dm-init.c field[0] = str; str 157 drivers/md/dm-init.c static int __init dm_parse_table(struct dm_device *dev, char *str) str 159 drivers/md/dm-init.c char *table_entry = str; str 162 drivers/md/dm-init.c DMDEBUG("parsing table \"%s\"", str); str 187 drivers/md/dm-init.c static char __init *dm_parse_device_entry(struct dm_device *dev, char *str) str 194 drivers/md/dm-init.c field[0] = str; str 232 drivers/md/dm-init.c static int __init dm_parse_devices(struct list_head *devices, char *str) str 236 drivers/md/dm-init.c char *device = str; str 238 drivers/md/dm-init.c DMDEBUG("parsing \"%s\"", str); str 268 drivers/md/dm-init.c char *str; str 278 drivers/md/dm-init.c str = kstrndup(create, DM_MAX_STR_SIZE, GFP_KERNEL); str 279 drivers/md/dm-init.c if (!str) str 282 drivers/md/dm-init.c r = dm_parse_devices(&devices, str); str 295 drivers/md/dm-init.c kfree(str); str 98 drivers/md/dm-ioctl.c static unsigned int hash_str(const char *str) str 103 drivers/md/dm-ioctl.c while (*str) str 104 drivers/md/dm-ioctl.c h = (h + (unsigned int) *str++) * hash_mult; str 112 drivers/md/dm-ioctl.c static struct hash_cell *__get_name_cell(const char *str) str 115 drivers/md/dm-ioctl.c unsigned int h = hash_str(str); str 118 drivers/md/dm-ioctl.c if (!strcmp(hc->name, str)) { str 126 drivers/md/dm-ioctl.c static struct hash_cell *__get_uuid_cell(const char *str) str 129 drivers/md/dm-ioctl.c unsigned int h = hash_str(str); str 132 drivers/md/dm-ioctl.c if (!strcmp(hc->uuid, str)) { str 919 drivers/md/dm-ioctl.c static int invalid_str(char *str, void *end) str 921 drivers/md/dm-ioctl.c while ((void *) str < end) str 922 drivers/md/dm-ioctl.c if (!*str++) str 130 drivers/md/dm-log-userspace-base.c char *str = NULL; str 142 drivers/md/dm-log-userspace-base.c str = kzalloc(str_size, GFP_KERNEL); str 143 drivers/md/dm-log-userspace-base.c if (!str) { str 148 drivers/md/dm-log-userspace-base.c str_size = sprintf(str, "%llu", (unsigned long long)ti->len); str 150 drivers/md/dm-log-userspace-base.c str_size += sprintf(str + str_size, " %s", argv[i]); str 152 drivers/md/dm-log-userspace-base.c *ctr_str = str; str 291 drivers/md/md-cluster.c char str[64]; str 298 drivers/md/md-cluster.c snprintf(str, 64, "bitmap%04d", slot); str 299 drivers/md/md-cluster.c bm_lockres = lockres_init(mddev, str, NULL, 1); str 308 drivers/md/md-cluster.c str, ret); str 798 drivers/md/md-cluster.c char str[64]; str 803 drivers/md/md-cluster.c memset(str, '\0', 64); str 804 drivers/md/md-cluster.c snprintf(str, 64, "bitmap%04d", i); str 805 drivers/md/md-cluster.c bm_lockres = lockres_init(mddev, str, NULL, 1); str 856 drivers/md/md-cluster.c char str[64]; str 872 drivers/md/md-cluster.c memset(str, 0, 64); str 873 drivers/md/md-cluster.c sprintf(str, "%pU", mddev->uuid); str 874 drivers/md/md-cluster.c ret = dlm_new_lockspace(str, mddev->bitmap_info.cluster_name, str 924 drivers/md/md-cluster.c pr_info("md-cluster: Joined cluster %s slot %d\n", str, cinfo->slot_number); str 925 drivers/md/md-cluster.c snprintf(str, 64, "bitmap%04d", cinfo->slot_number - 1); str 926 drivers/md/md-cluster.c cinfo->bitmap_lockres = lockres_init(mddev, str, NULL, 1); str 1121 drivers/md/md-cluster.c char str[64]; str 1150 drivers/md/md-cluster.c snprintf(str, 64, "bitmap%04d", i); str 1151 drivers/md/md-cluster.c bm_lockres = lockres_init(mddev, str, NULL, 1); str 1153 drivers/md/md-cluster.c pr_err("Cannot initialize %s lock\n", str); str 1188 drivers/md/md-cluster.c char str[64]; str 1209 drivers/md/md-cluster.c snprintf(str, 64, "bitmap%04d", i); str 1210 drivers/md/md-cluster.c bm_lockres = lockres_init(mddev, str, NULL, 1); str 1212 drivers/md/md-cluster.c pr_err("md-cluster: Cannot initialize %s\n", str); str 1476 drivers/md/md-cluster.c char str[64]; str 1492 drivers/md/md-cluster.c memset(str, '\0', 64); str 1493 drivers/md/md-cluster.c snprintf(str, 64, "bitmap%04d", slot); str 1494 drivers/md/md-cluster.c cinfo->other_bitmap_lockres[i] = lockres_init(mddev, str, NULL, 1); str 2778 drivers/md/md.c static int cmd_match(const char *cmd, const char *str) str 2784 drivers/md/md.c while (*cmd && *str && *cmd == *str) { str 2786 drivers/md/md.c str++; str 2790 drivers/md/md.c if (*str || *cmd) str 1667 drivers/media/dvb-frontends/lgdt3306a.c u32 str; str 1697 drivers/media/dvb-frontends/lgdt3306a.c str = 0; str 1699 drivers/media/dvb-frontends/lgdt3306a.c str = (0xffff * 65) / 100; /* 65% */ str 1701 drivers/media/dvb-frontends/lgdt3306a.c str = state->snr - ref_snr; str 1702 drivers/media/dvb-frontends/lgdt3306a.c str /= 50; str 1703 drivers/media/dvb-frontends/lgdt3306a.c str += 78; /* 78%-100% */ str 1704 drivers/media/dvb-frontends/lgdt3306a.c if (str > 100) str 1705 drivers/media/dvb-frontends/lgdt3306a.c str = 100; str 1706 drivers/media/dvb-frontends/lgdt3306a.c str = (0xffff * str) / 100; str 1708 drivers/media/dvb-frontends/lgdt3306a.c *strength = (u16)str; str 793 drivers/media/dvb-frontends/lgs8gxx.c u8 str; str 818 drivers/media/dvb-frontends/lgs8gxx.c lgs8gxx_read_reg(priv, 0x94, &str); str 819 drivers/media/dvb-frontends/lgs8gxx.c if (max_strength < str) str 820 drivers/media/dvb-frontends/lgs8gxx.c max_strength = str; str 1249 drivers/media/dvb-frontends/stb0899_drv.c static inline void CONVERT32(u32 x, char *str) str 1251 drivers/media/dvb-frontends/stb0899_drv.c *str++ = (x >> 24) & 0xff; str 1252 drivers/media/dvb-frontends/stb0899_drv.c *str++ = (x >> 16) & 0xff; str 1253 drivers/media/dvb-frontends/stb0899_drv.c *str++ = (x >> 8) & 0xff; str 1254 drivers/media/dvb-frontends/stb0899_drv.c *str++ = (x >> 0) & 0xff; str 1255 drivers/media/dvb-frontends/stb0899_drv.c *str = '\0'; str 3656 drivers/media/dvb-frontends/stv090x.c s32 str; str 3664 drivers/media/dvb-frontends/stv090x.c str = stv090x_table_lookup(stv090x_rf_tab, str 3667 drivers/media/dvb-frontends/stv090x.c str = 0; str 3669 drivers/media/dvb-frontends/stv090x.c str = -100; str 3670 drivers/media/dvb-frontends/stv090x.c *strength = (str + 100) * 0xFFFF / 100; str 155 drivers/media/i2c/m5mols/m5mols.h u8 str[VERSION_STRING_SIZE]; str 245 drivers/media/i2c/m5mols/m5mols.h (__info->ver.str[0] == __manufacturer[0] && \ str 246 drivers/media/i2c/m5mols/m5mols.h __info->ver.str[1] == __manufacturer[1]) str 438 drivers/media/i2c/m5mols/m5mols_core.c u8 *str = ver->str; str 459 drivers/media/i2c/m5mols/m5mols_core.c ret = m5mols_read_u8(sd, SYSTEM_VER_STRING, &str[i]); str 43 drivers/media/i2c/smiapp-pll.c uint32_t min, uint32_t max, char *str) str 48 drivers/media/i2c/smiapp-pll.c dev_dbg(dev, "%s out of bounds: %d (%d--%d)\n", str, val, min, max); str 2276 drivers/media/i2c/tda1997x.c const char *str; str 2336 drivers/media/i2c/tda1997x.c if (!of_property_read_string(np, "nxp,audout-format", &str)) { str 2337 drivers/media/i2c/tda1997x.c if (strcmp(str, "i2s") == 0) str 2339 drivers/media/i2c/tda1997x.c else if (strcmp(str, "spdif") == 0) str 704 drivers/media/pci/cx18/cx18-driver.c cx->in_work_order[i].str = cx->epu_debug_str; str 354 drivers/media/pci/cx18/cx18-driver.h char *str; str 284 drivers/media/pci/cx18/cx18-gpio.c char *str; str 290 drivers/media/pci/cx18/cx18-gpio.c str = "gpio-mux"; str 295 drivers/media/pci/cx18/cx18-gpio.c str = "gpio-reset-ctrl"; str 303 drivers/media/pci/cx18/cx18-gpio.c snprintf(sd->name, sizeof(sd->name), "%s %s", cx->v4l2_dev.name, str); str 326 drivers/media/pci/cx18/cx18-mailbox.c char *str = order->str; str 328 drivers/media/pci/cx18/cx18-mailbox.c CX18_DEBUG_INFO("%x %s\n", order->mb.args[0], str); str 329 drivers/media/pci/cx18/cx18-mailbox.c p = strchr(str, '.'); str 330 drivers/media/pci/cx18/cx18-mailbox.c if (!test_bit(CX18_F_I_LOADED_FW, &cx->i_flags) && p && p > str) str 447 drivers/media/pci/cx18/cx18-mailbox.c char *str = order->str; str 449 drivers/media/pci/cx18/cx18-mailbox.c str[0] = '\0'; str 453 drivers/media/pci/cx18/cx18-mailbox.c cx18_memcpy_fromio(cx, str, cx->enc_mem + str_offset, 252); str 454 drivers/media/pci/cx18/cx18-mailbox.c str[252] = '\0'; str 98 drivers/media/pci/ddbridge/ddbridge-sx8.c s32 str; str 100 drivers/media/pci/ddbridge/ddbridge-sx8.c str = 100000 - str 105 drivers/media/pci/ddbridge/ddbridge-sx8.c p->strength.stat[0].svalue = str; str 130 drivers/media/pci/solo6x10/solo6x10-enc.c u8 *str = solo_enc->osd_text; str 141 drivers/media/pci/solo6x10/solo6x10-enc.c if (!*str) { str 150 drivers/media/pci/solo6x10/solo6x10-enc.c for (i = 0; *str; i++, str++) { str 153 drivers/media/pci/solo6x10/solo6x10-enc.c bitrev8(vga_data[(*str << 4) | j]); str 503 drivers/media/platform/rcar_drif.c u32 str; str 508 drivers/media/platform/rcar_drif.c str = rcar_drif_read(ch, RCAR_DRIF_SISTR); str 509 drivers/media/platform/rcar_drif.c if (unlikely(str & RCAR_DRIF_RFOVF)) { str 511 drivers/media/platform/rcar_drif.c rcar_drif_write(ch, RCAR_DRIF_SISTR, str); str 709 drivers/media/platform/rcar_drif.c u32 ctr, str; str 728 drivers/media/platform/rcar_drif.c str = RCAR_DRIF_RFFUL | RCAR_DRIF_REOF | RCAR_DRIF_RFSERR | str 730 drivers/media/platform/rcar_drif.c rcar_drif_write(ch, RCAR_DRIF_SISTR, str); str 12 drivers/media/platform/sti/delta/delta-debug.c char *delta_streaminfo_str(struct delta_streaminfo *s, char *str, str 18 drivers/media/platform/sti/delta/delta-debug.c snprintf(str, len, str 31 drivers/media/platform/sti/delta/delta-debug.c return str; str 34 drivers/media/platform/sti/delta/delta-debug.c char *delta_frameinfo_str(struct delta_frameinfo *f, char *str, str 40 drivers/media/platform/sti/delta/delta-debug.c snprintf(str, len, str 52 drivers/media/platform/sti/delta/delta-debug.c return str; str 59 drivers/media/platform/sti/delta/delta-debug.c unsigned char str[100] = ""; str 66 drivers/media/platform/sti/delta/delta-debug.c delta_streaminfo_str(s, str, sizeof(str)), str 12 drivers/media/platform/sti/delta/delta-debug.h char *delta_streaminfo_str(struct delta_streaminfo *s, char *str, str 14 drivers/media/platform/sti/delta/delta-debug.h char *delta_frameinfo_str(struct delta_frameinfo *f, char *str, str 28 drivers/media/platform/sti/delta/delta-mjpeg-dec.c unsigned char str[3000]; str 34 drivers/media/platform/sti/delta/delta-mjpeg-dec.c char *str, unsigned int len) str 36 drivers/media/platform/sti/delta/delta-mjpeg-dec.c char *b = str; str 48 drivers/media/platform/sti/delta/delta-mjpeg-dec.c return str; str 52 drivers/media/platform/sti/delta/delta-mjpeg-dec.c char *str, unsigned int len) str 54 drivers/media/platform/sti/delta/delta-mjpeg-dec.c char *b = str; str 79 drivers/media/platform/sti/delta/delta-mjpeg-dec.c return str; str 221 drivers/media/platform/sti/delta/delta-mjpeg-dec.c ipc_open_param_str(params, ctx->str, sizeof(ctx->str))); str 232 drivers/media/platform/sti/delta/delta-mjpeg-dec.c ipc_open_param_str(params, ctx->str, sizeof(ctx->str))); str 285 drivers/media/platform/sti/delta/delta-mjpeg-dec.c ipc_decode_param_str(params, ctx->str, sizeof(ctx->str))); str 299 drivers/media/platform/sti/delta/delta-mjpeg-dec.c ipc_decode_param_str(params, ctx->str, str 300 drivers/media/platform/sti/delta/delta-mjpeg-dec.c sizeof(ctx->str))); str 310 drivers/media/platform/sti/delta/delta-mjpeg-dec.c ipc_decode_param_str(params, ctx->str, str 311 drivers/media/platform/sti/delta/delta-mjpeg-dec.c sizeof(ctx->str))); str 16 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c char *str, str 19 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c char *cur = str; str 37 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c return str; str 89 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c unsigned char str[200]; str 138 drivers/media/platform/sti/delta/delta-mjpeg-hdr.c header_str(header, str, sizeof(str))); str 431 drivers/media/platform/sti/delta/delta-v4l2.c unsigned char str[100] = ""; str 437 drivers/media/platform/sti/delta/delta-v4l2.c delta_streaminfo_str(streaminfo, str, sizeof(str))); str 460 drivers/media/platform/sti/delta/delta-v4l2.c unsigned char str[100] = ""; str 466 drivers/media/platform/sti/delta/delta-v4l2.c delta_frameinfo_str(frameinfo, str, sizeof(str))); str 649 drivers/media/platform/sti/delta/delta-v4l2.c unsigned char str[100] = ""; str 705 drivers/media/platform/sti/delta/delta-v4l2.c delta_frameinfo_str(&frameinfo, str, sizeof(str))); str 1224 drivers/media/platform/sti/delta/delta-v4l2.c unsigned char str[100] = ""; str 1235 drivers/media/platform/sti/delta/delta-v4l2.c str, sizeof(str))); str 543 drivers/media/platform/sti/delta/delta.h static inline char *frame_state_str(u32 state, char *str, unsigned int len) str 545 drivers/media/platform/sti/delta/delta.h snprintf(str, len, "%s %s %s %s %s %s", str 552 drivers/media/platform/sti/delta/delta.h return str; str 199 drivers/media/platform/ti-vpe/vpdma.h #define ADB_ADDR(dma_buf, str, fld) ((dma_buf)->addr + offsetof(str, fld)) str 200 drivers/media/platform/ti-vpe/vpdma.h #define MMR_ADB_ADDR(buf, str, fld) ADB_ADDR(&(buf), struct str, fld) str 202 drivers/media/platform/ti-vpe/vpdma.h #define VPDMA_SET_MMR_ADB_HDR(buf, str, hdr, regs, offset_a) \ str 205 drivers/media/platform/ti-vpe/vpdma.h struct str *adb = NULL; \ str 206 drivers/media/platform/ti-vpe/vpdma.h h = MMR_ADB_ADDR(buf, str, hdr); \ str 416 drivers/media/platform/vivid/vivid-kthread-cap.c char str[100]; str 480 drivers/media/platform/vivid/vivid-kthread-cap.c snprintf(str, sizeof(str), " %02d:%02d:%02d:%03d %u%s", str 489 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_gen_text(tpg, basep, line++ * line_height, 16, str); str 492 drivers/media/platform/vivid/vivid-kthread-cap.c snprintf(str, sizeof(str), " %dx%d, input %d ", str 494 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_gen_text(tpg, basep, line++ * line_height, 16, str); str 498 drivers/media/platform/vivid/vivid-kthread-cap.c snprintf(str, sizeof(str), str 504 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_gen_text(tpg, basep, line++ * line_height, 16, str); str 505 drivers/media/platform/vivid/vivid-kthread-cap.c snprintf(str, sizeof(str), str 509 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_gen_text(tpg, basep, line++ * line_height, 16, str); str 511 drivers/media/platform/vivid/vivid-kthread-cap.c snprintf(str, sizeof(str), str 515 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_gen_text(tpg, basep, line++ * line_height, 16, str); str 517 drivers/media/platform/vivid/vivid-kthread-cap.c snprintf(str, sizeof(str), " int32 %d, int64 %lld, bitmask %08x ", str 521 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_gen_text(tpg, basep, line++ * line_height, 16, str); str 522 drivers/media/platform/vivid/vivid-kthread-cap.c snprintf(str, sizeof(str), " boolean %d, menu %s, string \"%s\" ", str 526 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_gen_text(tpg, basep, line++ * line_height, 16, str); str 527 drivers/media/platform/vivid/vivid-kthread-cap.c snprintf(str, sizeof(str), " integer_menu %lld, value %d ", str 531 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_gen_text(tpg, basep, line++ * line_height, 16, str); str 534 drivers/media/platform/vivid/vivid-kthread-cap.c snprintf(str, sizeof(str), " button pressed!"); str 535 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_gen_text(tpg, basep, line++ * line_height, 16, str); str 539 drivers/media/platform/vivid/vivid-kthread-cap.c snprintf(str, sizeof(str), str 542 drivers/media/platform/vivid/vivid-kthread-cap.c 16, str); str 95 drivers/media/radio/si4713/si4713.c char str[(size)*5]; \ str 97 drivers/media/radio/si4713/si4713.c sprintf(str + i * 5, " 0x%02x", buffer[i]); \ str 98 drivers/media/radio/si4713/si4713.c v4l2_dbg(2, debug, device, "%s:%s\n", message, str); \ str 82 drivers/media/usb/usbvision/usbvision-video.c #define rmspace(str) while (*str == ' ') str++; str 83 drivers/media/usb/usbvision/usbvision-video.c #define goto2next(str) while (*str != ' ') str++; while (*str == ' ') str++; str 243 drivers/mfd/ipaq-micro.c char *str; str 246 drivers/mfd/ipaq-micro.c str = ipaq_micro_str(dump, 10); str 247 drivers/mfd/ipaq-micro.c if (str) { str 248 drivers/mfd/ipaq-micro.c dev_info(micro->dev, "HW version %s\n", str); str 249 drivers/mfd/ipaq-micro.c kfree(str); str 251 drivers/mfd/ipaq-micro.c str = ipaq_micro_str(dump+10, 40); str 252 drivers/mfd/ipaq-micro.c if (str) { str 253 drivers/mfd/ipaq-micro.c dev_info(micro->dev, "serial number: %s\n", str); str 255 drivers/mfd/ipaq-micro.c add_device_randomness(str, strlen(str)); str 256 drivers/mfd/ipaq-micro.c kfree(str); str 258 drivers/mfd/ipaq-micro.c str = ipaq_micro_str(dump+50, 20); str 259 drivers/mfd/ipaq-micro.c if (str) { str 260 drivers/mfd/ipaq-micro.c dev_info(micro->dev, "module ID: %s\n", str); str 261 drivers/mfd/ipaq-micro.c kfree(str); str 263 drivers/mfd/ipaq-micro.c str = ipaq_micro_str(dump+70, 10); str 264 drivers/mfd/ipaq-micro.c if (str) { str 265 drivers/mfd/ipaq-micro.c dev_info(micro->dev, "product revision: %s\n", str); str 266 drivers/mfd/ipaq-micro.c kfree(str); str 20 drivers/mfd/stmpe.h static inline void stmpe_dump_bytes(const char *str, const void *buf, str 23 drivers/mfd/stmpe.h print_hex_dump_bytes(str, DUMP_PREFIX_OFFSET, buf, len); str 26 drivers/mfd/stmpe.h static inline void stmpe_dump_bytes(const char *str, const void *buf, str 217 drivers/misc/habanalabs/sysfs.c char *str; str 221 drivers/misc/habanalabs/sysfs.c str = "GOYA"; str 229 drivers/misc/habanalabs/sysfs.c return sprintf(buf, "%s\n", str); str 248 drivers/misc/habanalabs/sysfs.c char *str; str 251 drivers/misc/habanalabs/sysfs.c str = "In reset"; str 253 drivers/misc/habanalabs/sysfs.c str = "Malfunction"; str 255 drivers/misc/habanalabs/sysfs.c str = "Operational"; str 257 drivers/misc/habanalabs/sysfs.c return sprintf(buf, "%s\n", str); str 62 drivers/misc/mic/scif/scif_fd.c static __always_inline void scif_err_debug(int err, const char *str) str 69 drivers/misc/mic/scif/scif_fd.c dev_dbg(scif_info.mdev.this_device, "%s err %d\n", str, err); str 500 drivers/misc/sgi-gru/grukservices.c static void gru_abort(int ret, void *cb, char *str) str 504 drivers/misc/sgi-gru/grukservices.c panic("GRU FATAL ERROR: %s - %s\n", str, str 56 drivers/mmc/core/debugfs.c const char *str; str 73 drivers/mmc/core/debugfs.c str = "open drain"; str 76 drivers/mmc/core/debugfs.c str = "push-pull"; str 79 drivers/mmc/core/debugfs.c str = "invalid"; str 82 drivers/mmc/core/debugfs.c seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); str 86 drivers/mmc/core/debugfs.c str = "don't care"; str 89 drivers/mmc/core/debugfs.c str = "active high"; str 92 drivers/mmc/core/debugfs.c str = "active low"; str 95 drivers/mmc/core/debugfs.c str = "invalid"; str 98 drivers/mmc/core/debugfs.c seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str); str 102 drivers/mmc/core/debugfs.c str = "off"; str 105 drivers/mmc/core/debugfs.c str = "up"; str 108 drivers/mmc/core/debugfs.c str = "on"; str 111 drivers/mmc/core/debugfs.c str = "invalid"; str 114 drivers/mmc/core/debugfs.c seq_printf(s, "power mode:\t%u (%s)\n", ios->power_mode, str); str 120 drivers/mmc/core/debugfs.c str = "legacy"; str 123 drivers/mmc/core/debugfs.c str = "mmc high-speed"; str 126 drivers/mmc/core/debugfs.c str = "sd high-speed"; str 129 drivers/mmc/core/debugfs.c str = "sd uhs SDR12"; str 132 drivers/mmc/core/debugfs.c str = "sd uhs SDR25"; str 135 drivers/mmc/core/debugfs.c str = "sd uhs SDR50"; str 138 drivers/mmc/core/debugfs.c str = "sd uhs SDR104"; str 141 drivers/mmc/core/debugfs.c str = "sd uhs DDR50"; str 144 drivers/mmc/core/debugfs.c str = "mmc DDR52"; str 147 drivers/mmc/core/debugfs.c str = "mmc HS200"; str 150 drivers/mmc/core/debugfs.c str = mmc_card_hs400es(host->card) ? str 154 drivers/mmc/core/debugfs.c str = "invalid"; str 157 drivers/mmc/core/debugfs.c seq_printf(s, "timing spec:\t%u (%s)\n", ios->timing, str); str 161 drivers/mmc/core/debugfs.c str = "3.30 V"; str 164 drivers/mmc/core/debugfs.c str = "1.80 V"; str 167 drivers/mmc/core/debugfs.c str = "1.20 V"; str 170 drivers/mmc/core/debugfs.c str = "invalid"; str 173 drivers/mmc/core/debugfs.c seq_printf(s, "signal voltage:\t%u (%s)\n", ios->signal_voltage, str); str 177 drivers/mmc/core/debugfs.c str = "driver type A"; str 180 drivers/mmc/core/debugfs.c str = "driver type B"; str 183 drivers/mmc/core/debugfs.c str = "driver type C"; str 186 drivers/mmc/core/debugfs.c str = "driver type D"; str 189 drivers/mmc/core/debugfs.c str = "invalid"; str 192 drivers/mmc/core/debugfs.c seq_printf(s, "driver type:\t%u (%s)\n", ios->drv_type, str); str 905 drivers/mmc/host/sdhci-omap.c char str[20]; str 911 drivers/mmc/host/sdhci-omap.c snprintf(str, 20, "%s-%s", mode, version); str 912 drivers/mmc/host/sdhci-omap.c pinctrl_state = pinctrl_lookup_state(omap_host->pinctrl, str); str 365 drivers/mtd/devices/block2mtd.c static inline void kill_final_newline(char *str) str 367 drivers/mtd/devices/block2mtd.c char *newline = strrchr(str, '\n'); str 383 drivers/mtd/devices/block2mtd.c char *str = buf; str 395 drivers/mtd/devices/block2mtd.c strcpy(str, val); str 396 drivers/mtd/devices/block2mtd.c kill_final_newline(str); str 399 drivers/mtd/devices/block2mtd.c token[i] = strsep(&str, ","); str 401 drivers/mtd/devices/block2mtd.c if (str) { str 189 drivers/mtd/devices/phram.c static inline void kill_final_newline(char *str) str 191 drivers/mtd/devices/phram.c char *newline = strrchr(str, '\n'); str 218 drivers/mtd/devices/phram.c char buf[64 + 20 + 20], *str = buf; str 228 drivers/mtd/devices/phram.c strcpy(str, val); str 229 drivers/mtd/devices/phram.c kill_final_newline(str); str 232 drivers/mtd/devices/phram.c token[i] = strsep(&str, ","); str 234 drivers/mtd/devices/phram.c if (str) str 267 drivers/mtd/devices/slram.c static int __init mtd_slram_setup(char *str) str 269 drivers/mtd/devices/slram.c map = str; str 23 drivers/mtd/maps/amd76xrom.c #define xstr(s) str(s) str 22 drivers/mtd/maps/ichxrom.c #define xstr(s) str(s) str 126 drivers/mtd/nand/raw/sh_flctl.c static void timeout_error(struct sh_flctl *flctl, const char *str) str 128 drivers/mtd/nand/raw/sh_flctl.c dev_err(&flctl->pdev->dev, "Timeout occurred in %s\n", str); str 1310 drivers/mtd/ubi/build.c static int bytes_str_to_int(const char *str) str 1315 drivers/mtd/ubi/build.c result = simple_strtoul(str, &endp, 0); str 1316 drivers/mtd/ubi/build.c if (str == endp || result >= INT_MAX) { str 1317 drivers/mtd/ubi/build.c pr_err("UBI error: incorrect bytes count: \"%s\"\n", str); str 1335 drivers/mtd/ubi/build.c pr_err("UBI error: incorrect bytes count: \"%s\"\n", str); str 1190 drivers/net/appletalk/ltpc.c static int __init ltpc_setup(char *str) str 1194 drivers/net/appletalk/ltpc.c str = get_options(str, ARRAY_SIZE(ints), ints); str 1197 drivers/net/appletalk/ltpc.c if (str && !strncmp(str, "auto", 4)) { str 64 drivers/net/can/rcar/rcar_can.c u16 str; /* Status register */ str 462 drivers/net/can/rcar/rcar_can.c if (readw(&priv->regs->str) & RCAR_CAN_STR_RSTST) str 500 drivers/net/can/rcar/rcar_can.c if (!(readw(&priv->regs->str) & RCAR_CAN_STR_RSTST)) str 564 drivers/net/can/rcar/rcar_can.c if (readw(&priv->regs->str) & RCAR_CAN_STR_RSTST) str 741 drivers/net/ethernet/3com/3c59x.c const char str[ETH_GSTRING_LEN]; str 45 drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c u32 attr, int channel, const char **str) str 60 drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c *str = "PHY Temperature"; str 101 drivers/net/ethernet/atheros/atl1e/atl1e_param.c struct atl1e_opt_list { int i; char *str; } *p; str 141 drivers/net/ethernet/atheros/atl1e/atl1e_param.c if (ent->str[0] != '\0') str 143 drivers/net/ethernet/atheros/atl1e/atl1e_param.c "%s\n", ent->str); str 123 drivers/net/ethernet/atheros/atlx/atl1.c char *str; str 162 drivers/net/ethernet/atheros/atlx/atl1.c if (ent->str[0] != '\0') str 164 drivers/net/ethernet/atheros/atlx/atl1.c ent->str); str 2894 drivers/net/ethernet/atheros/atlx/atl2.c struct atl2_opt_list { int i; char *str; } *p; str 2930 drivers/net/ethernet/atheros/atlx/atl2.c if (ent->str[0] != '\0') str 2931 drivers/net/ethernet/atheros/atlx/atl2.c printk(KERN_INFO "%s\n", ent->str); str 633 drivers/net/ethernet/broadcom/bcmsysport.h #define STAT_MIB(str, m, _type) { \ str 634 drivers/net/ethernet/broadcom/bcmsysport.h .stat_string = str, \ str 640 drivers/net/ethernet/broadcom/bcmsysport.h #define STAT_MIB_RX(str, m) STAT_MIB(str, m, BCM_SYSPORT_STAT_MIB_RX) str 641 drivers/net/ethernet/broadcom/bcmsysport.h #define STAT_MIB_TX(str, m) STAT_MIB(str, m, BCM_SYSPORT_STAT_MIB_TX) str 642 drivers/net/ethernet/broadcom/bcmsysport.h #define STAT_RUNT(str, m) STAT_MIB(str, m, BCM_SYSPORT_STAT_RUNT) str 643 drivers/net/ethernet/broadcom/bcmsysport.h #define STAT_MIB_SOFT(str, m) STAT_MIB(str, m, BCM_SYSPORT_STAT_SOFT) str 645 drivers/net/ethernet/broadcom/bcmsysport.h #define STAT_RXCHK(str, m, ofs) { \ str 646 drivers/net/ethernet/broadcom/bcmsysport.h .stat_string = str, \ str 653 drivers/net/ethernet/broadcom/bcmsysport.h #define STAT_RBUF(str, m, ofs) { \ str 654 drivers/net/ethernet/broadcom/bcmsysport.h .stat_string = str, \ str 8498 drivers/net/ethernet/broadcom/bnx2.c bnx2_bus_string(struct bnx2 *bp, char *str) str 8500 drivers/net/ethernet/broadcom/bnx2.c char *s = str; str 8514 drivers/net/ethernet/broadcom/bnx2.c return str; str 8569 drivers/net/ethernet/broadcom/bnx2.c char str[40]; str 8628 drivers/net/ethernet/broadcom/bnx2.c bnx2_bus_string(bp, str), (long)pci_resource_start(pdev, 0), str 6160 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_null_format_ver(u32 spirom_ver, u8 *str, u16 *len) str 6162 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c str[0] = '\0'; str 6167 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_format_ver(u32 num, u8 *str, u16 *len) str 6173 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_null_format_ver(num, str, len); str 6177 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c ret = scnprintf(str, *len, "%hx.%hx", num >> 16, num); str 6182 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_3_seq_format_ver(u32 num, u8 *str, u16 *len) str 6188 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_null_format_ver(num, str, len); str 6192 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c ret = scnprintf(str, *len, "%hhx.%hhx.%hhx", num >> 16, num >> 8, num); str 10616 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_8485x_format_ver(u32 raw_ver, u8 *str, u16 *len) str 10622 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c return bnx2x_3_seq_format_ver(num, str, len); str 10625 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_848xx_format_ver(u32 raw_ver, u8 *str, u16 *len) str 10630 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c return bnx2x_format_ver(spirom_ver, str, len); str 11548 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_7101_format_ver(u32 spirom_ver, u8 *str, u16 *len) str 11552 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c str[0] = (spirom_ver & 0xFF); str 11553 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c str[1] = (spirom_ver & 0xFF00) >> 8; str 11554 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c str[2] = (spirom_ver & 0xFF0000) >> 16; str 11555 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c str[3] = (spirom_ver & 0xFF000000) >> 24; str 11556 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c str[4] = '\0'; str 138 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h typedef u8 (*format_fw_ver_t)(u32 raw, u8 *str, u16 *len); str 629 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c static const char * const *str; str 646 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c str = bnxt_ring_tpa2_stats_str; str 649 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c str = bnxt_ring_tpa_stats_str; str 652 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c sprintf(buf, "[%d]: %s", i, str[j]); str 3401 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c char *str = test_info->string[i]; str 3405 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strcpy(str, "Mac loopback test (offline)"); str 3407 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strcpy(str, "Phy loopback test (offline)"); str 3409 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strcpy(str, "Ext loopback test (offline)"); str 3411 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strcpy(str, "Interrupt_test (offline)"); str 3413 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strlcpy(str, fw_str, ETH_GSTRING_LEN); str 3414 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strncat(str, " test", ETH_GSTRING_LEN - strlen(str)); str 3416 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strncat(str, " (offline)", str 3417 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c ETH_GSTRING_LEN - strlen(str)); str 3419 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strncat(str, " (online)", str 3420 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c ETH_GSTRING_LEN - strlen(str)); str 733 drivers/net/ethernet/broadcom/genet/bcmgenet.c #define STAT_GENET_MIB(str, m, _type) { \ str 734 drivers/net/ethernet/broadcom/genet/bcmgenet.c .stat_string = str, \ str 740 drivers/net/ethernet/broadcom/genet/bcmgenet.c #define STAT_GENET_MIB_RX(str, m) STAT_GENET_MIB(str, m, BCMGENET_STAT_MIB_RX) str 741 drivers/net/ethernet/broadcom/genet/bcmgenet.c #define STAT_GENET_MIB_TX(str, m) STAT_GENET_MIB(str, m, BCMGENET_STAT_MIB_TX) str 742 drivers/net/ethernet/broadcom/genet/bcmgenet.c #define STAT_GENET_RUNT(str, m) STAT_GENET_MIB(str, m, BCMGENET_STAT_RUNT) str 743 drivers/net/ethernet/broadcom/genet/bcmgenet.c #define STAT_GENET_SOFT_MIB(str, m) STAT_GENET_MIB(str, m, BCMGENET_STAT_SOFT) str 745 drivers/net/ethernet/broadcom/genet/bcmgenet.c #define STAT_GENET_MISC(str, m, offset) { \ str 746 drivers/net/ethernet/broadcom/genet/bcmgenet.c .stat_string = str, \ str 17552 drivers/net/ethernet/broadcom/tg3.c static char *tg3_bus_string(struct tg3 *tp, char *str) str 17555 drivers/net/ethernet/broadcom/tg3.c strcpy(str, "PCI Express"); str 17556 drivers/net/ethernet/broadcom/tg3.c return str; str 17560 drivers/net/ethernet/broadcom/tg3.c strcpy(str, "PCIX:"); str 17565 drivers/net/ethernet/broadcom/tg3.c strcat(str, "133MHz"); str 17567 drivers/net/ethernet/broadcom/tg3.c strcat(str, "33MHz"); str 17569 drivers/net/ethernet/broadcom/tg3.c strcat(str, "50MHz"); str 17571 drivers/net/ethernet/broadcom/tg3.c strcat(str, "66MHz"); str 17573 drivers/net/ethernet/broadcom/tg3.c strcat(str, "100MHz"); str 17575 drivers/net/ethernet/broadcom/tg3.c strcpy(str, "PCI:"); str 17577 drivers/net/ethernet/broadcom/tg3.c strcat(str, "66MHz"); str 17579 drivers/net/ethernet/broadcom/tg3.c strcat(str, "33MHz"); str 17582 drivers/net/ethernet/broadcom/tg3.c strcat(str, ":32-bit"); str 17584 drivers/net/ethernet/broadcom/tg3.c strcat(str, ":64-bit"); str 17585 drivers/net/ethernet/broadcom/tg3.c return str; str 17626 drivers/net/ethernet/broadcom/tg3.c char str[40]; str 17953 drivers/net/ethernet/broadcom/tg3.c tg3_bus_string(tp, str), str 175 drivers/net/ethernet/cavium/liquidio/octeon_console.c char *str, str 179 drivers/net/ethernet/cavium/liquidio/octeon_console.c octeon_pci_read_core_mem(oct, addr, (u8 *)str, len); str 180 drivers/net/ethernet/cavium/liquidio/octeon_console.c str[len] = 0; str 1238 drivers/net/ethernet/cavium/thunder/thunder_bgx.c char str[27]; str 1245 drivers/net/ethernet/cavium/thunder/thunder_bgx.c sprintf(str, "BGX%d QLM mode", bgx->bgx_id); str 1247 drivers/net/ethernet/cavium/thunder/thunder_bgx.c sprintf(str, "BGX%d LMAC%d mode", bgx->bgx_id, lmacid); str 1251 drivers/net/ethernet/cavium/thunder/thunder_bgx.c dev_info(dev, "%s: SGMII\n", (char *)str); str 1254 drivers/net/ethernet/cavium/thunder/thunder_bgx.c dev_info(dev, "%s: XAUI\n", (char *)str); str 1257 drivers/net/ethernet/cavium/thunder/thunder_bgx.c dev_info(dev, "%s: RXAUI\n", (char *)str); str 1261 drivers/net/ethernet/cavium/thunder/thunder_bgx.c dev_info(dev, "%s: XFI\n", (char *)str); str 1263 drivers/net/ethernet/cavium/thunder/thunder_bgx.c dev_info(dev, "%s: 10G_KR\n", (char *)str); str 1267 drivers/net/ethernet/cavium/thunder/thunder_bgx.c dev_info(dev, "%s: XLAUI\n", (char *)str); str 1269 drivers/net/ethernet/cavium/thunder/thunder_bgx.c dev_info(dev, "%s: 40G_KR4\n", (char *)str); str 1272 drivers/net/ethernet/cavium/thunder/thunder_bgx.c dev_info(dev, "%s: QSGMII\n", (char *)str); str 1275 drivers/net/ethernet/cavium/thunder/thunder_bgx.c dev_info(dev, "%s: RGMII\n", (char *)str); str 171 drivers/net/ethernet/cirrus/cs89x0.c static int __init dma_fn(char *str) str 173 drivers/net/ethernet/cirrus/cs89x0.c g_cs89x0_dma = simple_strtol(str, NULL, 0); str 182 drivers/net/ethernet/cirrus/cs89x0.c static int __init media_fn(char *str) str 184 drivers/net/ethernet/cirrus/cs89x0.c if (!strcmp(str, "rj45")) str 186 drivers/net/ethernet/cirrus/cs89x0.c else if (!strcmp(str, "aui")) str 188 drivers/net/ethernet/cirrus/cs89x0.c else if (!strcmp(str, "bnc")) str 5893 drivers/net/ethernet/emulex/benet/be_main.c char *str = ""; /* default */ str 5897 drivers/net/ethernet/emulex/benet/be_main.c str = "UMC"; str 5900 drivers/net/ethernet/emulex/benet/be_main.c str = "FLEX10"; str 5903 drivers/net/ethernet/emulex/benet/be_main.c str = "vNIC-1"; str 5906 drivers/net/ethernet/emulex/benet/be_main.c str = "nPAR"; str 5909 drivers/net/ethernet/emulex/benet/be_main.c str = "UFP"; str 5912 drivers/net/ethernet/emulex/benet/be_main.c str = "vNIC-2"; str 5915 drivers/net/ethernet/emulex/benet/be_main.c str = ""; str 5918 drivers/net/ethernet/emulex/benet/be_main.c return str; str 63 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c char *str; str 69 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c str = "Rx default"; str 72 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c str = "Rx error"; str 75 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c str = "Rx PCD"; str 78 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c str = "Tx default confirmation"; str 81 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c str = "Tx confirmation (mq)"; str 84 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c str = "Tx error"; str 87 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c str = "Tx"; str 90 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c str = "Unknown"; str 94 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c str != prevstr)) { str 105 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c str == prevstr) { str 113 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c prevstr = str; str 298 drivers/net/ethernet/hp/hp100.c static char str[HP100_SIG_LEN]; str 313 drivers/net/ethernet/hp/hp100.c str[0] = ((sig[0] >> 2) & 0x1f) + ('A' - 1); str 314 drivers/net/ethernet/hp/hp100.c str[1] = (((sig[0] & 3) << 3) | (sig[1] >> 5)) + ('A' - 1); str 315 drivers/net/ethernet/hp/hp100.c str[2] = (sig[1] & 0x1f) + ('A' - 1); str 317 drivers/net/ethernet/hp/hp100.c sprintf(str + 3, "%04X", rev); str 319 drivers/net/ethernet/hp/hp100.c return str; str 367 drivers/net/ethernet/i825xx/82596.c static void print_eth(unsigned char *buf, char *str); str 413 drivers/net/ethernet/i825xx/82596.c static inline int wait_istat(struct net_device *dev, struct i596_private *lp, int delcnt, char *str) str 419 drivers/net/ethernet/i825xx/82596.c dev->name, str, lp->scb.status, lp->scb.command); str 427 drivers/net/ethernet/i825xx/82596.c static inline int wait_cmd(struct net_device *dev, struct i596_private *lp, int delcnt, char *str) str 433 drivers/net/ethernet/i825xx/82596.c dev->name, str, lp->scb.status, lp->scb.command); str 441 drivers/net/ethernet/i825xx/82596.c static inline int wait_cfg(struct net_device *dev, struct i596_cmd *cmd, int delcnt, char *str) str 448 drivers/net/ethernet/i825xx/82596.c printk(KERN_ERR "%s: %s.\n", dev->name, str); str 1107 drivers/net/ethernet/i825xx/82596.c static void print_eth(unsigned char *add, char *str) str 1110 drivers/net/ethernet/i825xx/82596.c add, add + 6, add, add[12], add[13], str); str 355 drivers/net/ethernet/i825xx/lib82596.c static void print_eth(unsigned char *buf, char *str); str 369 drivers/net/ethernet/i825xx/lib82596.c static inline int wait_istat(struct net_device *dev, struct i596_dma *dma, int delcnt, char *str) str 378 drivers/net/ethernet/i825xx/lib82596.c dev->name, str, SWAP16(dma->iscp.stat)); str 385 drivers/net/ethernet/i825xx/lib82596.c static inline int wait_cmd(struct net_device *dev, struct i596_dma *dma, int delcnt, char *str) str 394 drivers/net/ethernet/i825xx/lib82596.c dev->name, str, str 1030 drivers/net/ethernet/i825xx/lib82596.c static void print_eth(unsigned char *add, char *str) str 1033 drivers/net/ethernet/i825xx/lib82596.c add, add + 6, add, add[12], add[13], str); str 178 drivers/net/ethernet/intel/e1000/e1000_param.c const struct e1000_opt_list { int i; char *str; } *p; str 216 drivers/net/ethernet/intel/e1000/e1000_param.c if (ent->str[0] != '\0') str 217 drivers/net/ethernet/intel/e1000/e1000_param.c e_dev_info("%s\n", ent->str); str 26 drivers/net/ethernet/intel/e1000e/ethtool.c #define E1000_STAT(str, m) { \ str 27 drivers/net/ethernet/intel/e1000e/ethtool.c .stat_string = str, \ str 31 drivers/net/ethernet/intel/e1000e/ethtool.c #define E1000_NETDEV_STAT(str, m) { \ str 32 drivers/net/ethernet/intel/e1000e/ethtool.c .stat_string = str, \ str 157 drivers/net/ethernet/intel/e1000e/param.c char *str; str 199 drivers/net/ethernet/intel/e1000e/param.c if (ent->str[0] != '\0') str 201 drivers/net/ethernet/intel/e1000e/param.c ent->str); str 171 drivers/net/ethernet/intel/ixgb/ixgb_param.c const char *str; str 209 drivers/net/ethernet/intel/ixgb/ixgb_param.c if (ent->str[0] != '\0') str 210 drivers/net/ethernet/intel/ixgb/ixgb_param.c pr_info("%s\n", ent->str); str 89 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h u8 build, u8 ver, u16 len, const char *str); str 34 drivers/net/ethernet/mediatek/mtk_eth_soc.c char str[ETH_GSTRING_LEN]; str 2644 drivers/net/ethernet/mediatek/mtk_eth_soc.c memcpy(data, mtk_ethtool_stats[i].str, ETH_GSTRING_LEN); str 900 drivers/net/ethernet/mellanox/mlx4/mcg.c static void mlx4_err_rule(struct mlx4_dev *dev, char *str, str 908 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_err(dev, "%s", str); str 408 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c static int mlx5_tracer_get_num_of_params(char *str) str 410 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c char *substr, *pstr = str; str 422 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c substr = strstr(str, PARAM_CHAR); str 425 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c str = substr + 1; str 426 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c substr = strstr(str, PARAM_CHAR); str 2009 drivers/net/ethernet/mellanox/mlxsw/spectrum.c char str[ETH_GSTRING_LEN]; str 2016 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_frames_transmitted_ok", str 2020 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_frames_received_ok", str 2024 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_frame_check_sequence_errors", str 2028 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_alignment_errors", str 2032 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_octets_transmitted_ok", str 2036 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_octets_received_ok", str 2040 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_multicast_frames_xmitted_ok", str 2044 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_broadcast_frames_xmitted_ok", str 2048 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_multicast_frames_received_ok", str 2052 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_broadcast_frames_received_ok", str 2056 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_in_range_length_errors", str 2060 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_out_of_range_length_field", str 2064 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_frame_too_long_errors", str 2068 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_symbol_error_during_carrier", str 2072 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_mac_control_frames_transmitted", str 2076 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_mac_control_frames_received", str 2080 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_unsupported_opcodes_received", str 2084 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_pause_mac_ctrl_frames_received", str 2088 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "a_pause_mac_ctrl_frames_xmitted", str 2097 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "if_in_discards", str 2101 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "if_out_discards", str 2105 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "if_out_errors", str 2115 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_stats_undersize_pkts", str 2119 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_stats_oversize_pkts", str 2123 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_stats_fragments", str 2127 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_pkts64octets", str 2131 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_pkts65to127octets", str 2135 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_pkts128to255octets", str 2139 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_pkts256to511octets", str 2143 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_pkts512to1023octets", str 2147 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_pkts1024to1518octets", str 2151 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_pkts1519to2047octets", str 2155 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_pkts2048to4095octets", str 2159 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_pkts4096to8191octets", str 2163 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "ether_pkts8192to10239octets", str 2173 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "dot3stats_fcs_errors", str 2177 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "dot3stats_symbol_errors", str 2181 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "dot3control_in_unknown_opcodes", str 2185 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "dot3in_pause_frames", str 2195 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_ingress_general", str 2199 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_ingress_policy_engine", str 2203 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_ingress_vlan_membership", str 2207 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_ingress_tag_frame_type", str 2211 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_egress_vlan_membership", str 2215 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_loopback_filter", str 2219 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_egress_general", str 2223 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_egress_hoq", str 2227 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_egress_policy_engine", str 2231 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_ingress_tx_link_down", str 2235 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_egress_stp_filter", str 2239 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "discard_egress_sll", str 2249 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "rx_octets_prio", str 2253 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "rx_frames_prio", str 2257 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "tx_octets_prio", str 2261 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "tx_frames_prio", str 2265 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "rx_pause_prio", str 2269 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "rx_pause_duration_prio", str 2273 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "tx_pause_prio", str 2277 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "tx_pause_duration_prio", str 2286 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "tc_transmit_queue_tc", str 2291 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .str = "tc_no_buffer_discard_uc_tc", str 2314 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_hw_prio_stats[i].str, prio); str 2325 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_hw_tc_stats[i].str, tc); str 2340 drivers/net/ethernet/mellanox/mlxsw/spectrum.c memcpy(p, mlxsw_sp_port_hw_stats[i].str, str 2346 drivers/net/ethernet/mellanox/mlxsw/spectrum.c memcpy(p, mlxsw_sp_port_hw_rfc_2863_stats[i].str, str 2352 drivers/net/ethernet/mellanox/mlxsw/spectrum.c memcpy(p, mlxsw_sp_port_hw_rfc_2819_stats[i].str, str 2358 drivers/net/ethernet/mellanox/mlxsw/spectrum.c memcpy(p, mlxsw_sp_port_hw_rfc_3635_stats[i].str, str 2364 drivers/net/ethernet/mellanox/mlxsw/spectrum.c memcpy(p, mlxsw_sp_port_hw_discard_stats[i].str, str 1116 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c char str[ETH_GSTRING_LEN]; str 1122 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c .str = NAME, \ str 1149 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c memcpy(*p, mlxsw_sp_ptp_port_stats[i].str, str 417 drivers/net/ethernet/mellanox/mlxsw/switchx2.c char str[ETH_GSTRING_LEN]; str 423 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_frames_transmitted_ok", str 427 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_frames_received_ok", str 431 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_frame_check_sequence_errors", str 435 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_alignment_errors", str 439 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_octets_transmitted_ok", str 443 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_octets_received_ok", str 447 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_multicast_frames_xmitted_ok", str 451 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_broadcast_frames_xmitted_ok", str 455 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_multicast_frames_received_ok", str 459 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_broadcast_frames_received_ok", str 463 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_in_range_length_errors", str 467 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_out_of_range_length_field", str 471 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_frame_too_long_errors", str 475 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_symbol_error_during_carrier", str 479 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_mac_control_frames_transmitted", str 483 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_mac_control_frames_received", str 487 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_unsupported_opcodes_received", str 491 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_pause_mac_ctrl_frames_received", str 495 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .str = "a_pause_mac_ctrl_frames_xmitted", str 511 drivers/net/ethernet/mellanox/mlxsw/switchx2.c memcpy(p, mlxsw_sx_port_hw_stats[i].str, str 146 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c const struct pch_gbe_opt_list { int i; char *str; } *p; str 249 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c if (ent->str[0] != '\0') str 251 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c ent->str); str 17 drivers/net/ethernet/pasemi/pasemi_mac_ethtool.c const char str[ETH_GSTRING_LEN]; str 1910 drivers/net/ethernet/qlogic/qed/qed_debug.c static u32 qed_dump_str(char *dump_buf, bool dump, const char *str) str 1913 drivers/net/ethernet/qlogic/qed/qed_debug.c strcpy(dump_buf, str); str 1915 drivers/net/ethernet/qlogic/qed/qed_debug.c return (u32)strlen(str) + 1; str 1035 drivers/net/ethernet/qlogic/qed/qed_dev.c u16 dest_port, u8 *str, size_t str_len) str 1039 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "Ethertype 0x%04x", str 1043 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "TCP src port 0x%04x", str 1047 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "UDP src port 0x%04x", str 1051 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "TCP dst port 0x%04x", dest_port); str 1054 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "UDP dst port 0x%04x", dest_port); str 1057 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "TCP src/dst ports 0x%04x/0x%04x", str 1061 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "UDP src/dst ports 0x%04x/0x%04x", str 1115 drivers/net/ethernet/qlogic/qed/qed_dev.c u8 filter_idx, abs_ppfid, str[32], type_bitmap; str 1128 drivers/net/ethernet/qlogic/qed/qed_dev.c dest_port, str, sizeof(str)); str 1164 drivers/net/ethernet/qlogic/qed/qed_dev.c str, ppfid, abs_ppfid, filter_idx, ref_cnt); str 1170 drivers/net/ethernet/qlogic/qed/qed_dev.c str, ppfid); str 1232 drivers/net/ethernet/qlogic/qed/qed_dev.c u8 filter_idx, abs_ppfid, str[32]; str 1245 drivers/net/ethernet/qlogic/qed/qed_dev.c dest_port, str, sizeof(str)); str 1272 drivers/net/ethernet/qlogic/qed/qed_dev.c str, ppfid, abs_ppfid, filter_idx, ref_cnt); str 1278 drivers/net/ethernet/qlogic/qed/qed_dev.c str, ppfid); str 388 drivers/net/ethernet/realtek/8139cp.c const char str[ETH_GSTRING_LEN]; str 284 drivers/net/ethernet/realtek/8139too.c const char str[ETH_GSTRING_LEN]; str 1216 drivers/net/ethernet/rocker/rocker_main.c const char *str; str 1229 drivers/net/ethernet/rocker/rocker_main.c str = rocker_tlv_data(attr); str 1233 drivers/net/ethernet/rocker/rocker_main.c if (isalnum(str[i])) { str 1234 drivers/net/ethernet/rocker/rocker_main.c name->buf[j] = str[i]; str 2272 drivers/net/ethernet/rocker/rocker_main.c char str[ETH_GSTRING_LEN]; str 2297 drivers/net/ethernet/rocker/rocker_main.c memcpy(p, rocker_port_stats[i].str, ETH_GSTRING_LEN); str 2275 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c static int __init sxgbe_cmdline_opt(char *str) str 2279 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c if (!str || !*str) str 2281 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c while ((opt = strsep(&str, ",")) != NULL) { str 40 drivers/net/ethernet/sgi/meth.c #define DPRINTK(str,args...) printk(KERN_DEBUG "meth: %s: " str, __func__ , ## args) str 43 drivers/net/ethernet/sgi/meth.c #define DPRINTK(str,args...) str 468 drivers/net/ethernet/smsc/smc91c92_cs.c buf = parse.version_1.str + parse.version_1.ofs[3]; str 4903 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c static int __init stmmac_cmdline_opt(char *str) str 4907 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (!str || !*str) str 4909 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c while ((opt = strsep(&str, ",")) != NULL) { str 3152 drivers/net/ethernet/sun/cassini.c static int cas_vpd_match(const void __iomem *p, const char *str) str 3154 drivers/net/ethernet/sun/cassini.c int len = strlen(str) + 1; str 3158 drivers/net/ethernet/sun/cassini.c if (readb(p + i) != str[i]) str 516 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c char *str = NULL; str 549 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "RESERVED"; str 552 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "INTERNAL"; str 555 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "EXTERNAL"; str 558 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "BOTH"; str 561 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c XLGMAC_PR("Timestamp System Time Source : %s\n", str); str 569 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "128 bytes"; str 572 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "256 bytes"; str 575 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "512 bytes"; str 578 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "1 KBytes"; str 581 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "2 KBytes"; str 584 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "4 KBytes"; str 587 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "8 KBytes"; str 590 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "16 KBytes"; str 593 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "32 kBytes"; str 596 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "64 KBytes"; str 599 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "128 KBytes"; str 602 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "256 KBytes"; str 605 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "RESERVED"; str 607 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c XLGMAC_PR("MTL Receive FIFO Size : %s\n", str); str 611 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "128 bytes"; str 614 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "256 bytes"; str 617 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "512 bytes"; str 620 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "1 KBytes"; str 623 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "2 KBytes"; str 626 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "4 KBytes"; str 629 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "8 KBytes"; str 632 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "16 KBytes"; str 635 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "32 kBytes"; str 638 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "64 KBytes"; str 641 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "128 KBytes"; str 644 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "256 KBytes"; str 647 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "RESERVED"; str 649 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c XLGMAC_PR("MTL Transmit FIFO Size : %s\n", str); str 684 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "No PPS output"; str 687 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "1 PPS output"; str 690 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "2 PPS output"; str 693 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "3 PPS output"; str 696 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "4 PPS output"; str 699 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "RESERVED"; str 701 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c XLGMAC_PR("Number of PPS Outputs : %s\n", str); str 705 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "No auxiliary input"; str 708 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "1 auxiliary input"; str 711 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "2 auxiliary input"; str 714 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "3 auxiliary input"; str 717 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "4 auxiliary input"; str 720 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c str = "RESERVED"; str 722 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c XLGMAC_PR("Number of Auxiliary Snapshot Inputs : %s", str); str 30 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c #define XLGMAC_STAT(str, var) \ str 32 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c str, \ str 19 drivers/net/ethernet/toshiba/spider_net_ethtool.c const char str[ETH_GSTRING_LEN]; str 1987 drivers/net/ethernet/toshiba/tc35815.c const char str[ETH_GSTRING_LEN]; str 1778 drivers/net/ethernet/xircom/xirc2ps_cs.c static int __init setup_xirc2ps_cs(char *str) str 1784 drivers/net/ethernet/xircom/xirc2ps_cs.c str = get_options(str, ARRAY_SIZE(ints), ints); str 109 drivers/net/fjes/fjes_main.c union acpi_object *str; str 117 drivers/net/fjes/fjes_main.c str = buffer.pointer; str 118 drivers/net/fjes/fjes_main.c result = utf16s_to_utf8s((wchar_t *)str->string.pointer, str 119 drivers/net/fjes/fjes_main.c str->string.length, UTF16_LITTLE_ENDIAN, str 1304 drivers/net/hamradio/baycom_epp.c static int __init baycom_epp_setup(char *str) str 1311 drivers/net/hamradio/baycom_epp.c str = get_options(str, 2, ints); str 1314 drivers/net/hamradio/baycom_epp.c mode[nr_dev] = str; str 580 drivers/net/hamradio/baycom_par.c static int __init baycom_par_setup(char *str) str 587 drivers/net/hamradio/baycom_par.c str = get_options(str, 2, ints); str 590 drivers/net/hamradio/baycom_par.c mode[nr_dev] = str; str 655 drivers/net/hamradio/baycom_ser_fdx.c static int __init baycom_ser_fdx_setup(char *str) str 662 drivers/net/hamradio/baycom_ser_fdx.c str = get_options(str, 4, ints); str 665 drivers/net/hamradio/baycom_ser_fdx.c mode[nr_dev] = str; str 707 drivers/net/hamradio/baycom_ser_hdx.c static int __init baycom_ser_hdx_setup(char *str) str 714 drivers/net/hamradio/baycom_ser_hdx.c str = get_options(str, 3, ints); str 717 drivers/net/hamradio/baycom_ser_hdx.c mode[nr_dev] = str; str 53 drivers/net/netdevsim/bpf.c const char **str = file->private; str 55 drivers/net/netdevsim/bpf.c if (*str) str 56 drivers/net/netdevsim/bpf.c seq_printf(file, "%s\n", *str); str 1001 drivers/net/phy/sfp.c u32 attr, int channel, const char **str) str 1007 drivers/net/phy/sfp.c *str = "bias"; str 1016 drivers/net/phy/sfp.c *str = "temperature"; str 1025 drivers/net/phy/sfp.c *str = "VCC"; str 1034 drivers/net/phy/sfp.c *str = sfp_hwmon_power_labels[channel]; str 1376 drivers/net/plip/plip.c static int __init plip_setup(char *str) str 1380 drivers/net/plip/plip.c str = get_options(str, ARRAY_SIZE(ints), ints); str 1383 drivers/net/plip/plip.c if (!strncmp(str, "parport", 7)) { str 1384 drivers/net/plip/plip.c int n = simple_strtoul(str+7, NULL, 10); str 1389 drivers/net/plip/plip.c str); str 1390 drivers/net/plip/plip.c } else if (!strcmp(str, "timid")) { str 75 drivers/net/usb/cdc_ncm.c #define CDC_NCM_STAT(str, m) { \ str 76 drivers/net/usb/cdc_ncm.c .stat_string = str, \ str 16 drivers/net/wan/lmc/lmc_debug.c char str[80], *pstr; str 18 drivers/net/wan/lmc/lmc_debug.c sprintf(str, KERN_DEBUG "lmc: %s: ", type); str 19 drivers/net/wan/lmc/lmc_debug.c pstr = str+strlen(str); str 37 drivers/net/wan/lmc/lmc_debug.c printk(str); str 38 drivers/net/wan/lmc/lmc_debug.c sprintf(str, KERN_DEBUG "lmc: %s: ", type); str 39 drivers/net/wan/lmc/lmc_debug.c pstr=str+strlen(str); str 45 drivers/net/wan/lmc/lmc_debug.c printk(str); str 287 drivers/net/wimax/i2400m/control.c const char *str; str 292 drivers/net/wimax/i2400m/control.c str = "unknown status code"; str 295 drivers/net/wimax/i2400m/control.c str = ms_to_errno[status].msg; str 299 drivers/net/wimax/i2400m/control.c snprintf(strbuf, strbuf_size, "%s (%d)", str, status); str 655 drivers/net/wireless/ath/ath10k/debugfs_sta.c const char *str[ATH10K_COUNTER_TYPE_MAX] = {"bytes", "packets"}; str 679 drivers/net/wireless/ath/ath10k/debugfs_sta.c str[j]); str 682 drivers/net/wireless/ath/ath10k/debugfs_sta.c str[j]); str 689 drivers/net/wireless/ath/ath10k/debugfs_sta.c str[j]); str 695 drivers/net/wireless/ath/ath10k/debugfs_sta.c " BW %s (20,5,10,40,80,160 MHz)\n", str[j]); str 702 drivers/net/wireless/ath/ath10k/debugfs_sta.c " NSS %s (1x1,2x2,3x3,4x4)\n", str[j]); str 709 drivers/net/wireless/ath/ath10k/debugfs_sta.c str[j]); str 714 drivers/net/wireless/ath/ath10k/debugfs_sta.c str[j]); str 721 drivers/net/wireless/ath/ath10k/debugfs_sta.c str[j]); str 197 drivers/net/wireless/ath/ath9k/debug.h #define PR(str, elem) \ str 199 drivers/net/wireless/ath/ath9k/debug.h seq_printf(file, "%s%13u%11u%10u%10u\n", str, \ str 151 drivers/net/wireless/ath/ath9k/debug_sta.c #define PRINT_CCK_RATE(str, i, sp) \ str 155 drivers/net/wireless/ath/ath9k/debug_sta.c str, \ str 160 drivers/net/wireless/ath/ath9k/debug_sta.c #define PRINT_OFDM_RATE(str, i) \ str 164 drivers/net/wireless/ath/ath9k/debug_sta.c str, \ str 1607 drivers/net/wireless/atmel/at76c50x-usb.c char *str; str 1651 drivers/net/wireless/atmel/at76c50x-usb.c str = (char *)fwh + le32_to_cpu(fwh->str_offset); str 1666 drivers/net/wireless/atmel/at76c50x-usb.c at76_dbg(DBG_DEVSTART, "firmware id %s", str); str 4328 drivers/net/wireless/atmel/atmel.c str r1, [r0] str 4331 drivers/net/wireless/atmel/atmel.c str r1, [r0, #28] str 4333 drivers/net/wireless/atmel/atmel.c str r1, [r0, #8] str 4395 drivers/net/wireless/atmel/atmel.c str r1, [r0, #SP_CR] /* reset the SPI */ str 4397 drivers/net/wireless/atmel/atmel.c str r1, [r0, #SP_CR] /* release SPI from reset state */ str 4399 drivers/net/wireless/atmel/atmel.c str r1, [r0, #SP_MR] /* set the SPI to MASTER mode*/ str 4400 drivers/net/wireless/atmel/atmel.c str r1, [r0, #SP_CR] /* enable the SPI */ str 4406 drivers/net/wireless/atmel/atmel.c str r1, [r3, #28] str 4409 drivers/net/wireless/atmel/atmel.c str r1, [r0, #SP_CSR0] str 4411 drivers/net/wireless/atmel/atmel.c str r1, [r0, #SP_CSR1] str 4412 drivers/net/wireless/atmel/atmel.c str r1, [r0, #SP_CSR2] str 4413 drivers/net/wireless/atmel/atmel.c str r1, [r0, #SP_CSR3] str 4423 drivers/net/wireless/atmel/atmel.c str r0, [r1, #SP_TDR] str 4430 drivers/net/wireless/atmel/atmel.c str r0, [r1, #SP_TDR] str 4486 drivers/net/wireless/atmel/atmel.c str r6, [r4, #SP_TDR] str 4496 drivers/net/wireless/atmel/atmel.c str r3, [r4, #SP_TDR] str 4510 drivers/net/wireless/atmel/atmel.c str r3, [r4, #SP_TDR] /* r3 has SPI_8CLOCKS */ str 2097 drivers/net/wireless/intel/iwlwifi/fw/dbg.c const char *str, size_t len, str 2131 drivers/net/wireless/intel/iwlwifi/fw/dbg.c memcpy(desc->trig_desc.data, str, len); str 2386 drivers/net/wireless/intel/iwlwifi/fw/dbg.c #define FSEQ_REG(x) { .addr = (x), .str = #x, } str 2395 drivers/net/wireless/intel/iwlwifi/fw/dbg.c const char *str; str 2419 drivers/net/wireless/intel/iwlwifi/fw/dbg.c fseq_regs[i].str); str 121 drivers/net/wireless/intel/iwlwifi/fw/dbg.h enum iwl_fw_dbg_trigger trig, const char *str, str 62 drivers/net/wireless/intersil/hostap/hostap_plx.c #define PLXDEV(vendor,dev,str) { vendor, dev, PCI_ANY_ID, PCI_ANY_ID } str 2030 drivers/net/wireless/intersil/prism54/isl_ioctl.c format_event(islpci_private *priv, char *dest, const char *str, str 2035 drivers/net/wireless/intersil/prism54/isl_ioctl.c str, str 2045 drivers/net/wireless/intersil/prism54/isl_ioctl.c send_formatted_event(islpci_private *priv, const char *str, str 2056 drivers/net/wireless/intersil/prism54/isl_ioctl.c format_event(priv, memptr, str, mlme, &wrqu.data.length, str 2063 drivers/net/wireless/intersil/prism54/isl_ioctl.c send_simple_event(islpci_private *priv, const char *str) str 2067 drivers/net/wireless/intersil/prism54/isl_ioctl.c int n = strlen(str); str 2075 drivers/net/wireless/intersil/prism54/isl_ioctl.c strcpy(memptr, str); str 779 drivers/net/wireless/intersil/prism54/oid_mgt.c mgt_response_to_str(enum oid_num_t n, union oid_res_t *r, char *str) str 783 drivers/net/wireless/intersil/prism54/oid_mgt.c return snprintf(str, PRIV_STR_SIZE, "%u\n", r->u); str 786 drivers/net/wireless/intersil/prism54/oid_mgt.c return snprintf(str, PRIV_STR_SIZE, str 793 drivers/net/wireless/intersil/prism54/oid_mgt.c return snprintf(str, PRIV_STR_SIZE, str 804 drivers/net/wireless/intersil/prism54/oid_mgt.c k = snprintf(str, PRIV_STR_SIZE, "nr=%u\n", list->nr); str 806 drivers/net/wireless/intersil/prism54/oid_mgt.c k += snprintf(str + k, PRIV_STR_SIZE - k, str 822 drivers/net/wireless/intersil/prism54/oid_mgt.c t = snprintf(str, PRIV_STR_SIZE, "nr=%u\n", freq->nr); str 824 drivers/net/wireless/intersil/prism54/oid_mgt.c t += snprintf(str + t, PRIV_STR_SIZE - t, str 831 drivers/net/wireless/intersil/prism54/oid_mgt.c return snprintf(str, PRIV_STR_SIZE, str 838 drivers/net/wireless/intersil/prism54/oid_mgt.c return snprintf(str, PRIV_STR_SIZE, str 846 drivers/net/wireless/intersil/prism54/oid_mgt.c return snprintf(str, PRIV_STR_SIZE, str 854 drivers/net/wireless/intersil/prism54/oid_mgt.c return snprintf(str, PRIV_STR_SIZE, str 863 drivers/net/wireless/intersil/prism54/oid_mgt.c t = snprintf(str, PRIV_STR_SIZE, str 867 drivers/net/wireless/intersil/prism54/oid_mgt.c t += snprintf(str + t, PRIV_STR_SIZE - t, str 869 drivers/net/wireless/intersil/prism54/oid_mgt.c t += snprintf(str + t, PRIV_STR_SIZE - t, "\n"); str 877 drivers/net/wireless/intersil/prism54/oid_mgt.c t = snprintf(str, PRIV_STR_SIZE, "hex data="); str 879 drivers/net/wireless/intersil/prism54/oid_mgt.c t += snprintf(str + t, PRIV_STR_SIZE - t, str 881 drivers/net/wireless/intersil/prism54/oid_mgt.c t += snprintf(str + t, PRIV_STR_SIZE - t, "\n"); str 212 drivers/net/wireless/marvell/mwifiex/main.h #define mwifiex_dbg_dump(adapter, dbg_mask, str, buf, len) \ str 215 drivers/net/wireless/marvell/mwifiex/main.h print_hex_dump(KERN_DEBUG, str, \ str 49 drivers/net/wireless/mediatek/mt76/debugfs.c void mt76_seq_puts_array(struct seq_file *file, const char *str, str 54 drivers/net/wireless/mediatek/mt76/debugfs.c seq_printf(file, "%10s:", str); str 629 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_seq_puts_array(struct seq_file *file, const char *str, str 1590 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c static bool _rtl8812ae_get_integer_from_string(char *str, u8 *pint) str 1595 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c while (str[i] != '\0') { str 1596 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (str[i] >= '0' && str[i] <= '9') { str 1598 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c *pint += (str[i] - '0'); str 611 drivers/net/wireless/rsi/rsi_91x_hal.c static int bl_cmd(struct rsi_hw *adapter, u8 cmd, u8 exp_resp, char *str) str 628 drivers/net/wireless/rsi/rsi_91x_hal.c __func__, str, cmd); str 717 drivers/net/wireless/rsi/rsi_91x_hal.c u8 *str; str 724 drivers/net/wireless/rsi/rsi_91x_hal.c str = "PING_VALID"; str 729 drivers/net/wireless/rsi/rsi_91x_hal.c str = "PONG_VALID"; str 740 drivers/net/wireless/rsi/rsi_91x_hal.c status = bl_cmd(adapter, cmd_req, cmd_resp, str); str 818 drivers/net/xen-netback/xenbus.c char *str; str 821 drivers/net/xen-netback/xenbus.c str = xenbus_read(XBT_NIL, be->dev->nodename, "hotplug-status", &len); str 822 drivers/net/xen-netback/xenbus.c if (IS_ERR(str)) str 824 drivers/net/xen-netback/xenbus.c if (len == sizeof("connected")-1 && !memcmp(str, "connected", len)) { str 831 drivers/net/xen-netback/xenbus.c kfree(str); str 219 drivers/nvdimm/core.c const char *str = buf; str 224 drivers/nvdimm/core.c if (!isxdigit(str[0]) || !isxdigit(str[1])) { str 226 drivers/nvdimm/core.c i, str - buf, str[0], str 227 drivers/nvdimm/core.c str + 1 - buf, str[1]); str 231 drivers/nvdimm/core.c uuid[i] = (hex_to_bin(str[0]) << 4) | hex_to_bin(str[1]); str 232 drivers/nvdimm/core.c str += 2; str 233 drivers/nvdimm/core.c if (is_uuid_sep(*str)) str 234 drivers/nvdimm/core.c str++; str 200 drivers/of/device.c static ssize_t of_device_get_modalias(struct device *dev, char *str, ssize_t len) str 213 drivers/of/device.c csize = snprintf(str, len, "of:N%pOFn%c%s", dev->of_node, 'T', str 217 drivers/of/device.c if (str) str 218 drivers/of/device.c str += csize; str 226 drivers/of/device.c csize = snprintf(str, len, "C%s", compat); str 227 drivers/of/device.c for (c = str; c; ) { str 233 drivers/of/device.c str += csize; str 241 drivers/of/device.c char *str; str 249 drivers/of/device.c str = kmalloc(size + 1, GFP_KERNEL); str 250 drivers/of/device.c if (!str) str 253 drivers/of/device.c of_device_get_modalias(dev, str, size); str 254 drivers/of/device.c str[size] = '\0'; str 255 drivers/of/device.c ret = request_module(str); str 256 drivers/of/device.c kfree(str); str 265 drivers/of/device.c ssize_t of_device_modalias(struct device *dev, char *str, ssize_t len) str 267 drivers/of/device.c ssize_t sl = of_device_get_modalias(dev, str, len - 2); str 273 drivers/of/device.c str[sl++] = '\n'; str 274 drivers/of/device.c str[sl] = 0; str 46 drivers/oprofile/oprofilefs.c ssize_t oprofilefs_str_to_user(char const *str, char __user *buf, size_t count, loff_t *offset) str 48 drivers/oprofile/oprofilefs.c return simple_read_from_buffer(buf, count, offset, str, strlen(str)); str 436 drivers/parisc/eisa.c static int __init eisa_irq_setup(char *str) str 438 drivers/parisc/eisa.c char *cur = str; str 638 drivers/parisc/led.c int lcd_print( const char *str ) str 650 drivers/parisc/led.c strlcpy(lcd_text, str, sizeof(lcd_text)); str 658 drivers/parisc/led.c if (str && *str) str 659 drivers/parisc/led.c gsc_writeb(*str++, LCD_DATA_REG); str 318 drivers/parport/parport_ip32.c static void parport_ip32_dump_state(struct parport *p, char *str, str 324 drivers/parport/parport_ip32.c printk(KERN_DEBUG PPIP32 "%s: state (%s):\n", p->name, str); str 3134 drivers/parport/parport_pc.c static int __init parport_init_mode_setup(char *str) str 3137 drivers/parport/parport_pc.c "parport_pc.c: Specified parameter parport_init_mode=%s\n", str); str 3139 drivers/parport/parport_pc.c if (!strcmp(str, "spp")) str 3141 drivers/parport/parport_pc.c if (!strcmp(str, "ps2")) str 3143 drivers/parport/parport_pc.c if (!strcmp(str, "epp")) str 3145 drivers/parport/parport_pc.c if (!strcmp(str, "ecp")) str 3147 drivers/parport/parport_pc.c if (!strcmp(str, "ecpepp")) str 3239 drivers/parport/parport_pc.c static int __init parport_setup(char *str) str 3245 drivers/parport/parport_pc.c if (!str || !*str || (*str == '0' && !*(str+1))) { str 3251 drivers/parport/parport_pc.c if (!strncmp(str, "auto", 4)) { str 3257 drivers/parport/parport_pc.c val = simple_strtoul(str, &endptr, 0); str 3258 drivers/parport/parport_pc.c if (endptr == str) { str 3259 drivers/parport/parport_pc.c printk(KERN_WARNING "parport=%s not understood\n", str); str 3264 drivers/parport/parport_pc.c printk(KERN_ERR "parport=%s ignored, too many ports\n", str); str 3272 drivers/parport/parport_pc.c sep = strchr(str, ','); str 53 drivers/parport/probe.c static void parse_data(struct parport *port, int device, char *str) str 55 drivers/parport/probe.c char *txt = kmalloc(strlen(str)+1, GFP_KERNEL); str 64 drivers/parport/probe.c strcpy(txt, str); str 77 drivers/parport/procfs.c const char *str; str 89 drivers/parport/procfs.c if ((str = info->class_name) != NULL) str 90 drivers/parport/procfs.c len += sprintf (buffer + len, "CLASS:%s;\n", str); str 92 drivers/parport/procfs.c if ((str = info->model) != NULL) str 93 drivers/parport/procfs.c len += sprintf (buffer + len, "MODEL:%s;\n", str); str 95 drivers/parport/procfs.c if ((str = info->mfr) != NULL) str 96 drivers/parport/procfs.c len += sprintf (buffer + len, "MANUFACTURER:%s;\n", str); str 98 drivers/parport/procfs.c if ((str = info->description) != NULL) str 99 drivers/parport/procfs.c len += sprintf (buffer + len, "DESCRIPTION:%s;\n", str); str 101 drivers/parport/procfs.c if ((str = info->cmdset) != NULL) str 102 drivers/parport/procfs.c len += sprintf (buffer + len, "COMMAND SET:%s;\n", str); str 32 drivers/pci/controller/pci-versatile.c static int __init versatile_pci_slot_ignore(char *str) str 37 drivers/pci/controller/pci-versatile.c while ((retval = get_option(&str, &slot))) { str 62 drivers/pci/hotplug/cpcihp_generic.c char *str; str 70 drivers/pci/hotplug/cpcihp_generic.c str = bridge; str 71 drivers/pci/hotplug/cpcihp_generic.c if (!*str) str 74 drivers/pci/hotplug/cpcihp_generic.c tmp = simple_strtoul(str, &p, 16); str 75 drivers/pci/hotplug/cpcihp_generic.c if (p == str || tmp > 0xff) { str 85 drivers/pci/hotplug/cpcihp_generic.c str = p + 1; str 86 drivers/pci/hotplug/cpcihp_generic.c tmp = simple_strtoul(str, &p, 16); str 87 drivers/pci/hotplug/cpcihp_generic.c if (p == str || tmp > 0x1f) { str 599 drivers/pci/hotplug/ibmphp_ebda.c static char str[SLOT_NAME_SIZE]; str 613 drivers/pci/hotplug/ibmphp_ebda.c memset(str, 0, sizeof(str)); str 658 drivers/pci/hotplug/ibmphp_ebda.c sprintf(str, "%s%dslot%d", str 661 drivers/pci/hotplug/ibmphp_ebda.c return str; str 489 drivers/pci/hotplug/ibmphp_res.c char *str = ""; str 492 drivers/pci/hotplug/ibmphp_res.c str = "io"; str 495 drivers/pci/hotplug/ibmphp_res.c str = "mem"; str 498 drivers/pci/hotplug/ibmphp_res.c str = "pfmem"; str 507 drivers/pci/hotplug/ibmphp_res.c debug("%s->rangeno in fix_resources is %d\n", str, res->rangeno); str 132 drivers/pci/pci-sysfs.c char *str = buf; str 145 drivers/pci/pci-sysfs.c str += sprintf(str, "0x%016llx 0x%016llx 0x%016llx\n", str 150 drivers/pci/pci-sysfs.c return (str - buf); str 132 drivers/pci/pci.c static int __init pcie_port_pm_setup(char *str) str 134 drivers/pci/pci.c if (!strcmp(str, "off")) str 136 drivers/pci/pci.c else if (!strcmp(str, "force")) str 4124 drivers/pci/pci.c char * __weak __init pcibios_setup(char *str) str 4126 drivers/pci/pci.c return str; str 6417 drivers/pci/pci.c static int __init pci_setup(char *str) str 6419 drivers/pci/pci.c while (str) { str 6420 drivers/pci/pci.c char *k = strchr(str, ','); str 6423 drivers/pci/pci.c if (*str && (str = pcibios_setup(str)) && *str) { str 6424 drivers/pci/pci.c if (!strcmp(str, "nomsi")) { str 6426 drivers/pci/pci.c } else if (!strncmp(str, "noats", 5)) { str 6429 drivers/pci/pci.c } else if (!strcmp(str, "noaer")) { str 6431 drivers/pci/pci.c } else if (!strcmp(str, "earlydump")) { str 6433 drivers/pci/pci.c } else if (!strncmp(str, "realloc=", 8)) { str 6434 drivers/pci/pci.c pci_realloc_get_opt(str + 8); str 6435 drivers/pci/pci.c } else if (!strncmp(str, "realloc", 7)) { str 6437 drivers/pci/pci.c } else if (!strcmp(str, "nodomains")) { str 6439 drivers/pci/pci.c } else if (!strncmp(str, "noari", 5)) { str 6441 drivers/pci/pci.c } else if (!strncmp(str, "cbiosize=", 9)) { str 6442 drivers/pci/pci.c pci_cardbus_io_size = memparse(str + 9, &str); str 6443 drivers/pci/pci.c } else if (!strncmp(str, "cbmemsize=", 10)) { str 6444 drivers/pci/pci.c pci_cardbus_mem_size = memparse(str + 10, &str); str 6445 drivers/pci/pci.c } else if (!strncmp(str, "resource_alignment=", 19)) { str 6446 drivers/pci/pci.c resource_alignment_param = str + 19; str 6447 drivers/pci/pci.c } else if (!strncmp(str, "ecrc=", 5)) { str 6448 drivers/pci/pci.c pcie_ecrc_get_policy(str + 5); str 6449 drivers/pci/pci.c } else if (!strncmp(str, "hpiosize=", 9)) { str 6450 drivers/pci/pci.c pci_hotplug_io_size = memparse(str + 9, &str); str 6451 drivers/pci/pci.c } else if (!strncmp(str, "hpmemsize=", 10)) { str 6452 drivers/pci/pci.c pci_hotplug_mem_size = memparse(str + 10, &str); str 6453 drivers/pci/pci.c } else if (!strncmp(str, "hpbussize=", 10)) { str 6455 drivers/pci/pci.c simple_strtoul(str + 10, &str, 0); str 6458 drivers/pci/pci.c } else if (!strncmp(str, "pcie_bus_tune_off", 17)) { str 6460 drivers/pci/pci.c } else if (!strncmp(str, "pcie_bus_safe", 13)) { str 6462 drivers/pci/pci.c } else if (!strncmp(str, "pcie_bus_perf", 13)) { str 6464 drivers/pci/pci.c } else if (!strncmp(str, "pcie_bus_peer2peer", 18)) { str 6466 drivers/pci/pci.c } else if (!strncmp(str, "pcie_scan_all", 13)) { str 6468 drivers/pci/pci.c } else if (!strncmp(str, "disable_acs_redir=", 18)) { str 6469 drivers/pci/pci.c disable_acs_redir_param = str + 18; str 6471 drivers/pci/pci.c pr_err("PCI: Unknown option `%s'\n", str); str 6474 drivers/pci/pci.c str = k; str 558 drivers/pci/pci.h void pcie_ecrc_get_policy(char *str); str 561 drivers/pci/pci.h static inline void pcie_ecrc_get_policy(char *str) { } str 205 drivers/pci/pcie/aer.c void pcie_ecrc_get_policy(char *str) str 209 drivers/pci/pcie/aer.c i = match_string(ecrc_policy_str, ARRAY_SIZE(ecrc_policy_str), str); str 579 drivers/pci/pcie/aer.c char *str = buf; \ str 585 drivers/pci/pcie/aer.c str += sprintf(str, "%s %llu\n", \ str 588 drivers/pci/pcie/aer.c str += sprintf(str, #stats_array "_bit[%d] %llu\n",\ str 591 drivers/pci/pcie/aer.c str += sprintf(str, "TOTAL_%s %llu\n", total_string, \ str 593 drivers/pci/pcie/aer.c return str-buf; \ str 1301 drivers/pci/pcie/aspm.c static int __init pcie_aspm_disable(char *str) str 1303 drivers/pci/pcie/aspm.c if (!strcmp(str, "off")) { str 1308 drivers/pci/pcie/aspm.c } else if (!strcmp(str, "force")) { str 32 drivers/pci/pcie/pme.c static int __init pcie_pme_setup(char *str) str 34 drivers/pci/pcie/pme.c if (!strncmp(str, "nomsi", 5)) str 32 drivers/pci/pcie/portdrv_pci.c static int __init pcie_port_setup(char *str) str 34 drivers/pci/pcie/portdrv_pci.c if (!strncmp(str, "compat", 6)) str 36 drivers/pci/pcie/portdrv_pci.c else if (!strncmp(str, "native", 6)) str 1647 drivers/pci/setup-bus.c void __init pci_realloc_get_opt(char *str) str 1649 drivers/pci/setup-bus.c if (!strncmp(str, "off", 3)) str 1651 drivers/pci/setup-bus.c else if (!strncmp(str, "on", 2)) str 857 drivers/pci/xen-pcifront.c char str[64]; str 894 drivers/pci/xen-pcifront.c len = snprintf(str, sizeof(str), "root-%d", i); str 895 drivers/pci/xen-pcifront.c if (unlikely(len >= (sizeof(str) - 1))) { str 900 drivers/pci/xen-pcifront.c err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, str 953 drivers/pci/xen-pcifront.c char str[64]; str 980 drivers/pci/xen-pcifront.c len = snprintf(str, sizeof(str), "root-%d", i); str 981 drivers/pci/xen-pcifront.c if (unlikely(len >= (sizeof(str) - 1))) { str 986 drivers/pci/xen-pcifront.c err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, str 1017 drivers/pci/xen-pcifront.c char str[64]; str 1036 drivers/pci/xen-pcifront.c l = snprintf(str, sizeof(str), "state-%d", i); str 1037 drivers/pci/xen-pcifront.c if (unlikely(l >= (sizeof(str) - 1))) { str 1041 drivers/pci/xen-pcifront.c state = xenbus_read_unsigned(pdev->xdev->otherend, str, str 1048 drivers/pci/xen-pcifront.c l = snprintf(str, sizeof(str), "vdev-%d", i); str 1049 drivers/pci/xen-pcifront.c if (unlikely(l >= (sizeof(str) - 1))) { str 1053 drivers/pci/xen-pcifront.c err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, str 805 drivers/pcmcia/cistpl.c vers_1->str, vers_1->ofs, &vers_1->ns); str 817 drivers/pcmcia/cistpl.c altstr->str, altstr->ofs, &altstr->ns); str 1242 drivers/pcmcia/cistpl.c return parse_strings(p, q, 2, v2->str, &v2->vendor, NULL); str 462 drivers/pcmcia/ds.c tmp = vers1->str + vers1->ofs[i]; str 1038 drivers/pcmcia/ds.c char *str = buf; str 1042 drivers/pcmcia/ds.c str += sprintf(str, "%pr\n", p_dev->resource[i]); str 1044 drivers/pcmcia/ds.c return str - buf; str 163 drivers/pinctrl/aspeed/pinctrl-aspeed.c const char *str = get(expr); str 164 drivers/pinctrl/aspeed/pinctrl-aspeed.c size_t delta = strlen(str) + 2; str 177 drivers/pinctrl/aspeed/pinctrl-aspeed.c strcat(found, str); str 595 drivers/pinctrl/sh-pfc/sh_pfc.h #define GP_ALL(str) CPU_ALL_GP(_GP_ALL, str) str 651 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_ALL(str) CPU_ALL_PORT(_PORT_ALL, PORT, str) str 702 drivers/pinctrl/sh-pfc/sh_pfc.h #define GPIO_FN(str) \ str 703 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_GPIO_FN(GPIO_FN_##str, PINMUX_FN_BASE, str##_MARK) str 55 drivers/platform/chrome/cros_ec_chardev.c static int ec_get_version(struct cros_ec_dev *ec, char *str, int maxlen) str 73 drivers/platform/chrome/cros_ec_chardev.c snprintf(str, maxlen, str 83 drivers/platform/chrome/cros_ec_chardev.c snprintf(str, maxlen, "%s\n%s\n%s\n%s\n", CROS_EC_DEV_VERSION, str 43 drivers/platform/chrome/cros_ec_sysfs.c const char * const str; str 77 drivers/platform/chrome/cros_ec_sysfs.c if (!strncasecmp(words[i].str, buf+offset, str 78 drivers/platform/chrome/cros_ec_sysfs.c strlen(words[i].str))) { str 602 drivers/platform/x86/acerhdf.c static int str_starts_with(const char *str, const char *start) str 606 drivers/platform/x86/acerhdf.c str_len = strlen(str); str 610 drivers/platform/x86/acerhdf.c !strncmp(str, start, start_len)) str 46 drivers/platform/x86/asus-nb-wmi.c static bool asus_q500a_i8042_filter(unsigned char data, unsigned char str, str 52 drivers/platform/x86/asus-nb-wmi.c if (str & I8042_STR_AUXDATA) str 46 drivers/platform/x86/asus-wmi.h bool (*i8042_filter)(unsigned char data, unsigned char str, str 692 drivers/platform/x86/dell-laptop.c static bool dell_laptop_i8042_filter(unsigned char data, unsigned char str, str 697 drivers/platform/x86/dell-laptop.c if (str & I8042_STR_AUXDATA) str 302 drivers/platform/x86/hp_accel.c static bool hp_accel_i8042_filter(unsigned char data, unsigned char str, str 307 drivers/platform/x86/hp_accel.c if (str & I8042_STR_AUXDATA) str 806 drivers/platform/x86/msi-laptop.c static bool msi_laptop_i8042_filter(unsigned char data, unsigned char str, str 811 drivers/platform/x86/msi-laptop.c if (str & I8042_STR_AUXDATA) str 2665 drivers/platform/x86/toshiba_acpi.c static bool toshiba_acpi_i8042_filter(unsigned char data, unsigned char str, str 2668 drivers/platform/x86/toshiba_acpi.c if (str & I8042_STR_AUXDATA) str 15 drivers/pnp/base.h void pnp_eisa_id_to_string(u32 id, char *str); str 187 drivers/pnp/card.c char *str = buf; str 190 drivers/pnp/card.c str += sprintf(str, "%s\n", card->name); str 191 drivers/pnp/card.c return (str - buf); str 199 drivers/pnp/card.c char *str = buf; str 204 drivers/pnp/card.c str += sprintf(str, "%s\n", pos->id); str 207 drivers/pnp/card.c return (str - buf); str 443 drivers/pnp/interface.c char *str = buf; str 448 drivers/pnp/interface.c str += sprintf(str, "%s\n", pos->id); str 451 drivers/pnp/interface.c return (str - buf); str 1074 drivers/pnp/isapnp/core.c static int __init isapnp_setup_disable(char *str) str 1084 drivers/pnp/isapnp/core.c static int __init isapnp_setup_isapnp(char *str) str 1086 drivers/pnp/isapnp/core.c (void)((get_option(&str, &isapnp_rdp) == 2) && str 1087 drivers/pnp/isapnp/core.c (get_option(&str, &isapnp_reset) == 2) && str 1088 drivers/pnp/isapnp/core.c (get_option(&str, &isapnp_verbose) == 2)); str 316 drivers/pnp/pnpacpi/core.c static int __init pnpacpi_setup(char *str) str 318 drivers/pnp/pnpacpi/core.c if (str == NULL) str 320 drivers/pnp/pnpacpi/core.c if (!strncmp(str, "off", 3)) str 398 drivers/pnp/pnpbios/core.c static int __init pnpbios_setup(char *str) str 402 drivers/pnp/pnpbios/core.c while ((str != NULL) && (*str != '\0')) { str 403 drivers/pnp/pnpbios/core.c if (strncmp(str, "off", 3) == 0) str 405 drivers/pnp/pnpbios/core.c if (strncmp(str, "on", 2) == 0) str 407 drivers/pnp/pnpbios/core.c invert = (strncmp(str, "no-", 3) == 0); str 409 drivers/pnp/pnpbios/core.c str += 3; str 410 drivers/pnp/pnpbios/core.c if (strncmp(str, "curr", 4) == 0) str 412 drivers/pnp/pnpbios/core.c str = strchr(str, ','); str 413 drivers/pnp/pnpbios/core.c if (str != NULL) str 414 drivers/pnp/pnpbios/core.c str += strspn(str, ", \t"); str 156 drivers/pnp/pnpbios/pnpbios.h extern void pnpid32_to_pnpid(u32 id, char *str); str 705 drivers/pnp/resource.c static int __init pnp_setup_reserve_irq(char *str) str 710 drivers/pnp/resource.c if (get_option(&str, &pnp_reserve_irq[i]) != 2) str 718 drivers/pnp/resource.c static int __init pnp_setup_reserve_dma(char *str) str 723 drivers/pnp/resource.c if (get_option(&str, &pnp_reserve_dma[i]) != 2) str 731 drivers/pnp/resource.c static int __init pnp_setup_reserve_io(char *str) str 736 drivers/pnp/resource.c if (get_option(&str, &pnp_reserve_io[i]) != 2) str 744 drivers/pnp/resource.c static int __init pnp_setup_reserve_mem(char *str) str 749 drivers/pnp/resource.c if (get_option(&str, &pnp_reserve_mem[i]) != 2) str 40 drivers/pnp/support.c void pnp_eisa_id_to_string(u32 id, char *str) str 52 drivers/pnp/support.c str[0] = 'A' + ((id >> 26) & 0x3f) - 1; str 53 drivers/pnp/support.c str[1] = 'A' + ((id >> 21) & 0x1f) - 1; str 54 drivers/pnp/support.c str[2] = 'A' + ((id >> 16) & 0x1f) - 1; str 55 drivers/pnp/support.c str[3] = hex_asc_hi(id >> 8); str 56 drivers/pnp/support.c str[4] = hex_asc_lo(id >> 8); str 57 drivers/pnp/support.c str[5] = hex_asc_hi(id); str 58 drivers/pnp/support.c str[6] = hex_asc_lo(id); str 59 drivers/pnp/support.c str[7] = '\0'; str 1080 drivers/power/supply/bq27xxx_battery.c const char *str = bq27xxx_dm_reg_name[reg_id]; str 1084 drivers/power/supply/bq27xxx_battery.c dev_warn(di->dev, "buffer does not match %s dm spec\n", str); str 1089 drivers/power/supply/bq27xxx_battery.c dev_warn(di->dev, "%s dm spec has unsupported byte size\n", str); str 1097 drivers/power/supply/bq27xxx_battery.c dev_info(di->dev, "%s has %u\n", str, val); str 1113 drivers/power/supply/bq27xxx_battery.c "\n", str, be16_to_cpup(prev), val); str 1117 drivers/power/supply/bq27xxx_battery.c dev_info(di->dev, "update %s to %u\n", str, val); str 227 drivers/power/supply/max1721x_battery.c uint16_t reg, uint8_t nr, char *str) str 231 drivers/power/supply/max1721x_battery.c if (!str || !(reg == MAX1721X_REG_MFG_STR || str 238 drivers/power/supply/max1721x_battery.c *str++ = val>>8 & 0x00FF; str 239 drivers/power/supply/max1721x_battery.c *str++ = val & 0x00FF; str 245 drivers/power/supply/max1721x_battery.c static int get_sn_string(struct max17211_device_info *info, char *str) str 249 drivers/power/supply/max1721x_battery.c if (!str) str 259 drivers/power/supply/max1721x_battery.c snprintf(str, 13, "%04X%04X%04X", val[0], val[1], val[2]); str 145 drivers/power/supply/power_supply_hwmon.c const char **str) str 147 drivers/power/supply/power_supply_hwmon.c *str = channel ? "temp" : "temp ambient"; str 365 drivers/power/supply/power_supply_sysfs.c static char *kstruprdup(const char *str, gfp_t gfp) str 369 drivers/power/supply/power_supply_sysfs.c ustr = ret = kmalloc(strlen(str) + 1, gfp); str 374 drivers/power/supply/power_supply_sysfs.c while (*str) str 375 drivers/power/supply/power_supply_sysfs.c *ustr++ = toupper(*str++); str 40 drivers/rapidio/rio-sysfs.c char *str = buf; str 47 drivers/rapidio/rio-sysfs.c str += str 48 drivers/rapidio/rio-sysfs.c sprintf(str, "%04x %02x\n", i, str 52 drivers/rapidio/rio-sysfs.c return (str - buf); str 70 drivers/rapidio/rio-sysfs.c char *str = buf; str 76 drivers/rapidio/rio-sysfs.c str += sprintf(str, "%s\n", str 79 drivers/rapidio/rio-sysfs.c str += sprintf(str, "null\n"); str 83 drivers/rapidio/rio-sysfs.c return str - buf; str 552 drivers/ras/cec.c int __init parse_cec_param(char *str) str 554 drivers/ras/cec.c if (!str) str 557 drivers/ras/cec.c if (*str == '=') str 558 drivers/ras/cec.c str++; str 560 drivers/ras/cec.c if (!strcmp(str, "cec_disable")) str 47 drivers/ras/ras.c static int __init parse_ras_param(char *str) str 50 drivers/ras/ras.c parse_cec_param(str); str 970 drivers/s390/block/dasd.c char *buffer, *str; str 981 drivers/s390/block/dasd.c str = skip_spaces(buffer); str 983 drivers/s390/block/dasd.c if (strncmp(str, "reset", 5) == 0) { str 985 drivers/s390/block/dasd.c } else if (strncmp(str, "on", 2) == 0) { str 994 drivers/s390/block/dasd.c } else if (strncmp(str, "off", 3) == 0) { str 133 drivers/s390/block/dasd_devmap.c static int __init dasd_busid(char *str, int *id0, int *id1, int *devno) str 139 drivers/s390/block/dasd_devmap.c if (strncmp(DASD_IPLDEV, str, strlen(DASD_IPLDEV)) == 0) { str 152 drivers/s390/block/dasd_devmap.c if (!kstrtouint(str, 16, &val)) { str 161 drivers/s390/block/dasd_devmap.c tok = strsep(&str, "."); str 166 drivers/s390/block/dasd_devmap.c tok = strsep(&str, "."); str 171 drivers/s390/block/dasd_devmap.c tok = strsep(&str, "."); str 182 drivers/s390/block/dasd_devmap.c static int __init dasd_feature_list(char *str) str 189 drivers/s390/block/dasd_devmap.c if (!str) str 194 drivers/s390/block/dasd_devmap.c str[len] && str[len] != ':' && str[len] != ')'; len++); str 195 drivers/s390/block/dasd_devmap.c if (len == 2 && !strncmp(str, "ro", 2)) str 197 drivers/s390/block/dasd_devmap.c else if (len == 4 && !strncmp(str, "diag", 4)) str 199 drivers/s390/block/dasd_devmap.c else if (len == 3 && !strncmp(str, "raw", 3)) str 201 drivers/s390/block/dasd_devmap.c else if (len == 6 && !strncmp(str, "erplog", 6)) str 203 drivers/s390/block/dasd_devmap.c else if (len == 8 && !strncmp(str, "failfast", 8)) str 207 drivers/s390/block/dasd_devmap.c len, str); str 210 drivers/s390/block/dasd_devmap.c str += len; str 211 drivers/s390/block/dasd_devmap.c if (*str != ':') str 213 drivers/s390/block/dasd_devmap.c str++; str 263 drivers/s390/block/dasd_proc.c char *buffer, *str; str 273 drivers/s390/block/dasd_proc.c str = skip_spaces(buffer); str 274 drivers/s390/block/dasd_proc.c if (strncmp(str, "set", 3) == 0 && isspace(str[3])) { str 276 drivers/s390/block/dasd_proc.c str = skip_spaces(str + 4); str 277 drivers/s390/block/dasd_proc.c if (strcmp(str, "on") == 0) { str 293 drivers/s390/block/dasd_proc.c } else if (strcmp(str, "off") == 0) { str 302 drivers/s390/block/dasd_proc.c } else if (strncmp(str, "reset", 5) == 0) { str 313 drivers/s390/block/dasd_proc.c pr_warn("%s is not a supported value for /proc/dasd/statistics\n", str); str 522 drivers/s390/char/con3215.c static void raw3215_write(struct raw3215_info *raw, const char *str, str 543 drivers/s390/char/con3215.c memcpy(raw->buffer + raw->head, str, c); str 548 drivers/s390/char/con3215.c str += c; str 821 drivers/s390/char/con3215.c static void con3215_write(struct console *co, const char *str, str 832 drivers/s390/char/con3215.c if (str[i] == '\t' || str[i] == '\n') str 834 drivers/s390/char/con3215.c raw3215_write(raw, str, i); str 836 drivers/s390/char/con3215.c str += i; str 838 drivers/s390/char/con3215.c raw3215_putchar(raw, *str); str 840 drivers/s390/char/con3215.c str++; str 93 drivers/s390/char/con3270.c char *str; str 95 drivers/s390/char/con3270.c str = (cp->nr_up != 0) ? "History" : "Running"; str 96 drivers/s390/char/con3270.c memcpy(cp->status->string + 24, str, 7); str 491 drivers/s390/char/con3270.c con3270_write(struct console *co, const char *str, unsigned int count) str 500 drivers/s390/char/con3270.c c = *str++; str 54 drivers/s390/char/hmcdrv_ftp.c const char *str; /* command string */ str 69 drivers/s390/char/hmcdrv_ftp.c {.str = "get", /* [0] get (CRC = 0x68eb) */ str 71 drivers/s390/char/hmcdrv_ftp.c {.str = "dir", /* [1] dir (CRC = 0x6a9e) */ str 73 drivers/s390/char/hmcdrv_ftp.c {.str = "delete", /* [2] delete (CRC = 0x53ae) */ str 75 drivers/s390/char/hmcdrv_ftp.c {.str = "nls", /* [3] nls (CRC = 0xf87c) */ str 77 drivers/s390/char/hmcdrv_ftp.c {.str = "put", /* [4] put (CRC = 0xac56) */ str 79 drivers/s390/char/hmcdrv_ftp.c {.str = "append", /* [5] append (CRC = 0xf56e) */ str 81 drivers/s390/char/hmcdrv_ftp.c {.str = NULL} /* [6] unused */ str 96 drivers/s390/char/hmcdrv_ftp.c if (!pdesc->str || strncmp(pdesc->str, cmd, len)) str 100 drivers/s390/char/hmcdrv_ftp.c pdesc->str, pdesc->cmd); str 66 drivers/s390/char/sclp.c static int __init sclp_setup_console_pages(char *str) str 70 drivers/s390/char/sclp.c rc = kstrtoint(str, 0, &pages); str 78 drivers/s390/char/sclp.c static int __init sclp_setup_console_drop(char *str) str 82 drivers/s390/char/sclp.c rc = kstrtoint(str, 0, &drop); str 370 drivers/s390/char/sclp.h sclp_ebcasc_str(char *str, int nr) str 372 drivers/s390/char/sclp.h (MACHINE_IS_VM) ? EBCASC(str, nr) : EBCASC_500(str, nr); str 377 drivers/s390/char/sclp.h sclp_ascebc_str(char *str, int nr) str 379 drivers/s390/char/sclp.h (MACHINE_IS_VM) ? ASCEBC(str, nr) : ASCEBC_500(str, nr); str 179 drivers/s390/char/sclp_cpi_sys.c static int check_string(const char *attr, const char *str) str 184 drivers/s390/char/sclp_cpi_sys.c len = strlen(str); str 186 drivers/s390/char/sclp_cpi_sys.c if ((len > 0) && (str[len - 1] == '\n')) str 193 drivers/s390/char/sclp_cpi_sys.c if (isalpha(str[i]) || isdigit(str[i]) || str 194 drivers/s390/char/sclp_cpi_sys.c strchr("$@# ", str[i])) str 84 drivers/s390/char/sclp_early_core.c static void sclp_early_print_lm(const char *str, unsigned int len) str 101 drivers/s390/char/sclp_early_core.c ch = str[offset++]; str 138 drivers/s390/char/sclp_early_core.c static void sclp_early_print_vt220(const char *str, unsigned int len) str 146 drivers/s390/char/sclp_early_core.c memcpy(&sccb->msg.data, str, len); str 217 drivers/s390/char/sclp_early_core.c void __sclp_early_printk(const char *str, unsigned int len, unsigned int force) str 226 drivers/s390/char/sclp_early_core.c sclp_early_print_lm(str, len); str 228 drivers/s390/char/sclp_early_core.c sclp_early_print_vt220(str, len); str 232 drivers/s390/char/sclp_early_core.c void sclp_early_printk(const char *str) str 234 drivers/s390/char/sclp_early_core.c __sclp_early_printk(str, strlen(str), 0); str 237 drivers/s390/char/sclp_early_core.c void sclp_early_printk_force(const char *str) str 239 drivers/s390/char/sclp_early_core.c __sclp_early_printk(str, strlen(str), 1); str 172 drivers/s390/char/sclp_tty.c static int sclp_tty_write_string(const unsigned char *str, int count, int may_fail) str 201 drivers/s390/char/sclp_tty.c written = sclp_write(sclp_ttybuf, str, count); str 215 drivers/s390/char/sclp_tty.c str += written; str 408 drivers/s390/char/sclp_tty.c unsigned char *str; str 411 drivers/s390/char/sclp_tty.c str = (unsigned char *) (sv + 1); str 414 drivers/s390/char/sclp_tty.c EBC_TOLOWER(str, count); str 415 drivers/s390/char/sclp_tty.c count = sclp_switch_cases(str, count); str 417 drivers/s390/char/sclp_tty.c sclp_ebcasc_str(str, count); str 420 drivers/s390/char/sclp_tty.c sclp_tty_input(str, count); str 32 drivers/s390/char/tape.h #define DBF_LH(level, str, ...) \ str 34 drivers/s390/char/tape.h debug_sprintf_event(TAPE_DBF_AREA, level, str, ## __VA_ARGS__); \ str 37 drivers/s390/char/tape.h #define DBF_LH(level, str, ...) do {} while(0) str 189 drivers/s390/char/tape_core.c const char *str; str 198 drivers/s390/char/tape_core.c str = tape_state_verbose[device->tape_state]; str 200 drivers/s390/char/tape_core.c str = "UNKNOWN TS"; str 201 drivers/s390/char/tape_core.c DBF_EVENT(4, "%s\n", str); str 204 drivers/s390/char/tape_core.c str = tape_state_verbose[newstate]; str 206 drivers/s390/char/tape_core.c str = "UNKNOWN TS"; str 207 drivers/s390/char/tape_core.c DBF_EVENT(4, "%s\n", str); str 43 drivers/s390/char/tape_proc.c const char *str; str 67 drivers/s390/char/tape_proc.c str = tape_state_verbose[device->tape_state]; str 69 drivers/s390/char/tape_proc.c str = "UNKNOWN"; str 70 drivers/s390/char/tape_proc.c seq_printf(m, "%s\t", str); str 74 drivers/s390/char/tape_proc.c str = tape_op_verbose[request->op]; str 76 drivers/s390/char/tape_proc.c str = "---"; str 77 drivers/s390/char/tape_proc.c seq_printf(m, "%s\t", str); str 197 drivers/s390/char/tty3270.c char *str; str 199 drivers/s390/char/tty3270.c str = (tp->nr_up != 0) ? "History" : "Running"; str 200 drivers/s390/char/tty3270.c memcpy(tp->status->string + 8, str, 7); str 372 drivers/s390/char/tty3270.c char *sba, *str; str 420 drivers/s390/char/tty3270.c str = s->string; str 428 drivers/s390/char/tty3270.c str += 3, len -= 3; str 429 drivers/s390/char/tty3270.c if (raw3270_request_add_data(wrq, str, len) != 0) str 213 drivers/s390/char/zcore.c static char str[18]; str 216 drivers/s390/char/zcore.c snprintf(str, sizeof(str), "%lx\n", sclp.hsa_size); str 218 drivers/s390/char/zcore.c snprintf(str, sizeof(str), "0\n"); str 219 drivers/s390/char/zcore.c return simple_read_from_buffer(buf, count, ppos, str, strlen(str)); str 101 drivers/s390/cio/blacklist.c static int parse_busid(char *str, unsigned int *cssid, unsigned int *ssid, str 109 drivers/s390/cio/blacklist.c if (*str == '\0') str 113 drivers/s390/cio/blacklist.c str_work = str; str 114 drivers/s390/cio/blacklist.c val = simple_strtoul(str, &str_work, 16); str 127 drivers/s390/cio/blacklist.c str_work = str; str 144 drivers/s390/cio/blacklist.c str); str 149 drivers/s390/cio/blacklist.c static int blacklist_parse_parameters(char *str, range_action action, str 159 drivers/s390/cio/blacklist.c while ((parm = strsep(&str, ","))) { str 227 drivers/s390/cio/blacklist.c blacklist_setup (char *str) str 230 drivers/s390/cio/blacklist.c if (blacklist_parse_parameters(str, add, 1)) str 39 drivers/s390/cio/ccwgroup.c char str[16]; str 42 drivers/s390/cio/ccwgroup.c sprintf(str, "cdev%d", i); str 43 drivers/s390/cio/ccwgroup.c sysfs_remove_link(&gdev->dev.kobj, str); str 242 drivers/s390/cio/ccwgroup.c char str[16]; str 256 drivers/s390/cio/ccwgroup.c sprintf(str, "cdev%d", i); str 258 drivers/s390/cio/ccwgroup.c &gdev->cdev[i]->dev.kobj, str); str 261 drivers/s390/cio/ccwgroup.c sprintf(str, "cdev%d", i); str 262 drivers/s390/cio/ccwgroup.c sysfs_remove_link(&gdev->dev.kobj, str); str 903 drivers/s390/crypto/ap_bus.c static int hex2bitmap(const char *str, unsigned long *bitmap, int bits) str 911 drivers/s390/crypto/ap_bus.c if (str[0] == '0' && str[1] == 'x') str 912 drivers/s390/crypto/ap_bus.c str++; str 913 drivers/s390/crypto/ap_bus.c if (*str == 'x') str 914 drivers/s390/crypto/ap_bus.c str++; str 916 drivers/s390/crypto/ap_bus.c for (i = 0; isxdigit(*str) && i < bits; str++) { str 917 drivers/s390/crypto/ap_bus.c b = hex_to_bin(*str); str 924 drivers/s390/crypto/ap_bus.c if (*str == '\n') str 925 drivers/s390/crypto/ap_bus.c str++; str 926 drivers/s390/crypto/ap_bus.c if (*str) str 948 drivers/s390/crypto/ap_bus.c static int modify_bitmap(const char *str, unsigned long *bitmap, int bits) str 957 drivers/s390/crypto/ap_bus.c while (*str) { str 958 drivers/s390/crypto/ap_bus.c sign = *str++; str 961 drivers/s390/crypto/ap_bus.c a = z = simple_strtoul(str, &np, 0); str 962 drivers/s390/crypto/ap_bus.c if (str == np || a >= bits) str 964 drivers/s390/crypto/ap_bus.c str = np; str 965 drivers/s390/crypto/ap_bus.c if (*str == '-') { str 966 drivers/s390/crypto/ap_bus.c z = simple_strtoul(++str, &np, 0); str 967 drivers/s390/crypto/ap_bus.c if (str == np || a > z || z >= bits) str 969 drivers/s390/crypto/ap_bus.c str = np; str 976 drivers/s390/crypto/ap_bus.c while (*str == ',' || *str == '\n') str 977 drivers/s390/crypto/ap_bus.c str++; str 983 drivers/s390/crypto/ap_bus.c int ap_parse_mask_str(const char *str, str 1003 drivers/s390/crypto/ap_bus.c if (*str == '+' || *str == '-') { str 1005 drivers/s390/crypto/ap_bus.c rc = modify_bitmap(str, newmap, bits); str 1008 drivers/s390/crypto/ap_bus.c rc = hex2bitmap(str, newmap, bits); str 1105 drivers/s390/net/qeth_l2_main.c char str[7][32]; str 1111 drivers/s390/net/qeth_l2_main.c snprintf(str[i], sizeof(str[i]), "BRIDGEDHOST=%s", str 1114 drivers/s390/net/qeth_l2_main.c env[i] = str[i]; i++; str 1116 drivers/s390/net/qeth_l2_main.c snprintf(str[i], sizeof(str[i]), "VLAN=%d", str 1118 drivers/s390/net/qeth_l2_main.c env[i] = str[i]; i++; str 1121 drivers/s390/net/qeth_l2_main.c snprintf(str[i], sizeof(str[i]), "MAC=%pM", str 1123 drivers/s390/net/qeth_l2_main.c env[i] = str[i]; i++; str 1125 drivers/s390/net/qeth_l2_main.c snprintf(str[i], sizeof(str[i]), "NTOK_BUSID=%x.%x.%04x", str 1127 drivers/s390/net/qeth_l2_main.c env[i] = str[i]; i++; str 1128 drivers/s390/net/qeth_l2_main.c snprintf(str[i], sizeof(str[i]), "NTOK_IID=%02x", token->iid); str 1129 drivers/s390/net/qeth_l2_main.c env[i] = str[i]; i++; str 1130 drivers/s390/net/qeth_l2_main.c snprintf(str[i], sizeof(str[i]), "NTOK_CHPID=%02x", str 1132 drivers/s390/net/qeth_l2_main.c env[i] = str[i]; i++; str 1133 drivers/s390/net/qeth_l2_main.c snprintf(str[i], sizeof(str[i]), "NTOK_CHID=%04x", token->chid); str 1134 drivers/s390/net/qeth_l2_main.c env[i] = str[i]; i++; str 1137 drivers/s390/net/qeth_l2_main.c snprintf(str[i], sizeof(str[i]), "BRIDGEDHOST=abort"); str 1138 drivers/s390/net/qeth_l2_main.c env[i] = str[i]; i++; str 1141 drivers/s390/net/qeth_l2_main.c snprintf(str[i], sizeof(str[i]), "BRIDGEDHOST=reset"); str 1142 drivers/s390/net/qeth_l2_main.c env[i] = str[i]; i++; str 24 drivers/s390/net/smsgiucv.c void (*callback)(const char *from, char *str); str 92 drivers/s390/net/smsgiucv.c void (*callback)(const char *from, char *str)) str 110 drivers/s390/net/smsgiucv.c char *str)) str 91 drivers/s390/scsi/zfcp_aux.c char *str, *str_saved; str 97 drivers/s390/scsi/zfcp_aux.c str = str_saved; str 98 drivers/s390/scsi/zfcp_aux.c if (!str) str 101 drivers/s390/scsi/zfcp_aux.c token = strsep(&str, ","); str 106 drivers/s390/scsi/zfcp_aux.c token = strsep(&str, ","); str 110 drivers/s390/scsi/zfcp_aux.c token = strsep(&str, ","); str 1439 drivers/s390/virtio/virtio_ccw.c static int __init parse_busid(char *str, unsigned int *cssid, str 1447 drivers/s390/virtio/virtio_ccw.c if (*str == '\0') str 1450 drivers/s390/virtio/virtio_ccw.c str_work = str; str 1471 drivers/s390/virtio/virtio_ccw.c char *parm, *str; str 1474 drivers/s390/virtio/virtio_ccw.c str = no_auto; str 1475 drivers/s390/virtio/virtio_ccw.c while ((parm = strsep(&str, ","))) { str 389 drivers/sbus/char/openprom.c char *str; str 398 drivers/sbus/char/openprom.c str = copyin_string(op.op_name, op.op_namelen); str 399 drivers/sbus/char/openprom.c if (IS_ERR(str)) str 400 drivers/sbus/char/openprom.c return PTR_ERR(str); str 402 drivers/sbus/char/openprom.c pval = of_get_property(dp, str, &len); str 412 drivers/sbus/char/openprom.c kfree(str); str 422 drivers/sbus/char/openprom.c char *str; str 432 drivers/sbus/char/openprom.c str = copyin_string(op.op_name, op.op_namelen); str 433 drivers/sbus/char/openprom.c if (IS_ERR(str)) str 434 drivers/sbus/char/openprom.c return PTR_ERR(str); str 436 drivers/sbus/char/openprom.c if (str[0] == '\0') { str 439 drivers/sbus/char/openprom.c prop = of_find_property(dp, str, NULL); str 443 drivers/sbus/char/openprom.c kfree(str); str 467 drivers/sbus/char/openprom.c char *str, *tmp; str 477 drivers/sbus/char/openprom.c str = copyin_string(op.op_name, op.op_namelen); str 478 drivers/sbus/char/openprom.c if (IS_ERR(str)) str 479 drivers/sbus/char/openprom.c return PTR_ERR(str); str 483 drivers/sbus/char/openprom.c kfree(str); str 487 drivers/sbus/char/openprom.c err = of_set_property(dp, str, tmp, op.op_buflen); str 489 drivers/sbus/char/openprom.c kfree(str); str 3623 drivers/scsi/BusLogic.c static bool __init blogic_parse(char **str, char *keyword) str 3625 drivers/scsi/BusLogic.c char *pointer = *str; str 3636 drivers/scsi/BusLogic.c *str = pointer; str 3860 drivers/scsi/BusLogic.c static int __init blogic_setup(char *str) str 3864 drivers/scsi/BusLogic.c (void) get_options(str, ARRAY_SIZE(ints), ints); str 3870 drivers/scsi/BusLogic.c if (str == NULL || *str == '\0') str 3872 drivers/scsi/BusLogic.c return blogic_parseopts(str); str 894 drivers/scsi/aacraid/aachba.c struct scsi_inq *str; str 898 drivers/scsi/aacraid/aachba.c str = (struct scsi_inq *)(data); /* cast data to scsi inq block */ str 899 drivers/scsi/aacraid/aachba.c memset(str, ' ', sizeof(*str)); str 912 drivers/scsi/aacraid/aachba.c inqstrcpy("SMC", str->vid); str 914 drivers/scsi/aacraid/aachba.c c = sizeof(str->vid); str 919 drivers/scsi/aacraid/aachba.c inqstrcpy(cname, str->vid); str 927 drivers/scsi/aacraid/aachba.c if (strlen(cp) > sizeof(str->pid)) str 928 drivers/scsi/aacraid/aachba.c cp[sizeof(str->pid)] = '\0'; str 929 drivers/scsi/aacraid/aachba.c inqstrcpy (cp, str->pid); str 935 drivers/scsi/aacraid/aachba.c inqstrcpy (mp->vname, str->vid); str 937 drivers/scsi/aacraid/aachba.c inqstrcpy (mp->model, str->pid); str 941 drivers/scsi/aacraid/aachba.c char *findit = str->pid; str 947 drivers/scsi/aacraid/aachba.c if (((findit - str->pid) + strlen(container_types[tindex])) str 948 drivers/scsi/aacraid/aachba.c < (sizeof(str->pid) + sizeof(str->prl))) str 951 drivers/scsi/aacraid/aachba.c inqstrcpy ("V1.0", str->prl); str 4228 drivers/scsi/aacraid/aachba.c char *str; str 4273 drivers/scsi/aacraid/aachba.c return srb_status_info[i].str; str 56 drivers/scsi/aacraid/linit.c #define AAC_DRIVER_FULL_VERSION AAC_DRIVER_VERSION "[" str(AAC_DRIVER_BUILD) "]" AAC_DRIVER_BRANCH str 3351 drivers/scsi/aha152x.c static int __init aha152x_setup(char *str) str 3355 drivers/scsi/aha152x.c get_options(str, ARRAY_SIZE(ints), ints); str 3362 drivers/scsi/aha152x.c setup[setup_count].conf = str; str 114 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y char *str; str 172 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y %token <str> T_PATH T_STRING T_ARG T_MACROBODY str 70 drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.y char *str; str 75 drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.y %token <str> T_ARG str 99 drivers/scsi/arm/fas216.c static int __init fas216_log_setup(char *str) str 105 drivers/scsi/arm/fas216.c while ((s = strsep(&str, ",")) != NULL) { str 391 drivers/scsi/atari_scsi.c static int __init atari_scsi_setup(char *str) str 400 drivers/scsi/atari_scsi.c get_options(str, ARRAY_SIZE(ints), ints); str 4941 drivers/scsi/be2iscsi/be_main.c char *str = buf; str 4955 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "%pI6\n", str 4959 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "%d\n", boot_conn->dest_port); str 4963 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "%.*s\n", str 4970 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "%.*s\n", str 4977 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "%.*s\n", str 4984 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "%.*s\n", str 4991 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "%d\n", BEISCSI_SYSFS_ISCSI_BOOT_FLAGS); str 4994 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "0\n"); str 5003 drivers/scsi/be2iscsi/be_main.c char *str = buf; str 5008 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "%s\n", str 5018 drivers/scsi/be2iscsi/be_main.c char *str = buf; str 5023 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "%d\n", BEISCSI_SYSFS_ISCSI_BOOT_FLAGS); str 5026 drivers/scsi/be2iscsi/be_main.c rc = sprintf(str, "0\n"); str 5029 drivers/scsi/be2iscsi/be_main.c rc = beiscsi_get_macaddr(str, phba); str 322 drivers/scsi/constants.c const char * str; str 395 drivers/scsi/constants.c return additional2[i].str; str 620 drivers/scsi/csiostor/csio_hw.c csio_hw_print_fw_version(struct csio_hw *hw, char *str) str 622 drivers/scsi/csiostor/csio_hw.c csio_info(hw, "%s: %u.%u.%u.%u\n", str, str 1368 drivers/scsi/csiostor/csio_lnode.c csio_lnode_state_to_str(struct csio_lnode *ln, int8_t *str) str 1371 drivers/scsi/csiostor/csio_lnode.c strcpy(str, "UNINIT"); str 1375 drivers/scsi/csiostor/csio_lnode.c strcpy(str, "READY"); str 1379 drivers/scsi/csiostor/csio_lnode.c strcpy(str, "OFFLINE"); str 1382 drivers/scsi/csiostor/csio_lnode.c strcpy(str, "UNKNOWN"); str 238 drivers/scsi/csiostor/csio_lnode.h void csio_lnode_state_to_str(struct csio_lnode *ln, int8_t *str); str 126 drivers/scsi/csiostor/csio_rnode.h void csio_rnode_state_to_str(struct csio_rnode *rn, int8_t *str); str 113 drivers/scsi/fnic/fnic_trace.c char str[KSYM_SYMBOL_LEN]; str 131 drivers/scsi/fnic/fnic_trace.c sprint_symbol(str, tbp->fnaddr.low); str 134 drivers/scsi/fnic/fnic_trace.c sprint_symbol(str, tbp->fnaddr.val); str 145 drivers/scsi/fnic/fnic_trace.c val.tv_nsec, str, tbp->host_no, tbp->tag, str 173 drivers/scsi/fnic/fnic_trace.c sprint_symbol(str, tbp->fnaddr.low); str 176 drivers/scsi/fnic/fnic_trace.c sprint_symbol(str, tbp->fnaddr.val); str 187 drivers/scsi/fnic/fnic_trace.c val.tv_nsec, str, tbp->host_no, tbp->tag, str 3173 drivers/scsi/gdth.c static void __init internal_setup(char *str,int *ints) str 3179 drivers/scsi/gdth.c str ? str:"NULL", ints ? ints[0]:0)); str 3182 drivers/scsi/gdth.c argv = str; str 3231 drivers/scsi/gdth.c int __init option_setup(char *str) str 3234 drivers/scsi/gdth.c char *cur = str; str 3237 drivers/scsi/gdth.c TRACE2(("option_setup() str %s\n", str ? str:"NULL")); str 46 drivers/scsi/gvp11.c void gvp11_setup(char *str, int *ints) str 40 drivers/scsi/iscsi_boot_sysfs.c char *str = buf; str 46 drivers/scsi/iscsi_boot_sysfs.c ret = boot_kobj->show(boot_kobj->data, boot_attr->type, str); str 553 drivers/scsi/lpfc/lpfc_ct.c char *str; str 556 drivers/scsi/lpfc/lpfc_ct.c str = "GID_FT"; str 558 drivers/scsi/lpfc/lpfc_ct.c str = "GID_PT"; str 561 drivers/scsi/lpfc/lpfc_ct.c str, Did, fc4_type, str 3305 drivers/scsi/lpfc/lpfc_ct.c uint32_t *ptr, str[4]; str 3352 drivers/scsi/lpfc/lpfc_ct.c str[i] = be32_to_cpu(*ptr++); str 3357 drivers/scsi/lpfc/lpfc_ct.c b1, b2, b3, (char *)str); str 3365 drivers/scsi/lpfc/lpfc_ct.c b4, (char *)str); str 221 drivers/scsi/lpfc/lpfc_nvme.c char *str; str 240 drivers/scsi/lpfc/lpfc_nvme.c str = "IO "; /* IO queue */ str 244 drivers/scsi/lpfc/lpfc_nvme.c str = "ADM"; /* Admin queue */ str 250 drivers/scsi/lpfc/lpfc_nvme.c "hdw_queue %d qhandle x%px\n", str, str 68 drivers/scsi/mac_scsi.c static int __init mac_scsi_setup(char *str) str 72 drivers/scsi/mac_scsi.c (void)get_options(str, ARRAY_SIZE(ints), ints); str 2177 drivers/scsi/megaraid/megaraid_sas.h char str[96]; str 2187 drivers/scsi/megaraid/megaraid_sas.h char str[64]; str 3123 drivers/scsi/mpt3sas/mpt3sas_ctl.c char str[10] = ""; str 3132 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (sscanf(buf, "%9s", str) != 1) str 3135 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (!strcmp(str, "post")) { str 3150 drivers/scsi/mpt3sas/mpt3sas_ctl.c } else if (!strcmp(str, "release")) { str 652 drivers/scsi/ncr53c8xx.c static int __init sym53c8xx__setup(char *str) str 655 drivers/scsi/ncr53c8xx.c char *cur = str; str 8268 drivers/scsi/ncr53c8xx.c static int __init ncr53c8xx_setup(char *str) str 8270 drivers/scsi/ncr53c8xx.c return sym53c8xx__setup(str); str 517 drivers/scsi/pcmcia/nsp_cs.c char *str) str 535 drivers/scsi/pcmcia/nsp_cs.c nsp_msg(KERN_DEBUG, " %s signal off timeout", str); str 317 drivers/scsi/pcmcia/nsp_cs.h unsigned char mask, char *str); str 345 drivers/scsi/pm8001/pm8001_ctl.c char *str = buf; str 348 drivers/scsi/pm8001/pm8001_ctl.c str += sprintf(str, "0x%08x 0x%08x 0x%08x 0x%08x 0x%08x 0x%08x" str 360 drivers/scsi/pm8001/pm8001_ctl.c return str - buf; str 376 drivers/scsi/pm8001/pm8001_ctl.c char *str = buf; str 384 drivers/scsi/pm8001/pm8001_ctl.c str += sprintf(str, "0x%08x\n", IB_MEMMAP(start)); str 391 drivers/scsi/pm8001/pm8001_ctl.c return str - buf; str 409 drivers/scsi/pm8001/pm8001_ctl.c char *str = buf; str 417 drivers/scsi/pm8001/pm8001_ctl.c str += sprintf(str, "0x%08x\n", OB_MEMMAP(start)); str 424 drivers/scsi/pm8001/pm8001_ctl.c return str - buf; str 439 drivers/scsi/pm8001/pm8001_ctl.c char *str = buf; str 458 drivers/scsi/pm8001/pm8001_ctl.c str += sprintf(str, "%c", str 461 drivers/scsi/pm8001/pm8001_ctl.c return str - buf; str 495 drivers/scsi/pm8001/pm8001_ctl.c char *str = buf; str 513 drivers/scsi/pm8001/pm8001_ctl.c str += sprintf(str, "%08x ", *(temp+start)); str 515 drivers/scsi/pm8001/pm8001_ctl.c return str - buf; str 4109 drivers/scsi/qla1280.c qla1280_get_token(char *str) str 4115 drivers/scsi/qla1280.c sep = strchr(str, ':'); str 4119 drivers/scsi/qla1280.c if (!strncmp(setup_token[i].token, str, (sep - str))) { str 3457 drivers/scsi/qla2xxx/qla_init.c u8 str[STR_LEN], *ptr, p; str 3460 drivers/scsi/qla2xxx/qla_init.c memset(str, 0, STR_LEN); str 3461 drivers/scsi/qla2xxx/qla_init.c snprintf(str, SFF_VEN_NAME_LEN+1, a0->vendor_name); str 3463 drivers/scsi/qla2xxx/qla_init.c "SFP MFG Name: %s\n", str); str 3465 drivers/scsi/qla2xxx/qla_init.c memset(str, 0, STR_LEN); str 3466 drivers/scsi/qla2xxx/qla_init.c snprintf(str, SFF_PART_NAME_LEN+1, a0->vendor_pn); str 3468 drivers/scsi/qla2xxx/qla_init.c "SFP Part Name: %s\n", str); str 3471 drivers/scsi/qla2xxx/qla_init.c memset(str, 0, STR_LEN); str 3472 drivers/scsi/qla2xxx/qla_init.c ptr = str; str 3483 drivers/scsi/qla2xxx/qla_init.c "SFP Media: %s\n", str); str 3486 drivers/scsi/qla2xxx/qla_init.c memset(str, 0, STR_LEN); str 3487 drivers/scsi/qla2xxx/qla_init.c ptr = str; str 3496 drivers/scsi/qla2xxx/qla_init.c "SFP Link Length: %s\n", str); str 3498 drivers/scsi/qla2xxx/qla_init.c memset(str, 0, STR_LEN); str 3499 drivers/scsi/qla2xxx/qla_init.c ptr = str; str 3508 drivers/scsi/qla2xxx/qla_init.c "SFP FC Link Tech: %s\n", str); str 15 drivers/scsi/qla2xxx/qla_mbx.c const char *str; str 31 drivers/scsi/qla2xxx/qla_mbx.c return e->str; str 4689 drivers/scsi/qla2xxx/qla_mbx.c uint16_t *str; str 4698 drivers/scsi/qla2xxx/qla_mbx.c str = (void *)version; str 4704 drivers/scsi/qla2xxx/qla_mbx.c for (i = 4; i < 16 && len; i++, str++, len -= 2) { str 4705 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[i] = cpu_to_le16p(str); str 4736 drivers/scsi/qla2xxx/qla_mbx.c uint8_t *str; str 4747 drivers/scsi/qla2xxx/qla_mbx.c str = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &str_dma); str 4748 drivers/scsi/qla2xxx/qla_mbx.c if (!str) { str 4754 drivers/scsi/qla2xxx/qla_mbx.c memcpy(str, "\x7\x3\x11\x0", 4); str 4755 drivers/scsi/qla2xxx/qla_mbx.c dwlen = str[0]; str 4757 drivers/scsi/qla2xxx/qla_mbx.c memset(str + 4, 0, len); str 4760 drivers/scsi/qla2xxx/qla_mbx.c memcpy(str + 4, version, len); str 4782 drivers/scsi/qla2xxx/qla_mbx.c dma_pool_free(ha->s_dma_pool, str, str_dma); str 691 drivers/scsi/qla2xxx/qla_mr.c qlafx00_pci_info_str(struct scsi_qla_host *vha, char *str, size_t str_len) str 696 drivers/scsi/qla2xxx/qla_mr.c strlcpy(str, "PCIe iSA", str_len); str 697 drivers/scsi/qla2xxx/qla_mr.c return str; str 701 drivers/scsi/qla2xxx/qla_mr.c qlafx00_fw_version_str(struct scsi_qla_host *vha, char *str, size_t size) str 705 drivers/scsi/qla2xxx/qla_mr.c snprintf(str, size, "%s", ha->mr.fw_version); str 706 drivers/scsi/qla2xxx/qla_mr.c return str; str 539 drivers/scsi/qla2xxx/qla_os.c qla2x00_pci_info_str(struct scsi_qla_host *vha, char *str, size_t str_len) str 549 drivers/scsi/qla2xxx/qla_os.c snprintf(str, str_len, "PCI-X (%s MHz)", str 553 drivers/scsi/qla2xxx/qla_os.c snprintf(str, str_len, "PCI (%s MHz)", pci_bus_modes[pci_bus]); str 556 drivers/scsi/qla2xxx/qla_os.c return str; str 560 drivers/scsi/qla2xxx/qla_os.c qla24xx_pci_info_str(struct scsi_qla_host *vha, char *str, size_t str_len) str 590 drivers/scsi/qla2xxx/qla_os.c snprintf(str, str_len, "PCIe (%s x%d)", speed_str, lwidth); str 592 drivers/scsi/qla2xxx/qla_os.c return str; str 597 drivers/scsi/qla2xxx/qla_os.c snprintf(str, str_len, "PCI (%s MHz)", str 600 drivers/scsi/qla2xxx/qla_os.c snprintf(str, str_len, "PCI-X Mode %d (%s MHz)", str 604 drivers/scsi/qla2xxx/qla_os.c return str; str 608 drivers/scsi/qla2xxx/qla_os.c qla2x00_fw_version_str(struct scsi_qla_host *vha, char *str, size_t size) str 613 drivers/scsi/qla2xxx/qla_os.c snprintf(str, size, "%d.%02d.%02d ", ha->fw_major_version, str 617 drivers/scsi/qla2xxx/qla_os.c strcat(str, "FLX"); str 618 drivers/scsi/qla2xxx/qla_os.c return (str); str 623 drivers/scsi/qla2xxx/qla_os.c strcat(str, "EF"); str 626 drivers/scsi/qla2xxx/qla_os.c strcat(str, "TP"); str 629 drivers/scsi/qla2xxx/qla_os.c strcat(str, "IP"); str 632 drivers/scsi/qla2xxx/qla_os.c strcat(str, "VI"); str 636 drivers/scsi/qla2xxx/qla_os.c strcat(str, un_str); str 640 drivers/scsi/qla2xxx/qla_os.c strcat(str, "X"); str 642 drivers/scsi/qla2xxx/qla_os.c return (str); str 646 drivers/scsi/qla2xxx/qla_os.c qla24xx_fw_version_str(struct scsi_qla_host *vha, char *str, size_t size) str 650 drivers/scsi/qla2xxx/qla_os.c snprintf(str, size, "%d.%02d.%02d (%x)", ha->fw_major_version, str 652 drivers/scsi/qla2xxx/qla_os.c return str; str 3563 drivers/scsi/qla2xxx/qla_sup.c qla2xxx_get_vpd_field(scsi_qla_host_t *vha, char *key, char *str, size_t size) str 3586 drivers/scsi/qla2xxx/qla_sup.c return scnprintf(str, size, "%.*s", len, pos + 3); str 5712 drivers/scsi/qla4xxx/ql4_os.c char *str = buf; str 5717 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "%d\n", SYSFS_FLAG_FW_SEL_BOOT); str 5720 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "0\n"); str 5723 drivers/scsi/qla4xxx/ql4_os.c rc = sysfs_format_mac(str, ha->my_mac, str 5753 drivers/scsi/qla4xxx/ql4_os.c char *str = buf; str 5758 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "%s\n", ha->name_string); str 5787 drivers/scsi/qla4xxx/ql4_os.c char *str = buf; str 5799 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "%pI6\n", str 5803 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "%d\n", boot_conn->dest_port); str 5806 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "%.*s\n", str 5811 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "%.*s\n", str 5816 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "%.*s\n", str 5821 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "%.*s\n", str 5826 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "%d\n", SYSFS_FLAG_FW_SEL_BOOT); str 5829 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(str, "0\n"); str 132 drivers/scsi/scsi_sysfs.c static int scsi_scan(struct Scsi_Host *shost, const char *str) str 138 drivers/scsi/scsi_sysfs.c res = sscanf(str, "%10s %10s %16s %c", s1, s2, s3, &junk); str 283 drivers/scsi/scsi_sysfs.c static int check_reset_type(const char *str) str 285 drivers/scsi/scsi_sysfs.c if (sysfs_streq(str, "adapter")) str 287 drivers/scsi/scsi_sysfs.c else if (sysfs_streq(str, "firmware")) str 51 drivers/scsi/sim710.c param_setup(char *str) str 53 drivers/scsi/sim710.c char *pos = str, *next; str 4112 drivers/scsi/st.c static int __init st_setup(char *str) str 4117 drivers/scsi/st.c stp = get_options(str, ARRAY_SIZE(ints), ints); str 1065 drivers/scsi/ufs/ufs-qcom.c static int __init get_android_boot_dev(char *str) str 1067 drivers/scsi/ufs/ufs-qcom.c strlcpy(android_boot_dev, str, ANDROID_BOOT_DEV_MAX); str 1336 drivers/scsi/ufs/ufs-qcom.c int offset, int num_regs, const char *str, void *priv)) str 303 drivers/scsi/ufs/ufshcd.c const char *str) str 307 drivers/scsi/ufs/ufshcd.c trace_ufshcd_upiu(dev_name(hba->dev), str, &rq->header, &rq->sc.cdb); str 311 drivers/scsi/ufs/ufshcd.c const char *str) str 315 drivers/scsi/ufs/ufshcd.c trace_ufshcd_upiu(dev_name(hba->dev), str, &rq->header, &rq->qr); str 319 drivers/scsi/ufs/ufshcd.c const char *str) str 324 drivers/scsi/ufs/ufshcd.c trace_ufshcd_upiu(dev_name(hba->dev), str, &descp->req_header, str 329 drivers/scsi/ufs/ufshcd.c unsigned int tag, const char *str) str 340 drivers/scsi/ufs/ufshcd.c ufshcd_add_cmd_upiu_trace(hba, tag, str); str 346 drivers/scsi/ufs/ufshcd.c ufshcd_add_cmd_upiu_trace(hba, tag, str); str 363 drivers/scsi/ufs/ufshcd.c trace_ufshcd_command(dev_name(hba->dev), str, tag, str 3265 drivers/scsi/ufs/ufshcd.c u8 *str; str 3281 drivers/scsi/ufs/ufshcd.c str = NULL; str 3287 drivers/scsi/ufs/ufshcd.c str = NULL; str 3297 drivers/scsi/ufs/ufshcd.c str = kzalloc(ascii_len, GFP_KERNEL); str 3298 drivers/scsi/ufs/ufshcd.c if (!str) { str 3309 drivers/scsi/ufs/ufshcd.c UTF16_BIG_ENDIAN, str, ascii_len); str 3313 drivers/scsi/ufs/ufshcd.c str[i] = ufshcd_remove_non_printable(str[i]); str 3315 drivers/scsi/ufs/ufshcd.c str[ret++] = '\0'; str 3318 drivers/scsi/ufs/ufshcd.c str = kmemdup(uc_str, uc_str->len, GFP_KERNEL); str 3319 drivers/scsi/ufs/ufshcd.c if (!str) { str 3326 drivers/scsi/ufs/ufshcd.c *buf = str; str 1761 drivers/scsi/wd33c93.c wd33c93_setup(char *str) str 1777 drivers/scsi/wd33c93.c if (str) str 1778 drivers/scsi/wd33c93.c strncpy(p1, str, SETUP_BUFFER_SIZE - strlen(setup_buffer)); str 972 drivers/scsi/xen-scsifront.c char str[64]; str 989 drivers/scsi/xen-scsifront.c snprintf(str, sizeof(str), "vscsi-devs/%s/state", dir[i]); str 990 drivers/scsi/xen-scsifront.c err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", str 996 drivers/scsi/xen-scsifront.c snprintf(str, sizeof(str), "vscsi-devs/%s/v-dev", dir[i]); str 997 drivers/scsi/xen-scsifront.c err = xenbus_scanf(XBT_NIL, dev->otherend, str, str 35 drivers/staging/board/board.h #define board_staging(str, fn) \ str 38 drivers/staging/board/board.h if (of_machine_is_compatible(str)) \ str 89 drivers/staging/exfat/exfat_nls.c static u16 *nls_wstrchr(u16 *str, u16 wchar) str 91 drivers/staging/exfat/exfat_nls.c while (*str) { str 92 drivers/staging/exfat/exfat_nls.c if (*(str++) == wchar) str 93 drivers/staging/exfat/exfat_nls.c return str; str 242 drivers/staging/exfat/exfat_super.c const char *str, const struct qstr *name) str 248 drivers/staging/exfat/exfat_super.c blen = __exfat_striptail_len(len, str); str 251 drivers/staging/exfat/exfat_super.c if (strncasecmp(name->name, str, alen) == 0) str 254 drivers/staging/exfat/exfat_super.c if (nls_strnicmp(t, name->name, str, alen) == 0) str 262 drivers/staging/exfat/exfat_super.c const char *str, const struct qstr *name) str 267 drivers/staging/exfat/exfat_super.c blen = __exfat_striptail_len(len, str); str 269 drivers/staging/exfat/exfat_super.c if (strncmp(name->name, str, alen) == 0) str 993 drivers/staging/fbtft/fbtft-core.c char str[16]; str 1042 drivers/staging/fbtft/fbtft-core.c sprintf(str, "0x%02X ", par->init_sequence[j]); str 1043 drivers/staging/fbtft/fbtft-core.c strcat(msg, str); str 21 drivers/staging/fbtft/fbtft-sysfs.c const char *str, int size) str 31 drivers/staging/fbtft/fbtft-sysfs.c if (!str || !curves) str 34 drivers/staging/fbtft/fbtft-sysfs.c fbtft_par_dbg(DEBUG_SYSFS, par, "%s\n", str); str 36 drivers/staging/fbtft/fbtft-sysfs.c tmp = kmemdup(str, size + 1, GFP_KERNEL); str 11 drivers/staging/fbtft/internal.h const char *str, int size); str 286 drivers/staging/iio/frequency/ad9834.c char *str; str 289 drivers/staging/iio/frequency/ad9834.c str = "sine triangle square"; str 291 drivers/staging/iio/frequency/ad9834.c str = "sine"; str 293 drivers/staging/iio/frequency/ad9834.c str = "sine triangle"; str 295 drivers/staging/iio/frequency/ad9834.c return sprintf(buf, "%s\n", str); str 308 drivers/staging/iio/frequency/ad9834.c char *str; str 311 drivers/staging/iio/frequency/ad9834.c str = ""; str 313 drivers/staging/iio/frequency/ad9834.c str = "square"; str 315 drivers/staging/iio/frequency/ad9834.c return sprintf(buf, "%s\n", str); str 375 drivers/staging/isdn/gigaset/ev-layer.c char *str; str 559 drivers/staging/isdn/gigaset/ev-layer.c for (zr = zsau_resp; zr->str; ++zr) str 560 drivers/staging/isdn/gigaset/ev-layer.c if (!strcmp(eoc, zr->str)) str 562 drivers/staging/isdn/gigaset/ev-layer.c if (!zr->str) str 27 drivers/staging/nvec/nvec_ps2.c #define NVEC_PHD(str, buf, len) \ str 28 drivers/staging/nvec/nvec_ps2.c print_hex_dump(KERN_DEBUG, str, DUMP_PREFIX_NONE, \ str 31 drivers/staging/nvec/nvec_ps2.c #define NVEC_PHD(str, buf, len) str 699 drivers/staging/qlge/qlge_main.c static int ql_validate_flash(struct ql_adapter *qdev, u32 size, const char *str) str 705 drivers/staging/qlge/qlge_main.c status = strncmp((char *)&qdev->flash, str, 4); str 228 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h const char *str; str 234 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h const char *str; str 136 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_dbg_trace(str) { DbgPrint("%s:%s\n", __func__, str); } str 160 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_dbg_trace(str) no_printk("%s", str) str 265 drivers/staging/rtl8723bs/include/hal_com.h bool GetU1ByteIntegerFromStringInDecimal(char *str, u8 *in); str 317 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h char* str; str 323 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h char* str; str 4994 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u8 *str; str 5001 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c str = strsep(&ptr, delim); str 5002 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (NULL == str) break; str 5003 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c sscanf(str, "%i", &temp); str 5019 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c str = strsep(&ptr, delim); str 5020 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (NULL == str) break; str 5021 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c sscanf(str, "%i", &temp); str 5128 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u8 str[20] = {0}; str 5147 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c sprintf(str, "%d ", extra[j]); str 5148 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c len = strlen(str); str 5154 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(output+output_len, str, len); str 5161 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c sprintf(str, "%d ", ((__s32 *)extra)[j]); str 5162 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c len = strlen(str); str 5168 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(output+output_len, str, len); str 1751 drivers/staging/speakup/main.c static void speakup_con_write(struct vc_data *vc, u16 *str, int len) str 1764 drivers/staging/speakup/main.c update_color_buffer(vc, str, len); str 1776 drivers/staging/speakup/main.c spkup_write(str, len); str 2076 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_dump(void *dump_context, const char *str, int len) str 2086 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c str += skip_bytes; str 2095 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_to_user(context->buf + context->actual, str, str 2104 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if ((len == 0) && (str[copy_bytes - 1] == '\0')) { str 606 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h vchiq_dump(void *dump_context, const char *str, int len); str 88 drivers/staging/wilc1000/wilc_wlan_cfg.c static int wilc_wlan_cfg_set_str(u8 *frame, u32 offset, u16 id, u8 *str, str 96 drivers/staging/wilc1000/wilc_wlan_cfg.c if (str && size != 0) str 97 drivers/staging/wilc1000/wilc_wlan_cfg.c memcpy(&frame[offset + 4], str, size); str 193 drivers/staging/wilc1000/wilc_wlan_cfg.c memcpy(wl->cfg.s[i].str, &info[2], str 336 drivers/staging/wilc1000/wilc_wlan_cfg.c u16 size = get_unaligned_le16(wl->cfg.s[i].str); str 339 drivers/staging/wilc1000/wilc_wlan_cfg.c memcpy(buffer, &wl->cfg.s[i].str[2], str 427 drivers/staging/wilc1000/wilc_wlan_cfg.c wl->cfg.s[i].str = str_vals->firmware_version; str 430 drivers/staging/wilc1000/wilc_wlan_cfg.c wl->cfg.s[i].str = str_vals->mac_address; str 433 drivers/staging/wilc1000/wilc_wlan_cfg.c wl->cfg.s[i].str = str_vals->assoc_rsp; str 436 drivers/staging/wilc1000/wilc_wlan_cfg.c wl->cfg.s[i].str = NULL; str 27 drivers/staging/wilc1000/wilc_wlan_cfg.h u8 *str; str 161 drivers/target/iscsi/iscsi_target_configfs.c char *str, *str2, *ip_str, *port_str; str 174 drivers/target/iscsi/iscsi_target_configfs.c str = strstr(buf, "["); str 175 drivers/target/iscsi/iscsi_target_configfs.c if (str) { str 176 drivers/target/iscsi/iscsi_target_configfs.c str2 = strstr(str, "]"); str 183 drivers/target/iscsi/iscsi_target_configfs.c ip_str = str + 1; /* Skip over leading "[" */ str 3344 drivers/target/target_core_configfs.c char *se_plugin_str, *str, *str2; str 3359 drivers/target/target_core_configfs.c str = strstr(buf, "_"); str 3360 drivers/target/target_core_configfs.c if (!str) { str 3369 drivers/target/target_core_configfs.c str2 = strstr(str+1, "_"); str 3373 drivers/target/target_core_configfs.c str = str2; str 3375 drivers/target/target_core_configfs.c *str = '\0'; /* Terminate for *se_plugin_str */ str 3376 drivers/target/target_core_configfs.c str++; /* Skip to start of plugin dependent ID */ str 3379 drivers/target/target_core_configfs.c ret = kstrtoul(str, 0, &plugin_dep_id); str 2858 drivers/target/target_core_transport.c static void target_append_str(char **str, const char *txt) str 2860 drivers/target/target_core_transport.c char *prev = *str; str 2862 drivers/target/target_core_transport.c *str = *str ? kasprintf(GFP_ATOMIC, "%s,%s", *str, txt) : str 2873 drivers/target/target_core_transport.c char *str = NULL; str 2876 drivers/target/target_core_transport.c target_append_str(&str, "aborted"); str 2878 drivers/target/target_core_transport.c target_append_str(&str, "active"); str 2880 drivers/target/target_core_transport.c target_append_str(&str, "complete"); str 2882 drivers/target/target_core_transport.c target_append_str(&str, "sent"); str 2884 drivers/target/target_core_transport.c target_append_str(&str, "stop"); str 2886 drivers/target/target_core_transport.c target_append_str(&str, "fabric_stop"); str 2888 drivers/target/target_core_transport.c return str; str 209 drivers/target/target_core_user.c static int tcmu_set_global_max_data_area(const char *str, str 214 drivers/target/target_core_user.c ret = kstrtoint(str, 10, &max_area_mb); str 256 drivers/target/target_core_user.c static int tcmu_set_block_netlink(const char *str, str 262 drivers/target/target_core_user.c ret = kstrtou8(str, 0, &val); str 301 drivers/target/target_core_user.c static int tcmu_set_reset_netlink(const char *str, str 308 drivers/target/target_core_user.c ret = kstrtou8(str, 0, &val); str 1851 drivers/target/target_core_user.c char *str; str 1856 drivers/target/target_core_user.c str = kasprintf(GFP_KERNEL, "tcm-user/%u/%s/%s", hba->host_id, str 1859 drivers/target/target_core_user.c str = kasprintf(GFP_KERNEL, "tcm-user/%u/%s", hba->host_id, str 1861 drivers/target/target_core_user.c if (!str) str 1866 drivers/target/target_core_user.c info->name = str; str 169 drivers/thunderbolt/domain.c char *str, *s, *uuid_str; str 184 drivers/thunderbolt/domain.c str = kstrdup(buf, GFP_KERNEL); str 185 drivers/thunderbolt/domain.c if (!str) str 194 drivers/thunderbolt/domain.c uuid_str = strim(str); str 235 drivers/thunderbolt/domain.c kfree(str); str 3353 drivers/tty/cyclades.c static inline int cyc_isfwstr(const char *str, unsigned int size) str 3357 drivers/tty/cyclades.c for (a = 0; a < size && *str; a++, str++) str 3358 drivers/tty/cyclades.c if (*str & 0x80) str 3361 drivers/tty/cyclades.c for (; a < size; a++, str++) str 3362 drivers/tty/cyclades.c if (*str) str 170 drivers/tty/hvc/hvc_xen.c static int dom0_write_console(uint32_t vtermno, const char *str, int len) str 172 drivers/tty/hvc/hvc_xen.c int rc = HYPERVISOR_console_io(CONSOLEIO_write, len, (char *)str); str 596 drivers/tty/hvc/hvc_xen.c static void xen_hvm_early_write(uint32_t vtermno, const char *str, int len) str 599 drivers/tty/hvc/hvc_xen.c outsb(0xe9, str, len); str 602 drivers/tty/hvc/hvc_xen.c static void xen_hvm_early_write(uint32_t vtermno, const char *str, int len) { } str 656 drivers/tty/hvc/hvc_xen.c void xen_raw_console_write(const char *str) str 658 drivers/tty/hvc/hvc_xen.c ssize_t len = strlen(str); str 662 drivers/tty/hvc/hvc_xen.c rc = dom0_write_console(0, str, len); str 666 drivers/tty/hvc/hvc_xen.c xen_hvm_early_write(0, str, len); str 74 drivers/tty/serial/8250/8250_pci.c static void moan_device(const char *str, struct pci_dev *dev) str 82 drivers/tty/serial/8250/8250_pci.c pci_name(dev), str, dev->vendor, dev->device, str 854 drivers/tty/serial/dz.c const char *str, str 859 drivers/tty/serial/dz.c prom_printf((char *) str); str 861 drivers/tty/serial/dz.c uart_console_write(&dport->port, str, count, dz_console_putchar); str 1355 drivers/tty/serial/mxs-auart.c auart_console_write(struct console *co, const char *str, unsigned int count) str 1377 drivers/tty/serial/mxs-auart.c uart_console_write(port, str, count, mxs_auart_console_putchar); str 1805 drivers/tty/serial/serial_core.c const char *str = NULL; str 1808 drivers/tty/serial/serial_core.c str = port->ops->type(port); str 1810 drivers/tty/serial/serial_core.c if (!str) str 1811 drivers/tty/serial/serial_core.c str = "unknown"; str 1813 drivers/tty/serial/serial_core.c return str; str 1869 drivers/tty/serial/serial_core.c #define INFOBIT(bit, str) \ str 1871 drivers/tty/serial/serial_core.c strncat(stat_buf, (str), sizeof(stat_buf) - \ str 1873 drivers/tty/serial/serial_core.c #define STATBIT(bit, str) \ str 1875 drivers/tty/serial/serial_core.c strncat(stat_buf, (str), sizeof(stat_buf) - \ str 76 drivers/tty/sysrq.c static int __init sysrq_always_enabled_setup(char *str) str 350 drivers/tty/tty_io.c const char *str; str 352 drivers/tty/tty_io.c for (str = name; *str && !isdigit(*str); str++) str 355 drivers/tty/tty_io.c if (!*str) str 358 drivers/tty/tty_io.c ret = kstrtoint(str, 10, &index); str 362 drivers/tty/tty_io.c prefix_length = str - name; str 398 drivers/tty/tty_io.c char *str, *stp; str 400 drivers/tty/tty_io.c for (str = name; *str; str++) str 401 drivers/tty/tty_io.c if ((*str >= '0' && *str <= '9') || *str == ',') str 403 drivers/tty/tty_io.c if (!*str) str 406 drivers/tty/tty_io.c len = str - name; str 407 drivers/tty/tty_io.c tty_line = simple_strtoul(str, &str, 10); str 414 drivers/tty/tty_io.c stp = str; str 255 drivers/usb/atm/cxacru.c static char *str[] = { "no", "yes" }; str 257 drivers/usb/atm/cxacru.c if (unlikely(value >= ARRAY_SIZE(str))) str 259 drivers/usb/atm/cxacru.c return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); str 264 drivers/usb/atm/cxacru.c static char *str[] = { NULL, "not connected", "connected", "lost" }; str 266 drivers/usb/atm/cxacru.c if (unlikely(value >= ARRAY_SIZE(str) || str[value] == NULL)) str 268 drivers/usb/atm/cxacru.c return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); str 273 drivers/usb/atm/cxacru.c static char *str[] = { "down", "attempting to activate", str 277 drivers/usb/atm/cxacru.c if (unlikely(value >= ARRAY_SIZE(str))) str 279 drivers/usb/atm/cxacru.c return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); str 284 drivers/usb/atm/cxacru.c static char *str[] = { str 290 drivers/usb/atm/cxacru.c if (unlikely(value >= ARRAY_SIZE(str))) str 292 drivers/usb/atm/cxacru.c return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); str 319 drivers/usb/atm/cxacru.c static char *str[] = { "running", "stopped" }; str 328 drivers/usb/atm/cxacru.c if (unlikely(value >= ARRAY_SIZE(str))) str 330 drivers/usb/atm/cxacru.c return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); str 15 drivers/usb/cdns3/debug.h static inline char *cdns3_decode_usb_irq(char *str, str 21 drivers/usb/cdns3/debug.h ret = sprintf(str, "IRQ %08x = ", usb_ists); str 24 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "Connection %s\n", str 28 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "Disconnection "); str 30 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "suspended "); str 32 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "L1 enter "); str 34 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "L1 exit "); str 36 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "L2 enter "); str 38 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "L2 exit "); str 40 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "U3 exit "); str 42 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "Warm Reset "); str 44 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "Hot Reset "); str 46 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "Reset"); str 48 drivers/usb/cdns3/debug.h return str; str 51 drivers/usb/cdns3/debug.h static inline char *cdns3_decode_ep_irq(char *str, str 57 drivers/usb/cdns3/debug.h ret = sprintf(str, "IRQ for %s: %08x ", ep_name, ep_sts); str 60 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "SETUP "); str 62 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "IOC "); str 64 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "ISP "); str 66 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "DESCMIS "); str 68 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "STREAMR "); str 70 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "MD_EXIT "); str 72 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "TRBERR "); str 74 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "NRDY "); str 76 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "PRIME "); str 78 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "SIDERRT "); str 80 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "OUTSMM "); str 82 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "ISOERR "); str 84 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "IOT "); str 86 drivers/usb/cdns3/debug.h return str; str 89 drivers/usb/cdns3/debug.h static inline char *cdns3_decode_epx_irq(char *str, str 93 drivers/usb/cdns3/debug.h return cdns3_decode_ep_irq(str, ep_sts, ep_name); str 96 drivers/usb/cdns3/debug.h static inline char *cdns3_decode_ep0_irq(char *str, str 100 drivers/usb/cdns3/debug.h return cdns3_decode_ep_irq(str, ep_sts, str 111 drivers/usb/cdns3/debug.h struct cdns3_trb *ring, char *str) str 122 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, "\n\t\tRing contents for %s:", priv_ep->name); str 124 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, str 130 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, str 135 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, str 143 drivers/usb/cdns3/debug.h sprintf(str + ret, "\t\tTo big transfer ring %d\n", str 145 drivers/usb/cdns3/debug.h return str; str 150 drivers/usb/cdns3/debug.h ret += sprintf(str + ret, str 158 drivers/usb/cdns3/debug.h return str; str 103 drivers/usb/cdns3/trace.h __dynamic_array(char, str, CDNS3_MSG_MAX) str 109 drivers/usb/cdns3/trace.h TP_printk("%s", cdns3_decode_usb_irq(__get_str(str), __entry->speed, str 125 drivers/usb/cdns3/trace.h __dynamic_array(char, str, CDNS3_MSG_MAX) str 133 drivers/usb/cdns3/trace.h cdns3_decode_epx_irq(__get_str(str), str 150 drivers/usb/cdns3/trace.h __dynamic_array(char, str, CDNS3_MSG_MAX) str 156 drivers/usb/cdns3/trace.h TP_printk("%s", cdns3_decode_ep0_irq(__get_str(str), str 175 drivers/usb/cdns3/trace.h __dynamic_array(char, str, CDNS3_MSG_MAX) str 184 drivers/usb/cdns3/trace.h TP_printk("%s", usb_decode_ctrl(__get_str(str), CDNS3_MSG_MAX, str 123 drivers/usb/common/common.c static enum usb_dr_mode usb_get_dr_mode_from_string(const char *str) str 127 drivers/usb/common/common.c ret = match_string(usb_dr_modes, ARRAY_SIZE(usb_dr_modes), str); str 14 drivers/usb/common/debug.c __u16 wLength, char *str, size_t size) str 18 drivers/usb/common/debug.c snprintf(str, size, "Get Device Status(Length = %d)", wLength); str 21 drivers/usb/common/debug.c snprintf(str, size, str 26 drivers/usb/common/debug.c snprintf(str, size, "Get Endpoint Status(ep%d%s)", str 73 drivers/usb/common/debug.c __u16 wIndex, char *str, size_t size) str 77 drivers/usb/common/debug.c snprintf(str, size, "%s Device Feature(%s%s)", str 84 drivers/usb/common/debug.c snprintf(str, size, "%s Interface Feature(%s)", str 90 drivers/usb/common/debug.c snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", str 99 drivers/usb/common/debug.c static void usb_decode_set_address(__u16 wValue, char *str, size_t size) str 101 drivers/usb/common/debug.c snprintf(str, size, "Set Address(Addr = %02x)", wValue); str 106 drivers/usb/common/debug.c __u16 wLength, char *str, size_t size) str 164 drivers/usb/common/debug.c snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)", str 169 drivers/usb/common/debug.c static void usb_decode_get_configuration(__u16 wLength, char *str, size_t size) str 171 drivers/usb/common/debug.c snprintf(str, size, "Get Configuration(Length = %d)", wLength); str 174 drivers/usb/common/debug.c static void usb_decode_set_configuration(__u8 wValue, char *str, size_t size) str 176 drivers/usb/common/debug.c snprintf(str, size, "Set Configuration(Config = %d)", wValue); str 179 drivers/usb/common/debug.c static void usb_decode_get_intf(__u16 wIndex, __u16 wLength, char *str, str 182 drivers/usb/common/debug.c snprintf(str, size, "Get Interface(Intf = %d, Length = %d)", str 186 drivers/usb/common/debug.c static void usb_decode_set_intf(__u8 wValue, __u16 wIndex, char *str, str 189 drivers/usb/common/debug.c snprintf(str, size, "Set Interface(Intf = %d, Alt.Setting = %d)", str 194 drivers/usb/common/debug.c char *str, size_t size) str 196 drivers/usb/common/debug.c snprintf(str, size, "Synch Frame(Endpoint = %d, Length = %d)", str 200 drivers/usb/common/debug.c static void usb_decode_set_sel(__u16 wLength, char *str, size_t size) str 202 drivers/usb/common/debug.c snprintf(str, size, "Set SEL(Length = %d)", wLength); str 205 drivers/usb/common/debug.c static void usb_decode_set_isoch_delay(__u8 wValue, char *str, size_t size) str 207 drivers/usb/common/debug.c snprintf(str, size, "Set Isochronous Delay(Delay = %d ns)", wValue); str 213 drivers/usb/common/debug.c const char *usb_decode_ctrl(char *str, size_t size, __u8 bRequestType, str 219 drivers/usb/common/debug.c usb_decode_get_status(bRequestType, wIndex, wLength, str, size); str 224 drivers/usb/common/debug.c wIndex, str, size); str 227 drivers/usb/common/debug.c usb_decode_set_address(wValue, str, size); str 232 drivers/usb/common/debug.c wIndex, wLength, str, size); str 235 drivers/usb/common/debug.c usb_decode_get_configuration(wLength, str, size); str 238 drivers/usb/common/debug.c usb_decode_set_configuration(wValue, str, size); str 241 drivers/usb/common/debug.c usb_decode_get_intf(wIndex, wLength, str, size); str 244 drivers/usb/common/debug.c usb_decode_set_intf(wValue, wIndex, str, size); str 247 drivers/usb/common/debug.c usb_decode_synch_frame(wIndex, wLength, str, size); str 250 drivers/usb/common/debug.c usb_decode_set_sel(wLength, str, size); str 253 drivers/usb/common/debug.c usb_decode_set_isoch_delay(wValue, str, size); str 256 drivers/usb/common/debug.c snprintf(str, size, "%02x %02x %02x %02x %02x %02x %02x %02x", str 266 drivers/usb/common/debug.c return str; str 712 drivers/usb/dwc2/debugfs.c char str[32]; str 714 drivers/usb/dwc2/debugfs.c snprintf(str, 32, "g_tx_fifo_size[%d]", i); str 715 drivers/usb/dwc2/debugfs.c seq_printf(seq, "%-30s: %d\n", str, p->g_tx_fifo_size[i]); str 443 drivers/usb/dwc2/hcd_queue.c void (*print_fn)(const char *str, void *data), str 502 drivers/usb/dwc2/hcd_queue.c static void dwc2_qh_print(const char *str, void *data) str 506 drivers/usb/dwc2/hcd_queue.c dwc2_sch_dbg(print_data->hsotg, "QH=%p ...%s\n", print_data->qh, str); str 196 drivers/usb/dwc3/debug.h static inline const char *dwc3_gadget_event_string(char *str, size_t size, str 203 drivers/usb/dwc3/debug.h snprintf(str, size, "Disconnect: [%s]", str 207 drivers/usb/dwc3/debug.h snprintf(str, size, "Reset [%s]", str 211 drivers/usb/dwc3/debug.h snprintf(str, size, "Connection Done [%s]", str 215 drivers/usb/dwc3/debug.h snprintf(str, size, "Link Change [%s]", str 219 drivers/usb/dwc3/debug.h snprintf(str, size, "WakeUp [%s]", str 223 drivers/usb/dwc3/debug.h snprintf(str, size, "End-Of-Frame [%s]", str 227 drivers/usb/dwc3/debug.h snprintf(str, size, "Start-Of-Frame [%s]", str 231 drivers/usb/dwc3/debug.h snprintf(str, size, "Erratic Error [%s]", str 235 drivers/usb/dwc3/debug.h snprintf(str, size, "Command Complete [%s]", str 239 drivers/usb/dwc3/debug.h snprintf(str, size, "Overflow [%s]", str 243 drivers/usb/dwc3/debug.h snprintf(str, size, "UNKNOWN"); str 246 drivers/usb/dwc3/debug.h return str; str 253 drivers/usb/dwc3/debug.h static inline const char *dwc3_ep_event_string(char *str, size_t size, str 260 drivers/usb/dwc3/debug.h len = scnprintf(str, size, "ep%d%s: ", epnum >> 1, str 267 drivers/usb/dwc3/debug.h len += scnprintf(str + len, size - len, str 274 drivers/usb/dwc3/debug.h scnprintf(str + len, size - len, " [%s]", str 278 drivers/usb/dwc3/debug.h scnprintf(str + len, size - len, str 286 drivers/usb/dwc3/debug.h len += scnprintf(str + len, size - len, str 298 drivers/usb/dwc3/debug.h scnprintf(str + len, size - len, str 302 drivers/usb/dwc3/debug.h scnprintf(str + len, size - len, str 308 drivers/usb/dwc3/debug.h scnprintf(str + len, size - len, "FIFO"); str 315 drivers/usb/dwc3/debug.h scnprintf(str + len, size - len, " Stream %d Found", str 320 drivers/usb/dwc3/debug.h scnprintf(str + len, size - len, " Stream Not Found"); str 326 drivers/usb/dwc3/debug.h scnprintf(str + len, size - len, "Endpoint Command Complete"); str 329 drivers/usb/dwc3/debug.h scnprintf(str + len, size - len, "UNKNOWN"); str 332 drivers/usb/dwc3/debug.h return str; str 369 drivers/usb/dwc3/debug.h static inline const char *dwc3_decode_event(char *str, size_t size, u32 event, str 375 drivers/usb/dwc3/debug.h return dwc3_gadget_event_string(str, size, &evt.devt); str 377 drivers/usb/dwc3/debug.h return dwc3_ep_event_string(str, size, &evt.depevt, ep0state); str 55 drivers/usb/dwc3/trace.h __dynamic_array(char, str, DWC3_MSG_MAX) str 62 drivers/usb/dwc3/trace.h dwc3_decode_event(__get_str(str), DWC3_MSG_MAX, str 80 drivers/usb/dwc3/trace.h __dynamic_array(char, str, DWC3_MSG_MAX) str 89 drivers/usb/dwc3/trace.h TP_printk("%s", usb_decode_ctrl(__get_str(str), DWC3_MSG_MAX, str 76 drivers/usb/early/ehci-dbgp.c static void dbgp_ehci_status(char *str) str 80 drivers/usb/early/ehci-dbgp.c dbgp_printk("dbgp: %s\n", str); str 90 drivers/usb/early/ehci-dbgp.c static inline void dbgp_ehci_status(char *str) { } str 913 drivers/usb/early/ehci-dbgp.c static void early_dbgp_write(struct console *con, const char *str, u32 n) str 941 drivers/usb/early/ehci-dbgp.c str++, chunk++, n--) { str 942 drivers/usb/early/ehci-dbgp.c if (!use_cr && *str == '\n') { str 945 drivers/usb/early/ehci-dbgp.c str--; str 951 drivers/usb/early/ehci-dbgp.c buf[chunk] = *str; str 1047 drivers/usb/early/ehci-dbgp.c static int __init kgdbdbgp_parse_config(char *str) str 1052 drivers/usb/early/ehci-dbgp.c if (early_dbgp_init(str)) str 1055 drivers/usb/early/ehci-dbgp.c ptr = strchr(str, ','); str 871 drivers/usb/early/xhci-dbc.c static void early_xdbc_write(struct console *con, const char *str, u32 n) str 881 drivers/usb/early/xhci-dbc.c for (chunk = 0; chunk < XDBC_MAX_PACKET && n > 0; str++, chunk++, n--) { str 883 drivers/usb/early/xhci-dbc.c if (!use_cr && *str == '\n') { str 886 drivers/usb/early/xhci-dbc.c str--; str 893 drivers/usb/early/xhci-dbc.c buf[chunk] = *str; str 1219 drivers/usb/gadget/composite.c int usb_string_ids_tab(struct usb_composite_dev *cdev, struct usb_string *str) str 1223 drivers/usb/gadget/composite.c for (; str->s; ++str) { str 1226 drivers/usb/gadget/composite.c str->id = ++next; str 115 drivers/usb/gadget/configfs.c char *str; str 121 drivers/usb/gadget/configfs.c str = kstrdup(s, GFP_KERNEL); str 122 drivers/usb/gadget/configfs.c if (!str) str 124 drivers/usb/gadget/configfs.c if (str[ret - 1] == '\n') str 125 drivers/usb/gadget/configfs.c str[ret - 1] = '\0'; str 127 drivers/usb/gadget/configfs.c *s_copy = str; str 1862 drivers/usb/gadget/function/f_fs.c struct usb_string *str = (*lang)->strings; str 1864 drivers/usb/gadget/function/f_fs.c for (; str->s; ++id, ++str) str 1865 drivers/usb/gadget/function/f_fs.c str->id = id; str 691 drivers/usb/gadget/function/u_ether.c static int get_ether_addr(const char *str, u8 *dev_addr) str 693 drivers/usb/gadget/function/u_ether.c if (str) { str 699 drivers/usb/gadget/function/u_ether.c if ((*str == '.') || (*str == ':')) str 700 drivers/usb/gadget/function/u_ether.c str++; str 701 drivers/usb/gadget/function/u_ether.c num = hex_to_bin(*str++) << 4; str 702 drivers/usb/gadget/function/u_ether.c num |= hex_to_bin(*str++); str 712 drivers/usb/gadget/function/u_ether.c static int get_ether_addr_str(u8 dev_addr[ETH_ALEN], char *str, int len) str 717 drivers/usb/gadget/function/u_ether.c snprintf(str, len, "%pM", dev_addr); str 91 drivers/usb/gadget/udc/gr_udc.c static void gr_dbgprint_request(const char *str, struct gr_ep *ep, str 98 drivers/usb/gadget/udc/gr_udc.c dev_dbg(ep->dev->dev, "%s: 0x%p, %d bytes data%s:\n", str, req, buflen, str 112 drivers/usb/gadget/udc/gr_udc.c static void gr_dbgprint_request(const char *str, struct gr_ep *ep, str 2215 drivers/usb/host/xhci.h static char str[256]; str 2220 drivers/usb/host/xhci.h sprintf(str, str 2237 drivers/usb/host/xhci.h sprintf(str, str 2250 drivers/usb/host/xhci.h sprintf(str, "bRequestType %02x bRequest %02x wValue %02x%02x wIndex %02x%02x wLength %d length %d TD size %d intr %d type '%s' flags %c:%c:%c", str 2267 drivers/usb/host/xhci.h sprintf(str, "Buffer %08x%08x length %d TD size %d intr %d type '%s' flags %c:%c:%c:%c:%c:%c:%c", str 2280 drivers/usb/host/xhci.h sprintf(str, "Buffer %08x%08x length %d TD size %d intr %d type '%s' flags %c:%c:%c:%c", str 2293 drivers/usb/host/xhci.h sprintf(str, str 2310 drivers/usb/host/xhci.h sprintf(str, str 2317 drivers/usb/host/xhci.h sprintf(str, str 2324 drivers/usb/host/xhci.h sprintf(str, str 2333 drivers/usb/host/xhci.h sprintf(str, str 2342 drivers/usb/host/xhci.h sprintf(str, str 2350 drivers/usb/host/xhci.h sprintf(str, str 2361 drivers/usb/host/xhci.h sprintf(str, str 2371 drivers/usb/host/xhci.h sprintf(str, str 2382 drivers/usb/host/xhci.h sprintf(str, str 2389 drivers/usb/host/xhci.h sprintf(str, str 2398 drivers/usb/host/xhci.h sprintf(str, str 2405 drivers/usb/host/xhci.h sprintf(str, str 2414 drivers/usb/host/xhci.h sprintf(str, str 2423 drivers/usb/host/xhci.h sprintf(str, str 2429 drivers/usb/host/xhci.h return str; str 2435 drivers/usb/host/xhci.h static char str[1024]; str 2440 drivers/usb/host/xhci.h ret = sprintf(str, "Drop:"); str 2442 drivers/usb/host/xhci.h ret += sprintf(str + ret, " %d%s", str 2445 drivers/usb/host/xhci.h ret += sprintf(str + ret, ", "); str 2449 drivers/usb/host/xhci.h ret += sprintf(str + ret, "Add:%s%s", str 2454 drivers/usb/host/xhci.h ret += sprintf(str + ret, " %d%s", str 2458 drivers/usb/host/xhci.h return str; str 2464 drivers/usb/host/xhci.h static char str[1024]; str 2474 drivers/usb/host/xhci.h ret = sprintf(str, "RS %05x %s%s%s Ctx Entries %d MEL %d us Port# %d/%d", str 2503 drivers/usb/host/xhci.h ret += sprintf(str + ret, " [TT Slot %d Port# %d TTT %d Intr %d] Addr %d State %s", str 2509 drivers/usb/host/xhci.h return str; str 2550 drivers/usb/host/xhci.h static char str[256]; str 2553 drivers/usb/host/xhci.h ret = sprintf(str, "%s %s %s Link:%s PortSpeed:%d ", str 2561 drivers/usb/host/xhci.h ret += sprintf(str + ret, "OverCurrent "); str 2563 drivers/usb/host/xhci.h ret += sprintf(str + ret, "In-Reset "); str 2565 drivers/usb/host/xhci.h ret += sprintf(str + ret, "Change: "); str 2567 drivers/usb/host/xhci.h ret += sprintf(str + ret, "CSC "); str 2569 drivers/usb/host/xhci.h ret += sprintf(str + ret, "PEC "); str 2571 drivers/usb/host/xhci.h ret += sprintf(str + ret, "WRC "); str 2573 drivers/usb/host/xhci.h ret += sprintf(str + ret, "OCC "); str 2575 drivers/usb/host/xhci.h ret += sprintf(str + ret, "PRC "); str 2577 drivers/usb/host/xhci.h ret += sprintf(str + ret, "PLC "); str 2579 drivers/usb/host/xhci.h ret += sprintf(str + ret, "CEC "); str 2581 drivers/usb/host/xhci.h ret += sprintf(str + ret, "CAS "); str 2583 drivers/usb/host/xhci.h ret += sprintf(str + ret, "Wake: "); str 2585 drivers/usb/host/xhci.h ret += sprintf(str + ret, "WCE "); str 2587 drivers/usb/host/xhci.h ret += sprintf(str + ret, "WDE "); str 2589 drivers/usb/host/xhci.h ret += sprintf(str + ret, "WOE "); str 2591 drivers/usb/host/xhci.h return str; str 2637 drivers/usb/host/xhci.h static char str[1024]; str 2672 drivers/usb/host/xhci.h ret = sprintf(str, "State %s mult %d max P. Streams %d %s", str 2676 drivers/usb/host/xhci.h ret += sprintf(str + ret, "interval %d us max ESIT payload %d CErr %d ", str 2679 drivers/usb/host/xhci.h ret += sprintf(str + ret, "Type %s %sburst %d maxp %d deq %016llx ", str 2683 drivers/usb/host/xhci.h ret += sprintf(str + ret, "avg trb len %d", avg); str 2685 drivers/usb/host/xhci.h return str; str 402 drivers/usb/misc/usb251xb.c char str[USB251XB_STRING_BUFSIZE / 2]; str 543 drivers/usb/misc/usb251xb.c strlcpy(str, cproperty_char ? : USB251XB_DEF_MANUFACTURER_STRING, str 544 drivers/usb/misc/usb251xb.c sizeof(str)); str 545 drivers/usb/misc/usb251xb.c hub->manufacturer_len = strlen(str) & 0xFF; str 547 drivers/usb/misc/usb251xb.c len = min_t(size_t, USB251XB_STRING_BUFSIZE / 2, strlen(str)); str 548 drivers/usb/misc/usb251xb.c len = utf8s_to_utf16s(str, len, UTF16_LITTLE_ENDIAN, str 553 drivers/usb/misc/usb251xb.c strlcpy(str, cproperty_char ? : data->product_str, sizeof(str)); str 554 drivers/usb/misc/usb251xb.c hub->product_len = strlen(str) & 0xFF; str 556 drivers/usb/misc/usb251xb.c len = min_t(size_t, USB251XB_STRING_BUFSIZE / 2, strlen(str)); str 557 drivers/usb/misc/usb251xb.c len = utf8s_to_utf16s(str, len, UTF16_LITTLE_ENDIAN, str 562 drivers/usb/misc/usb251xb.c strlcpy(str, cproperty_char ? : USB251XB_DEF_SERIAL_STRING, str 563 drivers/usb/misc/usb251xb.c sizeof(str)); str 564 drivers/usb/misc/usb251xb.c hub->serial_len = strlen(str) & 0xFF; str 566 drivers/usb/misc/usb251xb.c len = min_t(size_t, USB251XB_STRING_BUFSIZE / 2, strlen(str)); str 567 drivers/usb/misc/usb251xb.c len = utf8s_to_utf16s(str, len, UTF16_LITTLE_ENDIAN, str 24 drivers/usb/mon/mon_stat.c char str[STAT_BUF_SIZE]; str 38 drivers/usb/mon/mon_stat.c sp->slen = snprintf(sp->str, STAT_BUF_SIZE, str 51 drivers/usb/mon/mon_stat.c return simple_read_from_buffer(buf, nbytes, ppos, sp->str, sp->slen); str 682 drivers/usb/musb/musb_cppi41.c const char *str; str 686 drivers/usb/musb/musb_cppi41.c ret = of_property_read_string_index(np, "dma-names", i, &str); str 689 drivers/usb/musb/musb_cppi41.c if (strstarts(str, "tx")) str 691 drivers/usb/musb/musb_cppi41.c else if (strstarts(str, "rx")) str 694 drivers/usb/musb/musb_cppi41.c dev_err(dev, "Wrong dmatype %s\n", str); str 697 drivers/usb/musb/musb_cppi41.c ret = kstrtouint(str + 2, 0, &port); str 719 drivers/usb/musb/musb_cppi41.c dc = dma_request_chan(dev->parent, str); str 724 drivers/usb/musb/musb_cppi41.c str, ret); str 54 drivers/vfio/mdev/mdev_sysfs.c char *str; str 61 drivers/vfio/mdev/mdev_sysfs.c str = kstrndup(buf, count, GFP_KERNEL); str 62 drivers/vfio/mdev/mdev_sysfs.c if (!str) str 65 drivers/vfio/mdev/mdev_sysfs.c ret = guid_parse(str, &uuid); str 66 drivers/vfio/mdev/mdev_sysfs.c kfree(str); str 177 drivers/video/console/mdacon.c static int __init mdacon_setup(char *str) str 183 drivers/video/console/mdacon.c str = get_options(str, ARRAY_SIZE(ints), ints); str 285 drivers/video/console/sticore.c static int __init sti_setup(char *str) str 287 drivers/video/console/sticore.c if (str) str 288 drivers/video/console/sticore.c strlcpy (default_sti_path, str, sizeof (default_sti_path)); str 309 drivers/video/console/sticore.c static int sti_font_setup(char *str) str 317 drivers/video/console/sticore.c while (i<MAX_STI_ROMS && str && *str) { str 318 drivers/video/console/sticore.c if (*str>='0' && *str<='9') { str 319 drivers/video/console/sticore.c if ((x = strchr(str, 'x')) || (x = strchr(str, '*'))) { str 320 drivers/video/console/sticore.c font_height[i] = simple_strtoul(str, NULL, 0); str 323 drivers/video/console/sticore.c font_index[i] = simple_strtoul(str, NULL, 0); str 326 drivers/video/console/sticore.c font_name[i] = str; /* fb font name */ str 329 drivers/video/console/sticore.c if ((x = strchr(str, ','))) str 331 drivers/video/console/sticore.c str = x; str 112 drivers/video/console/vgacon.c static int __init text_mode(char *str) str 126 drivers/video/console/vgacon.c static int __init no_scroll(char *str) str 4316 drivers/video/fbdev/omap2/omapfb/dss/dsi.c static void print_dsi_vm(const char *str, str 4331 drivers/video/fbdev/omap2/omapfb/dss/dsi.c str, str 4349 drivers/video/fbdev/omap2/omapfb/dss/dsi.c static void print_dispc_vm(const char *str, const struct omap_video_timings *t) str 4362 drivers/video/fbdev/omap2/omapfb/dss/dsi.c str, str 4377 drivers/video/fbdev/omap2/omapfb/dss/dsi.c static void print_dsi_dispc_vm(const char *str, str 4397 drivers/video/fbdev/omap2/omapfb/dss/dsi.c print_dispc_vm(str, &vm); str 38 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c const char *str = data; str 40 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c return sysfs_streq(dssdev->name, str); str 2156 drivers/video/fbdev/omap2/omapfb/omapfb-main.c char *str, *options, *this_opt; str 2159 drivers/video/fbdev/omap2/omapfb/omapfb-main.c str = kstrdup(def_mode, GFP_KERNEL); str 2160 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (!str) str 2162 drivers/video/fbdev/omap2/omapfb/omapfb-main.c options = str; str 2198 drivers/video/fbdev/omap2/omapfb/omapfb-main.c kfree(str); str 363 drivers/video/fbdev/sh_mobile_lcdcfb.c char *str; str 367 drivers/video/fbdev/sh_mobile_lcdcfb.c str = "bus_clk"; str 371 drivers/video/fbdev/sh_mobile_lcdcfb.c str = "peripheral_clk"; str 375 drivers/video/fbdev/sh_mobile_lcdcfb.c str = NULL; str 382 drivers/video/fbdev/sh_mobile_lcdcfb.c if (str == NULL) str 385 drivers/video/fbdev/sh_mobile_lcdcfb.c clk = clk_get(priv->dev, str); str 387 drivers/video/fbdev/sh_mobile_lcdcfb.c dev_err(priv->dev, "cannot get dot clock %s\n", str); str 1632 drivers/video/fbdev/via/viafbdev.c static int parse_mode(const char *str, u32 devices, u32 *xres, u32 *yres) str 1637 drivers/video/fbdev/via/viafbdev.c if (!str) { str 1658 drivers/video/fbdev/via/viafbdev.c *xres = simple_strtoul(str, &ptr, 10); str 640 drivers/virtio/virtio_mmio.c char *str; str 647 drivers/virtio/virtio_mmio.c size = memparse(device, &str); str 650 drivers/virtio/virtio_mmio.c processed = sscanf(str, "@%lli:%u%n:%d%n", str 659 drivers/virtio/virtio_mmio.c if (processed < 2 || str[consumed]) str 213 drivers/w1/masters/ds2490.c static inline void ds_print_msg(unsigned char *buf, unsigned char *str, int off) str 215 drivers/w1/masters/ds2490.c pr_info("%45s: %8x\n", str, buf[off]); str 385 drivers/watchdog/machzwd.c static const char * const str[] = { "RESET", "SMI", "NMI", "SCI" }; str 387 drivers/watchdog/machzwd.c pr_info("Watchdog using action = %s\n", str[act]); str 160 drivers/watchdog/octeon-wdt-main.c static void octeon_wdt_write_string(const char *str) str 163 drivers/watchdog/octeon-wdt-main.c while (*str) str 164 drivers/watchdog/octeon-wdt-main.c prom_putchar(*str++); str 222 drivers/xen/manage.c char *str; str 235 drivers/xen/manage.c str = (char *)xenbus_read(xbt, "control", "shutdown", NULL); str 237 drivers/xen/manage.c if (XENBUS_IS_ERR_READ(str)) { str 243 drivers/xen/manage.c if (strcmp(str, shutdown_handlers[idx].command) == 0) str 253 drivers/xen/manage.c kfree(str); str 260 drivers/xen/manage.c pr_info("Ignoring shutdown request: %s\n", str); str 264 drivers/xen/manage.c kfree(str); str 208 drivers/xen/xen-pciback/xenbus.c char str[64]; str 210 drivers/xen/xen-pciback/xenbus.c len = snprintf(str, sizeof(str), "vdev-%d", devid); str 211 drivers/xen/xen-pciback/xenbus.c if (unlikely(len >= (sizeof(str) - 1))) { str 217 drivers/xen/xen-pciback/xenbus.c err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, str 306 drivers/xen/xen-pciback/xenbus.c char str[64]; str 319 drivers/xen/xen-pciback/xenbus.c len = snprintf(str, sizeof(str), "root-%d", i); str 320 drivers/xen/xen-pciback/xenbus.c if (unlikely(len >= (sizeof(str) - 1))) { str 326 drivers/xen/xen-pciback/xenbus.c str, "%x:%x", &d, &b); str 340 drivers/xen/xen-pciback/xenbus.c len = snprintf(str, sizeof(str), "root-%d", root_num); str 341 drivers/xen/xen-pciback/xenbus.c if (unlikely(len >= (sizeof(str) - 1))) { str 349 drivers/xen/xen-pciback/xenbus.c err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, str 1061 drivers/xen/xen-scsiback.c char str[64]; str 1072 drivers/xen/xen-scsiback.c snprintf(str, sizeof(str), "vscsi-devs/%s/p-dev", ent); str 1073 drivers/xen/xen-scsiback.c val = xenbus_read(XBT_NIL, dev->nodename, str, NULL); str 1086 drivers/xen/xen-scsiback.c snprintf(str, sizeof(str), "vscsi-devs/%s/v-dev", ent); str 1087 drivers/xen/xen-scsiback.c err = xenbus_scanf(XBT_NIL, dev->nodename, str, "%u:%u:%u:%u", str 1120 drivers/xen/xen-scsiback.c pr_err("xenbus_printf error %s\n", str); str 533 drivers/xen/xenbus/xenbus_probe.c static unsigned int char_count(const char *str, char c) str 537 drivers/xen/xenbus/xenbus_probe.c for (i = 0; str[i]; i++) str 538 drivers/xen/xenbus/xenbus_probe.c if (str[i] == c) str 543 drivers/xen/xenbus/xenbus_probe.c static int strsep_len(const char *str, char c, unsigned int len) str 547 drivers/xen/xenbus/xenbus_probe.c for (i = 0; str[i]; i++) str 548 drivers/xen/xenbus/xenbus_probe.c if (str[i] == c) { str 15 drivers/xen/xenfs/xenstored.c const char *str = (const char *)file->private_data; str 16 drivers/xen/xenfs/xenstored.c return simple_read_from_buffer(buf, size, off, str, strlen(str)); str 146 fs/adfs/dir.c const char *str, u32 len) str 154 fs/adfs/dir.c if (adfs_tolower(qstr[i]) != adfs_tolower(str[i])) str 241 fs/adfs/dir.c const char *str, const struct qstr *qstr) str 243 fs/adfs/dir.c return __adfs_compare(qstr->name, qstr->len, str, len); str 83 fs/affs/namei.c const char *str, const struct qstr *name, toupper_t toupper, str 86 fs/affs/namei.c const u8 *aname = str; str 117 fs/affs/namei.c unsigned int len, const char *str, const struct qstr *name) str 120 fs/affs/namei.c return __affs_compare_dentry(len, str, name, affs_toupper, str 126 fs/affs/namei.c unsigned int len, const char *str, const struct qstr *name) str 128 fs/affs/namei.c return __affs_compare_dentry(len, str, name, affs_intl_toupper, str 40 fs/autofs/dev-ioctl.c static int invalid_str(char *str, size_t size) str 42 fs/autofs/dev-ioctl.c if (memchr(str, 0, size)) str 133 fs/autofs/root.c const unsigned char *str = name->name; str 163 fs/autofs/root.c if (memcmp(qstr->name, str, len)) str 188 fs/autofs/root.c const unsigned char *str = name->name; str 223 fs/autofs/root.c if (memcmp(qstr->name, str, len)) str 47 fs/btrfs/compression.c bool btrfs_compress_is_valid_type(const char *str, size_t len) str 57 fs/btrfs/compression.c if (!strncmp(btrfs_compress_types[i], str, comp_len)) str 1601 fs/btrfs/compression.c unsigned int btrfs_compress_str2level(unsigned int type, const char *str) str 1609 fs/btrfs/compression.c if (str[0] == ':') { str 1610 fs/btrfs/compression.c ret = kstrtouint(str + 1, 10, &level); str 100 fs/btrfs/compression.h unsigned int btrfs_compress_str2level(unsigned int type, const char *str); str 173 fs/btrfs/compression.h bool btrfs_compress_is_valid_type(const char *str, size_t len); str 11 fs/btrfs/rcu-string.h char str[0]; str 21 fs/btrfs/rcu-string.h strncpy(ret->str, src, len); str 25 fs/btrfs/rcu-string.h static inline void rcu_string_free(struct rcu_string *str) str 27 fs/btrfs/rcu-string.h if (str) str 28 fs/btrfs/rcu-string.h kfree_rcu(str, rcu); str 45 fs/btrfs/rcu-string.h __str->str; \ str 605 fs/btrfs/send.c const char *str, int len) str 608 fs/btrfs/send.c len = strlen(str); str 609 fs/btrfs/send.c return tlv_put(sctx, attr, str, len); str 646 fs/btrfs/send.c #define TLV_PUT_STRING(sctx, attrtype, str, len) \ str 648 fs/btrfs/send.c ret = tlv_put_string(sctx, attrtype, str, len); \ str 757 fs/btrfs/sysfs.c char *str; str 759 fs/btrfs/sysfs.c str = kmalloc(bufsize, GFP_KERNEL); str 760 fs/btrfs/sysfs.c if (!str) str 761 fs/btrfs/sysfs.c return str; str 770 fs/btrfs/sysfs.c len += snprintf(str + len, bufsize - len, "%s%s", str 774 fs/btrfs/sysfs.c return str; str 797 fs/btrfs/volumes.c ret = btrfs_get_bdev_and_sb(device->name->str, flags, holder, 1, str 1059 fs/btrfs/volumes.c } else if (!device->name || strcmp(device->name->str, path)) { str 1187 fs/btrfs/volumes.c name = rcu_string_strdup(orig_dev->name->str, str 1315 fs/btrfs/volumes.c name = rcu_string_strdup(device->name->str, GFP_NOFS); str 2253 fs/btrfs/volumes.c btrfs_scratch_superblocks(device->bdev, device->name->str); str 2321 fs/btrfs/volumes.c btrfs_scratch_superblocks(srcdev->bdev, srcdev->name->str); str 2381 fs/btrfs/volumes.c btrfs_scratch_superblocks(tgtdev->bdev, tgtdev->name->str); str 1854 fs/ceph/addr.c pool, (int)pool_ns->len, pool_ns->str); str 1968 fs/ceph/addr.c memcpy(perm->pool_ns, pool_ns->str, pool_ns_len); str 1984 fs/ceph/addr.c pool, (int)pool_ns->len, pool_ns->str, err); str 104 fs/ceph/xattr.c memcpy(val + ret, pool_ns->str, pool_ns->len); str 189 fs/ceph/xattr.c memcpy(val, ns->str, ret); str 828 fs/cifs/dir.c unsigned int len, const char *str, const struct qstr *name) str 845 fs/cifs/dir.c l1 = codepage->char2uni(&str[i], len - i, &c1); str 853 fs/cifs/dir.c if (str[i] != name->name[i]) str 719 fs/cifs/inode.c static __u64 simple_hashstr(const char *str) str 724 fs/cifs/inode.c while (*str) str 725 fs/cifs/inode.c hash = (hash + (__u64) *str++) * hash_mult; str 355 fs/cifs/readdir.c static int cifs_unicode_bytelen(const char *str) str 358 fs/cifs/readdir.c const __le16 *ustr = (const __le16 *)str; str 42 fs/cifs/smbencrypt.c str_to_key(unsigned char *str, unsigned char *key) str 46 fs/cifs/smbencrypt.c key[0] = str[0] >> 1; str 47 fs/cifs/smbencrypt.c key[1] = ((str[0] & 0x01) << 6) | (str[1] >> 2); str 48 fs/cifs/smbencrypt.c key[2] = ((str[1] & 0x03) << 5) | (str[2] >> 3); str 49 fs/cifs/smbencrypt.c key[3] = ((str[2] & 0x07) << 4) | (str[3] >> 4); str 50 fs/cifs/smbencrypt.c key[4] = ((str[3] & 0x0F) << 3) | (str[4] >> 5); str 51 fs/cifs/smbencrypt.c key[5] = ((str[4] & 0x1F) << 2) | (str[5] >> 6); str 52 fs/cifs/smbencrypt.c key[6] = ((str[5] & 0x3F) << 1) | (str[6] >> 7); str 53 fs/cifs/smbencrypt.c key[7] = str[6] & 0x7F; str 18 fs/crypto/fname.c static inline bool fscrypt_is_dot_dotdot(const struct qstr *str) str 20 fs/crypto/fname.c if (str->len == 1 && str->name[0] == '.') str 23 fs/crypto/fname.c if (str->len == 2 && str->name[0] == '.' && str->name[1] == '.') str 17 fs/crypto/fscrypt_private.h #define CONST_STRLEN(str) (sizeof(str) - 1) str 11 fs/d_path.c static int prepend(char **buffer, int *buflen, const char *str, int namelen) str 17 fs/d_path.c memcpy(*buffer, str, namelen); str 2217 fs/dcache.c const unsigned char *str = name->name; str 2287 fs/dcache.c if (dentry_cmp(dentry, str, hashlen_len(hashlen)) != 0) str 3131 fs/dcache.c static int __init set_dhash_entries(char *str) str 3133 fs/dcache.c if (!str) str 3135 fs/dcache.c dhash_entries = simple_strtoul(str, &str, 0); str 981 fs/ecryptfs/crypto.c int ecryptfs_cipher_code_to_string(char *str, u8 cipher_code) str 986 fs/ecryptfs/crypto.c str[0] = '\0'; str 989 fs/ecryptfs/crypto.c strcpy(str, ecryptfs_cipher_code_str_map[i].cipher_str); str 990 fs/ecryptfs/crypto.c if (str[0] == '\0') { str 600 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_cipher_code_to_string(char *str, u8 cipher_code); str 45 fs/efivarfs/inode.c bool efivarfs_valid_name(const char *str, int len) str 47 fs/efivarfs/inode.c const char *s = str + len - EFI_VARIABLE_GUID_LEN; str 13 fs/efivarfs/internal.h extern bool efivarfs_valid_name(const char *str, int len); str 44 fs/efivarfs/super.c unsigned int len, const char *str, str 53 fs/efivarfs/super.c if (memcmp(str, name->name, guid)) str 57 fs/efivarfs/super.c return strncasecmp(name->name + guid, str + guid, EFI_VARIABLE_GUID_LEN); str 509 fs/exec.c const char __user *str; str 514 fs/exec.c str = get_user_arg_ptr(argv, argc); str 515 fs/exec.c if (IS_ERR(str)) str 518 fs/exec.c len = strnlen_user(str, MAX_ARG_STRLEN); str 528 fs/exec.c str += len; str 554 fs/exec.c str -= bytes_to_copy; str 576 fs/exec.c if (copy_from_user(kaddr+offset, str, bytes_to_copy)) { str 675 fs/ext4/dir.c const char *str, const struct qstr *name) str 677 fs/ext4/dir.c struct qstr qstr = {.name = str, .len = len }; str 685 fs/ext4/dir.c return memcmp(str, name->name, len); str 691 fs/ext4/dir.c static int ext4_d_hash(const struct dentry *dentry, struct qstr *str) str 706 fs/ext4/dir.c len = utf8_casefold(um, str, norm, PATH_MAX); str 712 fs/ext4/dir.c str->hash = full_name_hash(dentry, norm, len); str 2198 fs/ext4/super.c #define SEQ_OPTS_PUTS(str) seq_printf(seq, "%c" str, sep) str 2199 fs/ext4/super.c #define SEQ_OPTS_PRINT(str, arg) seq_printf(seq, "%c" str, sep, arg) str 1068 fs/f2fs/dir.c const char *str, const struct qstr *name) str 1070 fs/f2fs/dir.c struct qstr qstr = {.name = str, .len = len }; str 1077 fs/f2fs/dir.c return memcmp(str, name->name, len); str 1083 fs/f2fs/dir.c static int f2fs_d_hash(const struct dentry *dentry, struct qstr *str) str 1098 fs/f2fs/dir.c len = utf8_casefold(um, str, norm, PATH_MAX); str 1104 fs/f2fs/dir.c str->hash = full_name_hash(dentry, norm, len); str 2760 fs/f2fs/f2fs.h static inline bool is_dot_dotdot(const struct qstr *str) str 2762 fs/f2fs/f2fs.h if (str->len == 1 && str->name[0] == '.') str 2765 fs/f2fs/f2fs.h if (str->len == 2 && str->name[0] == '.' && str->name[1] == '.') str 33 fs/f2fs/segment.c static unsigned long __reverse_ulong(unsigned char *str) str 42 fs/f2fs/segment.c tmp |= (unsigned long)str[idx++] << shift; str 168 fs/fat/namei_msdos.c unsigned int len, const char *str, const struct qstr *name) str 177 fs/fat/namei_msdos.c error = msdos_format_name(str, len, b_msdos_name, options); str 187 fs/fat/namei_msdos.c error = memcmp(name->name, str, len); str 156 fs/fat/namei_vfat.c unsigned int len, const char *str, const struct qstr *name) str 163 fs/fat/namei_vfat.c blen = __vfat_striptail_len(len, str); str 165 fs/fat/namei_vfat.c if (nls_strnicmp(t, name->name, str, alen) == 0) str 175 fs/fat/namei_vfat.c unsigned int len, const char *str, const struct qstr *name) str 181 fs/fat/namei_vfat.c blen = __vfat_striptail_len(len, str); str 183 fs/fat/namei_vfat.c if (strncmp(name->name, str, alen) == 0) str 80 fs/gfs2/dentry.c static int gfs2_dhash(const struct dentry *dentry, struct qstr *str) str 82 fs/gfs2/dentry.c str->hash = gfs2_disk_hash(str->name, str->len); str 1093 fs/gfs2/dir.c struct qstr str; str 1095 fs/gfs2/dir.c str.name = (char*)(dent+1); str 1096 fs/gfs2/dir.c str.len = be16_to_cpu(dent->de_name_len); str 1097 fs/gfs2/dir.c str.hash = be32_to_cpu(dent->de_hash); str 1098 fs/gfs2/dir.c new = gfs2_dirent_split_alloc(inode, nbh, &str, ptr); str 363 fs/gfs2/glops.c const struct gfs2_dinode *str = buf; str 367 fs/gfs2/glops.c if (unlikely(ip->i_no_addr != be64_to_cpu(str->di_num.no_addr))) str 369 fs/gfs2/glops.c ip->i_no_formal_ino = be64_to_cpu(str->di_num.no_formal_ino); str 370 fs/gfs2/glops.c ip->i_inode.i_mode = be32_to_cpu(str->di_mode); str 375 fs/gfs2/glops.c ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major), str 376 fs/gfs2/glops.c be32_to_cpu(str->di_minor)); str 380 fs/gfs2/glops.c i_uid_write(&ip->i_inode, be32_to_cpu(str->di_uid)); str 381 fs/gfs2/glops.c i_gid_write(&ip->i_inode, be32_to_cpu(str->di_gid)); str 382 fs/gfs2/glops.c set_nlink(&ip->i_inode, be32_to_cpu(str->di_nlink)); str 383 fs/gfs2/glops.c i_size_write(&ip->i_inode, be64_to_cpu(str->di_size)); str 384 fs/gfs2/glops.c gfs2_set_inode_blocks(&ip->i_inode, be64_to_cpu(str->di_blocks)); str 385 fs/gfs2/glops.c atime.tv_sec = be64_to_cpu(str->di_atime); str 386 fs/gfs2/glops.c atime.tv_nsec = be32_to_cpu(str->di_atime_nsec); str 389 fs/gfs2/glops.c ip->i_inode.i_mtime.tv_sec = be64_to_cpu(str->di_mtime); str 390 fs/gfs2/glops.c ip->i_inode.i_mtime.tv_nsec = be32_to_cpu(str->di_mtime_nsec); str 391 fs/gfs2/glops.c ip->i_inode.i_ctime.tv_sec = be64_to_cpu(str->di_ctime); str 392 fs/gfs2/glops.c ip->i_inode.i_ctime.tv_nsec = be32_to_cpu(str->di_ctime_nsec); str 394 fs/gfs2/glops.c ip->i_goal = be64_to_cpu(str->di_goal_meta); str 395 fs/gfs2/glops.c ip->i_generation = be64_to_cpu(str->di_generation); str 397 fs/gfs2/glops.c ip->i_diskflags = be32_to_cpu(str->di_flags); str 398 fs/gfs2/glops.c ip->i_eattr = be64_to_cpu(str->di_eattr); str 401 fs/gfs2/glops.c height = be16_to_cpu(str->di_height); str 406 fs/gfs2/glops.c depth = be16_to_cpu(str->di_depth); str 410 fs/gfs2/glops.c ip->i_entries = be32_to_cpu(str->di_entries); str 198 fs/gfs2/ops_fstype.c const struct gfs2_sb *str = buf; str 200 fs/gfs2/ops_fstype.c sb->sb_magic = be32_to_cpu(str->sb_header.mh_magic); str 201 fs/gfs2/ops_fstype.c sb->sb_type = be32_to_cpu(str->sb_header.mh_type); str 202 fs/gfs2/ops_fstype.c sb->sb_format = be32_to_cpu(str->sb_header.mh_format); str 203 fs/gfs2/ops_fstype.c sb->sb_fs_format = be32_to_cpu(str->sb_fs_format); str 204 fs/gfs2/ops_fstype.c sb->sb_multihost_format = be32_to_cpu(str->sb_multihost_format); str 205 fs/gfs2/ops_fstype.c sb->sb_bsize = be32_to_cpu(str->sb_bsize); str 206 fs/gfs2/ops_fstype.c sb->sb_bsize_shift = be32_to_cpu(str->sb_bsize_shift); str 207 fs/gfs2/ops_fstype.c sb->sb_master_dir.no_addr = be64_to_cpu(str->sb_master_dir.no_addr); str 208 fs/gfs2/ops_fstype.c sb->sb_master_dir.no_formal_ino = be64_to_cpu(str->sb_master_dir.no_formal_ino); str 209 fs/gfs2/ops_fstype.c sb->sb_root_dir.no_addr = be64_to_cpu(str->sb_root_dir.no_addr); str 210 fs/gfs2/ops_fstype.c sb->sb_root_dir.no_formal_ino = be64_to_cpu(str->sb_root_dir.no_formal_ino); str 212 fs/gfs2/ops_fstype.c memcpy(sb->sb_lockproto, str->sb_lockproto, GFS2_LOCKNAME_LEN); str 213 fs/gfs2/ops_fstype.c memcpy(sb->sb_locktable, str->sb_locktable, GFS2_LOCKNAME_LEN); str 214 fs/gfs2/ops_fstype.c memcpy(&s->s_uuid, str->sb_uuid, 16); str 1061 fs/gfs2/rgrp.c const struct gfs2_rgrp *str = buf; str 1064 fs/gfs2/rgrp.c rg_flags = be32_to_cpu(str->rg_flags); str 1068 fs/gfs2/rgrp.c rgd->rd_free = be32_to_cpu(str->rg_free); str 1069 fs/gfs2/rgrp.c rgd->rd_dinodes = be32_to_cpu(str->rg_dinodes); str 1070 fs/gfs2/rgrp.c rgd->rd_igeneration = be64_to_cpu(str->rg_igeneration); str 1076 fs/gfs2/rgrp.c const struct gfs2_rgrp *str = buf; str 1079 fs/gfs2/rgrp.c rgl->rl_flags = str->rg_flags; str 1080 fs/gfs2/rgrp.c rgl->rl_free = str->rg_free; str 1081 fs/gfs2/rgrp.c rgl->rl_dinodes = str->rg_dinodes; str 1082 fs/gfs2/rgrp.c rgl->rl_igeneration = str->rg_igeneration; str 1089 fs/gfs2/rgrp.c struct gfs2_rgrp *str = buf; str 1092 fs/gfs2/rgrp.c str->rg_flags = cpu_to_be32(rgd->rd_flags & ~GFS2_RDF_MASK); str 1093 fs/gfs2/rgrp.c str->rg_free = cpu_to_be32(rgd->rd_free); str 1094 fs/gfs2/rgrp.c str->rg_dinodes = cpu_to_be32(rgd->rd_dinodes); str 1096 fs/gfs2/rgrp.c str->rg_skip = 0; str 1098 fs/gfs2/rgrp.c str->rg_skip = cpu_to_be32(next->rd_addr - rgd->rd_addr); str 1099 fs/gfs2/rgrp.c str->rg_igeneration = cpu_to_be64(rgd->rd_igeneration); str 1100 fs/gfs2/rgrp.c str->rg_data0 = cpu_to_be64(rgd->rd_data0); str 1101 fs/gfs2/rgrp.c str->rg_data = cpu_to_be32(rgd->rd_data); str 1102 fs/gfs2/rgrp.c str->rg_bitbytes = cpu_to_be32(rgd->rd_bitbytes); str 1103 fs/gfs2/rgrp.c str->rg_crc = 0; str 1105 fs/gfs2/rgrp.c str->rg_crc = cpu_to_be32(crc); str 1107 fs/gfs2/rgrp.c memset(&str->rg_reserved, 0, sizeof(str->rg_reserved)); str 1114 fs/gfs2/rgrp.c struct gfs2_rgrp *str = (struct gfs2_rgrp *)rgd->rd_bits[0].bi_bh->b_data; str 1118 fs/gfs2/rgrp.c if (rgl->rl_flags != str->rg_flags) { str 1121 fs/gfs2/rgrp.c be32_to_cpu(rgl->rl_flags), be32_to_cpu(str->rg_flags)); str 1124 fs/gfs2/rgrp.c if (rgl->rl_free != str->rg_free) { str 1127 fs/gfs2/rgrp.c be32_to_cpu(rgl->rl_free), be32_to_cpu(str->rg_free)); str 1130 fs/gfs2/rgrp.c if (rgl->rl_dinodes != str->rg_dinodes) { str 1134 fs/gfs2/rgrp.c be32_to_cpu(str->rg_dinodes)); str 1137 fs/gfs2/rgrp.c if (rgl->rl_igeneration != str->rg_igeneration) { str 1141 fs/gfs2/rgrp.c (unsigned long long)be64_to_cpu(str->rg_igeneration)); str 214 fs/gfs2/super.c const struct gfs2_statfs_change *str = buf; str 216 fs/gfs2/super.c sc->sc_total = be64_to_cpu(str->sc_total); str 217 fs/gfs2/super.c sc->sc_free = be64_to_cpu(str->sc_free); str 218 fs/gfs2/super.c sc->sc_dinodes = be64_to_cpu(str->sc_dinodes); str 223 fs/gfs2/super.c struct gfs2_statfs_change *str = buf; str 225 fs/gfs2/super.c str->sc_total = cpu_to_be64(sc->sc_total); str 226 fs/gfs2/super.c str->sc_free = cpu_to_be64(sc->sc_free); str 227 fs/gfs2/super.c str->sc_dinodes = cpu_to_be64(sc->sc_dinodes); str 458 fs/gfs2/super.c struct gfs2_dinode *str = buf; str 460 fs/gfs2/super.c str->di_header.mh_magic = cpu_to_be32(GFS2_MAGIC); str 461 fs/gfs2/super.c str->di_header.mh_type = cpu_to_be32(GFS2_METATYPE_DI); str 462 fs/gfs2/super.c str->di_header.mh_format = cpu_to_be32(GFS2_FORMAT_DI); str 463 fs/gfs2/super.c str->di_num.no_addr = cpu_to_be64(ip->i_no_addr); str 464 fs/gfs2/super.c str->di_num.no_formal_ino = cpu_to_be64(ip->i_no_formal_ino); str 465 fs/gfs2/super.c str->di_mode = cpu_to_be32(ip->i_inode.i_mode); str 466 fs/gfs2/super.c str->di_uid = cpu_to_be32(i_uid_read(&ip->i_inode)); str 467 fs/gfs2/super.c str->di_gid = cpu_to_be32(i_gid_read(&ip->i_inode)); str 468 fs/gfs2/super.c str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); str 469 fs/gfs2/super.c str->di_size = cpu_to_be64(i_size_read(&ip->i_inode)); str 470 fs/gfs2/super.c str->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(&ip->i_inode)); str 471 fs/gfs2/super.c str->di_atime = cpu_to_be64(ip->i_inode.i_atime.tv_sec); str 472 fs/gfs2/super.c str->di_mtime = cpu_to_be64(ip->i_inode.i_mtime.tv_sec); str 473 fs/gfs2/super.c str->di_ctime = cpu_to_be64(ip->i_inode.i_ctime.tv_sec); str 475 fs/gfs2/super.c str->di_goal_meta = cpu_to_be64(ip->i_goal); str 476 fs/gfs2/super.c str->di_goal_data = cpu_to_be64(ip->i_goal); str 477 fs/gfs2/super.c str->di_generation = cpu_to_be64(ip->i_generation); str 479 fs/gfs2/super.c str->di_flags = cpu_to_be32(ip->i_diskflags); str 480 fs/gfs2/super.c str->di_height = cpu_to_be16(ip->i_height); str 481 fs/gfs2/super.c str->di_payload_format = cpu_to_be32(S_ISDIR(ip->i_inode.i_mode) && str 484 fs/gfs2/super.c str->di_depth = cpu_to_be16(ip->i_depth); str 485 fs/gfs2/super.c str->di_entries = cpu_to_be32(ip->i_entries); str 487 fs/gfs2/super.c str->di_eattr = cpu_to_be64(ip->i_eattr); str 488 fs/gfs2/super.c str->di_atime_nsec = cpu_to_be32(ip->i_inode.i_atime.tv_nsec); str 489 fs/gfs2/super.c str->di_mtime_nsec = cpu_to_be32(ip->i_inode.i_mtime.tv_nsec); str 490 fs/gfs2/super.c str->di_ctime_nsec = cpu_to_be32(ip->i_inode.i_ctime.tv_nsec); str 82 fs/hfs/catalog.c int hfs_cat_create(u32 cnid, struct inode *dir, const struct qstr *str, struct inode *inode) str 91 fs/hfs/catalog.c str->name, cnid, inode->i_nlink); str 111 fs/hfs/catalog.c dir->i_ino, str); str 122 fs/hfs/catalog.c hfs_cat_build_key(sb, fd.search_key, dir->i_ino, str); str 221 fs/hfs/catalog.c int hfs_cat_delete(u32 cnid, struct inode *dir, const struct qstr *str) str 228 fs/hfs/catalog.c hfs_dbg(CAT_MOD, "delete_cat: %s,%u\n", str ? str->name : NULL, cnid); str 234 fs/hfs/catalog.c hfs_cat_build_key(sb, fd.search_key, dir->i_ino, str); str 233 fs/hfs/hfs_fs.h unsigned int len, const char *str, const struct qstr *name); str 96 fs/hfs/string.c unsigned int len, const char *str, const struct qstr *name) str 107 fs/hfs/string.c n1 = str; str 44 fs/hfsplus/catalog.c hfsplus_btree_key *key, u32 parent, const struct qstr *str) str 50 fs/hfsplus/catalog.c str->name, str->len); str 178 fs/hfsplus/catalog.c u32 parentid, const struct qstr *str) str 186 fs/hfsplus/catalog.c str->name, str->len); str 254 fs/hfsplus/catalog.c const struct qstr *str, struct inode *inode) str 263 fs/hfsplus/catalog.c str->name, cnid, inode->i_nlink); str 280 fs/hfsplus/catalog.c dir->i_ino, str); str 296 fs/hfsplus/catalog.c err = hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str); str 330 fs/hfsplus/catalog.c int hfsplus_delete_cat(u32 cnid, struct inode *dir, const struct qstr *str) str 339 fs/hfsplus/catalog.c hfs_dbg(CAT_MOD, "delete_cat: %s,%u\n", str ? str->name : NULL, cnid); str 352 fs/hfsplus/catalog.c if (!str) { str 371 fs/hfsplus/catalog.c err = hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str); str 87 fs/hfsplus/dir.c struct qstr str; str 101 fs/hfsplus/dir.c str.len = sprintf(name, "iNode%d", linkid); str 102 fs/hfsplus/dir.c str.name = name; str 105 fs/hfsplus/dir.c &str); str 306 fs/hfsplus/dir.c struct qstr str; str 321 fs/hfsplus/dir.c str.name = name; str 322 fs/hfsplus/dir.c str.len = sprintf(name, "iNode%d", id); str 325 fs/hfsplus/dir.c sbi->hidden_dir, &str); str 362 fs/hfsplus/dir.c struct qstr str; str 374 fs/hfsplus/dir.c str.name = name; str 375 fs/hfsplus/dir.c str.len = sprintf(name, "temp%lu", inode->i_ino); str 378 fs/hfsplus/dir.c sbi->hidden_dir, &str); str 450 fs/hfsplus/hfsplus_fs.h u32 parent, const struct qstr *str); str 456 fs/hfsplus/hfsplus_fs.h int hfsplus_create_cat(u32 cnid, struct inode *dir, const struct qstr *str, str 458 fs/hfsplus/hfsplus_fs.h int hfsplus_delete_cat(u32 cnid, struct inode *dir, const struct qstr *str); str 527 fs/hfsplus/hfsplus_fs.h int hfsplus_hash_dentry(const struct dentry *dentry, struct qstr *str); str 529 fs/hfsplus/hfsplus_fs.h const char *str, const struct qstr *name); str 382 fs/hfsplus/super.c struct qstr str; str 518 fs/hfsplus/super.c str.len = sizeof(HFSP_HIDDENDIR_NAME) - 1; str 519 fs/hfsplus/super.c str.name = HFSP_HIDDENDIR_NAME; str 523 fs/hfsplus/super.c err = hfsplus_cat_build_key(sb, fd.search_key, HFSPLUS_ROOT_CNID, &str); str 562 fs/hfsplus/super.c &str, sbi->hidden_dir); str 569 fs/hfsplus/super.c root, &str); str 578 fs/hfsplus/super.c root, &str); str 384 fs/hfsplus/unicode.c int hfsplus_hash_dentry(const struct dentry *dentry, struct qstr *str) str 398 fs/hfsplus/unicode.c astr = str->name; str 399 fs/hfsplus/unicode.c len = str->len; str 426 fs/hfsplus/unicode.c str->hash = end_name_hash(hash); str 437 fs/hfsplus/unicode.c unsigned int len, const char *str, const struct qstr *name) str 450 fs/hfsplus/unicode.c astr1 = str; str 39 fs/hpfs/dentry.c unsigned int len, const char *str, const struct qstr *name) str 44 fs/hpfs/dentry.c hpfs_adjust_length(str, &al); str 54 fs/hpfs/dentry.c if (hpfs_compare_names(dentry->d_sb, str, al, name->name, bl, 0)) str 1968 fs/inode.c static int __init set_ihash_entries(char *str) str 1970 fs/inode.c if (!str) str 1972 fs/inode.c ihash_entries = simple_strtoul(str, &str, 0); str 40 fs/isofs/inode.c unsigned int len, const char *str, const struct qstr *name); str 46 fs/isofs/inode.c unsigned int len, const char *str, const struct qstr *name); str 48 fs/isofs/inode.c unsigned int len, const char *str, const struct qstr *name); str 204 fs/isofs/inode.c unsigned int len, const char *str, str 215 fs/isofs/inode.c while (blen && str[blen-1] == '.') str 220 fs/isofs/inode.c if (strncasecmp(name->name, str, alen) == 0) str 223 fs/isofs/inode.c if (strncmp(name->name, str, alen) == 0) str 238 fs/isofs/inode.c unsigned int len, const char *str, const struct qstr *name) str 240 fs/isofs/inode.c return isofs_dentry_cmp_common(len, str, name, 0, 1); str 279 fs/isofs/inode.c unsigned int len, const char *str, const struct qstr *name) str 281 fs/isofs/inode.c return isofs_dentry_cmp_common(len, str, name, 1, 0); str 286 fs/isofs/inode.c unsigned int len, const char *str, const struct qstr *name) str 288 fs/isofs/inode.c return isofs_dentry_cmp_common(len, str, name, 1, 1); str 1555 fs/jfs/namei.c unsigned int len, const char *str, const struct qstr *name) str 1562 fs/jfs/namei.c if (tolower(str[i]) != tolower(name->name[i])) str 46 fs/namespace.c static int __init set_mhash_entries(char *str) str 48 fs/namespace.c if (!str) str 50 fs/namespace.c mhash_entries = simple_strtoul(str, &str, 0); str 56 fs/namespace.c static int __init set_mphash_entries(char *str) str 58 fs/namespace.c if (!str) str 60 fs/namespace.c mphash_entries = simple_strtoul(str, &str, 0); str 76 fs/nfs/callback_xdr.c const char **str, size_t maxlen) str 80 fs/nfs/callback_xdr.c err = xdr_stream_decode_opaque_inline(xdr, (void **)str, maxlen); str 590 fs/nfs/callback_xdr.c static __be32 encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) str 592 fs/nfs/callback_xdr.c if (unlikely(xdr_stream_encode_opaque(xdr, str, len) < 0)) str 5936 fs/nfs/nfs4proc.c char *str; str 5958 fs/nfs/nfs4proc.c str = kmalloc(len, GFP_KERNEL); str 5959 fs/nfs/nfs4proc.c if (!str) str 5964 fs/nfs/nfs4proc.c scnprintf(str, len, "Linux NFSv4.0 %s/%s/%s", str 5970 fs/nfs/nfs4proc.c scnprintf(str, len, "Linux NFSv4.0 %s/%s", str 5976 fs/nfs/nfs4proc.c clp->cl_owner_id = str; str 5984 fs/nfs/nfs4proc.c char *str; str 5998 fs/nfs/nfs4proc.c str = kmalloc(len, GFP_KERNEL); str 5999 fs/nfs/nfs4proc.c if (!str) str 6002 fs/nfs/nfs4proc.c scnprintf(str, len, "Linux NFSv%u.%u %s/%s", str 6006 fs/nfs/nfs4proc.c clp->cl_owner_id = str; str 6014 fs/nfs/nfs4proc.c char *str; str 6033 fs/nfs/nfs4proc.c str = kmalloc(len, GFP_KERNEL); str 6034 fs/nfs/nfs4proc.c if (!str) str 6037 fs/nfs/nfs4proc.c scnprintf(str, len, "Linux NFSv%u.%u %s", str 6040 fs/nfs/nfs4proc.c clp->cl_owner_id = str; str 964 fs/nfs/nfs4xdr.c static void encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) str 966 fs/nfs/nfs4xdr.c WARN_ON_ONCE(xdr_stream_encode_opaque(xdr, str, len) < 0); str 3223 fs/nfs/nfs4xdr.c char *str; str 3228 fs/nfs/nfs4xdr.c return decode_opaque_inline(xdr, &strlen, &str); str 510 fs/nfs/super.c const char *str; str 532 fs/nfs/super.c return sec_flavours[i].str; str 633 fs/nfs/super.c const char *str; str 671 fs/nfs/super.c seq_puts(m, nfs_infop->str); str 84 fs/nfsd/nfs4xdr.c check_filename(char *str, int len) str 90 fs/nfsd/nfs4xdr.c if (isdotent(str, len)) str 93 fs/nfsd/nfs4xdr.c if (str[i] == '/') str 2065 fs/nfsd/nfs4xdr.c char *str, *end, *next; str 2075 fs/nfsd/nfs4xdr.c end = str = components; str 2080 fs/nfsd/nfs4xdr.c if (*str == esc_enter) { str 2085 fs/nfsd/nfs4xdr.c str++; str 2094 fs/nfsd/nfs4xdr.c strlen = end - str; str 2099 fs/nfsd/nfs4xdr.c p = xdr_encode_opaque(p, str, strlen); str 2107 fs/nfsd/nfs4xdr.c str = end; str 2302 fs/ntfs/inode.c seq_printf(sf, ",errors=%s", on_errors_arr[i].str); str 84 fs/ntfs/ntfs.h char *str; str 165 fs/ntfs/super.c for (_i = 0; opt_array[_i].str && *opt_array[_i].str; _i++) \ str 166 fs/ntfs/super.c if (!strcmp(opt_array[_i].str, v)) { \ str 170 fs/ntfs/super.c if (!opt_array[_i].str || !*opt_array[_i].str) \ str 835 fs/overlayfs/super.c static unsigned int ovl_split_lowerdirs(char *str) str 840 fs/overlayfs/super.c for (s = d = str;; s++, d++) { str 1925 fs/proc/base.c const char *str = dentry->d_name.name; str 1929 fs/proc/base.c if (str[0] == '0' && str[1] != '-') str 1931 fs/proc/base.c len = _parse_integer(str, 16, &sval); str 1936 fs/proc/base.c str += len; str 1938 fs/proc/base.c if (*str != '-') str 1940 fs/proc/base.c str++; str 1942 fs/proc/base.c if (str[0] == '0' && str[1]) str 1944 fs/proc/base.c len = _parse_integer(str, 16, &eval); str 1949 fs/proc/base.c str += len; str 1951 fs/proc/base.c if (*str != '\0') str 925 fs/proc/proc_sysctl.c unsigned int len, const char *str, const struct qstr *name) str 938 fs/proc/proc_sysctl.c if (memcmp(name->name, str, len)) str 28 fs/proc/task_mmu.c #define SEQ_PUT_DEC(str, val) \ str 29 fs/proc/task_mmu.c seq_put_decimal_ull_width(m, str, (val) << (PAGE_SHIFT-10), 8) str 783 fs/proc/task_mmu.c #define SEQ_PUT_DEC(str, val) \ str 784 fs/proc/task_mmu.c seq_put_decimal_ull_width(m, str, (val) >> 10, 8) str 42 fs/proc_namespace.c const char *str; str 58 fs/proc_namespace.c seq_puts(m, fs_infop->str); str 79 fs/proc_namespace.c seq_puts(m, fs_infop->str); str 257 fs/pstore/ram_core.c char *str, size_t len) str 265 fs/pstore/ram_core.c ret = snprintf(str, len, "" str 269 fs/pstore/ram_core.c ret = snprintf(str, len, "\nNo errors detected\n"); str 43 fs/romfs/internal.h const char *str, size_t size); str 67 fs/romfs/storage.c const char *str, size_t size) str 83 fs/romfs/storage.c if (memcmp(buf, str, len) != 0) str 88 fs/romfs/storage.c str += len; str 164 fs/romfs/storage.c const char *str, size_t size) str 178 fs/romfs/storage.c matched = (memcmp(bh->b_data + offset, str, segment) == 0); str 182 fs/romfs/storage.c str += segment; str 268 fs/romfs/storage.c const char *str, size_t size) str 282 fs/romfs/storage.c return romfs_mtd_strcmp(sb, pos, str, size); str 286 fs/romfs/storage.c return romfs_blk_strcmp(sb, pos, str, size); str 72 fs/squashfs/namei.c char *str; str 82 fs/squashfs/namei.c str = &index->name[SQUASHFS_NAME_LEN + 1]; str 83 fs/squashfs/namei.c strncpy(str, name, len); str 84 fs/squashfs/namei.c str[len] = '\0'; str 104 fs/squashfs/namei.c if (strcmp(index->name, str) > 0) str 58 fs/ubifs/key.h const signed char *str = (const signed char *)s; str 61 fs/ubifs/key.h a += *str << 4; str 62 fs/ubifs/key.h a += *str >> 4; str 64 fs/ubifs/key.h str++; str 75 fs/ubifs/key.h static inline uint32_t key_test_hash(const char *str, int len) str 80 fs/ubifs/key.h memcpy(&a, str, len); str 1339 fs/ubifs/ubifs.h uint32_t (*key_hash)(const char *str, int len); str 262 fs/unicode/mkutf8data.c static int utf8encode(char *str, unsigned int val) str 267 fs/unicode/mkutf8data.c str[0] = val; str 270 fs/unicode/mkutf8data.c str[1] = val & UTF8_V_MASK; str 271 fs/unicode/mkutf8data.c str[1] |= UTF8_N_BITS; str 273 fs/unicode/mkutf8data.c str[0] = val; str 274 fs/unicode/mkutf8data.c str[0] |= UTF8_2_BITS; str 277 fs/unicode/mkutf8data.c str[2] = val & UTF8_V_MASK; str 278 fs/unicode/mkutf8data.c str[2] |= UTF8_N_BITS; str 280 fs/unicode/mkutf8data.c str[1] = val & UTF8_V_MASK; str 281 fs/unicode/mkutf8data.c str[1] |= UTF8_N_BITS; str 283 fs/unicode/mkutf8data.c str[0] = val; str 284 fs/unicode/mkutf8data.c str[0] |= UTF8_3_BITS; str 287 fs/unicode/mkutf8data.c str[3] = val & UTF8_V_MASK; str 288 fs/unicode/mkutf8data.c str[3] |= UTF8_N_BITS; str 290 fs/unicode/mkutf8data.c str[2] = val & UTF8_V_MASK; str 291 fs/unicode/mkutf8data.c str[2] |= UTF8_N_BITS; str 293 fs/unicode/mkutf8data.c str[1] = val & UTF8_V_MASK; str 294 fs/unicode/mkutf8data.c str[1] |= UTF8_N_BITS; str 296 fs/unicode/mkutf8data.c str[0] = val; str 297 fs/unicode/mkutf8data.c str[0] |= UTF8_4_BITS; str 306 fs/unicode/mkutf8data.c static unsigned int utf8decode(const char *str) str 308 fs/unicode/mkutf8data.c const unsigned char *s = (const unsigned char*)str; str 2662 fs/unicode/mkutf8data.c static utf8leaf_t *utf8hangul(const char *str, unsigned char *hangul) str 2671 fs/unicode/mkutf8data.c si = utf8decode(str) - SB; str 12 fs/unicode/utf8-core.c int utf8_validate(const struct unicode_map *um, const struct qstr *str) str 16 fs/unicode/utf8-core.c if (utf8nlen(data, str->name, str->len) < 0) str 104 fs/unicode/utf8-core.c int utf8_casefold(const struct unicode_map *um, const struct qstr *str, str 111 fs/unicode/utf8-core.c if (utf8ncursor(&cur, data, str->name, str->len) < 0) str 128 fs/unicode/utf8-core.c int utf8_normalize(const struct unicode_map *um, const struct qstr *str, str 135 fs/unicode/utf8-core.c if (utf8ncursor(&cur, data, str->name, str->len) < 0) str 102 fs/unicode/utf8-norm.c utf8decode3(const char *str) str 106 fs/unicode/utf8-norm.c uc = *str++ & 0x0F; str 108 fs/unicode/utf8-norm.c uc |= *str++ & 0x3F; str 110 fs/unicode/utf8-norm.c uc |= *str++ & 0x3F; str 119 fs/unicode/utf8-norm.c utf8encode3(char *str, unsigned int val) str 121 fs/unicode/utf8-norm.c str[2] = (val & 0x3F) | 0x80; str 123 fs/unicode/utf8-norm.c str[1] = (val & 0x3F) | 0x80; str 125 fs/unicode/utf8-norm.c str[0] = val | 0xE0; str 275 fs/unicode/utf8-norm.c utf8hangul(const char *str, unsigned char *hangul) str 284 fs/unicode/utf8-norm.c si = utf8decode3(str) - SB; str 40 fs/unicode/utf8-selftest.c unsigned char str[10]; str 46 fs/unicode/utf8-selftest.c .str = "aBba", str 54 fs/unicode/utf8-selftest.c .str = {0xc2, 0xbc, 0x00}, str 60 fs/unicode/utf8-selftest.c .str = {0xc3, 0xa4, 0x00}, str 66 fs/unicode/utf8-selftest.c .str = {0xC7, 0x89, 0x00}, str 71 fs/unicode/utf8-selftest.c .str = {0xCE, 0x87, 0x00}, str 78 fs/unicode/utf8-selftest.c .str = {0x41, 0xcc, 0x81, 0xcc, 0xa8, 0x0}, str 85 fs/unicode/utf8-selftest.c .str = {0xc3, 0xa4, 0xCC, 0xA8, 0x00}, str 94 fs/unicode/utf8-selftest.c unsigned char str[30]; str 100 fs/unicode/utf8-selftest.c .str = {0x41, 0x42, 0x62, 0x61, 0x00}, str 105 fs/unicode/utf8-selftest.c .str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0.1", str 111 fs/unicode/utf8-selftest.c .str = {0xc3, 0x9f, 0x00}, str 117 fs/unicode/utf8-selftest.c .str = {0xC3, 0x85, 0x00}, str 127 fs/unicode/utf8-selftest.c .str = {0xea, 0xad, 0xb0, 0x00}, str 132 fs/unicode/utf8-selftest.c .str = {0xe1, 0x8f, 0xb8, 0x00}, str 138 fs/unicode/utf8-selftest.c .str = {0xf0, 0x90, 0xb2, 0x83, 0x00}, str 145 fs/unicode/utf8-selftest.c .str = {0xf0, 0x90, 0x92, 0xb5, 0x00}, str 151 fs/unicode/utf8-selftest.c .str = {0xea, 0x9e, 0xae, 0x00}, str 158 fs/unicode/utf8-selftest.c .str = {0xe1, 0xb2, 0x90, 0x00}, str 177 fs/unicode/utf8-selftest.c int len = strlen(nfdi_test_data[i].str); str 182 fs/unicode/utf8-selftest.c test((utf8len(data, nfdi_test_data[i].str) == nlen)); str 183 fs/unicode/utf8-selftest.c test((utf8nlen(data, nfdi_test_data[i].str, len) == nlen)); str 185 fs/unicode/utf8-selftest.c if (utf8cursor(&u8c, data, nfdi_test_data[i].str) < 0) str 213 fs/unicode/utf8-selftest.c int len = strlen(nfdicf_test_data[i].str); str 218 fs/unicode/utf8-selftest.c test((utf8len(data, nfdicf_test_data[i].str) == nlen)); str 219 fs/unicode/utf8-selftest.c test((utf8nlen(data, nfdicf_test_data[i].str, len) == nlen)); str 221 fs/unicode/utf8-selftest.c if (utf8cursor(&u8c, data, nfdicf_test_data[i].str) < 0) str 247 fs/unicode/utf8-selftest.c const struct qstr s1 = {.name = nfdi_test_data[i].str, str 248 fs/unicode/utf8-selftest.c .len = sizeof(nfdi_test_data[i].str)}; str 257 fs/unicode/utf8-selftest.c const struct qstr s1 = {.name = nfdicf_test_data[i].str, str 258 fs/unicode/utf8-selftest.c .len = sizeof(nfdicf_test_data[i].str)}; str 2006 fs/xfs/xfs_log.c #define REG_TYPE_STR(type, str) [XLOG_REG_TYPE_##type] = str str 431 fs/xfs/xfs_super.c char *str; str 465 fs/xfs/xfs_super.c seq_puts(m, xfs_infop->str); str 469 fs/xfs/xfs_super.c seq_puts(m, xfs_infop->str); str 91 include/drm/drm_edid.h u8 str[13]; str 147 include/drm/drm_edid.h struct detailed_data_string str; str 143 include/drm/drm_fourcc.h char str[32]; str 75 include/drm/drm_print.h void (*puts)(struct drm_printer *p, const char *str); str 81 include/drm/drm_print.h void __drm_puts_coredump(struct drm_printer *p, const char *str); str 83 include/drm/drm_print.h void __drm_puts_seq_file(struct drm_printer *p, const char *str); str 89 include/drm/drm_print.h void drm_puts(struct drm_printer *p, const char *str); str 400 include/linux/acpi.h extern void acpi_osi_setup(char *str); str 192 include/linux/ceph/ceph_fs.h char str[]; str 208 include/linux/ceph/osdmap.h char *ceph_osdmap_state_str(char *str, int len, u32 state); str 17 include/linux/ceph/string_table.h char str[]; str 21 include/linux/ceph/string_table.h extern struct ceph_string *ceph_find_or_create_string(const char *str, str 25 include/linux/ceph/string_table.h static inline struct ceph_string *ceph_get_string(struct ceph_string *str) str 27 include/linux/ceph/string_table.h kref_get(&str->kref); str 28 include/linux/ceph/string_table.h return str; str 31 include/linux/ceph/string_table.h static inline void ceph_put_string(struct ceph_string *str) str 33 include/linux/ceph/string_table.h if (!str) str 35 include/linux/ceph/string_table.h kref_put(&str->kref, ceph_release_string); str 39 include/linux/ceph/string_table.h const char* str, size_t len) str 46 include/linux/ceph/string_table.h return strncmp(cs->str, str, len); str 747 include/linux/device.h char *str; str 252 include/linux/dma-fence.h void (*fence_value_str)(struct dma_fence *fence, char *str, int size); str 263 include/linux/dma-fence.h char *str, int size); str 108 include/linux/dmi.h extern int dmi_name_in_vendors(const char *str); str 109 include/linux/dmi.h extern int dmi_name_in_serial(const char *str); str 113 include/linux/dmi.h extern bool dmi_match(enum dmi_field f, const char *str); str 140 include/linux/dmi.h static inline bool dmi_match(enum dmi_field f, const char *str) str 1571 include/linux/efi.h void efi_printk(efi_system_table_t *sys_table_arg, char *str); str 45 include/linux/fault-inject.h int setup_fault_attr(struct fault_attr *attr, char *str); str 2980 include/linux/fs.h #define __fid_stringify(dummy, str) #str, str 8 include/linux/glob.h bool __pure glob_match(char const *pat, char const *str); str 165 include/linux/hp_sdc.h #define HP_SDC_XTD_REV_STRINGS(val, str) \ str 167 include/linux/hp_sdc.h case 0x1: str = "1820-3712"; break; \ str 168 include/linux/hp_sdc.h case 0x2: str = "1820-4379"; break; \ str 169 include/linux/hp_sdc.h case 0x3: str = "1820-4784"; break; \ str 170 include/linux/hp_sdc.h default: str = "unknown"; \ str 360 include/linux/hwmon.h u32 attr, int channel, const char **str); str 61 include/linux/i8042.h int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, str 63 include/linux/i8042.h int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str, str 81 include/linux/i8042.h static inline int i8042_install_filter(bool (*filter)(unsigned char data, unsigned char str, str 87 include/linux/i8042.h static inline int i8042_remove_filter(bool (*filter)(unsigned char data, unsigned char str, str 727 include/linux/iio/iio.h int iio_str_to_fixpoint(const char *str, int fract_mult, int *integer, str 52 include/linux/inet.h extern __be32 in_aton(const char *str); str 242 include/linux/init.h const char *str; str 253 include/linux/init.h #define __setup_param(str, unique_id, fn, early) \ str 255 include/linux/init.h __aligned(1) = str; \ str 261 include/linux/init.h #define __setup(str, fn) \ str 262 include/linux/init.h __setup_param(str, fn, fn, 0) str 268 include/linux/init.h #define early_param(str, fn) \ str 269 include/linux/init.h __setup_param(str, fn, fn, 1) str 296 include/linux/init.h #define __setup_param(str, unique_id, fn) /* nothing */ str 297 include/linux/init.h #define __setup(str, func) /* nothing */ str 655 include/linux/irq.h extern int noirqdebug_setup(char *str); str 10 include/linux/kbuild.h #define OFFSET(sym, str, mem) \ str 11 include/linux/kbuild.h DEFINE(sym, offsetof(struct str, mem)) str 11 include/linux/kdebug.h const char *str; str 20 include/linux/kdebug.h int notify_die(enum die_val val, const char *str, str 498 include/linux/kernel.h extern int get_option(char **str, int *pint); str 499 include/linux/kernel.h extern char *get_options(const char *str, int nints, int *ints); str 501 include/linux/kernel.h extern bool parse_option_str(const char *str, const char *option); str 766 include/linux/kernel.h #define trace_puts(str) ({ \ str 769 include/linux/kernel.h __builtin_constant_p(str) ? str : NULL; \ str 771 include/linux/kernel.h if (__builtin_constant_p(str)) \ str 774 include/linux/kernel.h __trace_puts(_THIS_IP_, str, strlen(str)); \ str 776 include/linux/kernel.h extern int __trace_bputs(unsigned long ip, const char *str); str 777 include/linux/kernel.h extern int __trace_puts(unsigned long ip, const char *str, int size); str 170 include/linux/mempolicy.h extern int mpol_parse_str(char *str, struct mempolicy **mpol); str 296 include/linux/mempolicy.h static inline int mpol_parse_str(char *str, struct mempolicy **mpol) str 2097 include/linux/mm.h extern void mem_init_print_info(const char *str); str 78 include/linux/moduleparam.h const struct kparam_string *str; str 289 include/linux/moduleparam.h .str = &__param_string_##name, perm, -1, 0);\ str 126 include/linux/mtd/nand.h #define NAND_ECCREQ(str, stp) { .strength = (str), .step_size = (stp) } str 302 include/linux/netdevice.h int __init netdev_boot_setup(char *str); str 101 include/linux/netfilter/ipset/ip_set.h char str[0]; str 541 include/linux/netfilter/ipset/ip_set.h set->ext_size -= sizeof(*c) + strlen(c->str) + 1; str 552 include/linux/netfilter/ipset/ip_set.h strlcpy(c->str, ext->comment, len + 1); str 553 include/linux/netfilter/ipset/ip_set.h set->ext_size += sizeof(*c) + strlen(c->str) + 1; str 565 include/linux/netfilter/ipset/ip_set.h return nla_put_string(skb, IPSET_ATTR_COMMENT, c->str); str 581 include/linux/netfilter/ipset/ip_set.h set->ext_size -= sizeof(*c) + strlen(c->str) + 1; str 38 include/linux/of_device.h extern ssize_t of_device_modalias(struct device *dev, char *str, ssize_t len); str 78 include/linux/of_device.h char *str, ssize_t len) str 152 include/linux/oprofile.h ssize_t oprofilefs_str_to_user(char const * str, char __user * buf, size_t count, loff_t * offset); str 82 include/linux/parport_pc.h static inline void dump_parport_state (char *str, struct parport *p) str 92 include/linux/parport_pc.h printk (KERN_DEBUG "*** parport state (%s): ecr=[%s", str, ecr_modes[(ecr & 0xe0) >> 5]); str 34 include/linux/parser.h bool match_wildcard(const char *pattern, const char *str); str 967 include/linux/pci.h char *pcibios_setup(char *str); str 46 include/linux/profile.h int profile_setup(char *str); str 242 include/linux/property.h const char * const *str; str 249 include/linux/property.h const char *str; str 284 include/linux/property.h { .pointer = { .str = _val_ } }, \ str 309 include/linux/property.h { .value = { .str = _val_ } }, \ str 118 include/linux/pstore_ram.h char *str, size_t len); str 21 include/linux/ras.h int __init parse_cec_param(char *str); str 1989 include/linux/sched.h char *sched_trace_cfs_rq_path(struct cfs_rq *cfs_rq, char *str, int len); str 223 include/linux/security.h #define __data_id_stringify(dummy, str) #str, str 122 include/linux/seq_buf.h extern int seq_buf_puts(struct seq_buf *s, const char *str); str 75 include/linux/string.h static inline __must_check char *strstrip(char *str) str 77 include/linux/string.h return strim(str); str 188 include/linux/string.h extern char **argv_split(gfp_t gfp, const char *str, int *argcp); str 224 include/linux/string.h static inline bool strstarts(const char *str, const char *prefix) str 226 include/linux/string.h return strncmp(str, prefix, strlen(prefix)) == 0; str 500 include/linux/string.h static __always_inline size_t str_has_prefix(const char *str, const char *prefix) str 503 include/linux/string.h return strncmp(str, prefix, len) == 0 ? len : 0; str 236 include/linux/sunrpc/cache.h extern void qword_add(char **bpp, int *lp, char *str); str 287 include/linux/sunrpc/xdr.h ssize_t xdr_stream_decode_string(struct xdr_stream *xdr, char *str, str 289 include/linux/sunrpc/xdr.h ssize_t xdr_stream_decode_string_dup(struct xdr_stream *xdr, char **str, str 85 include/linux/tnum.h int tnum_strn(char *str, size_t size, struct tnum a); str 87 include/linux/tnum.h int tnum_sbin(char *str, size_t size, struct tnum a); str 85 include/linux/trace_seq.h extern void trace_seq_puts(struct trace_seq *s, const char *str); str 119 include/linux/trace_seq.h static inline void trace_seq_puts(struct trace_seq *s, const char *str) str 360 include/linux/tracepoint.h #define tracepoint_string(str) \ str 362 include/linux/tracepoint.h static const char *___tp_str __tracepoint_string = str; \ str 372 include/linux/tracepoint.h # define tracepoint_string(str) str str 13 include/linux/unicode.h int utf8_validate(const struct unicode_map *um, const struct qstr *str); str 24 include/linux/unicode.h int utf8_normalize(const struct unicode_map *um, const struct qstr *str, str 27 include/linux/unicode.h int utf8_casefold(const struct unicode_map *um, const struct qstr *str, str 95 include/linux/usb/ch9.h extern const char *usb_decode_ctrl(char *str, size_t size, __u8 bRequestType, str 518 include/linux/usb/composite.h struct usb_string *str); str 129 include/net/bond_options.h #define bond_opt_initstr(optval, str) __bond_opt_init(optval, str, ULLONG_MAX) str 396 include/net/cfg802154.h struct wpan_phy *wpan_phy_find(const char *str); str 446 include/net/netlink.h int nla_strcmp(const struct nlattr *nla, const char *str); str 1410 include/net/netlink.h const char *str) str 1412 include/net/netlink.h return nla_put(skb, attrtype, strlen(str) + 1, str); str 87 include/pcmcia/cistpl.h char str[254]; str 128 include/pcmcia/cistpl.h char str[254]; str 506 include/pcmcia/cistpl.h char str[244]; str 2288 include/rdma/ib_verbs.h void (*get_dev_fw_str)(struct ib_device *device, char *str); str 2732 include/rdma/ib_verbs.h void ib_get_device_fw_str(struct ib_device *device, char *str); str 154 include/sound/info.h int snd_info_check_reserved_words(const char *str); str 192 include/sound/info.h static inline int snd_info_check_reserved_words(const char *str) { return 1; } str 216 include/trace/events/ufs.h TP_PROTO(const char *dev_name, const char *str, unsigned int tag, str 220 include/trace/events/ufs.h TP_ARGS(dev_name, str, tag, doorbell, transfer_len, intr, lba, opcode), str 224 include/trace/events/ufs.h __string(str, str) str 235 include/trace/events/ufs.h __assign_str(str, str); str 246 include/trace/events/ufs.h __get_str(str), __get_str(dev_name), __entry->tag, str 253 include/trace/events/ufs.h TP_PROTO(const char *dev_name, const char *str, void *hdr, void *tsf), str 255 include/trace/events/ufs.h TP_ARGS(dev_name, str, hdr, tsf), str 259 include/trace/events/ufs.h __string(str, str) str 266 include/trace/events/ufs.h __assign_str(str, str); str 273 include/trace/events/ufs.h __get_str(str), __get_str(dev_name), str 23 include/uapi/drm/armada_drm.h #define ARMADA_IOCTL(dir, name, str) \ str 24 include/uapi/drm/armada_drm.h DRM_##dir(DRM_COMMAND_BASE + DRM_ARMADA_##name, struct drm_armada_##str) str 202 include/uapi/linux/tipc_config.h char str[TIPC_MAX_LINK_NAME]; /* link name */ str 48 include/xen/arm/hypercall.h int HYPERVISOR_console_io(int cmd, int count, char *str); str 9 include/xen/hvc-console.h void xen_raw_console_write(const char *str); str 14 include/xen/hvc-console.h static inline void xen_raw_console_write(const char *str) { } str 183 include/xen/xenbus.h #define XENBUS_IS_ERR_READ(str) ({ \ str 184 include/xen/xenbus.h if (!IS_ERR(str) && strlen(str) == 0) { \ str 185 include/xen/xenbus.h kfree(str); \ str 186 include/xen/xenbus.h str = ERR_PTR(-ERANGE); \ str 188 include/xen/xenbus.h IS_ERR(str); \ str 17 init/calibrate.c static int __init lpj_setup(char *str) str 19 init/calibrate.c preset_lpj = simple_strtoul(str,NULL,0); str 39 init/do_mounts.c static int __init load_ramdisk(char *str) str 41 init/do_mounts.c rd_doload = simple_strtol(str,NULL,0) & 3; str 46 init/do_mounts.c static int __init readonly(char *str) str 48 init/do_mounts.c if (*str) str 54 init/do_mounts.c static int __init readwrite(char *str) str 56 init/do_mounts.c if (*str) str 324 init/do_mounts.c static int __init rootwait_setup(char *str) str 326 init/do_mounts.c if (*str) str 335 init/do_mounts.c static int __init root_data_setup(char *str) str 337 init/do_mounts.c root_mount_data = str; str 342 init/do_mounts.c static int __init fs_names_setup(char *str) str 344 init/do_mounts.c root_fs_names = str; str 349 init/do_mounts.c static int __init root_delay_setup(char *str) str 351 init/do_mounts.c root_delay = simple_strtoul(str, NULL, 0); str 23 init/do_mounts_initrd.c static int __init no_initrd(char *str) str 54 init/do_mounts_md.c static int __init md_setup(char *str) str 61 init/do_mounts_md.c if (*str == 'd') { str 63 init/do_mounts_md.c str++; str 65 init/do_mounts_md.c if (get_option(&str, &minor) != 2) { /* MD Number */ str 69 init/do_mounts_md.c str1 = str; str 83 init/do_mounts_md.c switch (get_option(&str, &level)) { /* RAID level */ str 86 init/do_mounts_md.c if (get_option(&str, &factor) != 2 || /* Chunk Size */ str 87 init/do_mounts_md.c get_option(&str, &fault) != 2) { str 101 init/do_mounts_md.c str = str1; str 109 init/do_mounts_md.c minor, pername, str); str 110 init/do_mounts_md.c md_setup_args[ent].device_names = str; str 245 init/do_mounts_md.c static int __init raid_setup(char *str) str 249 init/do_mounts_md.c len = strlen(str) + 1; str 253 init/do_mounts_md.c char *comma = strchr(str+pos, ','); str 256 init/do_mounts_md.c wlen = (comma-str)-pos; str 259 init/do_mounts_md.c if (!strncmp(str, "noautodetect", wlen)) str 261 init/do_mounts_md.c if (!strncmp(str, "autodetect", wlen)) str 263 init/do_mounts_md.c if (strncmp(str, "partitionable", wlen)==0) str 265 init/do_mounts_md.c if (strncmp(str, "part", wlen)==0) str 20 init/do_mounts_rd.c static int __init prompt_ramdisk(char *str) str 22 init/do_mounts_rd.c rd_prompt = simple_strtol(str,NULL,0) & 1; str 29 init/do_mounts_rd.c static int __init ramdisk_start_setup(char *str) str 31 init/do_mounts_rd.c rd_image_start = simple_strtol(str,NULL,0); str 507 init/initramfs.c static int __init retain_initrd_param(char *str) str 509 init/initramfs.c if (*str) str 164 init/main.c static int __init set_reset_devices(char *str) str 185 init/main.c int n = strlen(p->str); str 186 init/main.c if (parameqn(line, p->str, n)) { str 196 init/main.c p->str); str 214 init/main.c static int __init debug_kernel(char *str) str 220 init/main.c static int __init quiet_kernel(char *str) str 229 init/main.c static int __init loglevel(char *str) str 238 init/main.c if (get_option(&str, &newlevel)) { str 334 init/main.c static int __init init_setup(char *str) str 338 init/main.c execute_command = str; str 351 init/main.c static int __init rdinit_setup(char *str) str 355 init/main.c ramdisk_execute_command = str; str 461 init/main.c if ((p->early && parameq(param, p->str)) || str 463 init/main.c strcmp(p->str, "earlycon") == 0) str 808 init/main.c static int __init initcall_blacklist(char *str) str 815 init/main.c str_entry = strsep(&str, ","); str 864 init/main.c static int __init initcall_blacklist(char *str) str 1072 init/main.c static int __init set_debug_rodata(char *str) str 1074 init/main.c return strtobool(str, &rodata_enabled); str 245 ipc/ipc_sysctl.c static int __init ipc_mni_extend(char *str) str 1334 kernel/audit.c char *str = data; str 1345 kernel/audit.c str[data_len - 1] = '\0'; str 1348 kernel/audit.c str); str 1351 kernel/audit.c if (data_len > 0 && str[data_len - 1] == '\0') str 1353 kernel/audit.c audit_log_n_untrustedstring(ab, str, data_len); str 1623 kernel/audit.c static int __init audit_enable(char *str) str 1625 kernel/audit.c if (!strcasecmp(str, "off") || !strcmp(str, "0")) str 1627 kernel/audit.c else if (!strcasecmp(str, "on") || !strcmp(str, "1")) str 1630 kernel/audit.c pr_err("audit: invalid 'audit' parameter value (%s)\n", str); str 1649 kernel/audit.c static int __init audit_backlog_limit_set(char *str) str 1654 kernel/audit.c if (kstrtouint(str, 0, &audit_backlog_limit_arg)) { str 1656 kernel/audit.c audit_backlog_limit, str); str 313 kernel/audit.h #define audit_make_tree(rule, str, op) -EINVAL str 127 kernel/auditfilter.c char *str; str 138 kernel/auditfilter.c str = kmalloc(len + 1, GFP_KERNEL); str 139 kernel/auditfilter.c if (unlikely(!str)) str 142 kernel/auditfilter.c memcpy(str, *bufp, len); str 143 kernel/auditfilter.c str[len] = 0; str 147 kernel/auditfilter.c return str; str 449 kernel/auditfilter.c char *str; str 516 kernel/auditfilter.c str = audit_unpack_string(&bufp, &remain, f_val); str 517 kernel/auditfilter.c if (IS_ERR(str)) { str 518 kernel/auditfilter.c err = PTR_ERR(str); str 522 kernel/auditfilter.c f->lsm_str = str; str 523 kernel/auditfilter.c err = security_audit_rule_init(f->type, f->op, str, str 529 kernel/auditfilter.c str); str 535 kernel/auditfilter.c str = audit_unpack_string(&bufp, &remain, f_val); str 536 kernel/auditfilter.c if (IS_ERR(str)) { str 537 kernel/auditfilter.c err = PTR_ERR(str); str 540 kernel/auditfilter.c err = audit_to_watch(&entry->rule, str, f_val, f->op); str 542 kernel/auditfilter.c kfree(str); str 548 kernel/auditfilter.c str = audit_unpack_string(&bufp, &remain, f_val); str 549 kernel/auditfilter.c if (IS_ERR(str)) { str 550 kernel/auditfilter.c err = PTR_ERR(str); str 553 kernel/auditfilter.c err = audit_make_tree(&entry->rule, str, f->op); str 554 kernel/auditfilter.c kfree(str); str 568 kernel/auditfilter.c str = audit_unpack_string(&bufp, &remain, f_val); str 569 kernel/auditfilter.c if (IS_ERR(str)) { str 570 kernel/auditfilter.c err = PTR_ERR(str); str 574 kernel/auditfilter.c entry->rule.filterkey = str; str 579 kernel/auditfilter.c str = audit_unpack_string(&bufp, &remain, f_val); str 580 kernel/auditfilter.c if (IS_ERR(str)) { str 581 kernel/auditfilter.c err = PTR_ERR(str); str 584 kernel/auditfilter.c audit_mark = audit_alloc_mark(&entry->rule, str, f_val); str 586 kernel/auditfilter.c kfree(str); str 615 kernel/auditfilter.c static inline size_t audit_pack_string(void **bufp, const char *str) str 617 kernel/auditfilter.c size_t len = strlen(str); str 619 kernel/auditfilter.c memcpy(*bufp, str, len); str 372 kernel/bpf/helpers.c char str[64]; str 395 kernel/bpf/helpers.c cur_len = min(cur_len, sizeof(str) - 1); str 396 kernel/bpf/helpers.c memcpy(str, cur_buf, cur_len); str 397 kernel/bpf/helpers.c str[cur_len] = '\0'; str 398 kernel/bpf/helpers.c cur_buf = str; str 410 kernel/bpf/helpers.c consumed += cur_buf - str; str 172 kernel/bpf/tnum.c int tnum_strn(char *str, size_t size, struct tnum a) str 174 kernel/bpf/tnum.c return snprintf(str, size, "(%#llx; %#llx)", a.value, a.mask); str 178 kernel/bpf/tnum.c int tnum_sbin(char *str, size_t size, struct tnum a) str 185 kernel/bpf/tnum.c str[n - 1] = 'x'; str 187 kernel/bpf/tnum.c str[n - 1] = '1'; str 189 kernel/bpf/tnum.c str[n - 1] = '0'; str 194 kernel/bpf/tnum.c str[min(size - 1, (size_t)64)] = 0; str 32 kernel/capability.c static int __init file_caps_disable(char *str) str 1249 kernel/cgroup/cgroup-v1.c static int __init cgroup_no_v1(char *str) str 1255 kernel/cgroup/cgroup-v1.c while ((token = strsep(&str, ",")) != NULL) { str 6160 kernel/cgroup/cgroup.c static int __init cgroup_disable(char *str) str 6166 kernel/cgroup/cgroup.c while ((token = strsep(&str, ",")) != NULL) { str 6183 kernel/cgroup/cgroup.c static int __init enable_cgroup_debug(char *str) str 417 kernel/cpu.c static int __init smt_cmdline_disable(char *str) str 419 kernel/cpu.c cpu_smt_disable(str && !strcmp(str, "force")); str 99 kernel/debug/debug_core.c static int __init opt_kgdb_con(char *str) str 153 kernel/debug/debug_core.c static int __init opt_nokgdbroundup(char *str) str 1129 kernel/debug/debug_core.c static int __init opt_kgdb_wait(char *str) str 822 kernel/debug/kdb/kdb_main.c static void parse_grep(const char *str) str 825 kernel/debug/kdb/kdb_main.c char *cp = (char *)str, *cp2; str 113 kernel/debug/kdb/kdb_private.h extern char *kdb_strdup(const char *str, gfp_t type); str 307 kernel/debug/kdb/kdb_support.c char *kdb_strdup(const char *str, gfp_t type) str 309 kernel/debug/kdb/kdb_support.c int n = strlen(str)+1; str 313 kernel/debug/kdb/kdb_support.c return strcpy(s, str); str 21 kernel/delayacct.c static int __init delayacct_setup_disable(char *str) str 972 kernel/dma/debug.c static __init int dma_debug_cmdline(char *str) str 974 kernel/dma/debug.c if (!str) str 977 kernel/dma/debug.c if (strncmp(str, "off", 3) == 0) { str 985 kernel/dma/debug.c static __init int dma_debug_entries_cmdline(char *str) str 987 kernel/dma/debug.c if (!str) str 989 kernel/dma/debug.c if (!get_option(&str, &nr_prealloc_entries)) str 1644 kernel/dma/debug.c static int __init dma_debug_driver_setup(char *str) str 1648 kernel/dma/debug.c for (i = 0; i < NAME_MAX_LEN - 1; ++i, ++str) { str 1649 kernel/dma/debug.c current_driver_name[i] = *str; str 1650 kernel/dma/debug.c if (*str == 0) str 112 kernel/dma/swiotlb.c setup_io_tlb_npages(char *str) str 114 kernel/dma/swiotlb.c if (isdigit(*str)) { str 115 kernel/dma/swiotlb.c io_tlb_nslabs = simple_strtoul(str, &str, 0); str 119 kernel/dma/swiotlb.c if (*str == ',') str 120 kernel/dma/swiotlb.c ++str; str 121 kernel/dma/swiotlb.c if (!strcmp(str, "force")) { str 123 kernel/dma/swiotlb.c } else if (!strcmp(str, "noforce")) { str 286 kernel/futex.c static int __init setup_fail_futex(char *str) str 288 kernel/futex.c return setup_fault_attr(&fail_futex.attr, str); str 73 kernel/gcov/fs.c static int __init gcov_persist_setup(char *str) str 77 kernel/gcov/fs.c if (kstrtoul(str, 0, &val)) { str 78 kernel/gcov/fs.c pr_warn("invalid gcov_persist parameter '%s'\n", str); str 66 kernel/hung_task.c static int __init hung_task_panic_setup(char *str) str 68 kernel/hung_task.c int rc = kstrtouint(str, 0, &sysctl_hung_task_panic); str 28 kernel/irq/irqdesc.c static int __init irq_affinity_setup(char *str) str 31 kernel/irq/irqdesc.c cpulist_parse(str, irq_default_affinity); str 431 kernel/irq/spurious.c int noirqdebug_setup(char *str) str 443 kernel/irq/spurious.c static int __init irqfixup_setup(char *str) str 455 kernel/irq/spurious.c static int __init irqpoll_setup(char *str) str 581 kernel/locking/lockdep.c const char *__get_key_name(const struct lockdep_subclass_key *key, char *str) str 583 kernel/locking/lockdep.c return kallsyms_lookup((unsigned long)key, NULL, NULL, NULL, str); str 632 kernel/locking/lockdep.c char str[KSYM_NAME_LEN]; str 637 kernel/locking/lockdep.c name = __get_key_name(class->key, str); str 662 kernel/locking/lockdep.c char str[KSYM_NAME_LEN]; str 666 kernel/locking/lockdep.c name = __get_key_name(lock->key->subkeys, str); str 122 kernel/locking/lockdep_internals.h char *str); str 43 kernel/locking/lockdep_proc.c char str[KSYM_NAME_LEN]; str 47 kernel/locking/lockdep_proc.c name = __get_key_name(class->key, str); str 433 kernel/locking/lockdep_proc.c char str[KSYM_NAME_LEN]; str 436 kernel/locking/lockdep_proc.c key_name = __get_key_name(ckey, str); str 27 kernel/module-internal.h unsigned int sym, str, mod, vers, info, pcpu; str 2694 kernel/module.c Elf_Shdr *strsect = info->sechdrs + info->index.str; str 2728 kernel/module.c info->index.str) | INIT_OFFSET_MASK; str 2760 kernel/module.c mod->kallsyms->strtab = (void *)info->sechdrs[info->index.str].sh_addr; str 3069 kernel/module.c info->index.str = info->sechdrs[i].sh_link; str 3071 kernel/module.c + info->sechdrs[info->index.str].sh_offset; str 4036 kernel/module.c static inline int is_arm_mapping_symbol(const char *str) str 4038 kernel/module.c if (str[0] == '.' && str[1] == 'L') str 4040 kernel/module.c return str[0] == '$' && strchr("axtd", str[1]) str 4041 kernel/module.c && (str[2] == '\0' || str[2] == '.'); str 538 kernel/notifier.c int notrace notify_die(enum die_val val, const char *str, str 543 kernel/notifier.c .str = str, str 493 kernel/params.c const struct kparam_string *kps = kp->str; str 507 kernel/params.c const struct kparam_string *kps = kp->str; str 1175 kernel/power/hibernate.c static int __init resume_setup(char *str) str 1180 kernel/power/hibernate.c strncpy( resume_file, str, 255 ); str 1184 kernel/power/hibernate.c static int __init resume_offset_setup(char *str) str 1191 kernel/power/hibernate.c if (sscanf(str, "%llu", &offset) == 1) str 1197 kernel/power/hibernate.c static int __init hibernate_setup(char *str) str 1199 kernel/power/hibernate.c if (!strncmp(str, "noresume", 8)) { str 1201 kernel/power/hibernate.c } else if (!strncmp(str, "nocompress", 10)) { str 1203 kernel/power/hibernate.c } else if (!strncmp(str, "no", 2)) { str 1207 kernel/power/hibernate.c && !strncmp(str, "protect_image", 13)) { str 1213 kernel/power/hibernate.c static int __init noresume_setup(char *str) str 1219 kernel/power/hibernate.c static int __init resumewait_setup(char *str) str 1225 kernel/power/hibernate.c static int __init resumedelay_setup(char *str) str 1227 kernel/power/hibernate.c int rc = kstrtouint(str, 0, &resume_delay); str 1234 kernel/power/hibernate.c static int __init nohibernate_setup(char *str) str 184 kernel/power/suspend.c static int __init mem_sleep_default_setup(char *str) str 190 kernel/power/suspend.c !strcmp(str, mem_sleep_labels[state])) { str 42 kernel/power/wakelock.c char *str = buf; str 50 kernel/power/wakelock.c str += scnprintf(str, end - str, "%s ", wl->name); str 52 kernel/power/wakelock.c if (str > buf) str 53 kernel/power/wakelock.c str--; str 55 kernel/power/wakelock.c str += scnprintf(str, end - str, "\n"); str 58 kernel/power/wakelock.c return (str - buf); str 208 kernel/power/wakelock.c const char *str = buf; str 217 kernel/power/wakelock.c while (*str && !isspace(*str)) str 218 kernel/power/wakelock.c str++; str 220 kernel/power/wakelock.c len = str - buf; str 224 kernel/power/wakelock.c if (*str && *str != '\n') { str 226 kernel/power/wakelock.c ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); str 12 kernel/printk/braille.c int _braille_console_setup(char **str, char **brl_options) str 16 kernel/printk/braille.c len = str_has_prefix(*str, "brl,"); str 19 kernel/printk/braille.c *str += len; str 23 kernel/printk/braille.c len = str_has_prefix(*str, "brl="); str 25 kernel/printk/braille.c *brl_options = *str + len; str 26 kernel/printk/braille.c *str = strchr(*brl_options, ','); str 27 kernel/printk/braille.c if (!*str) { str 31 kernel/printk/braille.c *((*str)++) = 0; str 21 kernel/printk/braille.h _braille_console_setup(char **str, char **brl_options); str 37 kernel/printk/braille.h _braille_console_setup(char **str, char **brl_options) str 119 kernel/printk/printk.c static int __control_devkmsg(char *str) str 123 kernel/printk/printk.c if (!str) str 126 kernel/printk/printk.c len = str_has_prefix(str, "on"); str 132 kernel/printk/printk.c len = str_has_prefix(str, "off"); str 138 kernel/printk/printk.c len = str_has_prefix(str, "ratelimit"); str 147 kernel/printk/printk.c static int __init control_devkmsg(char *str) str 149 kernel/printk/printk.c if (__control_devkmsg(str) < 0) str 1113 kernel/printk/printk.c static int __init log_buf_len_setup(char *str) str 1117 kernel/printk/printk.c if (!str) str 1120 kernel/printk/printk.c size = memparse(str, &str); str 1214 kernel/printk/printk.c static int __init ignore_loglevel_setup(char *str) str 1237 kernel/printk/printk.c static int __init boot_delay_setup(char *str) str 1244 kernel/printk/printk.c get_option(&str, &boot_delay); str 2176 kernel/printk/printk.c static int __init console_msg_format_setup(char *str) str 2178 kernel/printk/printk.c if (!strcmp(str, "syslog")) str 2180 kernel/printk/printk.c if (!strcmp(str, "default")) str 2190 kernel/printk/printk.c static int __init console_setup(char *str) str 2196 kernel/printk/printk.c if (_braille_console_setup(&str, &brl_options)) str 2202 kernel/printk/printk.c if (str[0] >= '0' && str[0] <= '9') { str 2204 kernel/printk/printk.c strncpy(buf + 4, str, sizeof(buf) - 5); str 2206 kernel/printk/printk.c strncpy(buf, str, sizeof(buf) - 1); str 2209 kernel/printk/printk.c options = strchr(str, ','); str 2213 kernel/printk/printk.c if (!strcmp(str, "ttya")) str 2215 kernel/printk/printk.c if (!strcmp(str, "ttyb")) str 2251 kernel/printk/printk.c static int __init console_suspend_disable(char *str) str 2647 kernel/printk/printk.c static int __init keep_bootcon_setup(char *str) str 56 kernel/profile.c int profile_setup(char *str) str 63 kernel/profile.c if (!strncmp(str, sleepstr, strlen(sleepstr))) { str 67 kernel/profile.c if (str[strlen(sleepstr)] == ',') str 68 kernel/profile.c str += strlen(sleepstr) + 1; str 69 kernel/profile.c if (get_option(&str, &par)) str 76 kernel/profile.c } else if (!strncmp(str, schedstr, strlen(schedstr))) { str 78 kernel/profile.c if (str[strlen(schedstr)] == ',') str 79 kernel/profile.c str += strlen(schedstr) + 1; str 80 kernel/profile.c if (get_option(&str, &par)) str 84 kernel/profile.c } else if (!strncmp(str, kvmstr, strlen(kvmstr))) { str 86 kernel/profile.c if (str[strlen(kvmstr)] == ',') str 87 kernel/profile.c str += strlen(kvmstr) + 1; str 88 kernel/profile.c if (get_option(&str, &par)) str 92 kernel/profile.c } else if (get_option(&str, &par)) { str 1479 kernel/rcu/tree_plugin.h static int __init rcu_nocb_setup(char *str) str 1482 kernel/rcu/tree_plugin.h if (!strcasecmp(str, "all")) str 1485 kernel/rcu/tree_plugin.h if (cpulist_parse(str, rcu_nocb_mask)) { str 521 kernel/reboot.c static int __init reboot_setup(char *str) str 533 kernel/reboot.c if (!strncmp(str, "panic_", 6)) { str 535 kernel/reboot.c str += 6; str 540 kernel/reboot.c switch (*str) { str 557 kernel/reboot.c if (isdigit(*(str+1))) { str 558 kernel/reboot.c rc = kstrtoint(str+1, 0, &reboot_cpu); str 561 kernel/reboot.c } else if (str[1] == 'm' && str[2] == 'p' && str 562 kernel/reboot.c isdigit(*(str+3))) { str 563 kernel/reboot.c rc = kstrtoint(str+3, 0, &reboot_cpu); str 580 kernel/reboot.c reboot_type = *str; str 588 kernel/reboot.c str = strchr(str, ','); str 589 kernel/reboot.c if (str) str 590 kernel/reboot.c str++; str 1486 kernel/resource.c static int __init reserve_setup(char *str) str 1496 kernel/resource.c if (get_option(&str, &io_start) != 2) str 1498 kernel/resource.c if (get_option(&str, &io_num) == 0) str 1702 kernel/resource.c static int __init strict_iomem(char *str) str 1704 kernel/resource.c if (strstr(str, "relaxed")) str 1706 kernel/resource.c if (strstr(str, "strict")) str 198 kernel/sched/autogroup.c static int __init setup_autogroup(char *str) str 2776 kernel/sched/core.c static int __init setup_schedstats(char *str) str 2779 kernel/sched/core.c if (!str) str 2787 kernel/sched/core.c if (!strcmp(str, "enable")) { str 2790 kernel/sched/core.c } else if (!strcmp(str, "disable")) { str 10574 kernel/sched/fair.c char *sched_trace_cfs_rq_path(struct cfs_rq *cfs_rq, char *str, int len) str 10577 kernel/sched/fair.c if (str) str 10578 kernel/sched/fair.c strlcpy(str, "(null)", len); str 10583 kernel/sched/fair.c cfs_rq_tg_path(cfs_rq, str, len); str 10584 kernel/sched/fair.c return str; str 80 kernel/sched/isolation.c static int __init housekeeping_setup(char *str, enum hk_flags flags) str 87 kernel/sched/isolation.c err = cpulist_parse(str, non_housekeeping_mask); str 139 kernel/sched/isolation.c static int __init housekeeping_nohz_full_setup(char *str) str 145 kernel/sched/isolation.c return housekeeping_setup(str, flags); str 149 kernel/sched/isolation.c static int __init housekeeping_isolcpus_setup(char *str) str 153 kernel/sched/isolation.c while (isalpha(*str)) { str 154 kernel/sched/isolation.c if (!strncmp(str, "nohz,", 5)) { str 155 kernel/sched/isolation.c str += 5; str 160 kernel/sched/isolation.c if (!strncmp(str, "domain,", 7)) { str 161 kernel/sched/isolation.c str += 7; str 174 kernel/sched/isolation.c return housekeeping_setup(str, flags); str 154 kernel/sched/psi.c static int __init setup_psi(char *str) str 156 kernel/sched/psi.c return kstrtobool(str, &psi_enable) == 0; str 15 kernel/sched/topology.c static int __init sched_debug_setup(char *str) str 1187 kernel/sched/topology.c static int __init setup_relax_domain_level(char *str) str 1189 kernel/sched/topology.c if (kstrtoint(str, 0, &default_relax_domain_level)) str 1467 kernel/sched/topology.c static void sched_numa_warn(const char *str) str 1477 kernel/sched/topology.c printk(KERN_WARNING "ERROR: %s\n\n", str); str 1268 kernel/signal.c static int __init setup_print_fatal_signals(char *str) str 1270 kernel/signal.c get_option (&str, &print_fatal_signals); str 532 kernel/smp.c static int __init nosmp(char *str) str 543 kernel/smp.c static int __init nrcpus(char *str) str 547 kernel/smp.c get_option(&str, &nr_cpus); str 556 kernel/smp.c static int __init maxcpus(char *str) str 558 kernel/smp.c get_option(&str, &setup_max_cpus); str 971 kernel/sysctl_binary.c char *str, *end; str 979 kernel/sysctl_binary.c str = buffer; str 980 kernel/sysctl_binary.c end = str + result; str 985 kernel/sysctl_binary.c value = simple_strtoul(str, &str, 10); str 986 kernel/sysctl_binary.c while (isspace(*str)) str 987 kernel/sysctl_binary.c str++; str 994 kernel/sysctl_binary.c if (!isdigit(*str)) str 1002 kernel/sysctl_binary.c char *str, *end; str 1006 kernel/sysctl_binary.c str = buffer; str 1007 kernel/sysctl_binary.c end = str + BUFSZ; str 1015 kernel/sysctl_binary.c str += scnprintf(str, end - str, "%lu\t", value); str 1018 kernel/sysctl_binary.c result = kernel_write(file, buffer, str - buffer, &pos); str 1044 kernel/sysctl_binary.c char *str, *end; str 1052 kernel/sysctl_binary.c str = buffer; str 1053 kernel/sysctl_binary.c end = str + result; str 1058 kernel/sysctl_binary.c value = simple_strtoul(str, &str, 10); str 1059 kernel/sysctl_binary.c while (isspace(*str)) str 1060 kernel/sysctl_binary.c str++; str 1067 kernel/sysctl_binary.c if (!isdigit(*str)) str 1075 kernel/sysctl_binary.c char *str, *end; str 1079 kernel/sysctl_binary.c str = buffer; str 1080 kernel/sysctl_binary.c end = str + BUFSZ; str 1088 kernel/sysctl_binary.c str += scnprintf(str, end - str, "%lu\t", value); str 1091 kernel/sysctl_binary.c result = kernel_write(file, buffer, str - buffer, &pos); str 1209 kernel/time/clocksource.c static int __init boot_override_clocksource(char* str) str 1212 kernel/time/clocksource.c if (str) str 1213 kernel/time/clocksource.c strlcpy(override_name, str, sizeof(override_name)); str 1227 kernel/time/clocksource.c static int __init boot_override_clock(char* str) str 1229 kernel/time/clocksource.c if (!strcmp(str, "pmtmr")) { str 1234 kernel/time/clocksource.c return boot_override_clocksource(str); str 691 kernel/time/hrtimer.c static int __init setup_hrtimer_hres(char *str) str 693 kernel/time/hrtimer.c return (kstrtobool(str, &hrtimer_hres_enabled) == 0); str 1032 kernel/time/ntp.c static int __init ntp_tick_adj_setup(char *str) str 1034 kernel/time/ntp.c int rc = kstrtos64(str, 0, &ntp_tick_adj); str 471 kernel/time/tick-sched.c static int __init setup_tick_nohz(char *str) str 473 kernel/time/tick-sched.c return (kstrtobool(str, &tick_nohz_enabled) == 0); str 1318 kernel/time/tick-sched.c static int __init skew_tick(char *str) str 1320 kernel/time/tick-sched.c get_option(&str, &sched_skew_tick); str 1713 kernel/trace/blktrace.c const char *str; str 1733 kernel/trace/blktrace.c static int blk_trace_str2mask(const char *str) str 1739 kernel/trace/blktrace.c buf = kstrdup(str, GFP_KERNEL); str 1753 kernel/trace/blktrace.c if (strcasecmp(token, mask_maps[i].str) == 0) { str 1776 kernel/trace/blktrace.c (p == buf) ? "" : ",", mask_maps[i].str); str 511 kernel/trace/ftrace.c char str[KSYM_SYMBOL_LEN]; str 532 kernel/trace/ftrace.c kallsyms_lookup(rec->ip, NULL, NULL, NULL, str); str 533 kernel/trace/ftrace.c seq_printf(m, " %-30.30s %10lu", str, rec->counter); str 3671 kernel/trace/ftrace.c char * __weak arch_ftrace_match_adjust(char *str, const char *search) str 3673 kernel/trace/ftrace.c return str; str 3676 kernel/trace/ftrace.c static int ftrace_match(char *str, struct ftrace_glob *g) str 3681 kernel/trace/ftrace.c str = arch_ftrace_match_adjust(str, g->search); str 3685 kernel/trace/ftrace.c if (strcmp(str, g->search) == 0) str 3689 kernel/trace/ftrace.c if (strncmp(str, g->search, g->len) == 0) str 3693 kernel/trace/ftrace.c if (strstr(str, g->search)) str 3697 kernel/trace/ftrace.c slen = strlen(str); str 3699 kernel/trace/ftrace.c memcmp(str + slen - g->len, g->search, g->len) == 0) str 3703 kernel/trace/ftrace.c if (glob_match(g->search, str)) str 3763 kernel/trace/ftrace.c char str[KSYM_SYMBOL_LEN]; str 3766 kernel/trace/ftrace.c kallsyms_lookup(rec->ip, NULL, NULL, &modname, str); str 3794 kernel/trace/ftrace.c return ftrace_match(str, func_g); str 4465 kernel/trace/ftrace.c char str[KSYM_SYMBOL_LEN]; str 4526 kernel/trace/ftrace.c NULL, str); str 4527 kernel/trace/ftrace.c if (!ftrace_match(str, &func_g)) str 4922 kernel/trace/ftrace.c static int __init set_ftrace_notrace(char *str) str 4925 kernel/trace/ftrace.c strlcpy(ftrace_notrace_buf, str, FTRACE_FILTER_SIZE); str 4930 kernel/trace/ftrace.c static int __init set_ftrace_filter(char *str) str 4933 kernel/trace/ftrace.c strlcpy(ftrace_filter_buf, str, FTRACE_FILTER_SIZE); str 4943 kernel/trace/ftrace.c static int __init set_graph_function(char *str) str 4945 kernel/trace/ftrace.c strlcpy(ftrace_graph_buf, str, FTRACE_FILTER_SIZE); str 4950 kernel/trace/ftrace.c static int __init set_graph_notrace_function(char *str) str 4952 kernel/trace/ftrace.c strlcpy(ftrace_graph_notrace_buf, str, FTRACE_FILTER_SIZE); str 4957 kernel/trace/ftrace.c static int __init set_graph_max_depth_function(char *str) str 4959 kernel/trace/ftrace.c if (!str) str 4961 kernel/trace/ftrace.c fgraph_max_depth = simple_strtoul(str, NULL, 0); str 5918 kernel/trace/ftrace.c char str[KSYM_SYMBOL_LEN]; str 5922 kernel/trace/ftrace.c ret = kallsyms_lookup(rec->ip, &symsize, &offset, &modname, str); str 5930 kernel/trace/ftrace.c mod_func->name = kstrdup(str, GFP_KERNEL); str 4957 kernel/trace/ring_buffer.c char str[]; str 5001 kernel/trace/ring_buffer.c memcpy(item->str, rb_string, size); str 5186 kernel/trace/ring_buffer.c if (memcmp(&item->str[0], rb_string, item->size) != 0) { str 5188 kernel/trace/ring_buffer.c pr_info("buffer had: %.*s\n", item->size, item->str); str 172 kernel/trace/trace.c static int __init set_cmdline_ftrace(char *str) str 174 kernel/trace/trace.c strlcpy(bootup_tracer_buf, str, MAX_TRACER_SIZE); str 182 kernel/trace/trace.c static int __init set_ftrace_dump_on_oops(char *str) str 184 kernel/trace/trace.c if (*str++ != '=' || !*str) { str 189 kernel/trace/trace.c if (!strcmp("orig_cpu", str)) { str 198 kernel/trace/trace.c static int __init stop_trace_on_warning(char *str) str 200 kernel/trace/trace.c if ((strcmp(str, "=0") != 0 && strcmp(str, "=off") != 0)) str 206 kernel/trace/trace.c static int __init boot_alloc_snapshot(char *str) str 218 kernel/trace/trace.c static int __init set_trace_boot_options(char *str) str 220 kernel/trace/trace.c strlcpy(trace_boot_options_buf, str, MAX_TRACER_SIZE); str 228 kernel/trace/trace.c static int __init set_trace_boot_clock(char *str) str 230 kernel/trace/trace.c strlcpy(trace_boot_clock_buf, str, MAX_TRACER_SIZE); str 236 kernel/trace/trace.c static int __init set_tracepoint_printk(char *str) str 238 kernel/trace/trace.c if ((strcmp(str, "=0") != 0 && strcmp(str, "=off") != 0)) str 833 kernel/trace/trace.c int __trace_puts(unsigned long ip, const char *str, int size) str 862 kernel/trace/trace.c memcpy(&entry->buf, str, size); str 883 kernel/trace/trace.c int __trace_bputs(unsigned long ip, const char *str) str 909 kernel/trace/trace.c entry->str = str; str 1296 kernel/trace/trace.c static int __init set_buf_size(char *str) str 1300 kernel/trace/trace.c if (!str) str 1302 kernel/trace/trace.c buf_size = memparse(str, &str); str 1311 kernel/trace/trace.c static int __init set_tracing_thresh(char *str) str 1316 kernel/trace/trace.c if (!str) str 1318 kernel/trace/trace.c ret = kstrtoul(str, 0, &threshold); str 7012 kernel/trace/trace.c unsigned int err_pos(char *cmd, const char *str) str 7019 kernel/trace/trace.c found = strstr(cmd, str); str 1519 kernel/trace/trace.h typedef int (*regex_match_func)(char *str, struct regex *r, int len); str 1904 kernel/trace/trace.h extern unsigned int err_pos(char *cmd, const char *str); str 1918 kernel/trace/trace.h #define internal_trace_puts(str) __trace_puts(_THIS_IP_, str, strlen(str)) str 17 kernel/trace/trace_benchmark.h TP_PROTO(const char *str), str 19 kernel/trace/trace_benchmark.h TP_ARGS(str), str 22 kernel/trace/trace_benchmark.h __array( char, str, BENCHMARK_EVENT_STRLEN ) str 26 kernel/trace/trace_benchmark.h memcpy(__entry->str, str, BENCHMARK_EVENT_STRLEN); str 29 kernel/trace/trace_benchmark.h TP_printk("%s", __entry->str), str 268 kernel/trace/trace_entries.h __field( const char *, str ) str 272 kernel/trace/trace_entries.h (void *)__entry->ip, __entry->str), str 2897 kernel/trace/trace_events.c static __init int setup_trace_event(char *str) str 2899 kernel/trace/trace_events.c strlcpy(bootup_event_buf, str, COMMAND_LINE_SIZE); str 83 kernel/trace/trace_events_filter.c static bool is_not(const char *str) str 85 kernel/trace/trace_events_filter.c switch (str[1]) { str 139 kernel/trace/trace_events_filter.c typedef int (*parse_pred_fn)(const char *str, void *data, int pos, str 410 kernel/trace/trace_events_filter.c predicate_parse(const char *str, int nr_parens, int nr_preds, str 416 kernel/trace/trace_events_filter.c const char *ptr = str; str 469 kernel/trace/trace_events_filter.c parse_error(pe, FILT_ERR_TOO_MANY_PREDS, next - str); str 476 kernel/trace/trace_events_filter.c len = parse_pred(next, data, ptr - str, pe, &prog[N].pred); str 505 kernel/trace/trace_events_filter.c next - str); str 533 kernel/trace/trace_events_filter.c parse_error(pe, FILT_ERR_TOO_MANY_CLOSE, ptr - str); str 542 kernel/trace/trace_events_filter.c parse_error(pe, FILT_ERR_TOO_MANY_OPEN, ptr - str); str 549 kernel/trace/trace_events_filter.c parse_error(pe, FILT_ERR_NO_FILTER, ptr - str); str 762 kernel/trace/trace_events_filter.c static int regex_match_full(char *str, struct regex *r, int len) str 766 kernel/trace/trace_events_filter.c return strcmp(str, r->pattern) == 0; str 768 kernel/trace/trace_events_filter.c return strncmp(str, r->pattern, len) == 0; str 771 kernel/trace/trace_events_filter.c static int regex_match_front(char *str, struct regex *r, int len) str 776 kernel/trace/trace_events_filter.c return strncmp(str, r->pattern, r->len) == 0; str 779 kernel/trace/trace_events_filter.c static int regex_match_middle(char *str, struct regex *r, int len) str 782 kernel/trace/trace_events_filter.c return strstr(str, r->pattern) != NULL; str 784 kernel/trace/trace_events_filter.c return strnstr(str, r->pattern, len) != NULL; str 787 kernel/trace/trace_events_filter.c static int regex_match_end(char *str, struct regex *r, int len) str 792 kernel/trace/trace_events_filter.c memcmp(str + strlen - r->len, r->pattern, r->len) == 0) str 797 kernel/trace/trace_events_filter.c static int regex_match_glob(char *str, struct regex *r, int len __maybe_unused) str 799 kernel/trace/trace_events_filter.c if (glob_match(r->pattern, str)) str 1152 kernel/trace/trace_events_filter.c static int parse_pred(const char *str, void *data, str 1170 kernel/trace/trace_events_filter.c while (isspace(str[i])) str 1174 kernel/trace/trace_events_filter.c while (isalnum(str[i]) || str[i] == '_') str 1182 kernel/trace/trace_events_filter.c field_name = kmemdup_nul(str + s, len, GFP_KERNEL); str 1195 kernel/trace/trace_events_filter.c while (isspace(str[i])) str 1201 kernel/trace/trace_events_filter.c if (strncmp(str + i, ops[op], strlen(ops[op])) == 0) str 1212 kernel/trace/trace_events_filter.c while (isspace(str[i])) str 1243 kernel/trace/trace_events_filter.c if (str[i] == '\'' || str[i] == '"') str 1244 kernel/trace/trace_events_filter.c q = str[i]; str 1248 kernel/trace/trace_events_filter.c for (i++; str[i]; i++) { str 1249 kernel/trace/trace_events_filter.c if (q && str[i] == q) str 1251 kernel/trace/trace_events_filter.c if (!q && (str[i] == ')' || str[i] == '&' || str 1252 kernel/trace/trace_events_filter.c str[i] == '|')) str 1265 kernel/trace/trace_events_filter.c strncpy(pred->regex.pattern, str + s, len); str 1269 kernel/trace/trace_events_filter.c } else if (str[i] == '\'' || str[i] == '"') { str 1270 kernel/trace/trace_events_filter.c char q = str[i]; str 1291 kernel/trace/trace_events_filter.c for (i++; str[i]; i++) { str 1292 kernel/trace/trace_events_filter.c if (str[i] == q) str 1295 kernel/trace/trace_events_filter.c if (!str[i]) { str 1309 kernel/trace/trace_events_filter.c strncpy(pred->regex.pattern, str + s, len); str 1328 kernel/trace/trace_events_filter.c } else if (isdigit(str[i]) || str[i] == '-') { str 1341 kernel/trace/trace_events_filter.c if (str[i] == '-') str 1345 kernel/trace/trace_events_filter.c while (isalnum(str[i])) str 1355 kernel/trace/trace_events_filter.c strncpy(num_buf, str + s, len); str 1408 kernel/trace/trace_events_filter.c static int calc_stack(const char *str, int *parens, int *preds, int *err) str 1420 kernel/trace/trace_events_filter.c for (i = 0; str[i]; i++) { str 1421 kernel/trace/trace_events_filter.c if (isspace(str[i])) str 1424 kernel/trace/trace_events_filter.c if (str[i] == quote) str 1429 kernel/trace/trace_events_filter.c switch (str[i]) { str 1432 kernel/trace/trace_events_filter.c quote = str[i]; str 1437 kernel/trace/trace_events_filter.c if (str[i+1] != str[i]) str 1473 kernel/trace/trace_events_filter.c if (str[i] == quote) str 1477 kernel/trace/trace_events_filter.c switch (str[i]) { str 1490 kernel/trace/trace_events_filter.c quote = str[i]; str 1911 kernel/trace/trace_events_filter.c char *str, **re; str 1913 kernel/trace/trace_events_filter.c str = kstrndup(buf, len, GFP_KERNEL); str 1914 kernel/trace/trace_events_filter.c if (!str) str 1921 kernel/trace/trace_events_filter.c strreplace(str, ',', ' '); str 1923 kernel/trace/trace_events_filter.c re = argv_split(GFP_KERNEL, str, count); str 1924 kernel/trace/trace_events_filter.c kfree(str); str 599 kernel/trace/trace_events_hist.c static int errpos(char *str) str 601 kernel/trace/trace_events_hist.c return err_pos(last_cmd, str); str 604 kernel/trace/trace_events_hist.c static void last_cmd_set(struct trace_event_file *file, char *str) str 609 kernel/trace/trace_events_hist.c if (!str) str 612 kernel/trace/trace_events_hist.c strncpy(last_cmd, str, MAX_FILTER_STR_VAL - 1); str 2061 kernel/trace/trace_events_hist.c static int parse_map_size(char *str) str 2066 kernel/trace/trace_events_hist.c ret = kstrtoul(str, 0, &size); str 2101 kernel/trace/trace_events_hist.c static int parse_action(char *str, struct hist_trigger_attrs *attrs) str 2108 kernel/trace/trace_events_hist.c if ((str_has_prefix(str, "onmatch(")) || str 2109 kernel/trace/trace_events_hist.c (str_has_prefix(str, "onmax(")) || str 2110 kernel/trace/trace_events_hist.c (str_has_prefix(str, "onchange("))) { str 2111 kernel/trace/trace_events_hist.c attrs->action_str[attrs->n_actions] = kstrdup(str, GFP_KERNEL); str 2123 kernel/trace/trace_events_hist.c char *str, struct hist_trigger_attrs *attrs) str 2127 kernel/trace/trace_events_hist.c if ((len = str_has_prefix(str, "key=")) || str 2128 kernel/trace/trace_events_hist.c (len = str_has_prefix(str, "keys="))) { str 2129 kernel/trace/trace_events_hist.c attrs->keys_str = kstrdup(str + len, GFP_KERNEL); str 2134 kernel/trace/trace_events_hist.c } else if ((len = str_has_prefix(str, "val=")) || str 2135 kernel/trace/trace_events_hist.c (len = str_has_prefix(str, "vals=")) || str 2136 kernel/trace/trace_events_hist.c (len = str_has_prefix(str, "values="))) { str 2137 kernel/trace/trace_events_hist.c attrs->vals_str = kstrdup(str + len, GFP_KERNEL); str 2142 kernel/trace/trace_events_hist.c } else if ((len = str_has_prefix(str, "sort="))) { str 2143 kernel/trace/trace_events_hist.c attrs->sort_key_str = kstrdup(str + len, GFP_KERNEL); str 2148 kernel/trace/trace_events_hist.c } else if (str_has_prefix(str, "name=")) { str 2149 kernel/trace/trace_events_hist.c attrs->name = kstrdup(str, GFP_KERNEL); str 2154 kernel/trace/trace_events_hist.c } else if ((len = str_has_prefix(str, "clock="))) { str 2155 kernel/trace/trace_events_hist.c str += len; str 2157 kernel/trace/trace_events_hist.c str = strstrip(str); str 2158 kernel/trace/trace_events_hist.c attrs->clock = kstrdup(str, GFP_KERNEL); str 2163 kernel/trace/trace_events_hist.c } else if ((len = str_has_prefix(str, "size="))) { str 2164 kernel/trace/trace_events_hist.c int map_bits = parse_map_size(str + len); str 2175 kernel/trace/trace_events_hist.c hist_err(tr, HIST_ERR_TOO_MANY_VARS, errpos(str)); str 2180 kernel/trace/trace_events_hist.c assignment = kstrdup(str, GFP_KERNEL); str 2203 kernel/trace/trace_events_hist.c char *str = strsep(&trigger_str, ":"); str 2206 kernel/trace/trace_events_hist.c rhs = strchr(str, '='); str 2212 kernel/trace/trace_events_hist.c ret = parse_assignment(tr, str, attrs); str 2215 kernel/trace/trace_events_hist.c } else if (strcmp(str, "pause") == 0) str 2217 kernel/trace/trace_events_hist.c else if ((strcmp(str, "cont") == 0) || str 2218 kernel/trace/trace_events_hist.c (strcmp(str, "continue") == 0)) str 2220 kernel/trace/trace_events_hist.c else if (strcmp(str, "clear") == 0) str 2223 kernel/trace/trace_events_hist.c ret = parse_action(str, attrs); str 2429 kernel/trace/trace_events_hist.c static int contains_operator(char *str) str 2434 kernel/trace/trace_events_hist.c op = strpbrk(str, "+-"); str 2440 kernel/trace/trace_events_hist.c if (*str == '-') str 2831 kernel/trace/trace_events_hist.c char *field_name, *modifier, *str; str 2834 kernel/trace/trace_events_hist.c modifier = str = kstrdup(field_str, GFP_KERNEL); str 2878 kernel/trace/trace_events_hist.c kfree(str); str 2908 kernel/trace/trace_events_hist.c struct trace_event_file *file, char *str, str 2911 kernel/trace/trace_events_hist.c char *s, *ref_system = NULL, *ref_event = NULL, *ref_var = str; str 2916 kernel/trace/trace_events_hist.c s = strchr(str, '.'); str 2920 kernel/trace/trace_events_hist.c ref_system = strsep(&str, "."); str 2921 kernel/trace/trace_events_hist.c if (!str) { str 2925 kernel/trace/trace_events_hist.c ref_event = strsep(&str, "."); str 2926 kernel/trace/trace_events_hist.c if (!str) { str 2930 kernel/trace/trace_events_hist.c ref_var = str; str 2949 kernel/trace/trace_events_hist.c str = s; str 2951 kernel/trace/trace_events_hist.c field = parse_field(hist_data, file, str, flags); str 2970 kernel/trace/trace_events_hist.c char *str, unsigned long flags, str 2975 kernel/trace/trace_events_hist.c char *str, unsigned long flags, str 2986 kernel/trace/trace_events_hist.c hist_err(file->tr, HIST_ERR_TOO_MANY_SUBEXPR, errpos(str)); str 2991 kernel/trace/trace_events_hist.c str++; /* skip leading '-' */ str 2993 kernel/trace/trace_events_hist.c s = strchr(str, '('); str 2995 kernel/trace/trace_events_hist.c str++; str 3001 kernel/trace/trace_events_hist.c s = strrchr(str, ')'); str 3017 kernel/trace/trace_events_hist.c operand1 = parse_expr(hist_data, file, str, operand_flags, NULL, ++level); str 3079 kernel/trace/trace_events_hist.c char *str, unsigned long flags, str 3088 kernel/trace/trace_events_hist.c hist_err(file->tr, HIST_ERR_TOO_MANY_SUBEXPR, errpos(str)); str 3092 kernel/trace/trace_events_hist.c field_op = contains_operator(str); str 3095 kernel/trace/trace_events_hist.c return parse_atom(hist_data, file, str, &flags, var_name); str 3098 kernel/trace/trace_events_hist.c return parse_unary(hist_data, file, str, flags, var_name, ++level); str 3111 kernel/trace/trace_events_hist.c operand1_str = strsep(&str, sep); str 3112 kernel/trace/trace_events_hist.c if (!operand1_str || !str) str 3126 kernel/trace/trace_events_hist.c operand2 = parse_expr(hist_data, file, str, operand_flags, NULL, ++level); str 3481 kernel/trace/trace_events_hist.c char *str = elt_data->field_var_str[j++]; str 3484 kernel/trace/trace_events_hist.c strscpy(str, val_str, STR_VAR_LEN_MAX); str 3485 kernel/trace/trace_events_hist.c var_val = (u64)(uintptr_t)str; str 4000 kernel/trace/trace_events_hist.c static int action_parse(struct trace_array *tr, char *str, struct action_data *data, str 4006 kernel/trace/trace_events_hist.c strsep(&str, "."); str 4007 kernel/trace/trace_events_hist.c if (!str) { str 4013 kernel/trace/trace_events_hist.c action_name = strsep(&str, "("); str 4014 kernel/trace/trace_events_hist.c if (!action_name || !str) { str 4021 kernel/trace/trace_events_hist.c char *params = strsep(&str, ")"); str 4047 kernel/trace/trace_events_hist.c char *params = strsep(&str, ")"); str 4049 kernel/trace/trace_events_hist.c if (!str) { str 4069 kernel/trace/trace_events_hist.c char *params = strsep(&str, ")"); str 4106 kernel/trace/trace_events_hist.c char *str, enum handler_id handler) str 4116 kernel/trace/trace_events_hist.c var_str = strsep(&str, ")"); str 4117 kernel/trace/trace_events_hist.c if (!var_str || !str) { str 4128 kernel/trace/trace_events_hist.c ret = action_parse(hist_data->event_file->tr, str, data, handler); str 4449 kernel/trace/trace_events_hist.c static struct action_data *onmatch_parse(struct trace_array *tr, char *str) str 4459 kernel/trace/trace_events_hist.c match_event = strsep(&str, ")"); str 4460 kernel/trace/trace_events_hist.c if (!match_event || !str) { str 4488 kernel/trace/trace_events_hist.c ret = action_parse(tr, str, data, HANDLER_ONMATCH); str 4739 kernel/trace/trace_events_hist.c char *s, *str, *var_name, *field_str; str 4744 kernel/trace/trace_events_hist.c str = hist_data->attrs->assignment_str[i]; str 4746 kernel/trace/trace_events_hist.c field_str = strsep(&str, ","); str 4816 kernel/trace/trace_events_hist.c static int is_descending(const char *str) str 4818 kernel/trace/trace_events_hist.c if (!str) str 4821 kernel/trace/trace_events_hist.c if (strcmp(str, "descending") == 0) str 4824 kernel/trace/trace_events_hist.c if (strcmp(str, "ascending") == 0) str 4935 kernel/trace/trace_events_hist.c char *str; str 4939 kernel/trace/trace_events_hist.c str = hist_data->attrs->action_str[i]; str 4941 kernel/trace/trace_events_hist.c if ((len = str_has_prefix(str, "onmatch("))) { str 4942 kernel/trace/trace_events_hist.c char *action_str = str + len; str 4949 kernel/trace/trace_events_hist.c } else if ((len = str_has_prefix(str, "onmax("))) { str 4950 kernel/trace/trace_events_hist.c char *action_str = str + len; str 4958 kernel/trace/trace_events_hist.c } else if ((len = str_has_prefix(str, "onchange("))) { str 4959 kernel/trace/trace_events_hist.c char *action_str = str + len; str 5410 kernel/trace/trace_events_hist.c char str[KSYM_SYMBOL_LEN]; str 5419 kernel/trace/trace_events_hist.c sprint_symbol(str, stacktrace_entries[i]); str 5420 kernel/trace/trace_events_hist.c seq_printf(m, "%s\n", str); str 5430 kernel/trace/trace_events_hist.c char str[KSYM_SYMBOL_LEN]; str 5451 kernel/trace/trace_events_hist.c sprint_symbol_no_offset(str, uval); str 5453 kernel/trace/trace_events_hist.c uval, str); str 5456 kernel/trace/trace_events_hist.c sprint_symbol(str, uval); str 5458 kernel/trace/trace_events_hist.c uval, str); str 31 kernel/trace/trace_kprobe.c static int __init set_kprobe_boot_events(char *str) str 33 kernel/trace/trace_kprobe.c strlcpy(kprobe_boot_events_buf, str, COMMAND_LINE_SIZE); str 33 kernel/trace/trace_output.c trace_seq_puts(s, field->str); str 70 kernel/trace/trace_output.c const char *str; str 80 kernel/trace/trace_output.c str = flag_array[i].name; str 86 kernel/trace/trace_output.c trace_seq_puts(p, str); str 134 kernel/trace/trace_output.c const char *str; str 144 kernel/trace/trace_output.c str = flag_array[i].name; str 150 kernel/trace/trace_output.c trace_seq_puts(p, str); str 345 kernel/trace/trace_output.c char str[KSYM_SYMBOL_LEN]; str 349 kernel/trace/trace_output.c sprint_symbol(str, address); str 351 kernel/trace/trace_output.c kallsyms_lookup(address, NULL, NULL, NULL, str); str 352 kernel/trace/trace_output.c name = kretprobed(str); str 1213 kernel/trace/trace_output.c trace_seq_puts(s, field->str); str 1229 kernel/trace/trace_output.c trace_seq_puts(s, field->str); str 303 kernel/trace/trace_printk.c const char *str = *fmt; str 314 kernel/trace/trace_printk.c for (i = 0; str[i]; i++) { str 315 kernel/trace/trace_printk.c switch (str[i]) { str 329 kernel/trace/trace_printk.c seq_putc(m, str[i]); str 329 kernel/trace/trace_probe.c static int str_to_immediate(char *str, unsigned long *imm) str 331 kernel/trace/trace_probe.c if (isdigit(str[0])) str 332 kernel/trace/trace_probe.c return kstrtoul(str, 0, imm); str 333 kernel/trace/trace_probe.c else if (str[0] == '-') str 334 kernel/trace/trace_probe.c return kstrtol(str, 0, (long *)imm); str 335 kernel/trace/trace_probe.c else if (str[0] == '+') str 336 kernel/trace/trace_probe.c return kstrtol(str + 1, 0, (long *)imm); str 340 kernel/trace/trace_probe.c static int __parse_imm_string(char *str, char **pbuf, int offs) str 342 kernel/trace/trace_probe.c size_t len = strlen(str); str 344 kernel/trace/trace_probe.c if (str[len - 1] != '"') { str 348 kernel/trace/trace_probe.c *pbuf = kstrndup(str, len - 1, GFP_KERNEL); str 208 kernel/trace/trace_seq.c void trace_seq_puts(struct trace_seq *s, const char *str) str 210 kernel/trace/trace_seq.c unsigned int len = strlen(str); str 222 kernel/trace/trace_seq.c seq_buf_putmem(&s->seq, str, len); str 544 kernel/trace/trace_stack.c static __init int enable_stacktrace(char *str) str 548 kernel/trace/trace_stack.c if ((len = str_has_prefix(str, "_filter="))) str 549 kernel/trace/trace_stack.c strncpy(stack_trace_filter_buf, str + len, COMMAND_LINE_SIZE); str 85 kernel/trace/trace_syscalls.c char str[KSYM_SYMBOL_LEN]; str 90 kernel/trace/trace_syscalls.c kallsyms_lookup(syscall, NULL, NULL, NULL, str); str 92 kernel/trace/trace_syscalls.c if (arch_syscall_match_sym_name(str, "sys_ni_syscall")) str 96 kernel/trace/trace_syscalls.c if ((*start)->name && arch_syscall_match_sym_name(str, (*start)->name)) str 71 kernel/watchdog.c static int __init hardlockup_panic_setup(char *str) str 73 kernel/watchdog.c if (!strncmp(str, "panic", 5)) str 75 kernel/watchdog.c else if (!strncmp(str, "nopanic", 7)) str 77 kernel/watchdog.c else if (!strncmp(str, "0", 1)) str 79 kernel/watchdog.c else if (!strncmp(str, "1", 1)) str 88 kernel/watchdog.c static int __init hardlockup_all_cpu_backtrace_setup(char *str) str 90 kernel/watchdog.c sysctl_hardlockup_all_cpu_backtrace = !!simple_strtol(str, NULL, 0); str 183 kernel/watchdog.c static int __init softlockup_panic_setup(char *str) str 185 kernel/watchdog.c softlockup_panic = simple_strtoul(str, NULL, 0); str 190 kernel/watchdog.c static int __init nowatchdog_setup(char *str) str 197 kernel/watchdog.c static int __init nosoftlockup_setup(char *str) str 204 kernel/watchdog.c static int __init watchdog_thresh_setup(char *str) str 206 kernel/watchdog.c get_option(&str, &watchdog_thresh); str 214 kernel/watchdog.c static int __init softlockup_all_cpu_backtrace_setup(char *str) str 216 kernel/watchdog.c sysctl_softlockup_all_cpu_backtrace = !!simple_strtol(str, NULL, 0); str 12 lib/argv_split.c static int count_argc(const char *str) str 17 lib/argv_split.c for (was_space = true; *str; str++) { str 18 lib/argv_split.c if (isspace(*str)) { str 60 lib/argv_split.c char **argv_split(gfp_t gfp, const char *str, int *argcp) str 67 lib/argv_split.c argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp); str 536 lib/bitmap.c static const char *bitmap_getnum(const char *str, unsigned int *num) str 541 lib/bitmap.c len = _parse_integer(str, 10, &n); str 548 lib/bitmap.c return str + len; str 570 lib/bitmap.c static const char *bitmap_find_region(const char *str) str 572 lib/bitmap.c while (__end_of_region(*str)) str 573 lib/bitmap.c str++; str 575 lib/bitmap.c return end_of_str(*str) ? NULL : str; str 578 lib/bitmap.c static const char *bitmap_parse_region(const char *str, struct region *r) str 580 lib/bitmap.c str = bitmap_getnum(str, &r->start); str 581 lib/bitmap.c if (IS_ERR(str)) str 582 lib/bitmap.c return str; str 584 lib/bitmap.c if (end_of_region(*str)) str 587 lib/bitmap.c if (*str != '-') str 590 lib/bitmap.c str = bitmap_getnum(str + 1, &r->end); str 591 lib/bitmap.c if (IS_ERR(str)) str 592 lib/bitmap.c return str; str 594 lib/bitmap.c if (end_of_region(*str)) str 597 lib/bitmap.c if (*str != ':') str 600 lib/bitmap.c str = bitmap_getnum(str + 1, &r->off); str 601 lib/bitmap.c if (IS_ERR(str)) str 602 lib/bitmap.c return str; str 604 lib/bitmap.c if (*str != '/') str 607 lib/bitmap.c return bitmap_getnum(str + 1, &r->group_len); str 615 lib/bitmap.c return end_of_str(*str) ? NULL : str; str 23 lib/cmdline.c static int get_range(char **str, int *pint, int n) str 27 lib/cmdline.c (*str)++; str 28 lib/cmdline.c upper_range = simple_strtol((*str), NULL, 0); str 50 lib/cmdline.c int get_option(char **str, int *pint) str 52 lib/cmdline.c char *cur = *str; str 56 lib/cmdline.c *pint = simple_strtol(cur, str, 0); str 57 lib/cmdline.c if (cur == *str) str 59 lib/cmdline.c if (**str == ',') { str 60 lib/cmdline.c (*str)++; str 63 lib/cmdline.c if (**str == '-') str 87 lib/cmdline.c char *get_options(const char *str, int nints, int *ints) str 92 lib/cmdline.c res = get_option((char **)&str, ints + i); str 97 lib/cmdline.c range_nums = get_range((char **)&str, ints + i, nints - i); str 112 lib/cmdline.c return (char *)str; str 177 lib/cmdline.c bool parse_option_str(const char *str, const char *option) str 179 lib/cmdline.c while (*str) { str 180 lib/cmdline.c if (!strncmp(str, option, strlen(option))) { str 181 lib/cmdline.c str += strlen(option); str 182 lib/cmdline.c if (!*str || *str == ',') str 186 lib/cmdline.c while (*str && *str != ',') str 187 lib/cmdline.c str++; str 189 lib/cmdline.c if (*str == ',') str 190 lib/cmdline.c str++; str 105 lib/debugobjects.c static int __init enable_object_debug(char *str) str 111 lib/debugobjects.c static int __init disable_object_debug(char *str) str 278 lib/dynamic_debug.c static inline int parse_lineno(const char *str, unsigned int *val) str 280 lib/dynamic_debug.c BUG_ON(str == NULL); str 281 lib/dynamic_debug.c if (*str == '\0') { str 285 lib/dynamic_debug.c if (kstrtouint(str, 10, val) < 0) { str 286 lib/dynamic_debug.c pr_err("bad line-number: %s\n", str); str 395 lib/dynamic_debug.c static int ddebug_parse_flags(const char *str, unsigned int *flagsp, str 401 lib/dynamic_debug.c switch (*str) { str 405 lib/dynamic_debug.c op = *str++; str 408 lib/dynamic_debug.c pr_err("bad flag-op %c, at start of %s\n", *str, str); str 413 lib/dynamic_debug.c for (; *str ; ++str) { str 415 lib/dynamic_debug.c if (*str == opt_array[i].opt_char) { str 421 lib/dynamic_debug.c pr_err("unknown flag '%c' in \"%s\"\n", *str, str); str 679 lib/dynamic_debug.c static __init int ddebug_setup_query(char *str) str 681 lib/dynamic_debug.c if (strlen(str) >= DDEBUG_STRING_SIZE) { str 685 lib/dynamic_debug.c strlcpy(ddebug_setup_string, str, DDEBUG_STRING_SIZE); str 18 lib/fault-inject.c int setup_fault_attr(struct fault_attr *attr, char *str) str 26 lib/fault-inject.c if (sscanf(str, "%lu,%lu,%d,%d", str 40 lib/glob.c bool __pure glob_match(char const *pat, char const *str) str 56 lib/glob.c unsigned char c = *str++; str 68 lib/glob.c back_str = --str; /* Allow zero-length match */ str 118 lib/glob.c str = ++back_str; str 15 lib/globtest.c char const *pat, *str; str 19 lib/globtest.c static bool __pure __init test(char const *pat, char const *str, bool expected) str 21 lib/globtest.c bool match = glob_match(pat, str); str 39 lib/globtest.c printk(message, pat, str, mismatch + 3*match); str 23 lib/ioremap.c static int __init set_nohugeiomap(char *str) str 34 lib/locking-selftest.c static int __init setup_debug_locks_verbose(char *str) str 36 lib/locking-selftest.c get_option(&str, &debug_locks_verbose); str 605 lib/nlattr.c int nla_strcmp(const struct nlattr *nla, const char *str) str 607 lib/nlattr.c int len = strlen(str); str 617 lib/nlattr.c d = memcmp(nla_data(nla), str, len); str 249 lib/parser.c bool match_wildcard(const char *pattern, const char *str) str 251 lib/parser.c const char *s = str; str 263 lib/parser.c str = s; str 275 lib/parser.c str++; str 276 lib/parser.c s = str; str 141 lib/seq_buf.c int seq_buf_puts(struct seq_buf *s, const char *str) str 143 lib/seq_buf.c size_t len = strlen(str); str 151 lib/seq_buf.c memcpy(s->buffer + s->len, str, len); str 484 lib/string.c char *skip_spaces(const char *str) str 486 lib/string.c while (isspace(*str)) str 487 lib/string.c ++str; str 488 lib/string.c return (char *)str; str 714 lib/string.c int __sysfs_match_string(const char * const *array, size_t n, const char *str) str 723 lib/string.c if (sysfs_streq(item, str)) str 92 lib/strnlen_user.c long strnlen_user(const char __user *str, long count) str 100 lib/strnlen_user.c src_addr = (unsigned long)untagged_addr(str); str 112 lib/strnlen_user.c if (user_access_begin(str, max)) { str 113 lib/strnlen_user.c retval = do_strnlen_user(str, count, max); str 9 lib/test-kstrtox.c const char *str; str 18 lib/test-kstrtox.c const char *str; \ str 36 lib/test-kstrtox.c rv = fn(t->str, t->base, &tmp); \ str 39 lib/test-kstrtox.c t->str, t->base, rv, tmp); \ str 54 lib/test-kstrtox.c rv = fn(t->str, t->base, &res); \ str 57 lib/test-kstrtox.c t->str, t->base, t->expected_res, rv); \ str 62 lib/test-kstrtox.c t->str, t->base, t->expected_res, res); \ str 117 lib/ubsan.c static void val_to_string(char *str, size_t size, struct type_descriptor *type, str 125 lib/ubsan.c scnprintf(str, size, "0x%08x%08x%08x%08x", str 134 lib/ubsan.c scnprintf(str, size, "%lld", str 137 lib/ubsan.c scnprintf(str, size, "%llu", str 688 lib/vsprintf.c static int __init debug_boot_weak_hash_enable(char *str) str 746 lib/vsprintf.c const char *str = sizeof(ptr) == 8 ? "(____ptrval____)" : "(ptrval)"; str 765 lib/vsprintf.c return error_string(buf, end, str, spec); str 2450 lib/vsprintf.c char *str, *end; str 2458 lib/vsprintf.c str = buf; str 2476 lib/vsprintf.c if (str < end) { str 2477 lib/vsprintf.c if (copy > end - str) str 2478 lib/vsprintf.c copy = end - str; str 2479 lib/vsprintf.c memcpy(str, old_fmt, copy); str 2481 lib/vsprintf.c str += read; str 2498 lib/vsprintf.c if (str < end) str 2499 lib/vsprintf.c *str = ' '; str 2500 lib/vsprintf.c ++str; str 2505 lib/vsprintf.c if (str < end) str 2506 lib/vsprintf.c *str = c; str 2507 lib/vsprintf.c ++str; str 2509 lib/vsprintf.c if (str < end) str 2510 lib/vsprintf.c *str = ' '; str 2511 lib/vsprintf.c ++str; str 2517 lib/vsprintf.c str = string(str, end, va_arg(args, char *), spec); str 2521 lib/vsprintf.c str = pointer(fmt, str, end, va_arg(args, void *), str 2528 lib/vsprintf.c if (str < end) str 2529 lib/vsprintf.c *str = '%'; str 2530 lib/vsprintf.c ++str; str 2583 lib/vsprintf.c str = number(str, end, num, spec); str 2589 lib/vsprintf.c if (str < end) str 2590 lib/vsprintf.c *str = '\0'; str 2596 lib/vsprintf.c return str-buf; str 2753 lib/vsprintf.c char *str, *end; str 2756 lib/vsprintf.c str = (char *)bin_buf; str 2764 lib/vsprintf.c str = PTR_ALIGN(str, sizeof(u32)); \ str 2766 lib/vsprintf.c if (str + sizeof(type) <= end) { \ str 2767 lib/vsprintf.c *(u32 *)str = *(u32 *)&val8; \ str 2768 lib/vsprintf.c *(u32 *)(str + 4) = *((u32 *)&val8 + 1); \ str 2773 lib/vsprintf.c str = PTR_ALIGN(str, sizeof(type)); \ str 2775 lib/vsprintf.c if (str + sizeof(type) <= end) \ str 2776 lib/vsprintf.c *(typeof(type) *)str = (type)(long)val4; \ str 2779 lib/vsprintf.c str += sizeof(type); \ str 2817 lib/vsprintf.c if (str + len < end) str 2818 lib/vsprintf.c memcpy(str, save_str, len); str 2819 lib/vsprintf.c str += len; str 2840 lib/vsprintf.c str = pointer(fmt, str, end, va_arg(args, void *), str 2842 lib/vsprintf.c if (str + 1 < end) str 2843 lib/vsprintf.c *str++ = '\0'; str 2883 lib/vsprintf.c return (u32 *)(PTR_ALIGN(str, sizeof(u32))) - bin_buf; str 2913 lib/vsprintf.c char *str, *end; str 2919 lib/vsprintf.c str = buf; str 2952 lib/vsprintf.c if (str < end) { str 2953 lib/vsprintf.c if (copy > end - str) str 2954 lib/vsprintf.c copy = end - str; str 2955 lib/vsprintf.c memcpy(str, old_fmt, copy); str 2957 lib/vsprintf.c str += read; str 2974 lib/vsprintf.c if (str < end) str 2975 lib/vsprintf.c *str = ' '; str 2976 lib/vsprintf.c ++str; str 2980 lib/vsprintf.c if (str < end) str 2981 lib/vsprintf.c *str = c; str 2982 lib/vsprintf.c ++str; str 2984 lib/vsprintf.c if (str < end) str 2985 lib/vsprintf.c *str = ' '; str 2986 lib/vsprintf.c ++str; str 2994 lib/vsprintf.c str = string(str, end, (char *)str_arg, spec); str 3017 lib/vsprintf.c if (str < end) { str 3019 lib/vsprintf.c if (copy > end - str) str 3020 lib/vsprintf.c copy = end - str; str 3021 lib/vsprintf.c memcpy(str, args, copy); str 3022 lib/vsprintf.c str += len; str 3027 lib/vsprintf.c str = pointer(fmt, str, end, get_arg(void *), spec); str 3035 lib/vsprintf.c if (str < end) str 3036 lib/vsprintf.c *str = '%'; str 3037 lib/vsprintf.c ++str; str 3080 lib/vsprintf.c str = number(str, end, num, spec); str 3087 lib/vsprintf.c if (str < end) str 3088 lib/vsprintf.c *str = '\0'; str 3096 lib/vsprintf.c return str - buf; str 3133 lib/vsprintf.c const char *str = buf; str 3153 lib/vsprintf.c str = skip_spaces(str); str 3158 lib/vsprintf.c if (*fmt++ != *str++) str 3171 lib/vsprintf.c if (!*str) str 3179 lib/vsprintf.c while (!isspace(*str) && *str) str 3180 lib/vsprintf.c str++; str 3213 lib/vsprintf.c *va_arg(args, int *) = str - buf; str 3218 lib/vsprintf.c if (!*str) str 3231 lib/vsprintf.c *s++ = *str++; str 3232 lib/vsprintf.c } while (--field_width > 0 && *str); str 3242 lib/vsprintf.c str = skip_spaces(str); str 3245 lib/vsprintf.c while (*str && !isspace(*str) && field_width--) str 3246 lib/vsprintf.c *s++ = *str++; str 3295 lib/vsprintf.c if (!test_bit((u8)*str, set)) str 3298 lib/vsprintf.c while (test_bit((u8)*str, set) && field_width--) str 3299 lib/vsprintf.c *s++ = *str++; str 3321 lib/vsprintf.c if (*str++ != '%') str 3332 lib/vsprintf.c str = skip_spaces(str); str 3334 lib/vsprintf.c digit = *str; str 3336 lib/vsprintf.c digit = *(str + 1); str 3347 lib/vsprintf.c simple_strtol(str, &next, base) : str 3348 lib/vsprintf.c simple_strtoll(str, &next, base); str 3351 lib/vsprintf.c simple_strtoul(str, &next, base) : str 3352 lib/vsprintf.c simple_strtoull(str, &next, base); str 3354 lib/vsprintf.c if (field_width > 0 && next - str > field_width) { str 3356 lib/vsprintf.c _parse_integer_fixup_radix(str, &base); str 3357 lib/vsprintf.c while (next - str > field_width) { str 3405 lib/vsprintf.c str = next; str 153 lib/zlib_deflate/deflate.c #define INSERT_STRING(s, str, match_head) \ str 154 lib/zlib_deflate/deflate.c (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ str 155 lib/zlib_deflate/deflate.c s->prev[(str) & s->w_mask] = match_head = s->head[s->ins_h], \ str 156 lib/zlib_deflate/deflate.c s->head[s->ins_h] = (Pos)(str)) str 4 lib/zlib_deflate/defutil.h #define Assert(err, str) str 59 lib/zstd/fse.h #define FSE_QUOTE(str) #str str 60 lib/zstd/fse.h #define FSE_EXPAND_AND_QUOTE(str) FSE_QUOTE(str) str 202 mm/debug.c static int __init setup_vm_debug(char *str) str 210 mm/debug.c if (*str++ != '=' || !*str) str 214 mm/debug.c if (*str == '-') str 217 mm/debug.c while (*str) { str 218 mm/debug.c switch (tolower(*str)) { str 224 mm/debug.c *str); str 227 mm/debug.c str++; str 24 mm/early_ioremap.c static int __init early_ioremap_debug_setup(char *str) str 36 mm/failslab.c static int __init setup_failslab(char *str) str 38 mm/failslab.c return setup_fault_attr(&failslab.attr, str); str 453 mm/huge_memory.c static int __init setup_transparent_hugepage(char *str) str 456 mm/huge_memory.c if (!str) str 458 mm/huge_memory.c if (!strcmp(str, "always")) { str 464 mm/huge_memory.c } else if (!strcmp(str, "madvise")) { str 470 mm/huge_memory.c } else if (!strcmp(str, "never")) { str 62 mm/kasan/report.c static int __init kasan_set_multi_shot(char *str) str 1703 mm/kmemleak.c static int dump_str_object_info(const char *str) str 1709 mm/kmemleak.c if (kstrtoul(str, 0, &addr)) str 1909 mm/kmemleak.c static int __init kmemleak_boot_config(char *str) str 1911 mm/kmemleak.c if (!str) str 1913 mm/kmemleak.c if (strcmp(str, "off") == 0) str 1915 mm/kmemleak.c else if (strcmp(str, "on") == 0) str 78 mm/memory_hotplug.c static int __init setup_memhp_default_state(char *str) str 80 mm/memory_hotplug.c if (!strcmp(str, "online")) str 82 mm/memory_hotplug.c else if (!strcmp(str, "offline")) str 2682 mm/mempolicy.c static int __init setup_numabalancing(char *str) str 2685 mm/mempolicy.c if (!str) str 2688 mm/mempolicy.c if (!strcmp(str, "enable")) { str 2691 mm/mempolicy.c } else if (!strcmp(str, "disable")) { str 2796 mm/mempolicy.c int mpol_parse_str(char *str, struct mempolicy **mpol) str 2801 mm/mempolicy.c char *nodelist = strchr(str, ':'); str 2802 mm/mempolicy.c char *flags = strchr(str, '='); str 2818 mm/mempolicy.c mode = match_string(policy_modes, MPOL_MAX, str); str 129 mm/mm_init.c static __init int set_mminit_loglevel(char *str) str 131 mm/mm_init.c get_option(&str, &mminit_loglevel); str 3334 mm/page_alloc.c static int __init setup_fail_page_alloc(char *str) str 3336 mm/page_alloc.c return setup_fault_attr(&fail_page_alloc.attr, str); str 5502 mm/page_alloc.c char *str; str 5507 mm/page_alloc.c str = memdup_user_nul(buffer, 16); str 5508 mm/page_alloc.c if (IS_ERR(str)) str 5509 mm/page_alloc.c return PTR_ERR(str); str 5511 mm/page_alloc.c ret = __parse_numa_zonelist_order(str); str 5512 mm/page_alloc.c kfree(str); str 7536 mm/page_alloc.c void __init mem_init_print_info(const char *str) str 7585 mm/page_alloc.c str ? ", " : "", str ? str : ""); str 7639 mm/page_alloc.c static int __init set_hashdist(char *str) str 7641 mm/page_alloc.c if (!str) str 7643 mm/page_alloc.c hashdist = simple_strtoul(str, &str, 0); str 2469 mm/percpu.c static int __init percpu_alloc_setup(char *str) str 2471 mm/percpu.c if (!str) str 2477 mm/percpu.c else if (!strcmp(str, "embed")) str 2481 mm/percpu.c else if (!strcmp(str, "page")) str 2485 mm/percpu.c pr_warn("unknown allocator %s specified\n", str); str 419 mm/shmem.c static int shmem_parse_huge(const char *str) str 421 mm/shmem.c if (!strcmp(str, "never")) str 423 mm/shmem.c if (!strcmp(str, "always")) str 425 mm/shmem.c if (!strcmp(str, "within_size")) str 427 mm/shmem.c if (!strcmp(str, "advise")) str 429 mm/shmem.c if (!strcmp(str, "deny")) str 431 mm/shmem.c if (!strcmp(str, "force")) str 464 mm/slab.c static int __init slab_max_order_setup(char *str) str 466 mm/slab.c get_option(&str, &slab_max_order); str 64 mm/slab_common.c static int __init setup_slab_nomerge(char *str) str 1220 mm/slub.c static int __init setup_slub_debug(char *str) str 1223 mm/slub.c if (*str++ != '=' || !*str) str 1229 mm/slub.c if (*str == ',') str 1237 mm/slub.c if (*str == '-') str 1246 mm/slub.c for (; *str && *str != ','; str++) { str 1247 mm/slub.c switch (tolower(*str)) { str 1275 mm/slub.c *str); str 1280 mm/slub.c if (*str == ',') str 1281 mm/slub.c slub_debug_slabs = str + 1; str 3776 mm/slub.c static int __init setup_slub_min_order(char *str) str 3778 mm/slub.c get_option(&str, (int *)&slub_min_order); str 3785 mm/slub.c static int __init setup_slub_max_order(char *str) str 3787 mm/slub.c get_option(&str, (int *)&slub_max_order); str 3795 mm/slub.c static int __init setup_slub_min_objects(char *str) str 3797 mm/slub.c get_option(&str, (int *)&slub_min_objects); str 4793 mm/slub.c static int __init setup_slub_memcg_sysfs(char *str) str 4797 mm/slub.c if (get_option(&str, &v) > 0) str 295 mm/usercopy.c static int __init parse_hardened_usercopy(char *str) str 297 mm/usercopy.c return strtobool(str, &enable_checks); str 444 net/9p/trans_xen.c char str[16]; str 447 net/9p/trans_xen.c sprintf(str, "ring-ref%u", i); str 448 net/9p/trans_xen.c ret = xenbus_printf(xbt, dev->nodename, str, "%d", str 453 net/9p/trans_xen.c sprintf(str, "event-channel-%u", i); str 454 net/9p/trans_xen.c ret = xenbus_printf(xbt, dev->nodename, str, "%u", str 217 net/ceph/ceph_common.c static int parse_fsid(const char *str, struct ceph_fsid *fsid) str 224 net/ceph/ceph_common.c dout("parse_fsid '%s'\n", str); str 226 net/ceph/ceph_common.c while (*str && i < 16) { str 227 net/ceph/ceph_common.c if (ispunct(*str)) { str 228 net/ceph/ceph_common.c str++; str 231 net/ceph/ceph_common.c if (!isxdigit(str[0]) || !isxdigit(str[1])) str 233 net/ceph/ceph_common.c tmp[0] = str[0]; str 234 net/ceph/ceph_common.c tmp[1] = str[1]; str 239 net/ceph/ceph_common.c str += 2; str 23 net/ceph/ceph_hash.c unsigned int ceph_str_hash_rjenkins(const char *str, unsigned int length) str 25 net/ceph/ceph_hash.c const unsigned char *k = (const unsigned char *)str; str 94 net/ceph/ceph_hash.c unsigned int ceph_str_hash_linux(const char *str, unsigned int length) str 100 net/ceph/ceph_hash.c c = *str++; str 24 net/ceph/ceph_strings.c #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return (str); str 197 net/ceph/debugfs.c t->target_oloc.pool_ns->str, str 1844 net/ceph/messenger.c static int ceph_pton(const char *str, size_t len, struct ceph_entity_addr *addr, str 1849 net/ceph/messenger.c if (in4_pton(str, len, (u8 *)&((struct sockaddr_in *)&addr->in_addr)->sin_addr.s_addr, delim, ipend)) { str 1854 net/ceph/messenger.c if (in6_pton(str, len, (u8 *)&((struct sockaddr_in6 *)&addr->in_addr)->sin6_addr.s6_addr, delim, ipend)) { str 928 net/ceph/mon_client.c len = sprintf(h->str, "{ \"prefix\": \"osd blacklist\", \ str 675 net/ceph/osd_client.c #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return true; str 1904 net/ceph/osd_client.c hoid->nspace = t->target_oloc.pool_ns->str; str 2035 net/ceph/osd_client.c ceph_encode_string(p, end, oloc->pool_ns->str, str 14 net/ceph/osdmap.c char *ceph_osdmap_state_str(char *str, int len, u32 state) str 17 net/ceph/osdmap.c return str; str 20 net/ceph/osdmap.c snprintf(str, len, "exists, up"); str 22 net/ceph/osdmap.c snprintf(str, len, "exists"); str 24 net/ceph/osdmap.c snprintf(str, len, "up"); str 26 net/ceph/osdmap.c snprintf(str, len, "doesn't exist"); str 28 net/ceph/osdmap.c return str; str 2200 net/ceph/osdmap.c memcpy(buf, oloc->pool_ns->str, nsl); str 2208 net/ceph/osdmap.c oid->name, nsl, oloc->pool_ns->str, str 11 net/ceph/string_table.c struct ceph_string *ceph_find_or_create_string(const char* str, size_t len) str 22 net/ceph/string_table.c ret = ceph_compare_string(exist, str, len); str 46 net/ceph/string_table.c memcpy(cs->str, str, len); str 47 net/ceph/string_table.c cs->str[len] = 0; str 57 net/ceph/string_table.c ret = ceph_compare_string(exist, str, len); str 565 net/core/dev.c int __init netdev_boot_setup(char *str) str 570 net/core/dev.c str = get_options(str, ARRAY_SIZE(ints), ints); str 571 net/core/dev.c if (!str || !*str) str 586 net/core/dev.c return netdev_boot_setup_add(str, &map); str 482 net/core/netpoll.c static int netpoll_parse_ip_addr(const char *str, union inet_addr *addr) str 486 net/core/netpoll.c if (!strchr(str, ':') && str 487 net/core/netpoll.c in4_pton(str, -1, (void *)addr, -1, &end) > 0) { str 491 net/core/netpoll.c if (in6_pton(str, -1, addr->in6.s6_addr, -1, &end) > 0) { str 50 net/core/utils.c __be32 in_aton(const char *str) str 59 net/core/utils.c if (*str != '\0') { str 61 net/core/utils.c while (*str != '\0' && *str != '.' && *str != '\n') { str 63 net/core/utils.c val += *str - '0'; str 64 net/core/utils.c str++; str 67 net/core/utils.c if (*str != '\0') str 68 net/core/utils.c str++; str 69 net/decnet/sysctl_net_decnet.c static void strip_it(char *str) str 72 net/decnet/sysctl_net_decnet.c switch (*str) { str 77 net/decnet/sysctl_net_decnet.c *str = 0; str 82 net/decnet/sysctl_net_decnet.c str++; str 90 net/decnet/sysctl_net_decnet.c static int parse_addr(__le16 *addr, char *str) str 94 net/decnet/sysctl_net_decnet.c while(*str && !ISNUM(*str)) str++; str 96 net/decnet/sysctl_net_decnet.c if (*str == 0) str 99 net/decnet/sysctl_net_decnet.c area = (*str++ - '0'); str 100 net/decnet/sysctl_net_decnet.c if (ISNUM(*str)) { str 102 net/decnet/sysctl_net_decnet.c area += (*str++ - '0'); str 105 net/decnet/sysctl_net_decnet.c if (*str++ != '.') str 108 net/decnet/sysctl_net_decnet.c if (!ISNUM(*str)) str 111 net/decnet/sysctl_net_decnet.c node = *str++ - '0'; str 112 net/decnet/sysctl_net_decnet.c if (ISNUM(*str)) { str 114 net/decnet/sysctl_net_decnet.c node += (*str++ - '0'); str 116 net/decnet/sysctl_net_decnet.c if (ISNUM(*str)) { str 118 net/decnet/sysctl_net_decnet.c node += (*str++ - '0'); str 120 net/decnet/sysctl_net_decnet.c if (ISNUM(*str)) { str 122 net/decnet/sysctl_net_decnet.c node += (*str++ - '0'); str 128 net/decnet/sysctl_net_decnet.c if (INVALID_END_CHAR(*str)) str 26 net/ieee802154/core.c struct wpan_phy *wpan_phy_find(const char *str) str 30 net/ieee802154/core.c if (WARN_ON(!str)) str 33 net/ieee802154/core.c dev = class_find_device_by_name(&wpan_phy_class, str); str 1786 net/ipv4/ipconfig.c static int __init set_carrier_timeout(char *str) str 1790 net/ipv4/ipconfig.c if (!str) str 1793 net/ipv4/ipconfig.c ret = kstrtouint(str, 0, &carrier_timeout); str 3931 net/ipv4/tcp.c static int __init set_thash_entries(char *str) str 3935 net/ipv4/tcp.c if (!str) str 3938 net/ipv4/tcp.c ret = kstrtoul(str, 0, &thash_entries); str 969 net/ipv4/tcp_metrics.c static int __init set_tcpmhash_entries(char *str) str 973 net/ipv4/tcp_metrics.c if (!str) str 976 net/ipv4/tcp_metrics.c ret = kstrtouint(str, 0, &tcpmhash_entries); str 2982 net/ipv4/udp.c static int __init set_uhash_entries(char *str) str 2986 net/ipv4/udp.c if (!str) str 2989 net/ipv4/udp.c ret = kstrtoul(str, 0, &uhash_entries); str 6291 net/ipv6/addrconf.c char str[IPV6_MAX_STRLEN]; str 6300 net/ipv6/addrconf.c lctl.data = str; str 6310 net/ipv6/addrconf.c err = snprintf(str, sizeof(str), "%pI6", &secret->secret); str 6311 net/ipv6/addrconf.c if (err >= sizeof(str)) { str 6320 net/ipv6/addrconf.c if (in6_pton(str, -1, addr.in6_u.u6_addr8, -1, NULL) != 1) { str 47 net/sunrpc/auth_gss/gss_generic_token.c #define TWRITE_STR(ptr, str, len) \ str 48 net/sunrpc/auth_gss/gss_generic_token.c memcpy((ptr), (char *) (str), (len)); \ str 1111 net/sunrpc/cache.c void qword_add(char **bpp, int *lp, char *str) str 1119 net/sunrpc/cache.c ret = string_escape_str(str, bp, len, ESCAPE_OCTAL, "\\ \n\t"); str 1685 net/sunrpc/xdr.c ssize_t xdr_stream_decode_string(struct xdr_stream *xdr, char *str, size_t size) str 1692 net/sunrpc/xdr.c memcpy(str, p, ret); str 1693 net/sunrpc/xdr.c str[ret] = '\0'; str 1694 net/sunrpc/xdr.c return strlen(str); str 1696 net/sunrpc/xdr.c *str = '\0'; str 1714 net/sunrpc/xdr.c ssize_t xdr_stream_decode_string_dup(struct xdr_stream *xdr, char **str, str 1726 net/sunrpc/xdr.c *str = s; str 1731 net/sunrpc/xdr.c *str = NULL; str 82 net/tipc/addr.c char *tipc_nodeid2string(char *str, u8 *id) str 110 net/tipc/addr.c memcpy(str, id, NODE_ID_LEN); str 111 net/tipc/addr.c str[NODE_ID_LEN] = 0; str 112 net/tipc/addr.c return str; str 117 net/tipc/addr.c sprintf(&str[2 * i], "%02x", id[i]); str 120 net/tipc/addr.c for (i = NODE_ID_STR_LEN - 2; str[i] == '0'; i--) str 121 net/tipc/addr.c str[i] = 0; str 123 net/tipc/addr.c return str; str 88 net/tipc/addr.h char *tipc_nodeid2string(char *str, u8 *id); str 241 net/tipc/link.c static void link_print(struct tipc_link *l, const char *str); str 2318 net/tipc/link.c static void link_print(struct tipc_link *l, const char *str) str 2324 net/tipc/link.c pr_info("%s Link <%s> state %x\n", str, l->name, l->state); str 163 net/tipc/netlink_compat.c static struct sk_buff *tipc_get_err_tlv(char *str) str 165 net/tipc/netlink_compat.c int str_len = strlen(str) + 1; str 170 net/tipc/netlink_compat.c tipc_add_tlv(buf, TIPC_TLV_ERROR_STRING, str, str_len); str 668 net/tipc/netlink_compat.c nla_strlcpy(link_info.str, link[TIPC_NLA_LINK_NAME], str 24 samples/bpf/lathist_user.c static void stars(char *str, long val, long max, int width) str 29 samples/bpf/lathist_user.c str[i] = '*'; str 31 samples/bpf/lathist_user.c str[i - 1] = '+'; str 32 samples/bpf/lathist_user.c str[i] = '\0'; str 18 samples/bpf/lwt_len_hist_user.c static void stars(char *str, long val, long max, int width) str 23 samples/bpf/lwt_len_hist_user.c str[i] = '*'; str 25 samples/bpf/lwt_len_hist_user.c str[i - 1] = '+'; str 26 samples/bpf/lwt_len_hist_user.c str[i] = '\0'; str 17 samples/bpf/tracex2_user.c static void stars(char *str, long val, long max, int width) str 22 samples/bpf/tracex2_user.c str[i] = '*'; str 24 samples/bpf/tracex2_user.c str[i - 1] = '+'; str 25 samples/bpf/tracex2_user.c str[i] = '\0'; str 371 samples/bpf/xdpsock_user.c const char *str = str 390 samples/bpf/xdpsock_user.c fprintf(stderr, str, prog, XSK_UMEM__DEFAULT_FRAME_SIZE); str 240 samples/trace_events/trace-events-sample.h __string( str, string ) str 249 samples/trace_events/trace-events-sample.h __assign_str(str, string); str 297 samples/trace_events/trace-events-sample.h __get_str(str), __get_bitmask(cpus)) str 174 scripts/basic/fixdep.c static unsigned int strhash(const char *str, unsigned int sz) str 180 scripts/basic/fixdep.c hash = (hash ^ str[i]) * 0x01000193; str 67 scripts/dtc/checks.c char *str = NULL; str 81 scripts/dtc/checks.c xasprintf(&str, "%s", file_str); str 84 scripts/dtc/checks.c xasprintf(&str, "<stdout>"); str 86 scripts/dtc/checks.c xasprintf(&str, "%s", dti->outname); str 89 scripts/dtc/checks.c xasprintf_append(&str, ": %s (%s): ", str 94 scripts/dtc/checks.c xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); str 96 scripts/dtc/checks.c xasprintf_append(&str, "%s: ", node->fullpath); str 100 scripts/dtc/checks.c xavsprintf_append(&str, fmt, ap); str 103 scripts/dtc/checks.c xasprintf_append(&str, "\n"); str 111 scripts/dtc/checks.c xasprintf_append(&str, " also defined at %s\n", file_str); str 116 scripts/dtc/checks.c fputs(str, stderr); str 222 scripts/dtc/checks.c char *str; str 228 scripts/dtc/checks.c str = prop->val.val; str 231 scripts/dtc/checks.c l = strnlen(str, rem); str 237 scripts/dtc/checks.c str += l + 1; str 926 scripts/dtc/checks.c const char *str, *end; str 932 scripts/dtc/checks.c for (str = prop->val.val, end = str + prop->val.len; str < end; str 933 scripts/dtc/checks.c str += strnlen(str, end - str) + 1) { str 934 scripts/dtc/checks.c if (streq(str, compat)) str 1208 scripts/dtc/checks.c char *str = prop->val.val; str 1209 scripts/dtc/checks.c if (streq("disabled", str)) str 1460 scripts/dtc/checks.c char *str; str 1469 scripts/dtc/checks.c str = strrchr(prop->name, '-'); str 1470 scripts/dtc/checks.c if (str) str 1471 scripts/dtc/checks.c str++; str 1473 scripts/dtc/checks.c str = prop->name; str 1474 scripts/dtc/checks.c if (!(streq(str, "gpios") || streq(str, "gpio"))) str 1512 scripts/dtc/checks.c char *str; str 1517 scripts/dtc/checks.c str = strstr(prop->name, "gpio"); str 1518 scripts/dtc/checks.c if (!streq(str, "gpio")) str 52 scripts/dtc/flattree.c static void bin_emit_string(void *e, const char *str, int len) str 57 scripts/dtc/flattree.c len = strlen(str); str 59 scripts/dtc/flattree.c *dtbuf = data_append_data(*dtbuf, str, len); str 132 scripts/dtc/flattree.c static void asm_emit_string(void *e, const char *str, int len) str 137 scripts/dtc/flattree.c fprintf(f, "\t.string\t\"%.*s\"\n", len, str); str 139 scripts/dtc/flattree.c fprintf(f, "\t.string\t\"%s\"\n", str); str 220 scripts/dtc/flattree.c static int stringtable_insert(struct data *d, const char *str) str 227 scripts/dtc/flattree.c if (streq(str, d->val + i)) str 231 scripts/dtc/flattree.c *d = data_append_data(*d, str, strlen(str)+1); str 610 scripts/dtc/flattree.c char *str; str 618 scripts/dtc/flattree.c str = xstrdup(inb->ptr); str 624 scripts/dtc/flattree.c return str; str 681 scripts/dtc/libfdt/fdt_ro.c int fdt_stringlist_contains(const char *strlist, int listlen, const char *str) str 683 scripts/dtc/libfdt/fdt_ro.c int len = strlen(str); str 687 scripts/dtc/libfdt/fdt_ro.c if (memcmp(str, strlist, len+1) == 0) str 15 scripts/dtc/libfdt/fdt_strerror.c const char *str; str 19 scripts/dtc/libfdt/fdt_strerror.c [(val)] = { .str = #val, } str 52 scripts/dtc/libfdt/fdt_strerror.c const char *s = fdt_errtable[-errval].str; str 1075 scripts/dtc/libfdt/libfdt.h int fdt_stringlist_contains(const char *strlist, int listlen, const char *str); str 1468 scripts/dtc/libfdt/libfdt.h #define fdt_property_string(fdt, name, str) \ str 1469 scripts/dtc/libfdt/libfdt.h fdt_property(fdt, name, str, strlen(str)+1) str 1726 scripts/dtc/libfdt/libfdt.h #define fdt_setprop_string(fdt, nodeoffset, name, str) \ str 1727 scripts/dtc/libfdt/libfdt.h fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1) str 1897 scripts/dtc/libfdt/libfdt.h #define fdt_appendprop_string(fdt, nodeoffset, name, str) \ str 1898 scripts/dtc/libfdt/libfdt.h fdt_appendprop((fdt), (nodeoffset), (name), (str), strlen(str)+1) str 89 scripts/dtc/util.c char *str; str 97 scripts/dtc/util.c str = xmalloc(len); str 98 scripts/dtc/util.c memcpy(str, path, lenp); str 100 scripts/dtc/util.c str[lenp] = '/'; str 103 scripts/dtc/util.c memcpy(str+lenp, name, lenn+1); str 104 scripts/dtc/util.c return str; str 27 scripts/dtc/util.h static inline void NORETURN PRINTF(1, 2) die(const char *str, ...) str 31 scripts/dtc/util.h va_start(ap, str); str 33 scripts/dtc/util.h vfprintf(stderr, str, ap); str 95 scripts/dtc/yamltree.c static void yaml_propval_string(yaml_emitter_t *emitter, char *str, int len) str 100 scripts/dtc/yamltree.c assert(str[len-1] == '\0'); str 104 scripts/dtc/yamltree.c assert(isascii(str[i])); str 107 scripts/dtc/yamltree.c (yaml_char_t *)YAML_STR_TAG, (yaml_char_t*)str, str 170 scripts/gcc-plugins/gcc-common.h static inline tree build_const_char_string(int len, const char *str) str 174 scripts/gcc-plugins/gcc-common.h cstr = build_string(len, str); str 76 scripts/genksyms/genksyms.h #define xstrdup(str) ({ char *__str = strdup(str); \ str 65 scripts/genksyms/keywords.c static int is_reserved_word(register const char *str, register unsigned int len) str 71 scripts/genksyms/keywords.c if (len == l && !memcmp(str, r->name, len)) str 83 scripts/kallsyms.c static int is_arm_mapping_symbol(const char *str) str 85 scripts/kallsyms.c return str[0] == '$' && strchr("axtd", str[1]) str 86 scripts/kallsyms.c && (str[2] == '\0' || str[2] == '.'); str 499 scripts/kallsyms.c static void *find_token(unsigned char *str, int len, unsigned char *token) str 504 scripts/kallsyms.c if (str[i] == token[0] && str[i+1] == token[1]) str 505 scripts/kallsyms.c return &str[i]; str 512 scripts/kallsyms.c static void compress_symbols(unsigned char *str, int idx) str 523 scripts/kallsyms.c p2 = find_token(p1, len, str); str 542 scripts/kallsyms.c p2 = find_token(p1, size, str); str 663 scripts/kallsyms.c static int prefix_underscores_count(const char *str) str 665 scripts/kallsyms.c const char *tail = str; str 670 scripts/kallsyms.c return tail - str; str 56 scripts/kconfig/conf.c static void strip(char *str) str 58 scripts/kconfig/conf.c char *p = str; str 64 scripts/kconfig/conf.c if (p != str) str 65 scripts/kconfig/conf.c memmove(str, p, l + 1); str 68 scripts/kconfig/conf.c p = str + l - 1; str 74 scripts/kconfig/conf.c static void xfgets(char *str, int size, FILE *in) str 76 scripts/kconfig/conf.c if (!fgets(str, size, in)) str 80 scripts/kconfig/conf.c printf("%s", str); str 425 scripts/kconfig/conf.c const char *str; str 428 scripts/kconfig/conf.c str = sym_get_string_value(sym); str 429 scripts/kconfig/conf.c str = sym_escape_string_value(str); str 430 scripts/kconfig/conf.c printf("%s%s=%s\n", CONFIG_, sym->name, str); str 431 scripts/kconfig/conf.c free((void *)str); str 433 scripts/kconfig/conf.c str = sym_get_string_value(sym); str 434 scripts/kconfig/conf.c printf("%s%s=%s\n", CONFIG_, sym->name, str); str 735 scripts/kconfig/confdata.c const char *str; str 741 scripts/kconfig/confdata.c str = sym_get_string_value(sym); str 742 scripts/kconfig/confdata.c str = sym_escape_string_value(str); str 743 scripts/kconfig/confdata.c printer->print_symbol(fp, sym, str, printer_arg); str 744 scripts/kconfig/confdata.c free((void *)str); str 747 scripts/kconfig/confdata.c str = sym_get_string_value(sym); str 748 scripts/kconfig/confdata.c printer->print_symbol(fp, sym, str, printer_arg); str 848 scripts/kconfig/confdata.c const char *str; str 893 scripts/kconfig/confdata.c str = menu_get_prompt(menu); str 897 scripts/kconfig/confdata.c "#\n", str); str 922 scripts/kconfig/confdata.c str = menu_get_prompt(menu); str 923 scripts/kconfig/confdata.c fprintf(out, "# end of %s\n", str); str 999 scripts/kconfig/expr.c static enum string_value_kind expr_parse_string(const char *str, str 1010 scripts/kconfig/expr.c val->s = !strcmp(str, "n") ? 0 : str 1011 scripts/kconfig/expr.c !strcmp(str, "m") ? 1 : str 1012 scripts/kconfig/expr.c !strcmp(str, "y") ? 2 : -1; str 1015 scripts/kconfig/expr.c val->s = strtoll(str, &tail, 10); str 1019 scripts/kconfig/expr.c val->u = strtoull(str, &tail, 16); str 1023 scripts/kconfig/expr.c val->s = strtoll(str, &tail, 0); str 1027 scripts/kconfig/expr.c return !errno && !*tail && tail > str && isxdigit(tail[-1]) str 1231 scripts/kconfig/expr.c static void expr_print_file_helper(void *data, struct symbol *sym, const char *str) str 1233 scripts/kconfig/expr.c xfwrite(str, strlen(str), 1, data); str 1241 scripts/kconfig/expr.c static void expr_print_gstr_helper(void *data, struct symbol *sym, const char *str) str 1250 scripts/kconfig/expr.c unsigned extra_length = strlen(str); str 1266 scripts/kconfig/expr.c str_append(gs, str); str 58 scripts/kconfig/lkc.h static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out) str 62 scripts/kconfig/lkc.h if (fwrite(str, len, count, out) != count) str 43 scripts/kconfig/lkc_proto.h bool sym_string_within_range(struct symbol *sym, const char *str); str 61 scripts/kconfig/lkc_proto.h char *expand_dollar(const char **str); str 62 scripts/kconfig/lkc_proto.h char *expand_one_token(const char **str); str 154 scripts/kconfig/lxdialog/dialog.h char str[MAXITEMSTR]; /* prompt displayed */ str 606 scripts/kconfig/lxdialog/util.c vsnprintf(item_cur->node.str, sizeof(item_cur->node.str), fmt, ap); str 615 scripts/kconfig/lxdialog/util.c avail = sizeof(item_cur->node.str) - strlen(item_cur->node.str); str 618 scripts/kconfig/lxdialog/util.c vsnprintf(item_cur->node.str + strlen(item_cur->node.str), str 620 scripts/kconfig/lxdialog/util.c item_cur->node.str[sizeof(item_cur->node.str) - 1] = '\0'; str 689 scripts/kconfig/lxdialog/util.c return item_cur->node.str; str 249 scripts/kconfig/nconf.c char str[256]; str 509 scripts/kconfig/nconf.c char *str = k_menu_items[index].str; str 510 scripts/kconfig/nconf.c if (strcasestr(str, match_str) != NULL) str 541 scripts/kconfig/nconf.c vsnprintf(k_menu_items[items_num].str, str 542 scripts/kconfig/nconf.c sizeof(k_menu_items[items_num].str), str 547 scripts/kconfig/nconf.c memcpy(k_menu_items[items_num].str, "XXX", 3); str 550 scripts/kconfig/nconf.c k_menu_items[items_num].str, str 551 scripts/kconfig/nconf.c k_menu_items[items_num].str); str 578 scripts/kconfig/nconf.c k_menu_items[index].str, new_str); str 579 scripts/kconfig/nconf.c strncpy(k_menu_items[index].str, str 581 scripts/kconfig/nconf.c sizeof(k_menu_items[index].str)); str 585 scripts/kconfig/nconf.c k_menu_items[index].str, str 586 scripts/kconfig/nconf.c k_menu_items[index].str); str 575 scripts/kconfig/parser.y static void print_quoted_string(FILE *out, const char *str) str 581 scripts/kconfig/parser.y while ((p = strchr(str, '"'))) { str 582 scripts/kconfig/parser.y len = p - str; str 584 scripts/kconfig/parser.y fprintf(out, "%.*s", len, str); str 586 scripts/kconfig/parser.y str = p + 1; str 588 scripts/kconfig/parser.y fputs(str, out); str 346 scripts/kconfig/preprocess.c static char *eval_clause(const char *str, size_t len, int argc, char *argv[]) str 355 scripts/kconfig/preprocess.c tmp = xstrndup(str, len); str 453 scripts/kconfig/preprocess.c static char *expand_dollar_with_args(const char **str, int argc, char *argv[]) str 455 scripts/kconfig/preprocess.c const char *p = *str; str 465 scripts/kconfig/preprocess.c *str = p; str 485 scripts/kconfig/preprocess.c *str = q + 1; str 490 scripts/kconfig/preprocess.c char *expand_dollar(const char **str) str 492 scripts/kconfig/preprocess.c return expand_dollar_with_args(str, 0, NULL); str 495 scripts/kconfig/preprocess.c static char *__expand_string(const char **str, bool (*is_end)(char c), str 506 scripts/kconfig/preprocess.c p = in = *str; str 534 scripts/kconfig/preprocess.c *str = p; str 571 scripts/kconfig/preprocess.c char *expand_one_token(const char **str) str 573 scripts/kconfig/preprocess.c return __expand_string(str, is_end_of_token, 0, NULL); str 43 scripts/kconfig/qconf.cc static inline QString qgettext(const char* str) str 45 scripts/kconfig/qconf.cc return QString::fromLocal8Bit(str); str 1057 scripts/kconfig/qconf.cc QString str; str 1059 scripts/kconfig/qconf.cc str += "<big>Symbol: <b>"; str 1060 scripts/kconfig/qconf.cc str += print_filter(sym->name); str 1061 scripts/kconfig/qconf.cc str += "</b></big><br><br>value: "; str 1062 scripts/kconfig/qconf.cc str += print_filter(sym_get_string_value(sym)); str 1063 scripts/kconfig/qconf.cc str += "<br>visibility: "; str 1064 scripts/kconfig/qconf.cc str += sym->visible == yes ? "y" : sym->visible == mod ? "m" : "n"; str 1065 scripts/kconfig/qconf.cc str += "<br>"; str 1066 scripts/kconfig/qconf.cc str += debug_info(sym); str 1068 scripts/kconfig/qconf.cc setText(str); str 1180 scripts/kconfig/qconf.cc QString ConfigInfoView::print_filter(const QString &str) str 1183 scripts/kconfig/qconf.cc QString res = str; str 1211 scripts/kconfig/qconf.cc void ConfigInfoView::expr_print_help(void *data, struct symbol *sym, const char *str) str 1214 scripts/kconfig/qconf.cc QString str2 = print_filter(str); str 1526 scripts/kconfig/qconf.cc QString str; str 1530 scripts/kconfig/qconf.cc str = QFileDialog::getOpenFileName(this, "", configname); str 1531 scripts/kconfig/qconf.cc if (str.isNull()) str 1534 scripts/kconfig/qconf.cc ba = str.toLocal8Bit(); str 1559 scripts/kconfig/qconf.cc QString str; str 1563 scripts/kconfig/qconf.cc str = QFileDialog::getSaveFileName(this, "", configname); str 1564 scripts/kconfig/qconf.cc if (str.isNull()) str 1567 scripts/kconfig/qconf.cc ba = str.toLocal8Bit(); str 1770 scripts/kconfig/qconf.cc static const QString str = "Welcome to the qconf graphical configuration tool.\n\n" str 1782 scripts/kconfig/qconf.cc QMessageBox::information(this, "qconf", str); str 1787 scripts/kconfig/qconf.cc static const QString str = "qconf is Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>.\n" str 1791 scripts/kconfig/qconf.cc QMessageBox::information(this, "qconf", str); str 261 scripts/kconfig/qconf.h static QString print_filter(const QString &str); str 262 scripts/kconfig/qconf.h static void expr_print_help(void *data, struct symbol *sym, const char *str); str 122 scripts/kconfig/symbol.c char str[64]; str 145 scripts/kconfig/symbol.c sprintf(str, "%lld", val2); str 147 scripts/kconfig/symbol.c sprintf(str, "0x%llx", val2); str 148 scripts/kconfig/symbol.c sym->curr.val = xstrdup(str); str 553 scripts/kconfig/symbol.c bool sym_string_valid(struct symbol *sym, const char *str) str 561 scripts/kconfig/symbol.c ch = *str++; str 563 scripts/kconfig/symbol.c ch = *str++; str 566 scripts/kconfig/symbol.c if (ch == '0' && *str != 0) str 568 scripts/kconfig/symbol.c while ((ch = *str++)) { str 574 scripts/kconfig/symbol.c if (str[0] == '0' && (str[1] == 'x' || str[1] == 'X')) str 575 scripts/kconfig/symbol.c str += 2; str 576 scripts/kconfig/symbol.c ch = *str++; str 580 scripts/kconfig/symbol.c } while ((ch = *str++)); str 584 scripts/kconfig/symbol.c switch (str[0]) { str 596 scripts/kconfig/symbol.c bool sym_string_within_range(struct symbol *sym, const char *str) str 603 scripts/kconfig/symbol.c return sym_string_valid(sym, str); str 605 scripts/kconfig/symbol.c if (!sym_string_valid(sym, str)) str 610 scripts/kconfig/symbol.c val = strtoll(str, NULL, 10); str 614 scripts/kconfig/symbol.c if (!sym_string_valid(sym, str)) str 619 scripts/kconfig/symbol.c val = strtoll(str, NULL, 16); str 624 scripts/kconfig/symbol.c switch (str[0]) { str 698 scripts/kconfig/symbol.c const char *str; str 704 scripts/kconfig/symbol.c str = symbol_empty.curr.val; str 724 scripts/kconfig/symbol.c str = (const char *)ds->curr.val; str 755 scripts/kconfig/symbol.c return str; str 757 scripts/kconfig/symbol.c return str; str 85 scripts/mod/file2alias.c #define ADD(str, sep, cond, field) \ str 87 scripts/mod/file2alias.c strcat(str, sep); \ str 89 scripts/mod/file2alias.c sprintf(str + strlen(str), \ str 95 scripts/mod/file2alias.c sprintf(str + strlen(str), "*"); \ str 99 scripts/mod/file2alias.c static inline void add_wildcard(char *str) str 101 scripts/mod/file2alias.c int len = strlen(str); str 103 scripts/mod/file2alias.c if (str[len - 1] != '*') str 104 scripts/mod/file2alias.c strcat(str + len, "*"); str 107 scripts/mod/file2alias.c static inline void add_uuid(char *str, uuid_le uuid) str 109 scripts/mod/file2alias.c int len = strlen(str); str 111 scripts/mod/file2alias.c sprintf(str + len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", str 92 scripts/mod/modpost.c static inline bool strends(const char *str, const char *postfix) str 94 scripts/mod/modpost.c if (strlen(str) < strlen(postfix)) str 97 scripts/mod/modpost.c return strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; str 273 scripts/mod/modpost.c const char *str; str 276 scripts/mod/modpost.c { .str = "EXPORT_SYMBOL", .export = export_plain }, str 277 scripts/mod/modpost.c { .str = "EXPORT_UNUSED_SYMBOL", .export = export_unused }, str 278 scripts/mod/modpost.c { .str = "EXPORT_SYMBOL_GPL", .export = export_gpl }, str 279 scripts/mod/modpost.c { .str = "EXPORT_UNUSED_SYMBOL_GPL", .export = export_unused_gpl }, str 280 scripts/mod/modpost.c { .str = "EXPORT_SYMBOL_GPL_FUTURE", .export = export_gpl_future }, str 281 scripts/mod/modpost.c { .str = "(unknown)", .export = export_unknown }, str 287 scripts/mod/modpost.c return export_list[ex].str; str 297 scripts/mod/modpost.c if (strcmp(export_list[i].str, s) == 0) str 315 scripts/mod/modpost.c #define strstarts(str, prefix) (strncmp(str, prefix, strlen(prefix)) == 0) str 1284 scripts/mod/modpost.c static inline int is_arm_mapping_symbol(const char *str) str 1286 scripts/mod/modpost.c return str[0] == '$' && strchr("axtd", str[1]) str 1287 scripts/mod/modpost.c && (str[2] == '\0' || str[2] == '.'); str 805 scripts/unifdef.c const char *str; str 927 scripts/unifdef.c for (op = ops->op; op->str != NULL; op++) str 928 scripts/unifdef.c if (strncmp(cp, op->str, strlen(op->str)) == 0) str 930 scripts/unifdef.c if (op->str == NULL) str 932 scripts/unifdef.c cp += strlen(op->str); str 933 scripts/unifdef.c debug("eval%d %s", ops - eval_ops, op->str); str 1121 scripts/unifdef.c findsym(const char *str) str 1126 scripts/unifdef.c cp = skipsym(str); str 1127 scripts/unifdef.c if (cp == str) str 1135 scripts/unifdef.c (int)(cp-str), str, str 1141 scripts/unifdef.c if (strlcmp(symname[symind], str, cp-str) == 0) { str 44 security/apparmor/file.c char str[10]; str 46 security/apparmor/file.c aa_perm_mask_to_str(str, sizeof(str), aa_file_perm_chrs, str 48 security/apparmor/file.c audit_log_string(ab, str); str 310 security/apparmor/include/label.h int aa_label_snxprint(char *str, size_t size, struct aa_ns *view, str 326 security/apparmor/include/label.h struct aa_label *aa_label_strn_parse(struct aa_label *base, const char *str, str 329 security/apparmor/include/label.h struct aa_label *aa_label_parse(struct aa_label *base, const char *str, str 332 security/apparmor/include/label.h static inline const char *aa_label_strn_split(const char *str, int n) str 337 security/apparmor/include/label.h state = aa_dfa_matchn_until(stacksplitdfa, DFA_START, str, n, &pos); str 344 security/apparmor/include/label.h static inline const char *aa_label_str_split(const char *str) str 349 security/apparmor/include/label.h state = aa_dfa_match_until(stacksplitdfa, DFA_START, str, &pos); str 49 security/apparmor/include/lib.h const char *skipn_spaces(const char *str, size_t n); str 53 security/apparmor/include/lib.h void aa_info_message(const char *str); str 66 security/apparmor/include/lib.h static inline bool aa_strneq(const char *str, const char *sub, int len) str 68 security/apparmor/include/lib.h return !strncmp(str, sub, len) && !str[len]; str 98 security/apparmor/include/lib.h #define str_to_counted(str) \ str 99 security/apparmor/include/lib.h ((struct counted_str *)(str - offsetof(struct counted_str, name))) str 107 security/apparmor/include/lib.h static inline __counted char *aa_get_str(__counted char *str) str 109 security/apparmor/include/lib.h if (str) str 110 security/apparmor/include/lib.h kref_get(&(str_to_counted(str)->count)); str 112 security/apparmor/include/lib.h return str; str 115 security/apparmor/include/lib.h static inline void aa_put_str(__counted char *str) str 117 security/apparmor/include/lib.h if (str) str 118 security/apparmor/include/lib.h kref_put(&str_to_counted(str)->count, aa_str_kref); str 187 security/apparmor/include/lib.h const char *str, int len) str 192 security/apparmor/include/lib.h if (aa_strneq(policy->name, str, len)) str 125 security/apparmor/include/match.h const char *str, int len); str 127 security/apparmor/include/match.h const char *str); str 131 security/apparmor/include/match.h const char *str, const char **retpos); str 133 security/apparmor/include/match.h const char *str, int n, const char **retpos); str 154 security/apparmor/include/match.h const char *str, unsigned int *count); str 136 security/apparmor/include/perms.h void aa_perm_mask_to_str(char *str, size_t str_size, const char *chrs, str 1459 security/apparmor/label.c #define update_for_len(total, len, size, str) \ str 1467 security/apparmor/label.c str += ulen; \ str 1484 security/apparmor/label.c static int aa_profile_snxprint(char *str, size_t size, struct aa_ns *view, str 1490 security/apparmor/label.c AA_BUG(!str && size != 0); str 1504 security/apparmor/label.c return snprintf(str, size, "%s", "unconfined"); str 1505 security/apparmor/label.c return snprintf(str, size, "%s", ns_name); str 1513 security/apparmor/label.c return snprintf(str, size, ":%s:%s (%s)", ns_name, str 1515 security/apparmor/label.c return snprintf(str, size, "%s (%s)", profile->base.hname, str 1520 security/apparmor/label.c return snprintf(str, size, ":%s:%s", ns_name, str 1522 security/apparmor/label.c return snprintf(str, size, "%s", profile->base.hname); str 1595 security/apparmor/label.c int aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, str 1604 security/apparmor/label.c AA_BUG(!str && size != 0); str 1609 security/apparmor/label.c len = snprintf(str, size, "="); str 1610 security/apparmor/label.c update_for_len(total, len, size, str); str 1618 security/apparmor/label.c len = snprintf(str, size, "//&"); str 1619 security/apparmor/label.c update_for_len(total, len, size, str); str 1621 security/apparmor/label.c len = aa_profile_snxprint(str, size, ns, profile, str 1624 security/apparmor/label.c update_for_len(total, len, size, str); str 1631 security/apparmor/label.c return snprintf(str, size, "%s", "unconfined"); str 1632 security/apparmor/label.c return snprintf(str, size, "%s", aa_hidden_ns_name); str 1639 security/apparmor/label.c len = snprintf(str, size, " (%s)", str 1641 security/apparmor/label.c update_for_len(total, len, size, str); str 1710 security/apparmor/label.c const char *str; str 1724 security/apparmor/label.c str = name; str 1726 security/apparmor/label.c str = (char *) label->hname; str 1727 security/apparmor/label.c len = strlen(str); str 1729 security/apparmor/label.c if (audit_string_contains_control(str, len)) str 1730 security/apparmor/label.c audit_log_n_hex(ab, str, len); str 1732 security/apparmor/label.c audit_log_n_string(ab, str, len); str 1744 security/apparmor/label.c char *str; str 1747 security/apparmor/label.c len = aa_label_asxprint(&str, ns, label, flags, gfp); str 1752 security/apparmor/label.c seq_printf(f, "%s", str); str 1753 security/apparmor/label.c kfree(str); str 1767 security/apparmor/label.c char *str; str 1770 security/apparmor/label.c len = aa_label_asxprint(&str, ns, label, flags, gfp); str 1775 security/apparmor/label.c pr_info("%s", str); str 1776 security/apparmor/label.c kfree(str); str 1808 security/apparmor/label.c static int label_count_strn_entries(const char *str, size_t n) str 1810 security/apparmor/label.c const char *end = str + n; str 1814 security/apparmor/label.c AA_BUG(!str); str 1816 security/apparmor/label.c for (split = aa_label_strn_split(str, end - str); str 1818 security/apparmor/label.c split = aa_label_strn_split(str, end - str)) { str 1820 security/apparmor/label.c str = split + 3; str 1835 security/apparmor/label.c const char *str, size_t n) str 1837 security/apparmor/label.c const char *first = skipn_spaces(str, n); str 1840 security/apparmor/label.c return aa_fqlookupn_profile(base, str, n); str 1842 security/apparmor/label.c return aa_fqlookupn_profile(currentbase, str, n); str 1857 security/apparmor/label.c struct aa_label *aa_label_strn_parse(struct aa_label *base, const char *str, str 1864 security/apparmor/label.c const char *end = str + n; str 1868 security/apparmor/label.c AA_BUG(!str); str 1870 security/apparmor/label.c str = skipn_spaces(str, n); str 1871 security/apparmor/label.c if (str == NULL || (*str == '=' && base != &root_ns->unconfined->label)) str 1874 security/apparmor/label.c len = label_count_strn_entries(str, end - str); str 1875 security/apparmor/label.c if (*str == '&' || force_stack) { str 1879 security/apparmor/label.c if (*str == '&') str 1880 security/apparmor/label.c str++; str 1890 security/apparmor/label.c for (split = aa_label_strn_split(str, end - str), i = stack; str 1892 security/apparmor/label.c vec[i] = fqlookupn_profile(base, currbase, str, split - str); str 1901 security/apparmor/label.c str = split + 3; str 1902 security/apparmor/label.c split = aa_label_strn_split(str, end - str); str 1906 security/apparmor/label.c vec[i] = fqlookupn_profile(base, currbase, str, end - str); str 1938 security/apparmor/label.c struct aa_label *aa_label_parse(struct aa_label *base, const char *str, str 1941 security/apparmor/label.c return aa_label_strn_parse(base, str, strlen(str), gfp, create, str 74 security/apparmor/lib.c const char *skipn_spaces(const char *str, size_t n) str 76 security/apparmor/lib.c for (; n && isspace(*str); --n) str 77 security/apparmor/lib.c ++str; str 79 security/apparmor/lib.c return (char *)str; str 124 security/apparmor/lib.c void aa_info_message(const char *str) str 129 security/apparmor/lib.c aad(&sa)->info = str; str 132 security/apparmor/lib.c printk(KERN_INFO "AppArmor: %s\n", str); str 137 security/apparmor/lib.c struct counted_str *str; str 139 security/apparmor/lib.c str = kmalloc(sizeof(struct counted_str) + size, gfp); str 140 security/apparmor/lib.c if (!str) str 143 security/apparmor/lib.c kref_init(&str->count); str 144 security/apparmor/lib.c return str->name; str 203 security/apparmor/lib.c void aa_perm_mask_to_str(char *str, size_t str_size, const char *chrs, u32 mask) str 214 security/apparmor/lib.c *str++ = chrs[i]; str 218 security/apparmor/lib.c *str = '\0'; str 242 security/apparmor/lib.c char str[33]; str 246 security/apparmor/lib.c aa_perm_mask_to_str(str, sizeof(str), chrs, mask & chrsmask); str 248 security/apparmor/lib.c audit_log_format(ab, "%s", str); str 1346 security/apparmor/lsm.c static int __init apparmor_enabled_setup(char *str) str 1349 security/apparmor/lsm.c int error = kstrtoul(str, 0, &enabled); str 401 security/apparmor/match.c const char *str, int len) str 418 security/apparmor/match.c equiv[(u8) *str++]); str 422 security/apparmor/match.c match_char(state, def, base, next, check, (u8) *str++); str 441 security/apparmor/match.c const char *str) str 457 security/apparmor/match.c while (*str) str 459 security/apparmor/match.c equiv[(u8) *str++]); str 462 security/apparmor/match.c while (*str) str 463 security/apparmor/match.c match_char(state, def, base, next, check, (u8) *str++); str 512 security/apparmor/match.c const char *str, const char **retpos) str 529 security/apparmor/match.c while (*str) { str 530 security/apparmor/match.c pos = base_idx(base[state]) + equiv[(u8) *str++]; str 540 security/apparmor/match.c while (*str) { str 541 security/apparmor/match.c pos = base_idx(base[state]) + (u8) *str++; str 551 security/apparmor/match.c *retpos = str; str 573 security/apparmor/match.c const char *str, int n, const char **retpos) str 592 security/apparmor/match.c pos = base_idx(base[state]) + equiv[(u8) *str++]; str 603 security/apparmor/match.c pos = base_idx(base[state]) + (u8) *str++; str 613 security/apparmor/match.c *retpos = str; str 648 security/apparmor/match.c const char *str, struct match_workbuf *wb, str 658 security/apparmor/match.c AA_BUG(!str); str 671 security/apparmor/match.c while (*str) { str 675 security/apparmor/match.c pos = base_idx(base[state]) + equiv[(u8) *str++]; str 681 security/apparmor/match.c state = aa_dfa_match(dfa, state, str); str 690 security/apparmor/match.c while (*str) { str 694 security/apparmor/match.c pos = base_idx(base[state]) + (u8) *str++; str 700 security/apparmor/match.c state = aa_dfa_match(dfa, state, str); str 729 security/apparmor/match.c const char *str, unsigned int *count) str 735 security/apparmor/match.c return leftmatch_fb(dfa, start, str, &wb, count); str 25 security/apparmor/path.c static int prepend(char **buffer, int buflen, const char *str, int namelen) str 31 security/apparmor/path.c memcpy(*buffer, str, namelen); str 200 security/apparmor/path.c char *str = NULL; str 201 security/apparmor/path.c int error = d_namespace_path(path, buffer, &str, flags, disconnected); str 214 security/apparmor/path.c *name = str; str 493 security/apparmor/policy_unpack.c char *str; str 494 security/apparmor/policy_unpack.c int c, j, pos, size2 = unpack_strdup(e, &str, NULL); str 500 security/apparmor/policy_unpack.c profile->file.trans.table[i] = str; str 502 security/apparmor/policy_unpack.c if (isspace(*str)) str 507 security/apparmor/policy_unpack.c if (!str[j]) { str 512 security/apparmor/policy_unpack.c if (*str == ':') { str 514 security/apparmor/policy_unpack.c if (!str[1]) str 523 security/apparmor/policy_unpack.c str[pos] = ':'; str 259 security/device_cgroup.c static void set_majmin(char *str, unsigned m) str 262 security/device_cgroup.c strcpy(str, "*"); str 264 security/device_cgroup.c sprintf(str, "%u", m); str 60 security/integrity/evm/evm_main.c static int __init evm_set_fixmode(char *str) str 62 security/integrity/evm/evm_main.c if (strncmp(str, "fix", 3) == 0) str 18 security/integrity/ima/ima_appraise.c static int __init default_appraise_setup(char *str) str 21 security/integrity/ima/ima_appraise.c if (strncmp(str, "off", 3) == 0) str 23 security/integrity/ima/ima_appraise.c else if (strncmp(str, "log", 3) == 0) str 25 security/integrity/ima/ima_appraise.c else if (strncmp(str, "fix", 3) == 0) str 31 security/integrity/ima/ima_fs.c static int __init default_canonical_fmt_setup(char *str) str 46 security/integrity/ima/ima_main.c static int __init hash_setup(char *str) str 55 security/integrity/ima/ima_main.c if (strncmp(str, "sha1", 4) == 0) str 57 security/integrity/ima/ima_main.c else if (strncmp(str, "md5", 3) == 0) str 64 security/integrity/ima/ima_main.c i = match_string(hash_algo_name, HASH_ALGO__LAST, str); str 211 security/integrity/ima/ima_policy.c static int __init default_measure_policy_setup(char *str) str 224 security/integrity/ima/ima_policy.c static int __init policy_setup(char *str) str 228 security/integrity/ima/ima_policy.c while ((p = strsep(&str, " |\n")) != NULL) { str 245 security/integrity/ima/ima_policy.c static int __init default_appraise_policy_setup(char *str) str 1310 security/integrity/ima/ima_policy.c #define __ima_hook_stringify(str) (#str), str 80 security/integrity/ima/ima_template.c static int __init ima_template_setup(char *str) str 83 security/integrity/ima/ima_template.c int template_len = strlen(str); str 94 security/integrity/ima/ima_template.c template_desc = lookup_template_desc(str); str 97 security/integrity/ima/ima_template.c str, CONFIG_IMA_DEFAULT_TEMPLATE); str 105 security/integrity/ima/ima_template.c if (template_len == 3 && strcmp(str, IMA_TEMPLATE_IMA_NAME) == 0 && str 116 security/integrity/ima/ima_template.c static int __init ima_template_fmt_setup(char *str) str 123 security/integrity/ima/ima_template.c if (template_desc_init_fields(str, NULL, NULL) < 0) { str 125 security/integrity/ima/ima_template.c str, CONFIG_IMA_DEFAULT_TEMPLATE); str 129 security/integrity/ima/ima_template.c builtin_templates[num_templates - 1].fmt = str; str 18 security/integrity/integrity_audit.c static int __init integrity_audit_setup(char *str) str 22 security/integrity/integrity_audit.c if (!kstrtoul(str, 0, &audit)) str 40 security/keys/encrypted-keys/encrypted.h static inline void dump_hmac(const char *str, const u8 *digest, str 43 security/keys/encrypted-keys/encrypted.h if (str) str 44 security/keys/encrypted-keys/encrypted.h pr_info("encrypted_key: %s", str); str 62 security/keys/encrypted-keys/encrypted.h static inline void dump_hmac(const char *str, const u8 *digest, str 376 security/security.c static int __init choose_major_lsm(char *str) str 378 security/security.c chosen_major_lsm = str; str 384 security/security.c static int __init choose_lsm_order(char *str) str 386 security/security.c chosen_lsm_order = str; str 392 security/security.c static int __init enable_debug(char *str) str 114 security/selinux/hooks.c static int __init enforcing_setup(char *str) str 117 security/selinux/hooks.c if (!kstrtoul(str, 0, &enforcing)) str 128 security/selinux/hooks.c static int __init selinux_enabled_setup(char *str) str 131 security/selinux/hooks.c if (!kstrtoul(str, 0, &enabled)) str 141 security/selinux/hooks.c static int __init checkreqprot_setup(char *str) str 145 security/selinux/hooks.c if (!kstrtoul(str, 0, &checkreqprot)) str 3186 security/selinux/hooks.c const char *str = value; str 3188 security/selinux/hooks.c if (str[size - 1] == '\0') str 6350 security/selinux/hooks.c char *str = value; str 6381 security/selinux/hooks.c if (size && str[0] && str[0] != '\n') { str 6382 security/selinux/hooks.c if (str[size-1] == '\n') { str 6383 security/selinux/hooks.c str[size-1] = 0; str 6395 security/selinux/hooks.c if (str[size - 1] == '\0') str 33 security/selinux/ss/context.h char *str; /* string representation if context cannot be mapped. */ str 125 security/selinux/ss/context.h if (src->str) { str 126 security/selinux/ss/context.h dst->str = kstrdup(src->str, GFP_ATOMIC); str 127 security/selinux/ss/context.h if (!dst->str) str 131 security/selinux/ss/context.h dst->str = NULL; str 136 security/selinux/ss/context.h kfree(dst->str); str 145 security/selinux/ss/context.h kfree(c->str); str 146 security/selinux/ss/context.h c->str = NULL; str 154 security/selinux/ss/context.h return (c1->len == c2->len && !strcmp(c1->str, c2->str)); str 361 security/selinux/ss/mls.c int mls_from_string(struct policydb *p, char *str, struct context *context, str 370 security/selinux/ss/mls.c tmpstr = kstrdup(str, gfp_mask); str 42 security/selinux/ss/mls.h int mls_from_string(struct policydb *p, char *str, struct context *context, str 1062 security/selinux/ss/policydb.c char *str; str 1067 security/selinux/ss/policydb.c str = kmalloc(len + 1, flags | __GFP_NOWARN); str 1068 security/selinux/ss/policydb.c if (!str) str 1072 security/selinux/ss/policydb.c *strp = str; str 1074 security/selinux/ss/policydb.c rc = next_entry(str, fp, len); str 1078 security/selinux/ss/policydb.c str[len] = '\0'; str 1221 security/selinux/ss/services.c *scontext = kstrdup(context->str, GFP_ATOMIC); str 1459 security/selinux/ss/services.c char *scontext2, *str = NULL; str 1489 security/selinux/ss/services.c str = kstrdup(scontext2, gfp_flags); str 1490 security/selinux/ss/services.c if (!str) str 1499 security/selinux/ss/services.c context.str = str; str 1500 security/selinux/ss/services.c context.len = strlen(str) + 1; str 1501 security/selinux/ss/services.c str = NULL; str 1510 security/selinux/ss/services.c kfree(str); str 1941 security/selinux/ss/services.c if (oldc->str) { str 1942 security/selinux/ss/services.c s = kstrdup(oldc->str, GFP_KERNEL); str 1956 security/selinux/ss/services.c memcpy(s, oldc->str, oldc->len); str 1958 security/selinux/ss/services.c newc->str = s; str 1966 security/selinux/ss/services.c oldc->str, -rc); str 1970 security/selinux/ss/services.c oldc->str); str 2043 security/selinux/ss/services.c newc->str = s; str 2046 security/selinux/ss/services.c newc->str); str 324 security/selinux/ss/sidtab.c context->str); str 1981 security/tomoyo/common.c static int tomoyo_truncate(char *str) str 1983 security/tomoyo/common.c char *start = str; str 1985 security/tomoyo/common.c while (*(unsigned char *) str > (unsigned char) ' ') str 1986 security/tomoyo/common.c str++; str 1987 security/tomoyo/common.c *str = '\0'; str 954 security/tomoyo/common.h char *tomoyo_encode(const char *str); str 955 security/tomoyo/common.h char *tomoyo_encode2(const char *str, int str_len); str 1043 security/tomoyo/common.h u8 tomoyo_parse_ulong(unsigned long *result, char **str); str 24 security/tomoyo/load_policy.c static int __init tomoyo_loader_setup(char *str) str 26 security/tomoyo/load_policy.c tomoyo_loader = str; str 64 security/tomoyo/load_policy.c static int __init tomoyo_trigger_setup(char *str) str 66 security/tomoyo/load_policy.c tomoyo_trigger = str; str 22 security/tomoyo/realpath.c char *tomoyo_encode2(const char *str, int str_len) str 26 security/tomoyo/realpath.c const char *p = str; str 48 security/tomoyo/realpath.c p = str; str 77 security/tomoyo/realpath.c char *tomoyo_encode(const char *str) str 79 security/tomoyo/realpath.c return str ? tomoyo_encode2(str, strlen(str)) : NULL; str 183 security/tomoyo/util.c u8 tomoyo_parse_ulong(unsigned long *result, char **str) str 185 security/tomoyo/util.c const char *cp = *str; str 203 security/tomoyo/util.c *str = ep; str 314 security/tomoyo/util.c static inline bool tomoyo_byte_range(const char *str) str 316 security/tomoyo/util.c return *str >= '0' && *str++ <= '3' && str 317 security/tomoyo/util.c *str >= '0' && *str++ <= '7' && str 318 security/tomoyo/util.c *str >= '0' && *str <= '7'; str 21 sound/core/info.c int snd_info_check_reserved_words(const char *str) str 41 sound/core/info.c if (!strcmp(*xstr, str)) str 45 sound/core/info.c if (!strncmp(str, "card", 4)) str 506 sound/core/info.c char str[8]; str 512 sound/core/info.c sprintf(str, "card%i", card->number); str 513 sound/core/info.c entry = create_subdir(card->module, str); str 54 sound/core/info_oss.c char *str; str 59 sound/core/info_oss.c str = snd_sndstat_strings[idx][dev]; str 60 sound/core/info_oss.c if (str) { str 65 sound/core/info_oss.c snd_iprintf(buf, "%i: %s\n", idx, str); str 959 sound/core/oss/mixer_oss.c char str[64]; str 966 sound/core/oss/mixer_oss.c sprintf(str, "%s Switch", ptr->name); str 967 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, str 971 sound/core/oss/mixer_oss.c sprintf(str, "%s Route", ptr->name); str 972 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, str 976 sound/core/oss/mixer_oss.c sprintf(str, "%s Volume", ptr->name); str 977 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, str 981 sound/core/oss/mixer_oss.c sprintf(str, "%s Playback Switch", ptr->name); str 982 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, str 986 sound/core/oss/mixer_oss.c sprintf(str, "%s Playback Route", ptr->name); str 987 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, str 991 sound/core/oss/mixer_oss.c sprintf(str, "%s Playback Volume", ptr->name); str 992 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, str 996 sound/core/oss/mixer_oss.c sprintf(str, "%s Capture Switch", ptr->name); str 997 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, str 1001 sound/core/oss/mixer_oss.c sprintf(str, "%s Capture Route", ptr->name); str 1002 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, str 1006 sound/core/oss/mixer_oss.c sprintf(str, "%s Capture Volume", ptr->name); str 1007 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, str 1026 sound/core/oss/mixer_oss.c char str[64]; str 1051 sound/core/oss/mixer_oss.c strcpy(str, ptr->name); str 1052 sound/core/oss/mixer_oss.c if (!strcmp(str, "Master")) str 1053 sound/core/oss/mixer_oss.c strcpy(str, "Mix"); str 1054 sound/core/oss/mixer_oss.c if (!strcmp(str, "Master Mono")) str 1055 sound/core/oss/mixer_oss.c strcpy(str, "Mix Mono"); str 1057 sound/core/oss/mixer_oss.c if (!strcmp(uinfo->value.enumerated.name, str)) { str 1067 sound/core/oss/mixer_oss.c if (!strcmp(uinfo->value.enumerated.name, str)) { str 1170 sound/core/oss/mixer_oss.c char line[128], str[32], idxstr[16]; str 1178 sound/core/oss/mixer_oss.c cptr = snd_info_get_str(str, line, sizeof(str)); str 1180 sound/core/oss/mixer_oss.c if (oss_mixer_names[ch] && strcmp(oss_mixer_names[ch], str) == 0) str 1184 sound/core/oss/mixer_oss.c str); str 1187 sound/core/oss/mixer_oss.c cptr = snd_info_get_str(str, cptr, sizeof(str)); str 1188 sound/core/oss/mixer_oss.c if (! *str) { str 1204 sound/core/oss/mixer_oss.c slot->assigned->index == idx && ! strcmp(slot->assigned->name, str)) str 1211 sound/core/oss/mixer_oss.c tbl->name = kstrdup(str, GFP_KERNEL); str 2949 sound/core/oss/pcm_oss.c char line[128], str[32], task_name[32]; str 2969 sound/core/oss/pcm_oss.c ptr = snd_info_get_str(str, ptr, sizeof(str)); str 2970 sound/core/oss/pcm_oss.c template.periods = simple_strtoul(str, NULL, 10); str 2971 sound/core/oss/pcm_oss.c ptr = snd_info_get_str(str, ptr, sizeof(str)); str 2972 sound/core/oss/pcm_oss.c template.period_size = simple_strtoul(str, NULL, 10); str 2979 sound/core/oss/pcm_oss.c ptr = snd_info_get_str(str, ptr, sizeof(str)); str 2980 sound/core/oss/pcm_oss.c if (!strcmp(str, "disable")) { str 2982 sound/core/oss/pcm_oss.c } else if (!strcmp(str, "direct")) { str 2984 sound/core/oss/pcm_oss.c } else if (!strcmp(str, "block")) { str 2986 sound/core/oss/pcm_oss.c } else if (!strcmp(str, "non-block")) { str 2988 sound/core/oss/pcm_oss.c } else if (!strcmp(str, "partial-frag")) { str 2990 sound/core/oss/pcm_oss.c } else if (!strcmp(str, "no-silence")) { str 2992 sound/core/oss/pcm_oss.c } else if (!strcmp(str, "buggy-ptr")) { str 2995 sound/core/oss/pcm_oss.c } while (*str); str 1010 sound/core/pcm.c const char *str; str 1019 sound/core/pcm.c str = "none"; str 1021 sound/core/pcm.c str = strs[pcm->dev_class]; str 1022 sound/core/pcm.c return snprintf(buf, PAGE_SIZE, "%s\n", str); str 132 sound/core/pcm_memory.c char line[64], str[64]; str 141 sound/core/pcm_memory.c snd_info_get_str(str, line, sizeof(str)); str 142 sound/core/pcm_memory.c size = simple_strtoul(str, NULL, 10) * 1024; str 466 sound/core/seq/oss/seq_oss_init.c static char *str[] = { str 469 sound/core/seq/oss/seq_oss_init.c return str[val & SNDRV_SEQ_OSS_FILE_ACMODE]; str 262 sound/core/seq/seq_timer.c char str[32]; str 270 sound/core/seq/seq_timer.c sprintf(str, "sequencer queue %i", q->queue); str 275 sound/core/seq/seq_timer.c err = snd_timer_open(&t, str, &tmr->alsa_id, q->queue); str 285 sound/core/seq/seq_timer.c err = snd_timer_open(&t, str, &tid, q->queue); str 66 sound/core/sound.c char *str; str 69 sound/core/sound.c case SNDRV_MINOR_SEQUENCER: str = "snd-seq"; break; str 70 sound/core/sound.c case SNDRV_MINOR_TIMER: str = "snd-timer"; break; str 73 sound/core/sound.c request_module(str); str 1723 sound/core/timer.c char str[32]; str 1735 sound/core/timer.c sprintf(str, "application %i", current->pid); str 1738 sound/core/timer.c err = snd_timer_open(&tu->timeri, str, &tselect.id, current->pid); str 112 sound/drivers/opl3/opl3_midi.c char *str = "x.24"; str 116 sound/drivers/opl3/opl3_midi.c printk(KERN_CONT "%c", *(str + opl3->voices[i].state + 1)); str 82 sound/firewire/bebob/bebob_midi.c struct snd_rawmidi_str *str) str 86 sound/firewire/bebob/bebob_midi.c list_for_each_entry(subs, &str->substreams, list) { str 106 sound/firewire/bebob/bebob_midi.c struct snd_rawmidi_str *str; str 126 sound/firewire/bebob/bebob_midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; str 128 sound/firewire/bebob/bebob_midi.c set_midi_substream_names(bebob, str); str 137 sound/firewire/bebob/bebob_midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; str 139 sound/firewire/bebob/bebob_midi.c set_midi_substream_names(bebob, str); str 86 sound/firewire/dice/dice-midi.c struct snd_rawmidi_str *str) str 90 sound/firewire/dice/dice-midi.c list_for_each_entry(subs, &str->substreams, list) { str 109 sound/firewire/dice/dice-midi.c struct snd_rawmidi_str *str; str 141 sound/firewire/dice/dice-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; str 143 sound/firewire/dice/dice-midi.c set_midi_substream_names(dice, str); str 152 sound/firewire/dice/dice-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; str 154 sound/firewire/dice/dice-midi.c set_midi_substream_names(dice, str); str 95 sound/firewire/digi00x/digi00x-midi.c struct snd_rawmidi_str *str; str 99 sound/firewire/digi00x/digi00x-midi.c str = &rmidi->streams[i]; str 101 sound/firewire/digi00x/digi00x-midi.c list_for_each_entry(subs, &str->substreams, list) { str 82 sound/firewire/fireworks/fireworks_midi.c struct snd_rawmidi_str *str) str 86 sound/firewire/fireworks/fireworks_midi.c list_for_each_entry(subs, &str->substreams, list) { str 105 sound/firewire/fireworks/fireworks_midi.c struct snd_rawmidi_str *str; str 125 sound/firewire/fireworks/fireworks_midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; str 127 sound/firewire/fireworks/fireworks_midi.c set_midi_substream_names(efw, str); str 136 sound/firewire/fireworks/fireworks_midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; str 138 sound/firewire/fireworks/fireworks_midi.c set_midi_substream_names(efw, str); str 86 sound/firewire/motu/motu-midi.c struct snd_rawmidi_str *str) str 90 sound/firewire/motu/motu-midi.c list_for_each_entry(subs, &str->substreams, list) { str 109 sound/firewire/motu/motu-midi.c struct snd_rawmidi_str *str; str 127 sound/firewire/motu/motu-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; str 128 sound/firewire/motu/motu-midi.c set_midi_substream_names(motu, str); str 132 sound/firewire/motu/motu-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; str 133 sound/firewire/motu/motu-midi.c set_midi_substream_names(motu, str); str 127 sound/firewire/oxfw/oxfw-midi.c struct snd_rawmidi_str *str) str 131 sound/firewire/oxfw/oxfw-midi.c list_for_each_entry(subs, &str->substreams, list) { str 151 sound/firewire/oxfw/oxfw-midi.c struct snd_rawmidi_str *str; str 174 sound/firewire/oxfw/oxfw-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; str 176 sound/firewire/oxfw/oxfw-midi.c set_midi_substream_names(oxfw, str); str 185 sound/firewire/oxfw/oxfw-midi.c str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; str 187 sound/firewire/oxfw/oxfw-midi.c set_midi_substream_names(oxfw, str); str 1680 sound/isa/es18xx.c char str[16]; str 1683 sound/isa/es18xx.c sprintf(str, "ES%x", chip->version); str 1685 sound/isa/es18xx.c err = snd_pcm_new(card, str, device, 2, 1, &pcm); str 1687 sound/isa/es18xx.c err = snd_pcm_new(card, str, device, 1, 1, &pcm); str 635 sound/isa/gus/interwave.c char *str; str 732 sound/isa/gus/interwave.c str = "AMD InterWave"; str 734 sound/isa/gus/interwave.c str = "Dynasonic 3-D"; str 736 sound/isa/gus/interwave.c str = "InterWave STB"; str 738 sound/isa/gus/interwave.c strcpy(card->driver, str); str 739 sound/isa/gus/interwave.c strcpy(card->shortname, str); str 741 sound/isa/gus/interwave.c str, str 213 sound/isa/opl3sa2.c char str[2]; str 243 sound/isa/opl3sa2.c str[0] = chip->version + '0'; str 244 sound/isa/opl3sa2.c str[1] = 0; str 245 sound/isa/opl3sa2.c strcat(card->shortname, str); str 95 sound/isa/sb/sb_common.c char *str; str 123 sound/isa/sb/sb_common.c str = "1.0"; str 128 sound/isa/sb/sb_common.c str = "2.01+"; str 131 sound/isa/sb/sb_common.c str = "2.0"; str 136 sound/isa/sb/sb_common.c str = "Pro"; str 140 sound/isa/sb/sb_common.c str = "16"; str 149 sound/isa/sb/sb_common.c str = "16 (ALS-100)"; str 152 sound/isa/sb/sb_common.c str = "16 (ALS-4000)"; str 155 sound/isa/sb/sb_common.c str = "(DT019X/ALS007)"; str 158 sound/isa/sb/sb_common.c str = "16 (CS5530)"; str 161 sound/isa/sb/sb_common.c str = "Pro (Jazz16)"; str 166 sound/isa/sb/sb_common.c sprintf(chip->name, "Sound Blaster %s", str); str 1461 sound/oss/dmasound/dmasound_core.c static int dmasound_setup(char *str) str 1465 sound/oss/dmasound/dmasound_core.c str = get_options(str, ARRAY_SIZE(ints), ints); str 3019 sound/pci/hda/hda_codec.c int str, err; str 3022 sound/pci/hda/hda_codec.c for (str = 0; str < 2; str++) { str 3023 sound/pci/hda/hda_codec.c struct hda_pcm_stream *hinfo = &pcm->stream[str]; str 3030 sound/pci/hda/hda_codec.c err = snd_pcm_add_chmap_ctls(pcm->pcm, str, elem, str 5664 sound/pci/hda/hda_generic.c static void fill_pcm_stream_name(char *str, size_t len, const char *sfx, str 5669 sound/pci/hda/hda_generic.c if (*str) str 5671 sound/pci/hda/hda_generic.c strlcpy(str, chip_name, len); str 5674 sound/pci/hda/hda_generic.c for (p = strchr(str, ' '); p; p = strchr(p + 1, ' ')) { str 5680 sound/pci/hda/hda_generic.c strlcat(str, sfx, len); str 5686 sound/pci/hda/hda_generic.c static void setup_pcm_stream(struct hda_pcm_stream *str, str 5691 sound/pci/hda/hda_generic.c *str = *default_str; str 5693 sound/pci/hda/hda_generic.c str->nid = nid; str 5696 sound/pci/hda/hda_generic.c str->substreams = spec_str->substreams; str 5698 sound/pci/hda/hda_generic.c str->channels_min = spec_str->channels_min; str 5700 sound/pci/hda/hda_generic.c str->channels_max = spec_str->channels_max; str 5702 sound/pci/hda/hda_generic.c str->rates = spec_str->rates; str 5704 sound/pci/hda/hda_generic.c str->formats = spec_str->formats; str 5706 sound/pci/hda/hda_generic.c str->maxbps = spec_str->maxbps; str 294 sound/pci/hda/hda_sysfs.c static void remove_trail_spaces(char *str) str 297 sound/pci/hda/hda_sysfs.c if (!*str) str 299 sound/pci/hda/hda_sysfs.c p = str + strlen(str) - 1; str 302 sound/pci/hda/hda_sysfs.c if (p == str) str 52 sound/pci/lola/lola_pcm.c struct lola_stream *str) str 54 sound/pci/lola/lola_pcm.c unsigned int val = lola_dsd_read(chip, str->dsd, STS); str 57 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, STS, val); str 60 sound/pci/lola/lola_pcm.c static void lola_stream_start(struct lola *chip, struct lola_stream *str, str 63 sound/pci/lola/lola_pcm.c lola_stream_clear_pending_irq(chip, str); str 64 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, CTL, str 72 sound/pci/lola/lola_pcm.c static void lola_stream_stop(struct lola *chip, struct lola_stream *str, str 75 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, CTL, str 80 sound/pci/lola/lola_pcm.c lola_stream_clear_pending_irq(chip, str); str 83 sound/pci/lola/lola_pcm.c static void wait_for_srst_clear(struct lola *chip, struct lola_stream *str) str 88 sound/pci/lola/lola_pcm.c val = lola_dsd_read(chip, str->dsd, CTL); str 93 sound/pci/lola/lola_pcm.c dev_warn(chip->card->dev, "SRST not clear (stream %d)\n", str->dsd); str 97 sound/pci/lola/lola_pcm.c struct lola_stream *str, str 103 sound/pci/lola/lola_pcm.c unsigned int reg = lola_dsd_read(chip, str->dsd, STS); str 108 sound/pci/lola/lola_pcm.c dev_warn(chip->card->dev, "FIFO not ready (stream %d)\n", str->dsd); str 127 sound/pci/lola/lola_pcm.c struct lola_stream *str; str 130 sound/pci/lola/lola_pcm.c str = lola_get_stream(s); str 131 sound/pci/lola/lola_pcm.c if (str->prepared && str->paused) { str 133 sound/pci/lola/lola_pcm.c reg = lola_dsd_read(chip, str->dsd, STS); str 135 sound/pci/lola/lola_pcm.c pending = str->dsd + 1; str 139 sound/pci/lola/lola_pcm.c str->paused = 0; str 158 sound/pci/lola/lola_pcm.c struct lola_stream *str; str 161 sound/pci/lola/lola_pcm.c str = lola_get_stream(s); str 162 sound/pci/lola/lola_pcm.c if (str->paused && str->prepared) str 163 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, CTL, LOLA_DSD_CTL_SRUN | str 169 sound/pci/lola/lola_pcm.c static void lola_stream_reset(struct lola *chip, struct lola_stream *str) str 171 sound/pci/lola/lola_pcm.c if (str->prepared) { str 172 sound/pci/lola/lola_pcm.c if (str->paused) str 173 sound/pci/lola/lola_pcm.c lola_sync_pause(chip, str->substream); str 174 sound/pci/lola/lola_pcm.c str->prepared = 0; str 175 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, CTL, str 177 sound/pci/lola/lola_pcm.c lola_stream_wait_for_fifo(chip, str, false); str 178 sound/pci/lola/lola_pcm.c lola_stream_clear_pending_irq(chip, str); str 179 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, CTL, LOLA_DSD_CTL_SRST); str 180 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, LVI, 0); str 181 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, BDPU, 0); str 182 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, BDPL, 0); str 183 sound/pci/lola/lola_pcm.c wait_for_srst_clear(chip, str); str 214 sound/pci/lola/lola_pcm.c struct lola_stream *str = lola_get_stream(substream); str 218 sound/pci/lola/lola_pcm.c if (str->opened) { str 222 sound/pci/lola/lola_pcm.c str->substream = substream; str 223 sound/pci/lola/lola_pcm.c str->master = NULL; str 224 sound/pci/lola/lola_pcm.c str->opened = 1; str 226 sound/pci/lola/lola_pcm.c runtime->hw.channels_max = pcm->num_streams - str->index; str 247 sound/pci/lola/lola_pcm.c struct lola_stream *str) str 250 sound/pci/lola/lola_pcm.c for (i = str->index + 1; i < pcm->num_streams; i++) { str 252 sound/pci/lola/lola_pcm.c if (s->master != str) str 262 sound/pci/lola/lola_pcm.c struct lola_stream *str = lola_get_stream(substream); str 265 sound/pci/lola/lola_pcm.c if (str->substream == substream) { str 266 sound/pci/lola/lola_pcm.c str->substream = NULL; str 267 sound/pci/lola/lola_pcm.c str->opened = 0; str 280 sound/pci/lola/lola_pcm.c struct lola_stream *str = lola_get_stream(substream); str 282 sound/pci/lola/lola_pcm.c str->bufsize = 0; str 283 sound/pci/lola/lola_pcm.c str->period_bytes = 0; str 284 sound/pci/lola/lola_pcm.c str->format_verb = 0; str 293 sound/pci/lola/lola_pcm.c struct lola_stream *str = lola_get_stream(substream); str 296 sound/pci/lola/lola_pcm.c lola_stream_reset(chip, str); str 297 sound/pci/lola/lola_pcm.c lola_cleanup_slave_streams(pcm, str); str 306 sound/pci/lola/lola_pcm.c struct lola_stream *str, __le32 **bdlp, str 315 sound/pci/lola/lola_pcm.c if (str->frags >= LOLA_MAX_BDL_ENTRIES) str 331 sound/pci/lola/lola_pcm.c str->frags++; str 343 sound/pci/lola/lola_pcm.c struct lola_stream *str) str 348 sound/pci/lola/lola_pcm.c period_bytes = str->period_bytes; str 349 sound/pci/lola/lola_pcm.c periods = str->bufsize / period_bytes; str 352 sound/pci/lola/lola_pcm.c bdl = (__le32 *)(pcm->bdl.area + LOLA_BDL_ENTRY_SIZE * str->index); str 354 sound/pci/lola/lola_pcm.c str->frags = 0; str 356 sound/pci/lola/lola_pcm.c ofs = setup_bdle(substream, str, &bdl, ofs, period_bytes); str 364 sound/pci/lola/lola_pcm.c str->bufsize, period_bytes); str 393 sound/pci/lola/lola_pcm.c struct lola_stream *str, str 402 sound/pci/lola/lola_pcm.c err = lola_codec_read(chip, str->nid, LOLA_VERB_SET_STREAM_FORMAT, str 403 sound/pci/lola/lola_pcm.c str->format_verb, 0, &val, NULL); str 406 sound/pci/lola/lola_pcm.c str->format_verb); str 412 sound/pci/lola/lola_pcm.c verb = (str->index << 6) | i; str 413 sound/pci/lola/lola_pcm.c err = lola_codec_read(chip, str[i].nid, str 429 sound/pci/lola/lola_pcm.c struct lola_stream *str) str 433 sound/pci/lola/lola_pcm.c if (str->prepared) str 437 sound/pci/lola/lola_pcm.c bdl = pcm->bdl.addr + LOLA_BDL_ENTRY_SIZE * str->index; str 438 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, BDPL, (u32)bdl); str 439 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, BDPU, upper_32_bits(bdl)); str 441 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, LVI, str->frags - 1); str 442 sound/pci/lola/lola_pcm.c lola_stream_clear_pending_irq(chip, str); str 444 sound/pci/lola/lola_pcm.c lola_dsd_write(chip, str->dsd, CTL, str 447 sound/pci/lola/lola_pcm.c str->prepared = 1; str 449 sound/pci/lola/lola_pcm.c return lola_stream_wait_for_fifo(chip, str, true); str 456 sound/pci/lola/lola_pcm.c struct lola_stream *str = lola_get_stream(substream); str 462 sound/pci/lola/lola_pcm.c lola_stream_reset(chip, str); str 463 sound/pci/lola/lola_pcm.c lola_cleanup_slave_streams(pcm, str); str 464 sound/pci/lola/lola_pcm.c if (str->index + runtime->channels > pcm->num_streams) { str 469 sound/pci/lola/lola_pcm.c str[i].master = str; str 470 sound/pci/lola/lola_pcm.c str[i].opened = 1; str 478 sound/pci/lola/lola_pcm.c str->bufsize = bufsize; str 479 sound/pci/lola/lola_pcm.c str->period_bytes = period_bytes; str 480 sound/pci/lola/lola_pcm.c str->format_verb = format_verb; str 482 sound/pci/lola/lola_pcm.c err = lola_setup_periods(chip, pcm, substream, str); str 491 sound/pci/lola/lola_pcm.c err = lola_set_stream_config(chip, str, runtime->channels); str 495 sound/pci/lola/lola_pcm.c err = lola_setup_controller(chip, pcm, str); str 497 sound/pci/lola/lola_pcm.c lola_stream_reset(chip, str); str 507 sound/pci/lola/lola_pcm.c struct lola_stream *str; str 538 sound/pci/lola/lola_pcm.c str = lola_get_stream(s); str 540 sound/pci/lola/lola_pcm.c lola_stream_start(chip, str, tstamp); str 542 sound/pci/lola/lola_pcm.c lola_stream_stop(chip, str, tstamp); str 543 sound/pci/lola/lola_pcm.c str->running = start; str 544 sound/pci/lola/lola_pcm.c str->paused = !start; str 554 sound/pci/lola/lola_pcm.c struct lola_stream *str = lola_get_stream(substream); str 555 sound/pci/lola/lola_pcm.c unsigned int pos = lola_dsd_read(chip, str->dsd, LPIB); str 557 sound/pci/lola/lola_pcm.c if (pos >= str->bufsize) str 568 sound/pci/lola/lola_pcm.c struct lola_stream *str = &pcm->streams[i]; str 569 sound/pci/lola/lola_pcm.c if (str->substream && str->running) str 570 sound/pci/lola/lola_pcm.c snd_pcm_period_elapsed(str->substream); str 629 sound/pci/lola/lola_pcm.c static int lola_init_stream(struct lola *chip, struct lola_stream *str, str 635 sound/pci/lola/lola_pcm.c str->nid = nid; str 636 sound/pci/lola/lola_pcm.c str->index = idx; str 637 sound/pci/lola/lola_pcm.c str->dsd = idx; str 639 sound/pci/lola/lola_pcm.c str->dsd += MAX_STREAM_IN_COUNT; str 675 sound/pci/lola/lola_pcm.c str->can_float = true; str 67 sound/pci/trident/trident.c const char *str; str 94 sound/pci/trident/trident.c str = "TRID4DWAVEDX"; str 97 sound/pci/trident/trident.c str = "TRID4DWAVENX"; str 100 sound/pci/trident/trident.c str = "SI7018"; str 103 sound/pci/trident/trident.c str = "Unknown"; str 105 sound/pci/trident/trident.c strcpy(card->driver, str); str 111 sound/pci/trident/trident.c strcat(card->shortname, str); str 168 sound/pci/ymfpci/ymfpci.c const char *str, *model; str 185 sound/pci/ymfpci/ymfpci.c case 0x0004: str = "YMF724"; model = "DS-1"; break; str 186 sound/pci/ymfpci/ymfpci.c case 0x000d: str = "YMF724F"; model = "DS-1"; break; str 187 sound/pci/ymfpci/ymfpci.c case 0x000a: str = "YMF740"; model = "DS-1L"; break; str 188 sound/pci/ymfpci/ymfpci.c case 0x000c: str = "YMF740C"; model = "DS-1L"; break; str 189 sound/pci/ymfpci/ymfpci.c case 0x0010: str = "YMF744"; model = "DS-1S"; break; str 190 sound/pci/ymfpci/ymfpci.c case 0x0012: str = "YMF754"; model = "DS-1E"; break; str 191 sound/pci/ymfpci/ymfpci.c default: model = str = "???"; break; str 264 sound/pci/ymfpci/ymfpci.c strcpy(card->driver, str); str 265 sound/pci/ymfpci/ymfpci.c sprintf(card->shortname, "Yamaha %s (%s)", model, str); str 1608 sound/soc/codecs/da7213.c da7213_of_dmic_data_sel(struct snd_soc_component *component, const char *str) str 1610 sound/soc/codecs/da7213.c if (!strcmp(str, "lrise_rfall")) { str 1612 sound/soc/codecs/da7213.c } else if (!strcmp(str, "lfall_rrise")) { str 1621 sound/soc/codecs/da7213.c da7213_of_dmic_samplephase(struct snd_soc_component *component, const char *str) str 1623 sound/soc/codecs/da7213.c if (!strcmp(str, "on_clkedge")) { str 1625 sound/soc/codecs/da7213.c } else if (!strcmp(str, "between_clkedge")) { str 2327 sound/soc/codecs/da7218.c da7218_of_mic_amp_in_sel(struct snd_soc_component *component, const char *str) str 2329 sound/soc/codecs/da7218.c if (!strcmp(str, "diff")) { str 2331 sound/soc/codecs/da7218.c } else if (!strcmp(str, "se_p")) { str 2333 sound/soc/codecs/da7218.c } else if (!strcmp(str, "se_n")) { str 2342 sound/soc/codecs/da7218.c da7218_of_dmic_data_sel(struct snd_soc_component *component, const char *str) str 2344 sound/soc/codecs/da7218.c if (!strcmp(str, "lrise_rfall")) { str 2346 sound/soc/codecs/da7218.c } else if (!strcmp(str, "lfall_rrise")) { str 2355 sound/soc/codecs/da7218.c da7218_of_dmic_samplephase(struct snd_soc_component *component, const char *str) str 2357 sound/soc/codecs/da7218.c if (!strcmp(str, "on_clkedge")) { str 2359 sound/soc/codecs/da7218.c } else if (!strcmp(str, "between_clkedge")) { str 545 sound/soc/codecs/da7219-aad.c da7219_aad_fw_jack_det_rate(struct snd_soc_component *component, const char *str) str 547 sound/soc/codecs/da7219-aad.c if (!strcmp(str, "32ms_64ms")) { str 549 sound/soc/codecs/da7219-aad.c } else if (!strcmp(str, "64ms_128ms")) { str 551 sound/soc/codecs/da7219-aad.c } else if (!strcmp(str, "128ms_256ms")) { str 553 sound/soc/codecs/da7219-aad.c } else if (!strcmp(str, "256ms_512ms")) { str 1740 sound/soc/codecs/da7219.c da7219_fw_mic_amp_in_sel(struct device *dev, const char *str) str 1742 sound/soc/codecs/da7219.c if (!strcmp(str, "diff")) { str 1744 sound/soc/codecs/da7219.c } else if (!strcmp(str, "se_p")) { str 1746 sound/soc/codecs/da7219.c } else if (!strcmp(str, "se_n")) { str 46 sound/soc/codecs/wm8958-dsp2.c char *str; str 128 sound/soc/codecs/wm8958-dsp2.c str = kzalloc(block_len + 1, GFP_KERNEL); str 129 sound/soc/codecs/wm8958-dsp2.c if (str) { str 130 sound/soc/codecs/wm8958-dsp2.c memcpy(str, data + 8, block_len); str 131 sound/soc/codecs/wm8958-dsp2.c dev_info(component->dev, "%s: %s\n", name, str); str 132 sound/soc/codecs/wm8958-dsp2.c kfree(str); str 1536 sound/soc/codecs/wm_adsp.c static int wm_coeff_parse_string(int bytes, const u8 **pos, const u8 **str) str 1551 sound/soc/codecs/wm_adsp.c if (str) str 1552 sound/soc/codecs/wm_adsp.c *str = *pos + bytes; str 944 sound/soc/soc-core.c const char *str; str 947 sound/soc/soc-core.c ret = of_property_read_string(of_node, "sound-name-prefix", &str); str 949 sound/soc/soc-core.c component->name_prefix = str; str 3124 sound/soc/soc-core.c const char *str; str 3127 sound/soc/soc-core.c ret = of_property_read_string(np, propname, &str); str 3134 sound/soc/soc-core.c codec_conf->name_prefix = str; str 3203 sound/soc/soc-core.c const char *str; str 3227 sound/soc/soc-core.c ret = of_property_read_string(np, "dai-format", &str); str 3230 sound/soc/soc-core.c ret = of_property_read_string(np, prop, &str); str 3234 sound/soc/soc-core.c if (strcmp(str, of_fmt_table[i].name) == 0) { str 52 sound/soc/sof/ipc.c u8 *str; str 62 sound/soc/sof/ipc.c str = "GLB_REPLY"; break; str 64 sound/soc/sof/ipc.c str = "GLB_COMPOUND"; break; str 66 sound/soc/sof/ipc.c str = "GLB_TPLG_MSG"; str 91 sound/soc/sof/ipc.c str = "GLB_PM_MSG"; str 112 sound/soc/sof/ipc.c str = "GLB_COMP_MSG"; str 127 sound/soc/sof/ipc.c str = "GLB_STREAM_MSG"; str 158 sound/soc/sof/ipc.c str = "FW_READY"; break; str 160 sound/soc/sof/ipc.c str = "GLB_DAI_MSG"; str 171 sound/soc/sof/ipc.c str = "GLB_TRACE_MSG"; break; str 173 sound/soc/sof/ipc.c str = "GLB_TEST_MSG"; str 182 sound/soc/sof/ipc.c str = "unknown GLB command"; break; str 186 sound/soc/sof/ipc.c dev_dbg(dev, "%s: 0x%x: %s: %s\n", text, cmd, str, str2); str 188 sound/soc/sof/ipc.c dev_dbg(dev, "%s: 0x%x: %s\n", text, cmd, str); str 1512 sound/usb/mixer.c static size_t append_ctl_name(struct snd_kcontrol *kctl, const char *str) str 1514 sound/usb/mixer.c return strlcat(kctl->id.name, str, sizeof(kctl->id.name)); str 294 sound/xen/xen_snd_front_cfg.c char *str = NULL; str 306 sound/xen/xen_snd_front_cfg.c str = xenbus_read(XBT_NIL, stream_path, XENSND_FIELD_TYPE, NULL); str 307 sound/xen/xen_snd_front_cfg.c if (IS_ERR(str)) { str 308 sound/xen/xen_snd_front_cfg.c ret = PTR_ERR(str); str 309 sound/xen/xen_snd_front_cfg.c str = NULL; str 313 sound/xen/xen_snd_front_cfg.c if (!strncasecmp(str, XENSND_STREAM_TYPE_PLAYBACK, str 316 sound/xen/xen_snd_front_cfg.c } else if (!strncasecmp(str, XENSND_STREAM_TYPE_CAPTURE, str 327 sound/xen/xen_snd_front_cfg.c kfree(str); str 336 sound/xen/xen_snd_front_cfg.c char *str = NULL; str 348 sound/xen/xen_snd_front_cfg.c str = xenbus_read(XBT_NIL, stream_path, XENSND_FIELD_TYPE, NULL); str 349 sound/xen/xen_snd_front_cfg.c if (IS_ERR(str)) { str 350 sound/xen/xen_snd_front_cfg.c ret = PTR_ERR(str); str 351 sound/xen/xen_snd_front_cfg.c str = NULL; str 355 sound/xen/xen_snd_front_cfg.c if (!strncasecmp(str, XENSND_STREAM_TYPE_PLAYBACK, str 358 sound/xen/xen_snd_front_cfg.c } else if (!strncasecmp(str, XENSND_STREAM_TYPE_CAPTURE, str 379 sound/xen/xen_snd_front_cfg.c kfree(str); str 388 sound/xen/xen_snd_front_cfg.c char *str; str 399 sound/xen/xen_snd_front_cfg.c str = xenbus_read(XBT_NIL, device_path, XENSND_FIELD_DEVICE_NAME, NULL); str 400 sound/xen/xen_snd_front_cfg.c if (!IS_ERR(str)) { str 401 sound/xen/xen_snd_front_cfg.c strlcpy(pcm_instance->name, str, sizeof(pcm_instance->name)); str 402 sound/xen/xen_snd_front_cfg.c kfree(str); str 40 tools/bpf/bpf_exp.y extern void yyerror(const char *str); str 652 tools/bpf/bpf_exp.y void yyerror(const char *str) str 654 tools/bpf/bpf_exp.y fprintf(stderr, "error: %s at line %d\n", str, yylineno); str 56 tools/bpf/bpftool/cgroup.c static enum bpf_attach_type parse_attach_type(const char *str) str 62 tools/bpf/bpftool/cgroup.c is_prefix(str, attach_type_strings[type])) str 52 tools/bpf/bpftool/feature.c static void uppercase(char *str, size_t len) str 56 tools/bpf/bpftool/feature.c for (i = 0; i < len && str[i] != '\0'; i++) str 57 tools/bpf/bpftool/feature.c str[i] = toupper(str[i]); str 57 tools/bpf/bpftool/json_writer.c static void jsonw_puts(json_writer_t *self, const char *str) str 60 tools/bpf/bpftool/json_writer.c for (; *str; ++str) str 61 tools/bpf/bpftool/json_writer.c switch (*str) { str 87 tools/bpf/bpftool/json_writer.c putc(*str, self->out); str 110 tools/bpf/bpftool/main.c bool is_prefix(const char *pfx, const char *str) str 114 tools/bpf/bpftool/main.c if (strlen(str) < strlen(pfx)) str 117 tools/bpf/bpftool/main.c return !memcmp(str, pfx, strlen(pfx)); str 104 tools/bpf/bpftool/main.h bool is_prefix(const char *pfx, const char *str); str 74 tools/bpf/bpftool/net.c static enum net_attach_type parse_attach_type(const char *str) str 80 tools/bpf/bpftool/net.c is_prefix(str, attach_type_strings[type])) str 79 tools/bpf/bpftool/netlink_dumper.h #define NET_DUMP_STR(name, fmt_str, str) \ str 82 tools/bpf/bpftool/netlink_dumper.h jsonw_string_field(json_wtr, name, str);\ str 84 tools/bpf/bpftool/netlink_dumper.h fprintf(stdout, fmt_str, str); \ str 87 tools/bpf/bpftool/netlink_dumper.h #define NET_DUMP_STR_ONLY(str) \ str 90 tools/bpf/bpftool/netlink_dumper.h jsonw_string(json_wtr, str); \ str 92 tools/bpf/bpftool/netlink_dumper.h fprintf(stdout, "%s ", str); \ str 36 tools/bpf/bpftool/prog.c static enum bpf_attach_type parse_attach_type(const char *str) str 42 tools/bpf/bpftool/prog.c is_prefix(str, attach_type_strings[type])) str 19 tools/gpio/gpio-utils.h static inline int check_prefix(const char *str, const char *prefix) str 21 tools/gpio/gpio-utils.h return strlen(str) > strlen(prefix) && str 22 tools/gpio/gpio-utils.h strncmp(str, prefix, strlen(prefix)) == 0; str 772 tools/hv/hv_kvp_daemon.c const char *str; str 776 tools/hv/hv_kvp_daemon.c str = inet_ntop(family, &addr->sin_addr, tmp, 50); str 780 tools/hv/hv_kvp_daemon.c str = inet_ntop(family, &addr6->sin6_addr.s6_addr, tmp, 50); str 786 tools/hv/hv_kvp_daemon.c if (str == NULL) { str 797 tools/hv/hv_kvp_daemon.c *offset += strlen(str) + 1; str 1102 tools/hv/hv_kvp_daemon.c char str[256]; str 1115 tools/hv/hv_kvp_daemon.c snprintf(str, sizeof(str), "%s", "IPADDR"); str 1118 tools/hv/hv_kvp_daemon.c snprintf(str, sizeof(str), "%s", "NETMASK"); str 1121 tools/hv/hv_kvp_daemon.c snprintf(str, sizeof(str), "%s", "GATEWAY"); str 1124 tools/hv/hv_kvp_daemon.c snprintf(str, sizeof(str), "%s", "DNS"); str 1140 tools/hv/hv_kvp_daemon.c snprintf(str, sizeof(str), "%s", "IPV6ADDR"); str 1143 tools/hv/hv_kvp_daemon.c snprintf(str, sizeof(str), "%s", "IPV6NETMASK"); str 1146 tools/hv/hv_kvp_daemon.c snprintf(str, sizeof(str), "%s", str 1150 tools/hv/hv_kvp_daemon.c snprintf(str, sizeof(str), "%s", "DNS"); str 1165 tools/hv/hv_kvp_daemon.c error = kvp_write_file(f, str, sub_str, addr); str 954 tools/iio/iio_utils.c int read_sysfs_string(const char *filename, const char *basedir, char *str) str 976 tools/iio/iio_utils.c if (fscanf(sysfsfp, "%s\n", str) != 1) { str 52 tools/iio/iio_utils.h static inline int iioutils_check_suffix(const char *str, const char *suffix) str 54 tools/iio/iio_utils.h return strlen(str) >= strlen(suffix) && str 55 tools/iio/iio_utils.h strncmp(str+strlen(str)-strlen(suffix), str 80 tools/iio/iio_utils.h int read_sysfs_string(const char *filename, const char *basedir, char *str); str 28 tools/iio/lsiio.c static inline int check_prefix(const char *str, const char *prefix) str 30 tools/iio/lsiio.c return strlen(str) > strlen(prefix) && str 31 tools/iio/lsiio.c strncmp(str, prefix, strlen(prefix)) == 0; str 34 tools/iio/lsiio.c static inline int check_postfix(const char *str, const char *postfix) str 36 tools/iio/lsiio.c return strlen(str) > strlen(postfix) && str 37 tools/iio/lsiio.c strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; str 45 tools/include/linux/refcount.h #define REFCOUNT_WARN(cond, str) (void)(cond) str 48 tools/include/linux/refcount.h #define REFCOUNT_WARN(cond, str) BUG_ON(cond) str 10 tools/include/linux/string.h char **argv_split(const char *str, int *argcp); str 40 tools/include/linux/string.h static inline bool strstarts(const char *str, const char *prefix) str 42 tools/include/linux/string.h return strncmp(str, prefix, strlen(prefix)) == 0; str 2352 tools/include/nolibc/nolibc.h size_t nolibc_strlen(const char *str) str 2356 tools/include/nolibc/nolibc.h for (len = 0; str[len]; len++); str 2360 tools/include/nolibc/nolibc.h #define strlen(str) ({ \ str 2361 tools/include/nolibc/nolibc.h __builtin_constant_p((str)) ? \ str 2362 tools/include/nolibc/nolibc.h __builtin_strlen((str)) : \ str 2363 tools/include/nolibc/nolibc.h nolibc_strlen((str)); \ str 82 tools/laptop/freefall/freefall.c const char *str = (seconds == 0) ? "Unparked" : "Parked"; str 85 tools/laptop/freefall/freefall.c syslog(LOG_INFO, "%s %s disk head\n", str, device_path); str 19 tools/lib/argv_split.c static int count_argc(const char *str) str 23 tools/lib/argv_split.c while (*str) { str 24 tools/lib/argv_split.c str = skip_spaces(str); str 25 tools/lib/argv_split.c if (*str) { str 27 tools/lib/argv_split.c str = skip_arg(str); str 63 tools/lib/argv_split.c char **argv_split(const char *str, int *argcp) str 65 tools/lib/argv_split.c int argc = count_argc(str); str 77 tools/lib/argv_split.c while (*str) { str 78 tools/lib/argv_split.c str = skip_spaces(str); str 80 tools/lib/argv_split.c if (*str) { str 81 tools/lib/argv_split.c const char *p = str; str 84 tools/lib/argv_split.c str = skip_arg(str); str 86 tools/lib/argv_split.c t = strndup(p, str-p); str 1301 tools/lib/bpf/btf.c const char *str; str 1542 tools/lib/bpf/btf.c return strcmp(p1->str, p2->str); str 1550 tools/lib/bpf/btf.c if (p1->str != p2->str) str 1551 tools/lib/bpf/btf.c return p1->str < p2->str ? -1 : 1; str 1559 tools/lib/bpf/btf.c if (str_ptr != p->str) str 1560 tools/lib/bpf/btf.c return (const char *)str_ptr < p->str ? -1 : 1; str 1639 tools/lib/bpf/btf.c strs.ptrs[strs.cnt].str = p; str 1677 tools/lib/bpf/btf.c !strcmp(strs.ptrs[i].str, strs.ptrs[grp_idx].str)) { str 1689 tools/lib/bpf/btf.c __u32 len = strlen(strs.ptrs[grp_idx].str); str 1691 tools/lib/bpf/btf.c memmove(p, strs.ptrs[grp_idx].str, len + 1); str 124 tools/lib/string.c char *skip_spaces(const char *str) str 126 tools/lib/string.c while (isspace(*str)) str 127 tools/lib/string.c ++str; str 128 tools/lib/string.c return (char *)str; str 32 tools/lib/subcmd/parse-options.c static const char *skip_prefix(const char *str, const char *prefix) str 35 tools/lib/subcmd/parse-options.c return strncmp(str, prefix, len) ? NULL : str + len; str 862 tools/lib/traceevent/event-parse.c free(fsym->str); str 1002 tools/lib/traceevent/event-parse.c static enum tep_event_type force_token(const char *str, char **tok); str 1170 tools/lib/traceevent/event-parse.c static enum tep_event_type force_token(const char *str, char **tok) str 1182 tools/lib/traceevent/event-parse.c init_input_buf(str, strlen(str)); str 1301 tools/lib/traceevent/event-parse.c static int __read_expected(enum tep_event_type expect, const char *str, str 1313 tools/lib/traceevent/event-parse.c ret = test_type_token(type, token, expect, str); str 1320 tools/lib/traceevent/event-parse.c static int read_expected(enum tep_event_type expect, const char *str) str 1322 tools/lib/traceevent/event-parse.c return __read_expected(expect, str, 1); str 1325 tools/lib/traceevent/event-parse.c static int read_expected_item(enum tep_event_type expect, const char *str) str 1327 tools/lib/traceevent/event-parse.c return __read_expected(expect, str, 0); str 2572 tools/lib/traceevent/event-parse.c field->str = strdup(value); str 2573 tools/lib/traceevent/event-parse.c if (field->str == NULL) str 3876 tools/lib/traceevent/event-parse.c int len_arg, const char *str) str 3879 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, len_arg, str); str 3881 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, str); str 3892 tools/lib/traceevent/event-parse.c char *str; str 3902 tools/lib/traceevent/event-parse.c str = malloc(str_size + 1); str 3903 tools/lib/traceevent/event-parse.c if (!str) { str 3907 tools/lib/traceevent/event-parse.c str[str_size] = 0; str 3922 tools/lib/traceevent/event-parse.c memcpy(str + i, buf, 2); str 3926 tools/lib/traceevent/event-parse.c str[i] = ','; str 3931 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, len_arg, str); str 3933 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, str); str 3935 tools/lib/traceevent/event-parse.c free(str); str 3948 tools/lib/traceevent/event-parse.c char *str; str 3965 tools/lib/traceevent/event-parse.c str = arg->field.name; str 4006 tools/lib/traceevent/event-parse.c str = malloc(len + 1); str 4007 tools/lib/traceevent/event-parse.c if (!str) { str 4012 tools/lib/traceevent/event-parse.c memcpy(str, data + field->offset, len); str 4013 tools/lib/traceevent/event-parse.c str[len] = 0; str 4014 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, str); str 4015 tools/lib/traceevent/event-parse.c free(str); str 4023 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, flag->str); str 4029 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, flag->str); str 4045 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, flag->str); str 4063 tools/lib/traceevent/event-parse.c str = arg->hex.field->field.name; str 4064 tools/lib/traceevent/event-parse.c field = tep_find_any_field(event, str); str 4094 tools/lib/traceevent/event-parse.c str = arg->int_array.field->field.name; str 4095 tools/lib/traceevent/event-parse.c field = tep_find_any_field(event, str); str 4201 tools/lib/traceevent/event-parse.c struct trace_seq str; str 4204 tools/lib/traceevent/event-parse.c char *str; str 4229 tools/lib/traceevent/event-parse.c trace_seq_init(&str); str 4230 tools/lib/traceevent/event-parse.c print_str_arg(&str, data, size, event, "%s", -1, farg); str 4231 tools/lib/traceevent/event-parse.c trace_seq_terminate(&str); str 4239 tools/lib/traceevent/event-parse.c string->str = strdup(str.buffer); str 4240 tools/lib/traceevent/event-parse.c if (!string->str) { str 4246 tools/lib/traceevent/event-parse.c args[i] = (uintptr_t)string->str; str 4248 tools/lib/traceevent/event-parse.c trace_seq_destroy(&str); str 4268 tools/lib/traceevent/event-parse.c free(string->str); str 5602 tools/lib/traceevent/event-parse.c char *str = format + 1; str 5606 tools/lib/traceevent/event-parse.c while (*str) { str 5607 tools/lib/traceevent/event-parse.c switch (*str) { str 5620 tools/lib/traceevent/event-parse.c str++; str 5658 tools/lib/traceevent/event-parse.c char *str = format; str 5669 tools/lib/traceevent/event-parse.c current = strchr(str, '%'); str 5671 tools/lib/traceevent/event-parse.c trace_seq_puts(s, str); str 5677 tools/lib/traceevent/event-parse.c trace_seq_puts(s, str); str 5693 tools/lib/traceevent/event-parse.c str = current; str 5921 tools/lib/traceevent/event-parse.c trace_seq_printf(s, "{ %s, %s }", field->value, field->str); str 186 tools/lib/traceevent/event-parse.h char *str; str 417 tools/lib/traceevent/event-parse.h unsigned char str[] = { 0x1, 0x2, 0x3, 0x4 }; str 420 tools/lib/traceevent/event-parse.h memcpy(&val, str, 4); str 661 tools/lib/traceevent/event-parse.h char *str; str 701 tools/lib/traceevent/event-parse.h struct tep_filter_arg_str str; str 41 tools/lib/traceevent/event-plugin.c static void lower_case(char *str) str 43 tools/lib/traceevent/event-plugin.c if (!str) str 45 tools/lib/traceevent/event-plugin.c for (; *str; str++) str 46 tools/lib/traceevent/event-plugin.c *str = tolower(*str); str 68 tools/lib/traceevent/kbuffer-parse.c unsigned char str[] = { 0x1, 0x2, 0x3, 0x4 }; str 71 tools/lib/traceevent/kbuffer-parse.c ptr = (unsigned int *)str; str 210 tools/lib/traceevent/parse-filter.c free(arg->str.val); str 211 tools/lib/traceevent/parse-filter.c regfree(&arg->str.reg); str 212 tools/lib/traceevent/parse-filter.c free(arg->str.buffer); str 218 tools/lib/traceevent/parse-filter.c free(arg->value.str); str 356 tools/lib/traceevent/parse-filter.c arg->value.str = strdup(token); str 357 tools/lib/traceevent/parse-filter.c if (!arg->value.str) { str 448 tools/lib/traceevent/parse-filter.c char *str; str 491 tools/lib/traceevent/parse-filter.c if (strlen(arg->value.str) == 1 && str 503 tools/lib/traceevent/parse-filter.c str = arg->value.str; str 538 tools/lib/traceevent/parse-filter.c ret = regcomp(&op->str.reg, str, REG_ICASE|REG_NOSUB); str 542 tools/lib/traceevent/parse-filter.c str); str 553 tools/lib/traceevent/parse-filter.c op->str.type = op_type; str 554 tools/lib/traceevent/parse-filter.c op->str.field = left->field.field; str 555 tools/lib/traceevent/parse-filter.c op->str.val = strdup(str); str 556 tools/lib/traceevent/parse-filter.c if (!op->str.val) { str 563 tools/lib/traceevent/parse-filter.c op->str.buffer = malloc(op->str.field->size + 1); str 564 tools/lib/traceevent/parse-filter.c if (!op->str.buffer) { str 569 tools/lib/traceevent/parse-filter.c op->str.buffer[op->str.field->size] = 0; str 1462 tools/lib/traceevent/parse-filter.c char *str; str 1471 tools/lib/traceevent/parse-filter.c str = arg_to_str(source, filter_type->filter); str 1472 tools/lib/traceevent/parse-filter.c if (!str) str 1475 tools/lib/traceevent/parse-filter.c if (strcmp(str, "TRUE") == 0 || strcmp(str, "FALSE") == 0) { str 1479 tools/lib/traceevent/parse-filter.c free(str); str 1484 tools/lib/traceevent/parse-filter.c if (strcmp(str, "TRUE") == 0) str 1491 tools/lib/traceevent/parse-filter.c free(str); str 1498 tools/lib/traceevent/parse-filter.c free(str); str 1502 tools/lib/traceevent/parse-filter.c filter_event(filter, event, str, NULL); str 1503 tools/lib/traceevent/parse-filter.c free(str); str 1714 tools/lib/traceevent/parse-filter.c if (arg->str.field->flags & TEP_FIELD_IS_STRING) { str 1715 tools/lib/traceevent/parse-filter.c val = record->data + arg->str.field->offset; str 1716 tools/lib/traceevent/parse-filter.c size = arg->str.field->size; str 1718 tools/lib/traceevent/parse-filter.c if (arg->str.field->flags & TEP_FIELD_IS_DYNAMIC) { str 1730 tools/lib/traceevent/parse-filter.c memcpy(arg->str.buffer, val, arg->str.field->size); str 1732 tools/lib/traceevent/parse-filter.c val = arg->str.buffer; str 1736 tools/lib/traceevent/parse-filter.c event = arg->str.field->event; str 1738 tools/lib/traceevent/parse-filter.c addr = get_value(event, arg->str.field, record); str 1740 tools/lib/traceevent/parse-filter.c if (arg->str.field->flags & (TEP_FIELD_IS_POINTER | TEP_FIELD_IS_LONG)) str 1759 tools/lib/traceevent/parse-filter.c if (arg->str.field == &comm) str 1764 tools/lib/traceevent/parse-filter.c switch (arg->str.type) { str 1766 tools/lib/traceevent/parse-filter.c return strcmp(val, arg->str.val) == 0; str 1769 tools/lib/traceevent/parse-filter.c return strcmp(val, arg->str.val) != 0; str 1773 tools/lib/traceevent/parse-filter.c return !regexec(&arg->str.reg, val, 0, NULL, 0); str 1776 tools/lib/traceevent/parse-filter.c return regexec(&arg->str.reg, val, 0, NULL, 0); str 1908 tools/lib/traceevent/parse-filter.c char *str = NULL; str 1944 tools/lib/traceevent/parse-filter.c str = left; str 1961 tools/lib/traceevent/parse-filter.c asprintf(&str, val ? "TRUE" : "FALSE"); str 1969 tools/lib/traceevent/parse-filter.c str = right; str 1974 tools/lib/traceevent/parse-filter.c str = left; str 1979 tools/lib/traceevent/parse-filter.c asprintf(&str, "(%s) %s (%s)", left, op, right); str 1995 tools/lib/traceevent/parse-filter.c asprintf(&str, right_val ? "FALSE" : "TRUE"); str 1998 tools/lib/traceevent/parse-filter.c asprintf(&str, "%s(%s)", op, right); str 2007 tools/lib/traceevent/parse-filter.c return str; str 2012 tools/lib/traceevent/parse-filter.c char *str = NULL; str 2014 tools/lib/traceevent/parse-filter.c asprintf(&str, "%lld", arg->value.val); str 2016 tools/lib/traceevent/parse-filter.c return str; str 2029 tools/lib/traceevent/parse-filter.c char *str = NULL; str 2072 tools/lib/traceevent/parse-filter.c asprintf(&str, "%s %s %s", lstr, op, rstr); str 2077 tools/lib/traceevent/parse-filter.c return str; str 2084 tools/lib/traceevent/parse-filter.c char *str = NULL; str 2116 tools/lib/traceevent/parse-filter.c asprintf(&str, "%s %s %s", lstr, op, rstr); str 2127 tools/lib/traceevent/parse-filter.c return str; str 2132 tools/lib/traceevent/parse-filter.c char *str = NULL; str 2135 tools/lib/traceevent/parse-filter.c switch (arg->str.type) { str 2151 tools/lib/traceevent/parse-filter.c asprintf(&str, "%s %s \"%s\"", str 2152 tools/lib/traceevent/parse-filter.c arg->str.field->name, op, arg->str.val); str 2159 tools/lib/traceevent/parse-filter.c return str; str 2164 tools/lib/traceevent/parse-filter.c char *str = NULL; str 2168 tools/lib/traceevent/parse-filter.c asprintf(&str, arg->boolean.value ? "TRUE" : "FALSE"); str 2169 tools/lib/traceevent/parse-filter.c return str; str 209 tools/lib/traceevent/plugins/plugin_kvm.c const char *str; str 248 tools/lib/traceevent/plugins/plugin_kvm.c return strings[i].str; str 9 tools/lib/traceevent/tep_strerror.c #define _PE(code, str) str str 188 tools/lib/traceevent/trace-seq.c int trace_seq_puts(struct trace_seq *s, const char *str) str 194 tools/lib/traceevent/trace-seq.c len = strlen(str); str 201 tools/lib/traceevent/trace-seq.c memcpy(s->buffer + s->len, str, len); str 47 tools/lib/traceevent/trace-seq.h extern int trace_seq_puts(struct trace_seq *s, const char *str); str 21 tools/objtool/warn.h char *name, *str; str 33 tools/objtool/warn.h str = malloc(strlen(name) + 20); str 36 tools/objtool/warn.h sprintf(str, "%s()+0x%lx", name, name_off); str 38 tools/objtool/warn.h sprintf(str, "%s+0x%lx", name, name_off); str 40 tools/objtool/warn.h return str; str 194 tools/perf/arch/arm/util/cs-etm.c const char *str) str 201 tools/perf/arch/arm/util/cs-etm.c if (str) { str 202 tools/perf/arch/arm/util/cs-etm.c snapshot_size = strtoull(str, &endptr, 0); str 111 tools/perf/arch/powerpc/util/kvm-stat.c static int is_tracepoint_available(const char *str, struct evlist *evlist) str 116 tools/perf/arch/powerpc/util/kvm-stat.c err.str = NULL; str 117 tools/perf/arch/powerpc/util/kvm-stat.c ret = parse_events(evlist, str, &err); str 118 tools/perf/arch/powerpc/util/kvm-stat.c if (err.str) str 119 tools/perf/arch/powerpc/util/kvm-stat.c pr_err("%s : %s\n", str, err.str); str 78 tools/perf/arch/s390/util/auxtrace.c const char *str __maybe_unused) str 247 tools/perf/arch/x86/util/intel-bts.c const char *str) str 254 tools/perf/arch/x86/util/intel-bts.c if (str) { str 255 tools/perf/arch/x86/util/intel-bts.c snapshot_size = strtoull(str, &endptr, 0); str 61 tools/perf/arch/x86/util/intel-pt.c const char *str, str 74 tools/perf/arch/x86/util/intel-pt.c err = parse_events_terms(terms, str); str 89 tools/perf/arch/x86/util/intel-pt.c static int intel_pt_parse_terms(struct list_head *formats, const char *str, str 93 tools/perf/arch/x86/util/intel-pt.c return intel_pt_parse_terms_with_default(formats, str, config); str 115 tools/perf/arch/x86/util/intel-pt.c static int intel_pt_read_config(struct perf_pmu *intel_pt_pmu, const char *str, str 123 tools/perf/arch/x86/util/intel-pt.c mask = perf_pmu__format_bits(&intel_pt_pmu->format, str); str 237 tools/perf/arch/x86/util/intel-pt.c const char *str) str 244 tools/perf/arch/x86/util/intel-pt.c if (str) { str 245 tools/perf/arch/x86/util/intel-pt.c snapshot_size = strtoull(str, &endptr, 0); str 432 tools/perf/arch/x86/util/intel-pt.c static void intel_pt_valid_str(char *str, size_t len, u64 valid) str 437 tools/perf/arch/x86/util/intel-pt.c str[0] = '\0'; str 444 tools/perf/arch/x86/util/intel-pt.c p += scnprintf(str + p, len - p, ","); str 447 tools/perf/arch/x86/util/intel-pt.c p += scnprintf(str + p, len - p, "%u", val); str 462 tools/perf/arch/x86/util/intel-pt.c p += scnprintf(str + p, len - p, ",%u", last); str 466 tools/perf/arch/x86/util/intel-pt.c p += scnprintf(str + p, len - p, "-%u", last); str 494 tools/perf/bench/numa.c char *str0, *str; str 502 tools/perf/bench/numa.c str0 = str = strdup(g->p.cpu_list_str); str 505 tools/perf/bench/numa.c BUG_ON(!str); str 517 tools/perf/bench/numa.c tok = strsep(&str, ","); str 631 tools/perf/bench/numa.c char *str0, *str; str 639 tools/perf/bench/numa.c str0 = str = strdup(g->p.node_list_str); str 642 tools/perf/bench/numa.c BUG_ON(!str); str 653 tools/perf/bench/numa.c tok = strsep(&str, ","); str 153 tools/perf/builtin-bench.c static int bench_str2int(const char *str) str 155 tools/perf/builtin-bench.c if (!str) str 158 tools/perf/builtin-bench.c if (!strcmp(str, BENCH_FORMAT_DEFAULT_STR)) str 160 tools/perf/builtin-bench.c else if (!strcmp(str, BENCH_FORMAT_SIMPLE_STR)) str 2609 tools/perf/builtin-c2c.c static int setup_display(const char *str) str 2611 tools/perf/builtin-c2c.c const char *display = str ?: "tot"; str 2620 tools/perf/builtin-c2c.c pr_err("failed: unknown display type: %s\n", str); str 2875 tools/perf/builtin-c2c.c const char *str, int unset __maybe_unused) str 2880 tools/perf/builtin-c2c.c return perf_mem_events__parse(str); str 219 tools/perf/builtin-diff.c static int setup_compute(const struct option *opt, const char *str, str 223 tools/perf/builtin-diff.c char *cstr = (char *) str; str 228 tools/perf/builtin-diff.c if (!str) { str 233 tools/perf/builtin-diff.c option = strchr(str, ':'); str 235 tools/perf/builtin-diff.c unsigned len = option++ - str; str 246 tools/perf/builtin-diff.c strncpy(buf, str, len); str 258 tools/perf/builtin-diff.c "(use 'delta','ratio' or 'wdiff')\n", str); str 1074 tools/perf/builtin-diff.c char *str = NULL; str 1077 tools/perf/builtin-diff.c str = strdup(pdiff.time_str); str 1078 tools/perf/builtin-diff.c if (!str) str 1082 tools/perf/builtin-diff.c *pstr = str; str 422 tools/perf/builtin-ftrace.c static int parse_filter_func(const struct option *opt, const char *str, str 428 tools/perf/builtin-ftrace.c entry = malloc(sizeof(*entry) + strlen(str) + 1); str 432 tools/perf/builtin-ftrace.c strcpy(entry->name, str); str 674 tools/perf/builtin-kmem.c char *str, *pos = NULL; str 680 tools/perf/builtin-kmem.c str = strtok_r(orig_flags, "|", &pos); str 681 tools/perf/builtin-kmem.c while (str) { str 687 tools/perf/builtin-kmem.c if (strcmp(gfp_compact_table[i].original, str)) str 711 tools/perf/builtin-kmem.c str = strtok_r(NULL, "|", &pos); str 744 tools/perf/builtin-kmem.c char *str, *pos = NULL; str 759 tools/perf/builtin-kmem.c str = strtok_r(seq.buffer, " ", &pos); str 760 tools/perf/builtin-kmem.c while (str) { str 761 tools/perf/builtin-kmem.c if (!strncmp(str, "gfp_flags=", 10)) { str 772 tools/perf/builtin-kmem.c new->human_readable = strdup(str + 10); str 773 tools/perf/builtin-kmem.c new->compact_str = compact_gfp_flags(str + 10); str 780 tools/perf/builtin-kmem.c str = strtok_r(NULL, " ", &pos); str 1710 tools/perf/builtin-kmem.c char *str = strdup(arg); str 1711 tools/perf/builtin-kmem.c char *pos = str; str 1713 tools/perf/builtin-kmem.c if (!str) { str 1724 tools/perf/builtin-kmem.c free(str); str 1729 tools/perf/builtin-kmem.c free(str); str 1736 tools/perf/builtin-kmem.c char *str = strdup(arg); str 1737 tools/perf/builtin-kmem.c char *pos = str; str 1739 tools/perf/builtin-kmem.c if (!str) { str 1750 tools/perf/builtin-kmem.c free(str); str 1755 tools/perf/builtin-kmem.c free(str); str 38 tools/perf/builtin-mem.c const char *str, int unset __maybe_unused) str 43 tools/perf/builtin-mem.c if (strcmp(str, "list")) { str 44 tools/perf/builtin-mem.c if (!perf_mem_events__parse(str)) { str 336 tools/perf/builtin-mem.c parse_mem_ops(const struct option *opt, const char *str, int unset) str 347 tools/perf/builtin-mem.c if (str) { str 349 tools/perf/builtin-mem.c s = os = strdup(str); str 53 tools/perf/builtin-probe.c static int parse_probe_event(const char *str) str 58 tools/perf/builtin-probe.c pr_debug("probe-definition(%d): %s\n", params.nevents, str); str 75 tools/perf/builtin-probe.c ret = parse_perf_probe_command(str, pev); str 81 tools/perf/builtin-probe.c static int params_add_filter(const char *str) str 86 tools/perf/builtin-probe.c pr_debug2("Add filter: %s\n", str); str 88 tools/perf/builtin-probe.c params.filter = strfilter__new(str, &err); str 92 tools/perf/builtin-probe.c ret = strfilter__or(params.filter, str, &err); str 95 tools/perf/builtin-probe.c pr_err("Filter parse error at %td.\n", err - str + 1); str 96 tools/perf/builtin-probe.c pr_err("Source: \"%s\"\n", str); str 97 tools/perf/builtin-probe.c pr_err(" %*c\n", (int)(err - str + 1), '^'); str 167 tools/perf/builtin-probe.c static int opt_set_target(const struct option *opt, const char *str, str 173 tools/perf/builtin-probe.c if (str) { str 182 tools/perf/builtin-probe.c if (params.uprobes || strchr(str, '/')) { str 183 tools/perf/builtin-probe.c tmp = nsinfo__realpath(str, params.nsi); str 185 tools/perf/builtin-probe.c pr_warning("Failed to get the absolute path of %s: %m\n", str); str 189 tools/perf/builtin-probe.c tmp = strdup(str); str 203 tools/perf/builtin-probe.c const char *str, int unset __maybe_unused) str 209 tools/perf/builtin-probe.c if (str) { str 211 tools/perf/builtin-probe.c ns_pid = (pid_t)strtol(str, NULL, 10); str 214 tools/perf/builtin-probe.c pr_warning("Failed to parse %s as a pid: %s\n", str, str 234 tools/perf/builtin-probe.c const char *str, int unset __maybe_unused) str 238 tools/perf/builtin-probe.c if (!str) str 248 tools/perf/builtin-probe.c ret = parse_line_range_desc(str, ¶ms.line_range); str 254 tools/perf/builtin-probe.c const char *str, int unset __maybe_unused) str 259 tools/perf/builtin-probe.c if (!str) str 262 tools/perf/builtin-probe.c ret = parse_probe_event(str); str 276 tools/perf/builtin-probe.c const char *str, int unset __maybe_unused) str 278 tools/perf/builtin-probe.c if (str) { str 280 tools/perf/builtin-probe.c return parse_probe_event(str); str 287 tools/perf/builtin-probe.c const char *str, int unset) str 292 tools/perf/builtin-probe.c if (str) str 293 tools/perf/builtin-probe.c return params_add_filter(str); str 299 tools/perf/builtin-probe.c const char *str, int unset __maybe_unused) str 301 tools/perf/builtin-probe.c if (str) str 302 tools/perf/builtin-probe.c return params_add_filter(str); str 420 tools/perf/builtin-probe.c char *str = strfilter__string(filter); str 424 tools/perf/builtin-probe.c if (!str) str 427 tools/perf/builtin-probe.c pr_debug("Delete filter: \'%s\'\n", str); str 465 tools/perf/builtin-probe.c pr_warning("\"%s\" does not hit any event.\n", str); str 477 tools/perf/builtin-probe.c free(str); str 68 tools/perf/builtin-record.c const char *str; str 372 tools/perf/builtin-record.c const char *str, str 380 tools/perf/builtin-record.c if (str) str 381 tools/perf/builtin-record.c opts->nr_cblocks = strtol(str, NULL, 0); str 418 tools/perf/builtin-record.c const char *str, str 434 tools/perf/builtin-record.c if (str) { str 435 tools/perf/builtin-record.c opts->mmap_flush = parse_tag_value(str, tags); str 437 tools/perf/builtin-record.c opts->mmap_flush = strtol(str, NULL, 0); str 454 tools/perf/builtin-record.c static int record__parse_comp_level(const struct option *opt, const char *str, int unset) str 461 tools/perf/builtin-record.c if (str) str 462 tools/perf/builtin-record.c opts->comp_level = strtol(str, NULL, 0); str 1740 tools/perf/builtin-record.c static const char *str[CALLCHAIN_MAX] = { "NONE", "FP", "DWARF", "LBR" }; str 1742 tools/perf/builtin-record.c pr_debug("callchain: type %s\n", str[callchain->record_mode]); str 1882 tools/perf/builtin-record.c static int parse_clockid(const struct option *opt, const char *str, int unset) str 1886 tools/perf/builtin-record.c const char *ostr = str; str 1894 tools/perf/builtin-record.c if (!str) str 1904 tools/perf/builtin-record.c if (sscanf(str, "%d", &opts->clockid) == 1) str 1908 tools/perf/builtin-record.c if (!strncasecmp(str, "CLOCK_", 6)) str 1909 tools/perf/builtin-record.c str += 6; str 1912 tools/perf/builtin-record.c if (!strcasecmp(str, cm->name)) { str 1924 tools/perf/builtin-record.c static int record__parse_affinity(const struct option *opt, const char *str, int unset) str 1928 tools/perf/builtin-record.c if (unset || !str) str 1931 tools/perf/builtin-record.c if (!strcasecmp(str, "node")) str 1933 tools/perf/builtin-record.c else if (!strcasecmp(str, "cpu")) str 1940 tools/perf/builtin-record.c const char *str, str 1948 tools/perf/builtin-record.c if (!str) str 1951 tools/perf/builtin-record.c s = strdup(str); str 2021 tools/perf/builtin-record.c if (!strcmp(s->str, "signal")) { str 2027 tools/perf/builtin-record.c val = parse_tag_value(s->str, tags_size); str 2030 tools/perf/builtin-record.c pr_debug("switch-output with %s size threshold\n", s->str); str 2034 tools/perf/builtin-record.c val = parse_tag_value(s->str, tags_time); str 2038 tools/perf/builtin-record.c s->str, s->time); str 2244 tools/perf/builtin-record.c OPT_STRING_OPTARG_SET(0, "switch-output", &record.switch_output.str, str 1006 tools/perf/builtin-report.c const char *str __maybe_unused, int unset) str 1015 tools/perf/builtin-report.c parse_percent_limit(const struct option *opt, const char *str, str 1019 tools/perf/builtin-report.c double pcnt = strtof(str, NULL); str 1029 tools/perf/builtin-sched.c const char *str = TASK_STATE_TO_CHAR_STR; str 1031 tools/perf/builtin-sched.c return str[prev_state]; str 1904 tools/perf/builtin-sched.c static char str[32]; str 1911 tools/perf/builtin-sched.c n = scnprintf(str, sizeof(str), "%s", comm); str 1914 tools/perf/builtin-sched.c n = scnprintf(str, sizeof(str), "%s[%d/%d]", comm, tid, pid); str 1917 tools/perf/builtin-sched.c n = scnprintf(str, sizeof(str), "%s[%d]", comm, tid); str 1922 tools/perf/builtin-sched.c return str; str 3292 tools/perf/builtin-sched.c char *tmp, *tok, *str = strdup(sched->sort_order); str 3294 tools/perf/builtin-sched.c for (tok = strtok_r(str, ", ", &tmp); str 3302 tools/perf/builtin-sched.c free(str); str 118 tools/perf/builtin-script.c const char *str; str 121 tools/perf/builtin-script.c {.str = "comm", .field = PERF_OUTPUT_COMM}, str 122 tools/perf/builtin-script.c {.str = "tid", .field = PERF_OUTPUT_TID}, str 123 tools/perf/builtin-script.c {.str = "pid", .field = PERF_OUTPUT_PID}, str 124 tools/perf/builtin-script.c {.str = "time", .field = PERF_OUTPUT_TIME}, str 125 tools/perf/builtin-script.c {.str = "cpu", .field = PERF_OUTPUT_CPU}, str 126 tools/perf/builtin-script.c {.str = "event", .field = PERF_OUTPUT_EVNAME}, str 127 tools/perf/builtin-script.c {.str = "trace", .field = PERF_OUTPUT_TRACE}, str 128 tools/perf/builtin-script.c {.str = "ip", .field = PERF_OUTPUT_IP}, str 129 tools/perf/builtin-script.c {.str = "sym", .field = PERF_OUTPUT_SYM}, str 130 tools/perf/builtin-script.c {.str = "dso", .field = PERF_OUTPUT_DSO}, str 131 tools/perf/builtin-script.c {.str = "addr", .field = PERF_OUTPUT_ADDR}, str 132 tools/perf/builtin-script.c {.str = "symoff", .field = PERF_OUTPUT_SYMOFFSET}, str 133 tools/perf/builtin-script.c {.str = "srcline", .field = PERF_OUTPUT_SRCLINE}, str 134 tools/perf/builtin-script.c {.str = "period", .field = PERF_OUTPUT_PERIOD}, str 135 tools/perf/builtin-script.c {.str = "iregs", .field = PERF_OUTPUT_IREGS}, str 136 tools/perf/builtin-script.c {.str = "uregs", .field = PERF_OUTPUT_UREGS}, str 137 tools/perf/builtin-script.c {.str = "brstack", .field = PERF_OUTPUT_BRSTACK}, str 138 tools/perf/builtin-script.c {.str = "brstacksym", .field = PERF_OUTPUT_BRSTACKSYM}, str 139 tools/perf/builtin-script.c {.str = "data_src", .field = PERF_OUTPUT_DATA_SRC}, str 140 tools/perf/builtin-script.c {.str = "weight", .field = PERF_OUTPUT_WEIGHT}, str 141 tools/perf/builtin-script.c {.str = "bpf-output", .field = PERF_OUTPUT_BPF_OUTPUT}, str 142 tools/perf/builtin-script.c {.str = "callindent", .field = PERF_OUTPUT_CALLINDENT}, str 143 tools/perf/builtin-script.c {.str = "insn", .field = PERF_OUTPUT_INSN}, str 144 tools/perf/builtin-script.c {.str = "insnlen", .field = PERF_OUTPUT_INSNLEN}, str 145 tools/perf/builtin-script.c {.str = "brstackinsn", .field = PERF_OUTPUT_BRSTACKINSN}, str 146 tools/perf/builtin-script.c {.str = "brstackoff", .field = PERF_OUTPUT_BRSTACKOFF}, str 147 tools/perf/builtin-script.c {.str = "synth", .field = PERF_OUTPUT_SYNTH}, str 148 tools/perf/builtin-script.c {.str = "phys_addr", .field = PERF_OUTPUT_PHYS_ADDR}, str 149 tools/perf/builtin-script.c {.str = "metric", .field = PERF_OUTPUT_METRIC}, str 150 tools/perf/builtin-script.c {.str = "misc", .field = PERF_OUTPUT_MISC}, str 151 tools/perf/builtin-script.c {.str = "srccode", .field = PERF_OUTPUT_SRCCODE}, str 152 tools/perf/builtin-script.c {.str = "ipc", .field = PERF_OUTPUT_IPC}, str 339 tools/perf/builtin-script.c const char *str = ""; str 343 tools/perf/builtin-script.c str = all_output_options[i].str; str 347 tools/perf/builtin-script.c return str; str 1401 tools/perf/builtin-script.c char str[33]; str 1422 tools/perf/builtin-script.c str[pos++] = chars[i]; str 1426 tools/perf/builtin-script.c str[pos++] = '?'; str 1428 tools/perf/builtin-script.c str[pos] = 0; str 1430 tools/perf/builtin-script.c return fprintf(fp, " %-19s ", str); str 2603 tools/perf/builtin-script.c const char *str, int unset __maybe_unused) str 2609 tools/perf/builtin-script.c if (strcmp(str, "lang") == 0) { str 2614 tools/perf/builtin-script.c script = strchr(str, ':'); str 2616 tools/perf/builtin-script.c len = script - str; str 2621 tools/perf/builtin-script.c strncpy(spec, str, len); str 2630 tools/perf/builtin-script.c script = str; str 2655 tools/perf/builtin-script.c char *str = strdup(arg); str 2659 tools/perf/builtin-script.c if (!str) str 2666 tools/perf/builtin-script.c tok = strchr(str, ':'); str 2670 tools/perf/builtin-script.c if (!strcmp(str, "hw")) str 2672 tools/perf/builtin-script.c else if (!strcmp(str, "sw")) str 2674 tools/perf/builtin-script.c else if (!strcmp(str, "trace")) str 2676 tools/perf/builtin-script.c else if (!strcmp(str, "raw")) str 2678 tools/perf/builtin-script.c else if (!strcmp(str, "break")) str 2680 tools/perf/builtin-script.c else if (!strcmp(str, "synth")) str 2701 tools/perf/builtin-script.c tok = str; str 2702 tools/perf/builtin-script.c if (strlen(str) == 0) { str 2710 tools/perf/builtin-script.c if (strchr(str, '+') || strchr(str, '-')) str 2742 tools/perf/builtin-script.c if (strcmp(tok, all_output_options[i].str) == 0) str 2762 tools/perf/builtin-script.c all_output_options[i].str, event_type(j)); str 2778 tools/perf/builtin-script.c all_output_options[i].str, event_type(type)); str 2804 tools/perf/builtin-script.c free(str); str 2884 tools/perf/builtin-script.c static const char *ends_with(const char *str, const char *suffix) str 2887 tools/perf/builtin-script.c const char *p = str; str 2889 tools/perf/builtin-script.c if (strlen(str) > suffix_len) { str 2890 tools/perf/builtin-script.c p = str + strlen(str) - suffix_len; str 2941 tools/perf/builtin-script.c char *script_root, *str; str 2947 tools/perf/builtin-script.c str = (char *)ends_with(script_root, suffix); str 2948 tools/perf/builtin-script.c if (!str) { str 2953 tools/perf/builtin-script.c *str = '\0'; str 3362 tools/perf/builtin-script.c const char *str __maybe_unused, str 3372 tools/perf/builtin-script.c const char *str __maybe_unused, str 3380 tools/perf/builtin-script.c const char *str __maybe_unused, str 3391 tools/perf/builtin-script.c const char *str __maybe_unused, str 720 tools/perf/builtin-stat.c const char *str, str 723 tools/perf/builtin-stat.c return metricgroup__parse_groups(opt, str, &stat_config.metric_events); str 1083 tools/perf/builtin-stat.c static int topdown_filter_events(const char **attr, char **str, bool use_group) str 1099 tools/perf/builtin-stat.c *str = malloc(len + 1 + 2); str 1100 tools/perf/builtin-stat.c if (!*str) str 1102 tools/perf/builtin-stat.c s = *str; str 1321 tools/perf/builtin-stat.c char *str = NULL; str 1337 tools/perf/builtin-stat.c if (topdown_filter_events(topdown_attrs, &str, str 1342 tools/perf/builtin-stat.c if (topdown_attrs[0] && str) { str 1345 tools/perf/builtin-stat.c err = parse_events(evsel_list, str, &errinfo); str 1349 tools/perf/builtin-stat.c str, err); str 1350 tools/perf/builtin-stat.c parse_events_print_error(&errinfo, str); str 1351 tools/perf/builtin-stat.c free(str); str 1358 tools/perf/builtin-stat.c free(str); str 3786 tools/perf/builtin-trace.c static int trace__set_duration(const struct option *opt, const char *str, str 3791 tools/perf/builtin-trace.c trace->duration_filter = atof(str); str 3795 tools/perf/builtin-trace.c static int trace__set_filter_pids_from_option(const struct option *opt, const char *str, str 3805 tools/perf/builtin-trace.c struct intlist *list = intlist__new(str); str 3844 tools/perf/builtin-trace.c static int parse_pagefaults(const struct option *opt, const char *str, str 3849 tools/perf/builtin-trace.c if (strcmp(str, "all") == 0) str 3851 tools/perf/builtin-trace.c else if (strcmp(str, "maj") == 0) str 3853 tools/perf/builtin-trace.c else if (strcmp(str, "min") == 0) str 3907 tools/perf/builtin-trace.c static int trace__parse_events_option(const struct option *opt, const char *str, str 3911 tools/perf/builtin-trace.c const char *s = str; str 3913 tools/perf/builtin-trace.c int len = strlen(str) + 1, err = -1, list, idx; str 3994 tools/perf/builtin-trace.c static int trace__parse_cgroups(const struct option *opt, const char *str, int unset) str 3999 tools/perf/builtin-trace.c return parse_cgroups(opt, str, unset); str 4001 tools/perf/builtin-trace.c trace->cgroup = evlist__findnew_cgroup(trace->evlist, str); str 132 tools/perf/jvmti/jvmti_agent.c char str[32]; str 147 tools/perf/jvmti/jvmti_agent.c strftime(str, sizeof(str), JIT_LANG"-jit-%Y%m%d", &tm); str 179 tools/perf/jvmti/jvmti_agent.c ret = snprintf(jit_path, PATH_MAX, "%s/.debug/jit/%s.XXXXXXXX", base, str); str 184 tools/perf/jvmti/jvmti_agent.c base, str); str 238 tools/perf/jvmti/jvmti_agent.c char *str = getenv("JITDUMP_USE_ARCH_TIMESTAMP"); str 240 tools/perf/jvmti/jvmti_agent.c if (!str || !*str || !strcmp(str, "0")) str 316 tools/perf/jvmti/libjvmti.c char str[len]; str 317 tools/perf/jvmti/libjvmti.c snprintf(str, len, "%s%s%s", class_sign, func_name, func_sign); str 319 tools/perf/jvmti/libjvmti.c if (jvmti_write_code(jvmti_agent, str, addr, code_addr, code_size)) str 51 tools/perf/tests/attr.c #define __WRITE_ASS(str, fmt, data) \ str 56 tools/perf/tests/attr.c size = snprintf(buf, BUFSIZE, #str "=%"fmt "\n", data); \ str 11 tools/perf/tests/bitmap.c static unsigned long *get_bitmap(const char *str, int nbits) str 13 tools/perf/tests/bitmap.c struct perf_cpu_map *map = perf_cpu_map__new(str); str 29 tools/perf/tests/bitmap.c static int test_bitmap(const char *str) str 31 tools/perf/tests/bitmap.c unsigned long *bm = get_bitmap(str, NBITS); str 38 tools/perf/tests/bitmap.c ret = !strcmp(buf, str); str 635 tools/perf/tests/code-reading.c const char *str; str 645 tools/perf/tests/code-reading.c str = do_determine_event(excl_kernel); str 646 tools/perf/tests/code-reading.c pr_debug("Parsing event '%s'\n", str); str 647 tools/perf/tests/code-reading.c ret = parse_events(evlist, str, NULL); str 100 tools/perf/tests/cpumap.c static int cpu_map_print(const char *str) str 102 tools/perf/tests/cpumap.c struct perf_cpu_map *map = perf_cpu_map__new(str); str 109 tools/perf/tests/cpumap.c return !strcmp(buf, str); str 24 tools/perf/tests/mem2node.c static unsigned long *get_bitmap(const char *str, int nbits) str 26 tools/perf/tests/mem2node.c struct perf_cpu_map *map = perf_cpu_map__new(str); str 1757 tools/perf/tests/parse-events.c const char *str; str 1764 tools/perf/tests/parse-events.c .str = "config=10,config1,config2=3,umask=1", str 1787 tools/perf/tests/parse-events.c e->name, ret, err.str); str 1823 tools/perf/tests/parse-events.c ret = parse_events_terms(&terms, t->str); str 1826 tools/perf/tests/parse-events.c t->str , ret); str 1844 tools/perf/tests/parse-events.c pr_debug("running test %d '%s'\n", i, t->str); str 111 tools/perf/tests/thread-map.c char *str; str 115 tools/perf/tests/thread-map.c asprintf(&str, "%d,%d", getpid(), getppid()) >= 0); str 117 tools/perf/tests/thread-map.c threads = thread_map__new_str(str, NULL, 0, false); str 12 tools/perf/tests/time-utils-test.c static bool test__parse_nsec_time(const char *str, u64 expected) str 17 tools/perf/tests/time-utils-test.c pr_debug("\nparse_nsec_time(\"%s\")\n", str); str 19 tools/perf/tests/time-utils-test.c err = parse_nsec_time(str, &ptime); str 61 tools/perf/tests/time-utils-test.c const char *str; str 82 tools/perf/tests/time-utils-test.c pr_debug("\nperf_time__parse_for_ranges(\"%s\")\n", d->str); str 84 tools/perf/tests/time-utils-test.c if (strchr(d->str, '%')) str 88 tools/perf/tests/time-utils-test.c err = perf_time__parse_for_ranges(d->str, &session, &ptime, &range_size, str 161 tools/perf/tests/time-utils-test.c .str = "1234567.123456789,1234567.123456790", str 176 tools/perf/tests/time-utils-test.c .str = "1234567.123456789,1234567.123456790 " str 191 tools/perf/tests/time-utils-test.c .str = "10%/1", str 206 tools/perf/tests/time-utils-test.c .str = "10%/2", str 221 tools/perf/tests/time-utils-test.c .str = "10%/1,10%/2", str 236 tools/perf/tests/time-utils-test.c .str = "10%/1,10%/3,10%/10", str 14 tools/perf/tests/unit_number__scnprintf.c const char *str; str 25 tools/perf/tests/unit_number__scnprintf.c while (test[i].str) { str 31 tools/perf/tests/unit_number__scnprintf.c test[i].n, test[i].str, buf); str 33 tools/perf/tests/unit_number__scnprintf.c if (strcmp(test[i].str, buf)) str 16 tools/perf/ui/browsers/header.c char *str = *arg; str 21 tools/perf/ui/browsers/header.c if (offset >= strlen(str)) str 22 tools/perf/ui/browsers/header.c str = empty; str 24 tools/perf/ui/browsers/header.c str = str + offset; str 29 tools/perf/ui/browsers/header.c ui_browser__write_nstring(browser, str, browser->width); str 733 tools/perf/ui/browsers/hists.c const char *str, int offset, str 739 tools/perf/ui/browsers/hists.c const char *str, int offset, str 760 tools/perf/ui/browsers/hists.c ui_browser__write_nstring(&browser->b, str, width); str 765 tools/perf/ui/browsers/hists.c const char *str, int offset, str 772 tools/perf/ui/browsers/hists.c folded_sign, str); str 802 tools/perf/ui/browsers/hists.c const char *str; str 813 tools/perf/ui/browsers/hists.c str = callchain_list__sym_name(chain, bf, sizeof(bf), str 820 tools/perf/ui/browsers/hists.c if (asprintf(&alloc_str2, "%s%s", str, buf) < 0) str 821 tools/perf/ui/browsers/hists.c str = "Not enough memory!"; str 823 tools/perf/ui/browsers/hists.c str = alloc_str2; str 830 tools/perf/ui/browsers/hists.c if (asprintf(&alloc_str, "%s %s", buf, str) < 0) str 831 tools/perf/ui/browsers/hists.c str = "Not enough memory!"; str 833 tools/perf/ui/browsers/hists.c str = alloc_str; str 836 tools/perf/ui/browsers/hists.c print(browser, chain, str, offset, row, arg); str 940 tools/perf/ui/browsers/hists.c const char *str; str 943 tools/perf/ui/browsers/hists.c str = callchain_list__sym_name(chain, bf, sizeof(bf), str 947 tools/perf/ui/browsers/hists.c symbol_conf.field_sep ?: ";", str) < 0) str 951 tools/perf/ui/browsers/hists.c if (asprintf(&new, "%s %s", value_str, str) < 0) str 954 tools/perf/ui/browsers/hists.c if (asprintf(&new, "%s", str) < 0) str 170 tools/perf/ui/gtk/hists.c char *str, *str_alloc = NULL; str 182 tools/perf/ui/gtk/hists.c if (asprintf(&str, "%s%s%s", str 190 tools/perf/ui/gtk/hists.c str_alloc = str; str 198 tools/perf/ui/gtk/hists.c if (asprintf(&str, "%s%s%s", str 206 tools/perf/ui/gtk/hists.c str_alloc = str; str 214 tools/perf/ui/gtk/hists.c gtk_tree_store_set(store, &iter, col, str, -1); str 58 tools/perf/ui/stdio/hist.c const char *str; str 74 tools/perf/ui/stdio/hist.c str = callchain_list__sym_name(chain, bf, sizeof(bf), false); str 80 tools/perf/ui/stdio/hist.c if (asprintf(&alloc_str, "%s%s", str, buf) < 0) str 81 tools/perf/ui/stdio/hist.c str = "Not enough memory!"; str 83 tools/perf/ui/stdio/hist.c str = alloc_str; str 86 tools/perf/ui/stdio/hist.c fputs(str, fp); str 2884 tools/perf/util/annotate.c char str[32]; str 2886 tools/perf/util/annotate.c scnprintf(str, sizeof(str), str 2893 tools/perf/util/annotate.c str); str 165 tools/perf/util/annotate.h static const char *str[PERCENT_MAX] = { str 175 tools/perf/util/annotate.h return str[type]; str 578 tools/perf/util/auxtrace.c struct record_opts *opts, const char *str) str 580 tools/perf/util/auxtrace.c if (!str) str 584 tools/perf/util/auxtrace.c switch (*str) { str 587 tools/perf/util/auxtrace.c str++; str 594 tools/perf/util/auxtrace.c return itr->parse_snapshot_options(itr, opts, str); str 1001 tools/perf/util/auxtrace.c int itrace_parse_synth_opts(const struct option *opt, const char *str, str 1017 tools/perf/util/auxtrace.c if (!str) { str 1023 tools/perf/util/auxtrace.c for (p = str; *p;) { str 1153 tools/perf/util/auxtrace.c pr_err("Bad Instruction Tracing options '%s'\n", str); str 1479 tools/perf/util/auxtrace.c zfree(&filt->str); str 1533 tools/perf/util/auxtrace.c static int parse_num_or_str(char **inp, u64 *num, const char **str, str 1553 tools/perf/util/auxtrace.c if (!str) str 1556 tools/perf/util/auxtrace.c *str = *inp; str 1619 tools/perf/util/auxtrace.c static int parse_addr_size(char **inp, u64 *num, const char **str, int *idx) str 1621 tools/perf/util/auxtrace.c int err = parse_num_or_str(inp, num, str, " "); str 1623 tools/perf/util/auxtrace.c if (!err && *str) str 1634 tools/perf/util/auxtrace.c filt->str = fstr = strdup(*filter_inp); str 1673 tools/perf/util/auxtrace.c *filter_inp += fstr - filt->str; str 335 tools/perf/util/auxtrace.h const char *str); str 370 tools/perf/util/auxtrace.h char *str; str 499 tools/perf/util/auxtrace.h const char *str); str 534 tools/perf/util/auxtrace.h int itrace_parse_synth_opts(const struct option *opt, const char *str, str 632 tools/perf/util/auxtrace.h const char *str __maybe_unused, str 642 tools/perf/util/auxtrace.h const char *str) str 644 tools/perf/util/auxtrace.h if (!str) str 1074 tools/perf/util/bpf-loader.c evsel = perf_evlist__find_evsel_by_str(evlist, term->val.str); str 1077 tools/perf/util/bpf-loader.c map_name, term->val.str); str 109 tools/perf/util/branch.c static int count_str_scnprintf(int idx, const char *str, char *bf, int size) str 111 tools/perf/util/branch.c return scnprintf(bf, size, "%s%s", (idx) ? " " : " (", str); str 141 tools/perf/util/callchain.c static int get_stack_size(const char *str, unsigned long *_size) str 147 tools/perf/util/callchain.c size = strtoul(str, &endptr, 0); str 163 tools/perf/util/callchain.c max_size, str); str 1302 tools/perf/util/callchain.c static int count_pri64_printf(int idx, const char *str, u64 value, char *bf, int bfsize) str 1306 tools/perf/util/callchain.c printed = scnprintf(bf, bfsize, "%s%s:%" PRId64 "", (idx) ? " " : " (", str, value); str 1311 tools/perf/util/callchain.c static int count_float_printf(int idx, const char *str, float value, str 1319 tools/perf/util/callchain.c printed = scnprintf(bf, bfsize, "%s%s:%.1f%%", (idx) ? " " : " (", str, value); str 1420 tools/perf/util/callchain.c char str[256]; str 1422 tools/perf/util/callchain.c counts_str_build(str, sizeof(str), branch_count, str 1427 tools/perf/util/callchain.c return fprintf(fp, "%s", str); str 1429 tools/perf/util/callchain.c return scnprintf(bf, bfsize, "%s", str); str 94 tools/perf/util/cgroup.c static struct cgroup *evlist__find_cgroup(struct evlist *evlist, const char *str) str 103 tools/perf/util/cgroup.c if (!strcmp(counter->cgrp->name, str)) str 141 tools/perf/util/cgroup.c static int add_cgroup(struct evlist *evlist, const char *str) str 144 tools/perf/util/cgroup.c struct cgroup *cgrp = evlist__findnew_cgroup(evlist, str); str 202 tools/perf/util/cgroup.c int parse_cgroups(const struct option *opt, const char *str, str 208 tools/perf/util/cgroup.c const char *p, *e, *eos = str + strlen(str); str 218 tools/perf/util/cgroup.c p = strchr(str, ','); str 222 tools/perf/util/cgroup.c if (e - str) { str 224 tools/perf/util/cgroup.c s = strndup(str, e - str); str 236 tools/perf/util/cgroup.c str = p+1; str 27 tools/perf/util/cgroup.h int parse_cgroups(const struct option *opt, const char *str, int unset); str 13 tools/perf/util/comm.c char *str; str 36 tools/perf/util/comm.c zfree(&cs->str); str 41 tools/perf/util/comm.c static struct comm_str *comm_str__alloc(const char *str) str 49 tools/perf/util/comm.c cs->str = strdup(str); str 50 tools/perf/util/comm.c if (!cs->str) { str 61 tools/perf/util/comm.c struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) str 77 tools/perf/util/comm.c cmp = strcmp(str, iter->str); str 87 tools/perf/util/comm.c new = comm_str__alloc(str); str 97 tools/perf/util/comm.c static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) str 102 tools/perf/util/comm.c cs = __comm_str__findnew(str, root); str 108 tools/perf/util/comm.c struct comm *comm__new(const char *str, u64 timestamp, bool exec) str 118 tools/perf/util/comm.c comm->comm_str = comm_str__findnew(str, &comm_str_root); str 127 tools/perf/util/comm.c int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) str 131 tools/perf/util/comm.c new = comm_str__findnew(str, &comm_str_root); str 152 tools/perf/util/comm.c return comm->comm_str->str; str 23 tools/perf/util/comm.h struct comm *comm__new(const char *str, u64 timestamp, bool exec); str 25 tools/perf/util/comm.h int comm__override(struct comm *comm, const char *str, u64 timestamp, str 235 tools/perf/util/cputopo.c char str[MAXPATHLEN]; str 245 tools/perf/util/cputopo.c scnprintf(str, MAXPATHLEN, NODE_MEMINFO_FMT, str 247 tools/perf/util/cputopo.c fp = fopen(str, "r"); str 268 tools/perf/util/cputopo.c scnprintf(str, MAXPATHLEN, NODE_CPULIST_FMT, str 271 tools/perf/util/cputopo.c fp = fopen(str, "r"); str 186 tools/perf/util/debug.c int perf_debug_option(const char *str) str 189 tools/perf/util/debug.c char *vstr, *s = strdup(str); str 55 tools/perf/util/debug.h int perf_debug_option(const char *str); str 45 tools/perf/util/demangle-java.c __demangle_java_sym(const char *str, const char *end, char *buf, int maxlen, int mode) str 53 tools/perf/util/demangle-java.c end = str + strlen(str); str 55 tools/perf/util/demangle-java.c for (q = str; q != end; q++) { str 157 tools/perf/util/demangle-java.c java_demangle_sym(const char *str, int flags) str 163 tools/perf/util/demangle-java.c if (!str) str 167 tools/perf/util/demangle-java.c p = strrchr(str, ')'); str 174 tools/perf/util/demangle-java.c len = strlen(str) * 3 + 1; str 194 tools/perf/util/demangle-java.c ptr = __demangle_java_sym(str, p + 1, buf + l1, len - l1, MODE_PREFIX); str 9 tools/perf/util/demangle-java.h char * java_demangle_sym(const char *str, int flags); str 100 tools/perf/util/demangle-rust.c static bool is_prefixed_hash(const char *str) str 107 tools/perf/util/demangle-rust.c if (strncmp(str, hash_prefix, hash_prefix_len)) str 109 tools/perf/util/demangle-rust.c str += hash_prefix_len; str 112 tools/perf/util/demangle-rust.c for (end = str + hash_len; str < end; str++) str 113 tools/perf/util/demangle-rust.c if (*str >= '0' && *str <= '9') str 114 tools/perf/util/demangle-rust.c seen[*str - '0'] = true; str 115 tools/perf/util/demangle-rust.c else if (*str >= 'a' && *str <= 'f') str 116 tools/perf/util/demangle-rust.c seen[*str - 'a' + 10] = true; str 129 tools/perf/util/demangle-rust.c static bool looks_like_rust(const char *str, size_t len) str 131 tools/perf/util/demangle-rust.c const char *end = str + len; str 133 tools/perf/util/demangle-rust.c while (str < end) str 134 tools/perf/util/demangle-rust.c switch (*str) { str 136 tools/perf/util/demangle-rust.c if (!strncmp(str, "$C$", 3)) str 137 tools/perf/util/demangle-rust.c str += 3; str 138 tools/perf/util/demangle-rust.c else if (!strncmp(str, "$SP$", 4) str 139 tools/perf/util/demangle-rust.c || !strncmp(str, "$BP$", 4) str 140 tools/perf/util/demangle-rust.c || !strncmp(str, "$RF$", 4) str 141 tools/perf/util/demangle-rust.c || !strncmp(str, "$LT$", 4) str 142 tools/perf/util/demangle-rust.c || !strncmp(str, "$GT$", 4) str 143 tools/perf/util/demangle-rust.c || !strncmp(str, "$LP$", 4) str 144 tools/perf/util/demangle-rust.c || !strncmp(str, "$RP$", 4)) str 145 tools/perf/util/demangle-rust.c str += 4; str 146 tools/perf/util/demangle-rust.c else if (!strncmp(str, "$u20$", 5) str 147 tools/perf/util/demangle-rust.c || !strncmp(str, "$u27$", 5) str 148 tools/perf/util/demangle-rust.c || !strncmp(str, "$u5b$", 5) str 149 tools/perf/util/demangle-rust.c || !strncmp(str, "$u5d$", 5) str 150 tools/perf/util/demangle-rust.c || !strncmp(str, "$u7e$", 5)) str 151 tools/perf/util/demangle-rust.c str += 5; str 157 tools/perf/util/demangle-rust.c if (!strncmp(str, "...", 3)) str 165 tools/perf/util/demangle-rust.c str++; str 5 tools/perf/util/demangle-rust.h bool rust_is_mangled(const char *str); str 6 tools/perf/util/demangle-rust.h void rust_demangle_sym(char *str); str 799 tools/perf/util/evlist.c static long parse_pages_arg(const char *str, unsigned long min, str 811 tools/perf/util/evlist.c if (str == NULL) str 814 tools/perf/util/evlist.c val = parse_tag_value(str, tags); str 821 tools/perf/util/evlist.c pages = strtoul(str, &eptr, 10); str 847 tools/perf/util/evlist.c int __perf_evlist__parse_mmap_pages(unsigned int *mmap_pages, const char *str) str 855 tools/perf/util/evlist.c pages = parse_pages_arg(str, 1, max); str 865 tools/perf/util/evlist.c int perf_evlist__parse_mmap_pages(const struct option *opt, const char *str, str 868 tools/perf/util/evlist.c return __perf_evlist__parse_mmap_pages(opt->value, str); str 1544 tools/perf/util/evlist.c const char *str) str 1551 tools/perf/util/evlist.c if (strcmp(str, evsel->name) == 0) str 180 tools/perf/util/evlist.h int __perf_evlist__parse_mmap_pages(unsigned int *mmap_pages, const char *str); str 182 tools/perf/util/evlist.h const char *str, str 254 tools/perf/util/evlist.h bool perf_evlist__can_select_event(struct evlist *evlist, const char *str); str 328 tools/perf/util/evlist.h perf_evlist__find_evsel_by_str(struct evlist *evlist, const char *str); str 167 tools/perf/util/header.c #define string_size(str) \ str 168 tools/perf/util/header.c (PERF_ALIGN((strlen(str) + 1), NAME_ALIGN) + sizeof(u32)) str 171 tools/perf/util/header.c static int do_write_string(struct feat_fd *ff, const char *str) str 176 tools/perf/util/header.c olen = strlen(str) + 1; str 184 tools/perf/util/header.c return write_padded(ff, str, olen, len); str 1463 tools/perf/util/header.c char *str; str 1466 tools/perf/util/header.c str = ph->env.sibling_cores; str 1469 tools/perf/util/header.c fprintf(fp, "# sibling sockets : %s\n", str); str 1470 tools/perf/util/header.c str += strlen(str) + 1; str 1475 tools/perf/util/header.c str = ph->env.sibling_dies; str 1478 tools/perf/util/header.c fprintf(fp, "# sibling dies : %s\n", str); str 1479 tools/perf/util/header.c str += strlen(str) + 1; str 1484 tools/perf/util/header.c str = ph->env.sibling_threads; str 1487 tools/perf/util/header.c fprintf(fp, "# sibling threads : %s\n", str); str 1488 tools/perf/util/header.c str += strlen(str) + 1; str 1778 tools/perf/util/header.c char *str, *tmp; str 1788 tools/perf/util/header.c str = ff->ph->env.pmu_mappings; str 1791 tools/perf/util/header.c type = strtoul(str, &tmp, 0); str 1795 tools/perf/util/header.c str = tmp + 1; str 1796 tools/perf/util/header.c fprintf(fp, "%s%s = %" PRIu32, delimiter, str, type); str 1799 tools/perf/util/header.c str += strlen(str) + 1; str 2159 tools/perf/util/header.c char *str, *cmdline = NULL, **argv = NULL; str 2176 tools/perf/util/header.c str = do_read_string(ff); str 2177 tools/perf/util/header.c if (!str) str 2181 tools/perf/util/header.c memcpy(argv[i], str, strlen(str) + 1); str 2182 tools/perf/util/header.c len += strlen(str) + 1; str 2183 tools/perf/util/header.c free(str); str 2198 tools/perf/util/header.c char *str; str 2218 tools/perf/util/header.c str = do_read_string(ff); str 2219 tools/perf/util/header.c if (!str) str 2223 tools/perf/util/header.c if (strbuf_add(&sb, str, strlen(str) + 1) < 0) str 2225 tools/perf/util/header.c size += string_size(str); str 2226 tools/perf/util/header.c free(str); str 2237 tools/perf/util/header.c str = do_read_string(ff); str 2238 tools/perf/util/header.c if (!str) str 2242 tools/perf/util/header.c if (strbuf_add(&sb, str, strlen(str) + 1) < 0) str 2244 tools/perf/util/header.c size += string_size(str); str 2245 tools/perf/util/header.c free(str); str 2301 tools/perf/util/header.c str = do_read_string(ff); str 2302 tools/perf/util/header.c if (!str) str 2306 tools/perf/util/header.c if (strbuf_add(&sb, str, strlen(str) + 1) < 0) str 2308 tools/perf/util/header.c size += string_size(str); str 2309 tools/perf/util/header.c free(str); str 2333 tools/perf/util/header.c char *str; str 2356 tools/perf/util/header.c str = do_read_string(ff); str 2357 tools/perf/util/header.c if (!str) str 2360 tools/perf/util/header.c n->map = perf_cpu_map__new(str); str 2364 tools/perf/util/header.c free(str); str 3059 tools/perf/util/intel-pt.c static void intel_pt_print_info_str(const char *name, const char *str) str 3064 tools/perf/util/intel-pt.c fprintf(stdout, " %-20s%s\n", name, str ? str : ""); str 46 tools/perf/util/mem-events.c int perf_mem_events__parse(const char *str) str 54 tools/perf/util/mem-events.c buf = malloc(strlen(str) + 1); str 58 tools/perf/util/mem-events.c strcpy(buf, str); str 78 tools/perf/util/mem-events.c pr_err("failed: event '%s' not found, use '-e list' to get list of available events\n", str); str 37 tools/perf/util/mem-events.h int perf_mem_events__parse(const char *str); str 514 tools/perf/util/metricgroup.c const char *str, str 525 tools/perf/util/metricgroup.c ret = metricgroup__add_metric_list(str, &extra_events, &group_list); str 31 tools/perf/util/metricgroup.h const char *str, str 269 tools/perf/util/ordered-events.c static const char * const str[] = { str 320 tools/perf/util/ordered-events.c str[how], oe->nr_events); str 333 tools/perf/util/ordered-events.c str[how], oe->nr_events); str 38 tools/perf/util/parse-branch-options.c int parse_branch_str(const char *str, __u64 *mode) str 50 tools/perf/util/parse-branch-options.c if (str == NULL) { str 56 tools/perf/util/parse-branch-options.c s = os = strdup(str); str 94 tools/perf/util/parse-branch-options.c parse_branch_stack(const struct option *opt, const char *str, int unset) str 107 tools/perf/util/parse-branch-options.c return parse_branch_str(str, mode); str 5 tools/perf/util/parse-branch-options.h int parse_branch_stack(const struct option *opt, const char *str, int unset); str 6 tools/perf/util/parse-branch-options.h int parse_branch_str(const char *str, __u64 *mode); str 259 tools/perf/util/parse-events.c char *str = strchr(name, ':'); str 261 tools/perf/util/parse-events.c if (path == NULL || str == NULL) { str 266 tools/perf/util/parse-events.c path->system = strndup(name, str - name); str 267 tools/perf/util/parse-events.c path->name = strdup(str+1); str 314 tools/perf/util/parse-events.c return term->val.str; str 377 tools/perf/util/parse-events.c static int parse_aliases(char *str, const char *names[][PERF_EVSEL__MAX_ALIASES], int size) str 385 tools/perf/util/parse-events.c if (n > longest && !strncasecmp(str, names[i][j], n)) str 431 tools/perf/util/parse-events.c char *str = op_result[i]; str 433 tools/perf/util/parse-events.c n += snprintf(name + n, MAX_NAME_LEN - n, "-%s", str); str 436 tools/perf/util/parse-events.c cache_op = parse_aliases(str, perf_evsel__hw_cache_op, str 446 tools/perf/util/parse-events.c cache_result = parse_aliases(str, perf_evsel__hw_cache_result, str 496 tools/perf/util/parse-events.c e->str = strdup("can't access trace events"); str 499 tools/perf/util/parse-events.c e->str = strdup("unknown tracepoint"); str 502 tools/perf/util/parse-events.c e->str = strdup("failed to add tracepoint"); str 732 tools/perf/util/parse-events.c parse_state->error->str = strdup(errbuf); str 757 tools/perf/util/parse-events.c parse_state->error->str = strdup(errbuf); str 773 tools/perf/util/parse-events.c parse_state->error->str = strdup(errbuf); str 842 tools/perf/util/parse-events.c parse_state->error->str = strdup(errbuf); str 937 tools/perf/util/parse-events.c err->str = strdup("expected numeric value"); str 939 tools/perf/util/parse-events.c err->str = strdup("expected string value"); str 976 tools/perf/util/parse-events.c err->str = strdup("Invalid term_type"); str 995 tools/perf/util/parse-events.c if (asprintf(&err->str, "'%s' is not usable in 'perf stat'", str 997 tools/perf/util/parse-events.c err->str = NULL; str 1038 tools/perf/util/parse-events.c if (strcmp(term->val.str, "no") && str 1039 tools/perf/util/parse-events.c parse_branch_str(term->val.str, &attr->branch_sample_type)) { str 1040 tools/perf/util/parse-events.c err->str = strdup("invalid branch sample type"); str 1048 tools/perf/util/parse-events.c err->str = strdup("expected 0 or 1"); str 1083 tools/perf/util/parse-events.c err->str = strdup("expected 0 or 1"); str 1092 tools/perf/util/parse-events.c err->str = strdup("unknown term"); str 1146 tools/perf/util/parse-events.c err->str = strdup("unknown term"); str 1201 tools/perf/util/parse-events.c ADD_CONFIG_TERM(CALLGRAPH, callgraph, term->val.str); str 1204 tools/perf/util/parse-events.c ADD_CONFIG_TERM(BRANCH, branch, term->val.str); str 1228 tools/perf/util/parse-events.c ADD_CONFIG_TERM(DRV_CFG, drv_cfg, term->val.str); str 1326 tools/perf/util/parse-events.c if (asprintf(&err->str, str 1329 tools/perf/util/parse-events.c err->str = NULL; str 1397 tools/perf/util/parse-events.c char *str, struct list_head **listp) str 1415 tools/perf/util/parse-events.c if (!strcasecmp(alias->name, str)) { str 1421 tools/perf/util/parse-events.c str, 1, false, &str, NULL) < 0) str 1428 tools/perf/util/parse-events.c pr_debug("%s -> %s/%s/\n", str, str 1429 tools/perf/util/parse-events.c pmu->name, alias->str); str 1607 tools/perf/util/parse-events.c static int get_event_modifier(struct event_modifier *mod, char *str, str 1627 tools/perf/util/parse-events.c while (*str) { str 1628 tools/perf/util/parse-events.c if (*str == 'u') { str 1632 tools/perf/util/parse-events.c } else if (*str == 'k') { str 1636 tools/perf/util/parse-events.c } else if (*str == 'h') { str 1640 tools/perf/util/parse-events.c } else if (*str == 'G') { str 1644 tools/perf/util/parse-events.c } else if (*str == 'H') { str 1648 tools/perf/util/parse-events.c } else if (*str == 'I') { str 1650 tools/perf/util/parse-events.c } else if (*str == 'p') { str 1655 tools/perf/util/parse-events.c } else if (*str == 'P') { str 1657 tools/perf/util/parse-events.c } else if (*str == 'S') { str 1659 tools/perf/util/parse-events.c } else if (*str == 'D') { str 1661 tools/perf/util/parse-events.c } else if (*str == 'W') { str 1666 tools/perf/util/parse-events.c ++str; str 1702 tools/perf/util/parse-events.c static int check_modifier(char *str) str 1704 tools/perf/util/parse-events.c char *p = str; str 1707 tools/perf/util/parse-events.c if (strlen(str) > (sizeof("ukhGHpppPSDIW") - 1)) str 1719 tools/perf/util/parse-events.c int parse_events__modifier_event(struct list_head *list, char *str, bool add) str 1724 tools/perf/util/parse-events.c if (str == NULL) str 1727 tools/perf/util/parse-events.c if (check_modifier(str)) str 1730 tools/perf/util/parse-events.c if (!add && get_event_modifier(&mod, str, NULL)) str 1734 tools/perf/util/parse-events.c if (add && get_event_modifier(&mod, str, evsel)) str 1792 tools/perf/util/parse-events.c #define SET_SYMBOL(str, stype) \ str 1794 tools/perf/util/parse-events.c p->symbol = str; \ str 1880 tools/perf/util/parse-events.c static int parse_events__scanner(const char *str, void *parse_state, int start_token) str 1890 tools/perf/util/parse-events.c buffer = parse_events__scan_string(str, scanner); str 1906 tools/perf/util/parse-events.c int parse_events_terms(struct list_head *terms, const char *str) str 1913 tools/perf/util/parse-events.c ret = parse_events__scanner(str, &parse_state, PE_START_TERMS); str 1924 tools/perf/util/parse-events.c int parse_events(struct evlist *evlist, const char *str, str 1935 tools/perf/util/parse-events.c ret = parse_events__scanner(str, &parse_state, PE_START_EVENTS); str 1978 tools/perf/util/parse-events.c const char *str = "invalid or unsupported event: "; str 1983 tools/perf/util/parse-events.c if (err->str) { str 1999 tools/perf/util/parse-events.c str = "event syntax error: "; str 2000 tools/perf/util/parse-events.c len_str = strlen(str); str 2023 tools/perf/util/parse-events.c fprintf(stderr, "%s'%s'\n", str, buf); str 2025 tools/perf/util/parse-events.c fprintf(stderr, "%*s\\___ %s\n", idx + 1, "", err->str); str 2028 tools/perf/util/parse-events.c zfree(&err->str); str 2035 tools/perf/util/parse-events.c int parse_events_option(const struct option *opt, const char *str, str 2040 tools/perf/util/parse-events.c int ret = parse_events(evlist, str, &err); str 2043 tools/perf/util/parse-events.c parse_events_print_error(&err, str); str 2085 tools/perf/util/parse-events.c const char *str = arg; str 2097 tools/perf/util/parse-events.c if (perf_evsel__append_tp_filter(evsel, str) < 0) { str 2122 tools/perf/util/parse-events.c if (perf_evsel__append_addr_filter(evsel, str) < 0) { str 2131 tools/perf/util/parse-events.c int parse_filter(const struct option *opt, const char *str, str 2137 tools/perf/util/parse-events.c (const void *)str); str 2663 tools/perf/util/parse-events.c char *str, u64 num) str 2680 tools/perf/util/parse-events.c term->val.str = str; str 2712 tools/perf/util/parse-events.c int type_term, char *config, char *str, str 2726 tools/perf/util/parse-events.c return new_term(term, &temp, str, 0); str 2756 tools/perf/util/parse-events.c return new_term(new, &temp, term->val.str, term->val.num); str 2810 tools/perf/util/parse-events.c int idx, const char *str) str 2817 tools/perf/util/parse-events.c err->str = strdup(str); str 2818 tools/perf/util/parse-events.c WARN_ONCE(!err->str, "WARNING: failed to allocate error string"); str 2854 tools/perf/util/parse-events.c char *str; str 2862 tools/perf/util/parse-events.c if (asprintf(&str, "valid terms: %s,%s", str 2866 tools/perf/util/parse-events.c if (asprintf(&str, "valid terms: %s", static_terms) < 0) str 2869 tools/perf/util/parse-events.c return str; str 33 tools/perf/util/parse-events.h int parse_events_option(const struct option *opt, const char *str, int unset); str 34 tools/perf/util/parse-events.h int parse_events(struct evlist *evlist, const char *str, str 36 tools/perf/util/parse-events.h int parse_events_terms(struct list_head *terms, const char *str); str 37 tools/perf/util/parse-events.h int parse_filter(const struct option *opt, const char *str, int unset); str 95 tools/perf/util/parse-events.h char *str; str 114 tools/perf/util/parse-events.h char *str; /* string to display at the index */ str 134 tools/perf/util/parse-events.h int type_term, char *config, char *str, str 143 tools/perf/util/parse-events.h int parse_events__modifier_event(struct list_head *list, char *str, bool add); str 182 tools/perf/util/parse-events.h char *str, str 195 tools/perf/util/parse-events.h int idx, const char *str); str 229 tools/perf/util/parse-events.h static inline bool is_sdt_event(char *str) str 231 tools/perf/util/parse-events.h return (str[0] == '%' || str 232 tools/perf/util/parse-events.h (!strncmp(str, "sdt_", 4) && str 233 tools/perf/util/parse-events.h !!strchr(str, ':') && !strchr(str, '='))); str 236 tools/perf/util/parse-events.h static inline bool is_sdt_event(char *str __maybe_unused) str 64 tools/perf/util/parse-events.y %type <str> PE_NAME str 65 tools/perf/util/parse-events.y %type <str> PE_BPF_OBJECT str 66 tools/perf/util/parse-events.y %type <str> PE_BPF_SOURCE str 67 tools/perf/util/parse-events.y %type <str> PE_NAME_CACHE_TYPE str 68 tools/perf/util/parse-events.y %type <str> PE_NAME_CACHE_OP_RESULT str 69 tools/perf/util/parse-events.y %type <str> PE_MODIFIER_EVENT str 70 tools/perf/util/parse-events.y %type <str> PE_MODIFIER_BP str 71 tools/perf/util/parse-events.y %type <str> PE_EVENT_NAME str 72 tools/perf/util/parse-events.y %type <str> PE_PMU_EVENT_PRE PE_PMU_EVENT_SUF PE_KERNEL_PMU_EVENT str 73 tools/perf/util/parse-events.y %type <str> PE_DRV_CFG_TERM str 102 tools/perf/util/parse-events.y char *str; str 13 tools/perf/util/parse-regs-options.c __parse_regs(const struct option *opt, const char *str, int unset, bool intr) str 36 tools/perf/util/parse-regs-options.c if (str) { str 38 tools/perf/util/parse-regs-options.c s = os = strdup(str); str 86 tools/perf/util/parse-regs-options.c parse_user_regs(const struct option *opt, const char *str, int unset) str 88 tools/perf/util/parse-regs-options.c return __parse_regs(opt, str, unset, false); str 92 tools/perf/util/parse-regs-options.c parse_intr_regs(const struct option *opt, const char *str, int unset) str 94 tools/perf/util/parse-regs-options.c return __parse_regs(opt, str, unset, true); str 5 tools/perf/util/parse-regs-options.h int parse_user_regs(const struct option *opt, const char *str, int unset); str 6 tools/perf/util/parse-regs-options.h int parse_intr_regs(const struct option *opt, const char *str, int unset); str 267 tools/perf/util/pmu.c perf_pmu_assign_str(old->name, "value", &old->str, &newalias->str); str 281 tools/perf/util/pmu.c zfree(&newalias->str); str 354 tools/perf/util/pmu.c "%s=%s", term->config, term->val.str); str 380 tools/perf/util/pmu.c alias->str = strdup(newval); str 708 tools/perf/util/pmu.c char *tmp = NULL, *tok, *str; str 711 tools/perf/util/pmu.c str = strdup(pmu_name); str 712 tools/perf/util/pmu.c if (!str) str 718 tools/perf/util/pmu.c tok = strtok_r(str, ",", &tmp); str 742 tools/perf/util/pmu.c free(str); str 993 tools/perf/util/pmu.c char *str = NULL; str 1005 tools/perf/util/pmu.c str = strbuf_detach(&buf, NULL); str 1009 tools/perf/util/pmu.c return str; str 1048 tools/perf/util/pmu.c err->str = strdup("unknown term"); str 1078 tools/perf/util/pmu.c err->str = strdup("no value assigned for term"); str 1085 tools/perf/util/pmu.c if (strcmp(term->val.str, "?")) { str 1088 tools/perf/util/pmu.c term->config, term->val.str); str 1092 tools/perf/util/pmu.c err->str = strdup("expected numeric value"); str 1106 tools/perf/util/pmu.c if (asprintf(&err->str, str 1109 tools/perf/util/pmu.c err->str = strdup("value too big for format"); str 1172 tools/perf/util/pmu.c name = term->val.str; str 1314 tools/perf/util/pmu.c term->val.str); str 1341 tools/perf/util/pmu.c char *str; str 1440 tools/perf/util/pmu.c aliases[j].str = alias->str; str 1479 tools/perf/util/pmu.c printf("%*s%s/%s/ ", 8, "", aliases[j].pmu, aliases[j].str); str 53 tools/perf/util/pmu.h char *str; str 53 tools/perf/util/probe-event.c int e_snprintf(char *str, size_t size, const char *format, ...) str 58 tools/perf/util/probe-event.c ret = vsnprintf(str, size, format, ap); str 1551 tools/perf/util/probe-event.c static int parse_perf_probe_arg(char *str, struct perf_probe_arg *arg) str 1556 tools/perf/util/probe-event.c pr_debug("parsing arg: %s into ", str); str 1558 tools/perf/util/probe-event.c tmp = strchr(str, '='); str 1560 tools/perf/util/probe-event.c arg->name = strndup(str, tmp - str); str 1564 tools/perf/util/probe-event.c str = tmp + 1; str 1567 tools/perf/util/probe-event.c tmp = strchr(str, '@'); str 1568 tools/perf/util/probe-event.c if (tmp && tmp != str && strcmp(tmp + 1, "user")) { /* user attr */ str 1578 tools/perf/util/probe-event.c tmp = strchr(str, ':'); str 1587 tools/perf/util/probe-event.c tmp = strpbrk(str, "-.["); str 1588 tools/perf/util/probe-event.c if (!is_c_varname(str) || !tmp) { str 1590 tools/perf/util/probe-event.c arg->var = strdup(str); str 1598 tools/perf/util/probe-event.c arg->var = strndup(str, tmp - str); str 1610 tools/perf/util/probe-event.c str = tmp; str 1611 tools/perf/util/probe-event.c (*fieldp)->index = strtol(str + 1, &tmp, 0); str 1613 tools/perf/util/probe-event.c if (*tmp != ']' || tmp == str + 1) { str 1623 tools/perf/util/probe-event.c str = tmp + 1; str 1626 tools/perf/util/probe-event.c str = tmp + 2; str 1630 tools/perf/util/probe-event.c str); str 1633 tools/perf/util/probe-event.c tmp = strpbrk(str, "-.["); str 1636 tools/perf/util/probe-event.c (*fieldp)->name = strndup(str, tmp - str); str 1639 tools/perf/util/probe-event.c if (*str != '[') str 1645 tools/perf/util/probe-event.c (*fieldp)->name = strdup(str); str 1648 tools/perf/util/probe-event.c if (*str != '[') str 2238 tools/perf/util/probe-event.c #define strdup_or_goto(str, label) \ str 2239 tools/perf/util/probe-event.c ({ char *__p = NULL; if (str && !(__p = strdup(str))) goto label; __p; }) str 3468 tools/perf/util/probe-event.c char *str = strfilter__string(filter); str 3470 tools/perf/util/probe-event.c if (!str) str 3495 tools/perf/util/probe-event.c free(str); str 3521 tools/perf/util/probe-event.c char *str = strfilter__string(_filter); str 3523 tools/perf/util/probe-event.c str); str 3524 tools/perf/util/probe-event.c free(str); str 184 tools/perf/util/probe-event.h int e_snprintf(char *str, size_t size, const char *format, ...) __printf(3, 4); str 396 tools/perf/util/python.c const char *str = _PyUnicode_AsString(PyObject_Str(attr_name)); str 410 tools/perf/util/python.c field = tep_find_any_field(evsel->tp_format, str); str 18 tools/perf/util/record.c static int perf_do_probe_api(setup_probe_fn_t fn, int cpu, const char *str) str 30 tools/perf/util/record.c if (parse_events(evlist, str, NULL)) str 263 tools/perf/util/record.c bool perf_evlist__can_select_event(struct evlist *evlist, const char *str) str 275 tools/perf/util/record.c err = parse_events(temp_evlist, str, NULL); str 310 tools/perf/util/record.c int record__parse_freq(const struct option *opt, const char *str, int unset __maybe_unused) str 315 tools/perf/util/record.c if (!str) str 318 tools/perf/util/record.c if (strcasecmp(str, "max") == 0) { str 325 tools/perf/util/record.c freq = atoi(str); str 72 tools/perf/util/record.h int record__parse_freq(const struct option *opt, const char *str, int unset); str 108 tools/perf/util/scripting-engines/trace-event-perl.c define_symbolic_value(ev_name, field_name, field->value, field->str); str 166 tools/perf/util/scripting-engines/trace-event-perl.c define_flag_value(ev_name, field_name, field->value, field->str); str 236 tools/perf/util/scripting-engines/trace-event-python.c field->str); str 1342 tools/perf/util/scripting-engines/trace-event-python.c static void get_handler_name(char *str, size_t size, str 1345 tools/perf/util/scripting-engines/trace-event-python.c char *p = str; str 1347 tools/perf/util/scripting-engines/trace-event-python.c scnprintf(str, size, "stat__%s", perf_evsel__name(evsel)); str 21 tools/perf/util/smt.c char *str; str 32 tools/perf/util/smt.c if (sysfs__read_str(fn, &str, &strlen) < 0) str 35 tools/perf/util/smt.c siblings = strtoull(str, NULL, 16); str 36 tools/perf/util/smt.c free(str); str 1507 tools/perf/util/sort.c static inline char *add_str(char *p, const char *str) str 1509 tools/perf/util/sort.c strcpy(p, str); str 1510 tools/perf/util/sort.c return p + strlen(str); str 2021 tools/perf/util/sort.c char *str, *pos; str 2034 tools/perf/util/sort.c str = he->trace_output; str 2036 tools/perf/util/sort.c while (str) { str 2037 tools/perf/util/sort.c pos = strchr(str, ' '); str 2040 tools/perf/util/sort.c pos = str + strlen(str); str 2043 tools/perf/util/sort.c if (!strncmp(str, field->name, namelen)) { str 2046 tools/perf/util/sort.c str += namelen + 1; str 2047 tools/perf/util/sort.c len = pos - str; str 2055 tools/perf/util/sort.c str = NULL; str 2057 tools/perf/util/sort.c str = pos + 1; str 2106 tools/perf/util/sort.c char *str, *pos; str 2125 tools/perf/util/sort.c str = he->trace_output; str 2127 tools/perf/util/sort.c while (str) { str 2128 tools/perf/util/sort.c pos = strchr(str, ' '); str 2131 tools/perf/util/sort.c pos = str + strlen(str); str 2134 tools/perf/util/sort.c if (!strncmp(str, field->name, namelen)) { str 2135 tools/perf/util/sort.c str += namelen + 1; str 2136 tools/perf/util/sort.c str = strndup(str, pos - str); str 2138 tools/perf/util/sort.c if (str == NULL) str 2145 tools/perf/util/sort.c str = NULL; str 2147 tools/perf/util/sort.c str = pos + 1; str 2150 tools/perf/util/sort.c if (str == NULL) { str 2155 tools/perf/util/sort.c str = seq.buffer; str 2158 tools/perf/util/sort.c ret = scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, str); str 2159 tools/perf/util/sort.c free(str); str 2289 tools/perf/util/sort.c static int parse_field_name(char *str, char **event, char **field, char **opt) str 2293 tools/perf/util/sort.c event_name = str; str 2294 tools/perf/util/sort.c field_name = strchr(str, '.'); str 2300 tools/perf/util/sort.c field_name = str; str 2432 tools/perf/util/sort.c char *str, *event_name, *field_name, *opt_name; str 2441 tools/perf/util/sort.c str = strdup(tok); str 2442 tools/perf/util/sort.c if (str == NULL) str 2445 tools/perf/util/sort.c if (parse_field_name(str, &event_name, &field_name, &opt_name) < 0) { str 2496 tools/perf/util/sort.c free(str); str 2668 tools/perf/util/sort.c static int setup_sort_list(struct perf_hpp_list *list, char *str, str 2678 tools/perf/util/sort.c tok = str; str 2679 tools/perf/util/sort.c tmp = strpbrk(str, "{}, "); str 2692 tools/perf/util/sort.c str = tmp + 1; str 2783 tools/perf/util/sort.c static char *prefix_if_not_in(const char *pre, char *str) str 2787 tools/perf/util/sort.c if (!str || strstr(str, pre)) str 2788 tools/perf/util/sort.c return str; str 2790 tools/perf/util/sort.c if (asprintf(&n, "%s,%s", pre, str) < 0) str 2793 tools/perf/util/sort.c free(str); str 2812 tools/perf/util/sort.c char *str; str 2833 tools/perf/util/sort.c str = strdup(sort_keys); str 2834 tools/perf/util/sort.c if (str == NULL) { str 2843 tools/perf/util/sort.c str = setup_overhead(str); str 2844 tools/perf/util/sort.c if (str == NULL) { str 2850 tools/perf/util/sort.c ret = setup_sort_list(&perf_hpp_list, str, evlist); str 2852 tools/perf/util/sort.c free(str); str 2992 tools/perf/util/sort.c static int setup_output_list(struct perf_hpp_list *list, char *str) str 2997 tools/perf/util/sort.c for (tok = strtok_r(str, ", ", &tmp); str 3036 tools/perf/util/sort.c char *str, *strp; str 3042 tools/perf/util/sort.c strp = str = strdup(field_order); str 3043 tools/perf/util/sort.c if (str == NULL) { str 3059 tools/perf/util/sort.c free(str); str 3117 tools/perf/util/sort.c static void add_key(struct strbuf *sb, const char *str, int *llen) str 3123 tools/perf/util/sort.c strbuf_addf(sb, " %s", str); str 3124 tools/perf/util/sort.c *llen += strlen(str) + 1; str 254 tools/perf/util/stat-display.c char buf[1024], str[1024]; str 266 tools/perf/util/stat-display.c color_snprintf(str, sizeof(str), color ?: "", fmt, val); str 267 tools/perf/util/stat-display.c fprintf(out, "%*s ", mlen, str); str 219 tools/perf/util/strfilter.c const char *str) str 226 tools/perf/util/strfilter.c return strfilter_node__compare(node->l, str) || str 227 tools/perf/util/strfilter.c strfilter_node__compare(node->r, str); str 229 tools/perf/util/strfilter.c return strfilter_node__compare(node->l, str) && str 230 tools/perf/util/strfilter.c strfilter_node__compare(node->r, str); str 232 tools/perf/util/strfilter.c return !strfilter_node__compare(node->r, str); str 234 tools/perf/util/strfilter.c return strglobmatch(str, node->p); str 239 tools/perf/util/strfilter.c bool strfilter__compare(struct strfilter *filter, const char *str) str 243 tools/perf/util/strfilter.c return strfilter_node__compare(filter->root, str); str 65 tools/perf/util/strfilter.h bool strfilter__compare(struct strfilter *filter, const char *str); str 24 tools/perf/util/string.c s64 perf_atoll(const char *str) str 30 tools/perf/util/string.c if (!isdigit(str[0])) str 33 tools/perf/util/string.c length = strtoll(str, &p, 10); str 111 tools/perf/util/string.c static bool __match_glob(const char *str, const char *pat, bool ignore_space, str 114 tools/perf/util/string.c while (*str && *pat && *pat != '*') { str 117 tools/perf/util/string.c if (isspace(*str)) { str 118 tools/perf/util/string.c str++; str 127 tools/perf/util/string.c str++; str 131 tools/perf/util/string.c if (__match_charclass(pat + 1, *str, &pat)) { str 132 tools/perf/util/string.c str++; str 139 tools/perf/util/string.c if (tolower(*str) != tolower(*pat)) str 141 tools/perf/util/string.c } else if (*str != *pat) str 143 tools/perf/util/string.c str++; str 152 tools/perf/util/string.c while (*str) str 153 tools/perf/util/string.c if (__match_glob(str++, pat, ignore_space, case_ins)) str 156 tools/perf/util/string.c return !*str && !*pat; str 171 tools/perf/util/string.c bool strglobmatch(const char *str, const char *pat) str 173 tools/perf/util/string.c return __match_glob(str, pat, false, false); str 176 tools/perf/util/string.c bool strglobmatch_nocase(const char *str, const char *pat) str 178 tools/perf/util/string.c return __match_glob(str, pat, false, true); str 189 tools/perf/util/string.c bool strlazymatch(const char *str, const char *pat) str 191 tools/perf/util/string.c return __match_glob(str, pat, true, false); str 252 tools/perf/util/string.c char *strpbrk_esc(char *str, const char *stopset) str 257 tools/perf/util/string.c ptr = strpbrk(str, stopset); str 258 tools/perf/util/string.c if (ptr == str || str 259 tools/perf/util/string.c (ptr == str + 1 && *(ptr - 1) != '\\')) str 261 tools/perf/util/string.c str = ptr + 1; str 268 tools/perf/util/string.c char *strdup_esc(const char *str) str 270 tools/perf/util/string.c char *s, *d, *p, *ret = strdup(str); str 13 tools/perf/util/string2.h s64 perf_atoll(const char *str); str 14 tools/perf/util/string2.h bool strglobmatch(const char *str, const char *pat); str 15 tools/perf/util/string2.h bool strglobmatch_nocase(const char *str, const char *pat); str 16 tools/perf/util/string2.h bool strlazymatch(const char *str, const char *pat); str 17 tools/perf/util/string2.h static inline bool strisglob(const char *str) str 19 tools/perf/util/string2.h return strpbrk(str, "*?[") != NULL; str 35 tools/perf/util/string2.h char *strpbrk_esc(char *str, const char *stopset); str 36 tools/perf/util/string2.h char *strdup_esc(const char *str); str 57 tools/perf/util/strlist.c const char *str = entry; str 60 tools/perf/util/strlist.c return strcmp(snode->s, str); str 37 tools/perf/util/strlist.h int strlist__add(struct strlist *slist, const char *str); str 218 tools/perf/util/symbol-elf.c char *str; str 221 tools/perf/util/symbol-elf.c str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); str 222 tools/perf/util/symbol-elf.c if (str && !strcmp(name, str)) { str 93 tools/perf/util/symbol.c static int prefix_underscores_count(const char *str) str 95 tools/perf/util/symbol.c const char *tail = str; str 100 tools/perf/util/symbol.c return tail - str; str 443 tools/perf/util/symbol.c int symbol__match_symbol_name(const char *name, const char *str, str 450 tools/perf/util/symbol.c int len = strlen(str); str 455 tools/perf/util/symbol.c return arch__compare_symbol_names_n(name, str, len); str 457 tools/perf/util/symbol.c return arch__compare_symbol_names(name, str); str 73 tools/perf/util/target.c const char *str = target->uid_str; str 76 tools/perf/util/target.c if (str == NULL) str 80 tools/perf/util/target.c getpwnam_r(str, &pwd, buf, sizeof(buf), &result); str 87 tools/perf/util/target.c int uid = strtol(str, &endptr, 10); str 237 tools/perf/util/thread.c static int ____thread__set_comm(struct thread *thread, const char *str, str 244 tools/perf/util/thread.c int err = comm__override(curr, str, timestamp, exec); str 248 tools/perf/util/thread.c new = comm__new(str, timestamp, exec); str 262 tools/perf/util/thread.c int __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, str 268 tools/perf/util/thread.c ret = ____thread__set_comm(thread, str, timestamp, exec); str 302 tools/perf/util/thread.c const char *str; str 305 tools/perf/util/thread.c str = __thread__comm_str(thread); str 308 tools/perf/util/thread.c return str; str 18 tools/perf/util/time-utils.c int parse_nsec_time(const char *str, u64 *ptime) str 23 tools/perf/util/time-utils.c time_sec = strtoul(str, &end, 10); str 70 tools/perf/util/time-utils.c char *d, *str; str 76 tools/perf/util/time-utils.c str = strdup(ostr); str 77 tools/perf/util/time-utils.c if (str == NULL) str 80 tools/perf/util/time-utils.c start_str = str; str 124 tools/perf/util/time-utils.c char *str, *arg, *p; str 136 tools/perf/util/time-utils.c str = strdup(ostr); str 137 tools/perf/util/time-utils.c if (!str) str 141 tools/perf/util/time-utils.c for (i = 0, p = str; i < num - 1; i++) { str 175 tools/perf/util/time-utils.c free(str); str 180 tools/perf/util/time-utils.c static int parse_percent(double *pcnt, char *str) str 185 tools/perf/util/time-utils.c c = strchr(str, '%'); str 191 tools/perf/util/time-utils.c d = strtod(str, &endptr); str 192 tools/perf/util/time-utils.c if (endptr != str + strlen(str)) str 218 tools/perf/util/time-utils.c static int percent_slash_split(char *str, struct perf_time_interval *ptime, str 231 tools/perf/util/time-utils.c p = strchr(str, '/'); str 236 tools/perf/util/time-utils.c if (parse_percent(&pcnt, str) < 0) str 253 tools/perf/util/time-utils.c static int percent_dash_split(char *str, struct perf_time_interval *ptime, str 264 tools/perf/util/time-utils.c ret = split_start_end(&start_str, &end_str, str, '-'); str 286 tools/perf/util/time-utils.c char *str, *p1, *p2; str 289 tools/perf/util/time-utils.c str = strdup(ostr); str 290 tools/perf/util/time-utils.c if (str == NULL) str 293 tools/perf/util/time-utils.c len = strlen(str); str 294 tools/perf/util/time-utils.c p1 = str; str 296 tools/perf/util/time-utils.c while (p1 < str + len) { str 298 tools/perf/util/time-utils.c free(str); str 308 tools/perf/util/time-utils.c free(str); str 323 tools/perf/util/time-utils.c free(str); str 330 tools/perf/util/time-utils.c char *str; str 343 tools/perf/util/time-utils.c str = malloc(len + 3); str 344 tools/perf/util/time-utils.c if (str == NULL) str 347 tools/perf/util/time-utils.c memcpy(str, ostr, len); str 348 tools/perf/util/time-utils.c strcpy(str + len, "/1"); str 350 tools/perf/util/time-utils.c ret = percent_slash_split(str, ptime_buf, start, end); str 354 tools/perf/util/time-utils.c free(str); str 13 tools/perf/util/time-utils.h int parse_nsec_time(const char *str, u64 *ptime); str 29 tools/perf/util/time-utils.h int perf_time__parse_for_ranges_reltime(const char *str, struct perf_session *session, str 34 tools/perf/util/time-utils.h int perf_time__parse_for_ranges(const char *str, struct perf_session *session, str 35 tools/perf/util/trace-event-info.c unsigned char str[] = { 0x1, 0x2, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0}; str 38 tools/perf/util/trace-event-info.c ptr = (unsigned int *)(void *)str; str 102 tools/perf/util/trace-event-read.c char *str = NULL; str 136 tools/perf/util/trace-event-read.c str = malloc(size); str 137 tools/perf/util/trace-event-read.c if (str) str 138 tools/perf/util/trace-event-read.c memcpy(str, buf, size); str 140 tools/perf/util/trace-event-read.c return str; str 10 tools/perf/util/units.c unsigned long parse_tag_value(const char *str, struct parse_tag *tags) str 15 tools/perf/util/units.c char *s = strchr(str, i->tag); str 21 tools/perf/util/units.c value = strtoul(str, &endptr, 10); str 13 tools/perf/util/units.h unsigned long parse_tag_value(const char *str, struct parse_tag *tags); str 311 tools/perf/util/util.c fetch_kernel_version(unsigned int *puint, char *str, str 325 tools/perf/util/util.c if (str && str_size) { str 326 tools/perf/util/util.c strncpy(str, utsname.release, str_size); str 327 tools/perf/util/util.c str[str_size - 1] = '\0'; str 33 tools/perf/util/util.h char *str, size_t str_sz); str 30 tools/power/cpupower/bench/parse.c enum sched_prio string_to_prio(const char *str) str 32 tools/power/cpupower/bench/parse.c if (strncasecmp("high", str, strlen(str)) == 0) str 34 tools/power/cpupower/bench/parse.c else if (strncasecmp("default", str, strlen(str)) == 0) str 36 tools/power/cpupower/bench/parse.c else if (strncasecmp("low", str, strlen(str)) == 0) str 34 tools/power/cpupower/bench/parse.h enum sched_prio string_to_prio(const char *str); str 62 tools/power/cpupower/utils/cpufreq-set.c static unsigned long string_to_frequency(const char *str) str 71 tools/power/cpupower/utils/cpufreq-set.c while (*str == '0') str 72 tools/power/cpupower/utils/cpufreq-set.c str++; str 74 tools/power/cpupower/utils/cpufreq-set.c for (scan = str; isdigit(*scan) || *scan == '.'; scan++) { str 98 tools/power/cpupower/utils/cpufreq-set.c for (cp = 0; isdigit(str[cp]); cp++) str 101 tools/power/cpupower/utils/cpufreq-set.c if (str[cp] == '.') { str 102 tools/power/cpupower/utils/cpufreq-set.c while (power > -1 && isdigit(str[cp+1])) str 114 tools/power/cpupower/utils/cpufreq-set.c for (i = 0; i < cp; i++, str++) { str 115 tools/power/cpupower/utils/cpufreq-set.c if (*str == '.') str 116 tools/power/cpupower/utils/cpufreq-set.c str++; str 117 tools/power/cpupower/utils/cpufreq-set.c normalized[i] = *str; str 11 tools/power/x86/intel-speed-select/isst-display.c static void printcpulist(int str_len, char *str, int mask_size, str 17 tools/power/x86/intel-speed-select/isst-display.c snprintf(str, str_len, "none"); str 27 tools/power/x86/intel-speed-select/isst-display.c index = snprintf(&str[curr_index], str 31 tools/power/x86/intel-speed-select/isst-display.c index = snprintf(&str[curr_index], str_len - curr_index, "%d", str 38 tools/power/x86/intel-speed-select/isst-display.c static void printcpumask(int str_len, char *str, int mask_size, str 66 tools/power/x86/intel-speed-select/isst-display.c index = snprintf(&str[curr_index], str_len - curr_index, "%08x", str 70 tools/power/x86/intel-speed-select/isst-display.c strncat(&str[curr_index], ",", str_len - curr_index); str 671 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c void print_hwp_cap(int cpu, struct msr_hwp_cap *cap, char *str) str 691 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c void print_hwp_request(int cpu, struct msr_hwp_request *h, char *str) str 696 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (str) str 697 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c printf("%s", str); str 703 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c void print_hwp_request_pkg(int pkg, struct msr_hwp_request *h, char *str) str 707 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (str) str 708 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c printf("%s", str); str 297 tools/spi/spidev_test.c static void transfer_escaped_string(int fd, char *str) str 299 tools/spi/spidev_test.c size_t size = strlen(str); str 311 tools/spi/spidev_test.c size = unescape((char *)tx, str, size); str 42 tools/testing/selftests/bpf/prog_tests/global_data.c char str[32]; str 51 tools/testing/selftests/bpf/prog_tests/global_data.c char str[32]; str 61 tools/testing/selftests/bpf/prog_tests/global_data.c err = bpf_map_lookup_elem(map_fd, &tests[i].key, str); str 62 tools/testing/selftests/bpf/prog_tests/global_data.c CHECK(err || memcmp(str, tests[i].str, sizeof(str)), str 64 tools/testing/selftests/bpf/prog_tests/global_data.c err, str, tests[i].str); str 126 tools/testing/selftests/bpf/test_btf.c #define BTF_STR_SEC(str) \ str 127 tools/testing/selftests/bpf/test_btf.c .str_sec = str, .str_sec_size = sizeof(str) str 3530 tools/testing/selftests/bpf/test_btf.c const char *str, str 3535 tools/testing/selftests/bpf/test_btf.c const char *next_str = str, *end_str = str + str_sec_size; str 3584 tools/testing/selftests/bpf/test_btf.c ret_types[i] = strs_idx[next_str_idx++] - str; str 3594 tools/testing/selftests/bpf/test_btf.c ret_types[i] = strs_idx[idx-1] - str; str 3602 tools/testing/selftests/bpf/test_btf.c memcpy(raw_btf + offset, str, str_sec_size); str 5805 tools/testing/selftests/bpf/test_btf.c const char *str, __u32 str_off, str 5810 tools/testing/selftests/bpf/test_btf.c const char *end_str = str + str_sec_size; str 5811 tools/testing/selftests/bpf/test_btf.c const char *next_str = str + str_off; str 5833 tools/testing/selftests/bpf/test_btf.c new_u32[i] = next_str - str; str 18 tools/testing/selftests/bpf/test_verifier_log.c #define err(str...) printf("ERROR: " str) str 485 tools/testing/selftests/net/nettest.c static int str_to_uint(const char *str, int min, int max, unsigned int *value) str 491 tools/testing/selftests/net/nettest.c number = (unsigned int) strtoul(str, &end, 0); str 496 tools/testing/selftests/net/nettest.c if (((*end == '\0') || (*end == '\n')) && (end != str) && str 1417 tools/testing/selftests/net/nettest.c char *str, *dev; str 1421 tools/testing/selftests/net/nettest.c str = strdup(_str); str 1422 tools/testing/selftests/net/nettest.c if (!str) str 1454 tools/testing/selftests/net/nettest.c if (str) { str 1455 tools/testing/selftests/net/nettest.c if (inet_pton(AF_INET, str, in) == 0) { str 1466 tools/testing/selftests/net/nettest.c dev = strchr(str, '%'); str 1473 tools/testing/selftests/net/nettest.c if (str) { str 1474 tools/testing/selftests/net/nettest.c if (inet_pton(AF_INET6, str, in6) == 0) { str 1498 tools/testing/selftests/net/nettest.c free(str); str 350 tools/testing/selftests/pidfd/pidfd_test.c execl("/bin/sleep", "sleep", str(CHILD_THREAD_MIN_WAIT), (char *)NULL); str 123 tools/testing/selftests/powerpc/copyloops/exc_validate.c return test_harness(test_copy_exception, str(COPY_LOOP)); str 99 tools/testing/selftests/powerpc/copyloops/validate.c return test_harness(test_copy_loop, str(COPY_LOOP)); str 21 tools/testing/selftests/powerpc/dscr/dscr_user_test.c static int check_dscr(char *str) str 29 tools/testing/selftests/powerpc/dscr/dscr_user_test.c str, cur_dscr, cur_dscr_usr); str 16 tools/testing/selftests/powerpc/include/instructions.h asm volatile(str(COPY(0, %0, 0))";" str 25 tools/testing/selftests/powerpc/include/instructions.h asm volatile(str(COPY(0, %0, 1))";" str 42 tools/testing/selftests/powerpc/include/instructions.h asm volatile(str(PASTE(0, %1, 0, 0))";" str 55 tools/testing/selftests/powerpc/include/instructions.h asm volatile(str(PASTE(0, %1, 1, 1))";" str 120 tools/testing/selftests/powerpc/pmu/ebb/trace.c int trace_log_string(struct trace_buffer *tb, char *str) str 126 tools/testing/selftests/powerpc/pmu/ebb/trace.c len = strlen(str); str 135 tools/testing/selftests/powerpc/pmu/ebb/trace.c memcpy(p, str, len); str 226 tools/testing/selftests/powerpc/pmu/ebb/trace.c char *str; str 228 tools/testing/selftests/powerpc/pmu/ebb/trace.c str = (char *)e->data; str 229 tools/testing/selftests/powerpc/pmu/ebb/trace.c puts(str); str 35 tools/testing/selftests/powerpc/pmu/ebb/trace.h int trace_log_string(struct trace_buffer *tb, char *str); str 79 tools/testing/selftests/x86/protection_keys.c void cat_into_file(char *str, char *file) str 84 tools/testing/selftests/x86/protection_keys.c dprintf2("%s(): writing '%s' to '%s'\n", __func__, str, file); str 90 tools/testing/selftests/x86/protection_keys.c fprintf(stderr, "error opening '%s'\n", str); str 95 tools/testing/selftests/x86/protection_keys.c ret = write(fd, str, strlen(str)); str 96 tools/testing/selftests/x86/protection_keys.c if (ret != strlen(str)) { str 98 tools/testing/selftests/x86/protection_keys.c fprintf(stderr, "filename: '%s' str: '%s'\n", file, str); str 114 tools/testing/vsock/control.c void control_writeln(const char *str) str 116 tools/testing/vsock/control.c ssize_t len = strlen(str); str 122 tools/testing/vsock/control.c ret = send(control_fd, str, len, MSG_MORE); str 203 tools/testing/vsock/control.c void control_expectln(const char *str) str 208 tools/testing/vsock/control.c if (strcmp(str, line) != 0) { str 210 tools/testing/vsock/control.c str, line); str 9 tools/testing/vsock/control.h void control_writeln(const char *str); str 11 tools/testing/vsock/control.h void control_expectln(const char *str); str 537 tools/testing/vsock/vsock_diag_test.c static unsigned int parse_cid(const char *str) str 543 tools/testing/vsock/vsock_diag_test.c n = strtoul(str, &endptr, 10); str 545 tools/testing/vsock/vsock_diag_test.c fprintf(stderr, "malformed CID \"%s\"\n", str); str 75 tools/thermal/tmon/sysfs.c static int sysfs_get_string(char *path, char *filename, char *str) str 88 tools/thermal/tmon/sysfs.c ret = fscanf(fd, "%256s", str); str 350 tools/usb/testusb.c static int parse_num(unsigned *num, const char *str) str 356 tools/usb/testusb.c val = strtoul(str, &end, 0); str 874 tools/vm/page-types.c static unsigned long long parse_number(const char *str) str 878 tools/vm/page-types.c n = strtoll(str, NULL, 0); str 880 tools/vm/page-types.c if (n == 0 && str[0] != '0') str 881 tools/vm/page-types.c fatal("invalid name or number: %s\n", str); str 886 tools/vm/page-types.c static void parse_pid(const char *str) str 891 tools/vm/page-types.c opt_pid = parse_number(str); str 1155 tools/vm/page-types.c static uint64_t parse_flag_name(const char *str, int len) str 1159 tools/vm/page-types.c if (!*str || !len) str 1162 tools/vm/page-types.c if (len <= 8 && !strncmp(str, "compound", len)) str 1168 tools/vm/page-types.c if (!strncmp(str, page_flag_names[i] + 2, len)) str 1172 tools/vm/page-types.c return parse_number(str); str 1175 tools/vm/page-types.c static uint64_t parse_flag_names(const char *str, int all) str 1177 tools/vm/page-types.c const char *p = str; str 1182 tools/vm/page-types.c if ((*str != '~') || (*str == '~' && all && *++str)) str 1183 tools/vm/page-types.c flags |= parse_flag_name(str, p - str); str 1186 tools/vm/page-types.c str = p + 1; str 143 usr/gen_init_cpio.c if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &uid, &gid)) { str 214 usr/gen_init_cpio.c if (4 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d", name, &mode, &uid, &gid)) { str 285 usr/gen_init_cpio.c if (7 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d %c %u %u", str 412 usr/gen_init_cpio.c if (5 > sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) str 433 usr/gen_init_cpio.c if (sscanf(line + end, "%" str(PATH_MAX) "s %n",