| /arch/mips/kernel/ |
| A D | segment.c | 25 str += sprintf(str, "%-5s", am_str[am]); in build_segment_config() 33 str += sprintf(str, " %03lx", in build_segment_config() 36 str += sprintf(str, " UND"); in build_segment_config() 39 str += sprintf(str, " %01ld", in build_segment_config() 42 str += sprintf(str, " U"); in build_segment_config() 45 str += sprintf(str, " %01ld\n", in build_segment_config() 52 char str[42]; in segments_show() local 58 build_segment_config(str, segcfg); in segments_show() 62 build_segment_config(str, segcfg); in segments_show() 66 build_segment_config(str, segcfg); in segments_show() [all …]
|
| A D | mips-mt.c | 26 static int __init maxvpes(char *str) in maxvpes() argument 28 get_option(&str, &vpelimit); in maxvpes() 37 static int __init maxtcs(char *str) in maxtcs() argument 39 get_option(&str, &tclimit); in maxtcs() 51 static int __init rpsctl_set(char *str) in rpsctl_set() argument 53 get_option(&str, &mt_opt_rpsctl); in rpsctl_set() 58 static int __init nblsu_set(char *str) in nblsu_set() argument 60 get_option(&str, &mt_opt_nblsu); in nblsu_set() 65 static int __init config7_set(char *str) in config7_set() argument 67 get_option(&str, &mt_opt_config7); in config7_set() [all …]
|
| /arch/s390/boot/ |
| A D | alternative.c | 54 str++; in alt_debug_parse() 57 return str; in alt_debug_parse() 63 str++; in alt_debug_parse() 69 str = endp; in alt_debug_parse() 71 str++; in alt_debug_parse() 75 str = endp; in alt_debug_parse() 85 str++; in alt_debug_parse() 87 return str; in alt_debug_parse() 114 if (!str) { in alt_debug_setup() 128 str = alt_debug_parse(type, str); in alt_debug_setup() [all …]
|
| A D | ipl_parm.c | 170 if (str[i] & 0x80) in has_ebcdic_char() 217 while (*str) { in modify_fac_list() 219 if (*str == '!') { in modify_fac_list() 221 str++; in modify_fac_list() 224 if (str == endp) in modify_fac_list() 226 str = endp; in modify_fac_list() 228 str++; in modify_fac_list() 230 if (str == endp) in modify_fac_list() 232 str = endp; in modify_fac_list() 240 if (*str != ',') in modify_fac_list() [all …]
|
| /arch/x86/boot/ |
| A D | printf.c | 90 *str++ = ' '; in number() 92 *str++ = sign; in number() 95 *str++ = '0'; in number() 97 *str++ = '0'; in number() 103 *str++ = c; in number() 105 *str++ = '0'; in number() 109 *str++ = ' '; in number() 110 return str; in number() 118 char *str; in vsprintf() local 223 str = number(str, in vsprintf() [all …]
|
| A D | mkcpustr.c | 22 const char *str; in main() local 29 str = x86_cap_flags[i*32+j]; in main() 35 if (!str) in main() 36 str = ""; in main() 38 i, j, str); in main() 39 } else if (str) { in main() 43 i, j, i, j, str); in main()
|
| /arch/alpha/boot/ |
| A D | stdio.c | 87 *str++ = ' '; in number() 89 *str++ = sign; in number() 92 *str++ = '0'; in number() 94 *str++ = '0'; in number() 100 *str++ = c; in number() 102 *str++ = '0'; in number() 106 *str++ = ' '; in number() 107 return str; in number() 115 char * str; in vsprintf() local 220 str = number(str, in vsprintf() [all …]
|
| /arch/loongarch/kernel/ |
| A D | relocate.c | 132 char *str; in kaslr_disabled() local 135 str = strstr(builtin_cmdline, "nokaslr"); in kaslr_disabled() 136 if (str == builtin_cmdline || (str > builtin_cmdline && *(str - 1) == ' ')) in kaslr_disabled() 140 if (str == boot_command_line || (str > boot_command_line && *(str - 1) == ' ')) in kaslr_disabled() 145 if (str == builtin_cmdline || (str > builtin_cmdline && *(str - 1) == ' ')) in kaslr_disabled() 149 if (str == boot_command_line || (str > boot_command_line && *(str - 1) == ' ')) in kaslr_disabled() 153 if (str == builtin_cmdline || (str > builtin_cmdline && *(str - 1) == ' ')) in kaslr_disabled() 157 if (str == boot_command_line || (str > boot_command_line && *(str - 1) == ' ')) in kaslr_disabled() 160 str = strstr(builtin_cmdline, "resume="); in kaslr_disabled() 161 if (str == builtin_cmdline || (str > builtin_cmdline && *(str - 1) == ' ')) in kaslr_disabled() [all …]
|
| /arch/powerpc/boot/ |
| A D | stdio.c | 123 *str++ = ' '; in number() 125 *str++ = sign; in number() 128 *str++ = '0'; in number() 130 *str++ = '0'; in number() 136 *str++ = c; in number() 138 *str++ = '0'; in number() 142 *str++ = ' '; in number() 143 return str; in number() 151 char * str; in vsprintf() local 256 str = number(str, in vsprintf() [all …]
|
| /arch/x86/kernel/acpi/ |
| A D | sleep.c | 156 while ((str != NULL) && (*str != '\0')) { in acpi_sleep_setup() 157 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup() 159 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup() 161 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup() 164 if (strncmp(str, "s4_hwsig", 8) == 0) in acpi_sleep_setup() 169 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup() 171 if (strncmp(str, "nonvs_s3", 8) == 0) in acpi_sleep_setup() 175 if (strncmp(str, "nobl", 4) == 0) in acpi_sleep_setup() 177 str = strchr(str, ','); in acpi_sleep_setup() 178 if (str != NULL) in acpi_sleep_setup() [all …]
|
| /arch/arm/mach-at91/ |
| A D | pm_suspend.S | 488 str tmp1, [pmc, tmp3] 530 str tmp1, [pmc, tmp3] 610 str tmp1, [pmc, tmp2] 639 str tmp1, [pmc, tmp2] 1083 str tmp1, [r0, #0] 1110 str tmp1, .memtype 1112 str tmp1, .pm_mode 1115 str tmp1, .mcks 1123 str tmp1, .pmc_base 1145 str tmp1, .shdwc [all …]
|
| /arch/arm/mach-imx/ |
| A D | suspend-imx6.S | 82 str r6, [r11, #L2X0_CACHE_SYNC] 105 str r9, [r11, r8] 120 str r6, [r11, r7] 129 str r6, [r11, r7] 182 str r9, [r11, #MX6Q_SRC_GPR1] 183 str r1, [r11, #MX6Q_SRC_GPR2] 217 str r6, [r11, r9] 225 str r6, [r11, r9] 227 str r6, [r11, r9] 230 str r6, [r11, r9] [all …]
|
| /arch/x86/pci/ |
| A D | common.c | 518 if (!strcmp(str, "off")) { in pcibios_setup() 529 else if (!strcmp(str, "bios")) { in pcibios_setup() 544 else if (!strcmp(str, "conf1")) { in pcibios_setup() 548 else if (!strcmp(str, "conf2")) { in pcibios_setup() 563 else if (!strcmp(str, "noacpi")) { in pcibios_setup() 567 else if (!strcmp(str, "noearly")) { in pcibios_setup() 580 } else if (!strcmp(str, "rom")) { in pcibios_setup() 583 } else if (!strcmp(str, "norom")) { in pcibios_setup() 586 } else if (!strcmp(str, "nobar")) { in pcibios_setup() 595 } else if (!strcmp(str, "nocrs")) { in pcibios_setup() [all …]
|
| /arch/arm/lib/ |
| A D | io-writesw-armv3.S | 26 str r3, [r0] 45 str ip, [r0] 49 str ip, [r0] 53 str ip, [r0] 57 str ip, [r0] 61 str ip, [r0] 65 str ip, [r0] 69 str ip, [r0] 73 str ip, [r0] 88 str ip, [r0] [all …]
|
| /arch/s390/kernel/ |
| A D | nospec-branch.c | 9 static int __init nobp_setup_early(char *str) in nobp_setup_early() argument 14 rc = kstrtobool(str, &enabled); in nobp_setup_early() 32 static int __init nospec_setup_early(char *str) in nospec_setup_early() argument 55 static int __init nospectre_v2_setup_early(char *str) in nospectre_v2_setup_early() argument 87 static int __init spectre_v2_setup_early(char *str) in spectre_v2_setup_early() argument 89 if (str && !strncmp(str, "on", 2)) { in spectre_v2_setup_early() 93 if (str && !strncmp(str, "off", 3)) in spectre_v2_setup_early() 95 if (str && !strncmp(str, "auto", 4)) in spectre_v2_setup_early()
|
| /arch/arm/mach-tegra/ |
| A D | sleep-tegra20.S | 64 str \rd, [\tmp] 240 str r1, [r0, #EMC_CFG] 245 str r1, [r0, #EMC_NOP] 246 str r1, [r0, #EMC_NOP] 256 str r1, [r0, #EMC_REQ_CTRL] 305 str r0, [r5, #CLK_RESET_PLLM_BASE] 308 str r0, [r5, #CLK_RESET_PLLP_BASE] 311 str r0, [r5, #CLK_RESET_PLLC_BASE] 333 str r0, [r6, r1] 362 str r2, [r1, #EMC_SELF_REF] [all …]
|
| A D | sleep-tegra30.S | 111 str \rd, [\tmp] 121 str \rd, [\tmp] 166 str \rd, [\car, #\iddq] 172 str \rd, [\car, #\iddq] 227 str r12, [r1] 253 str r3, [r2] 504 str r1, [r0, #EMC_CFG] 550 str r2, [r0, #EMC_MRW] 560 str r2, [r0, #EMC_MRW] 756 str r0, [r6, r2] [all …]
|
| /arch/um/drivers/ |
| A D | fd.c | 19 char str[sizeof("1234567890\0")]; member 22 static void *fd_init(char *str, int device, const struct chan_opts *opts) in fd_init() argument 28 if (*str != ':') { in fd_init() 33 str++; in fd_init() 34 n = strtoul(str, &end, 0); in fd_init() 35 if ((*end != '\0') || (end == str)) { in fd_init() 37 "'%s'\n", str); in fd_init() 64 sprintf(data->str, "%d", data->fd); in fd_open() 65 *dev_out = data->str; in fd_open()
|
| A D | mconsole_kern.h | 27 #define CONFIG_CHUNK(str, size, current, chunk, end) \ argument 31 str = NULL; \ 32 if(str != NULL){ \ 33 strcpy(str, chunk); \ 34 str += strlen(chunk); \
|
| A D | chan_kern.c | 390 CONFIG_CHUNK(str, size, n, "", 1); in one_chan_config_string() 394 CONFIG_CHUNK(str, size, n, ":", 0); in one_chan_config_string() 406 str += n; in chan_pair_config_string() 410 CONFIG_CHUNK(str, size, n, "", 1); in chan_pair_config_string() 414 CONFIG_CHUNK(str, size, n, ",", 1); in chan_pair_config_string() 416 str += n; in chan_pair_config_string() 418 CONFIG_CHUNK(str, size, n, "", 1); in chan_pair_config_string() 492 str += strlen(entry->key); in parse_chan() 541 if (!str) in parse_chan_pair() 544 out = strchr(str, ','); in parse_chan_pair() [all …]
|
| /arch/arm/mach-davinci/ |
| A D | sleep.S | 75 str ip, [r3, #PLLDIV1] 81 str ip, [r3, #PLLCTL] 91 str ip, [r3, #PLLCTL] 97 str ip, [r4] 104 str ip, [r4] 111 str ip, [r3, #PLLCTL] 116 str ip, [r3, #PLLCTL] 125 str ip, [r3, #PLLCTL] 136 str ip, [r3, #PLLCTL] 181 str ip, [r1, r6] [all …]
|
| /arch/sh/boards/mach-sdk7786/ |
| A D | nmi.c | 25 static int __init nmi_mode_setup(char *str) in nmi_mode_setup() argument 27 if (!str) in nmi_mode_setup() 30 if (strcmp(str, "manual") == 0) in nmi_mode_setup() 32 else if (strcmp(str, "aux") == 0) in nmi_mode_setup() 34 else if (strcmp(str, "masked") == 0) in nmi_mode_setup() 36 else if (strcmp(str, "any") == 0) in nmi_mode_setup() 40 pr_warn("Unknown NMI mode %s\n", str); in nmi_mode_setup()
|
| /arch/mips/generic/ |
| A D | proc.c | 15 const char *str; in get_system_type() local 21 err = of_property_read_string(of_root, "model", &str); in get_system_type() 23 return str; in get_system_type() 25 err = of_property_read_string_index(of_root, "compatible", 0, &str); in get_system_type() 27 return str; in get_system_type()
|
| /arch/mips/sibyte/common/ |
| A D | cfe_console.c | 13 static void cfe_console_write(struct console *cons, const char *str, in cfe_console_write() argument 19 if (!str[i]) in cfe_console_write() 22 if (str[i] == '\n') { in cfe_console_write() 24 written = cfe_write(cfe_cons_handle, &str[last], i-last); in cfe_console_write() 35 written = cfe_write(cfe_cons_handle, &str[last], count-last); in cfe_console_write() 44 static int cfe_console_setup(struct console *cons, char *str) in cfe_console_setup() argument
|
| /arch/powerpc/xmon/ |
| A D | nonstdio.c | 147 char *xmon_gets(char *str, int nb) in xmon_gets() argument 152 for (p = str; p < str + nb - 1; ) { in xmon_gets() 155 if (p == str) in xmon_gets() 164 return str; in xmon_gets() 185 void xmon_puts(const char *str) in xmon_puts() argument 187 xmon_write(str, strlen(str)); in xmon_puts()
|