/linux-master/arch/sh/boards/mach-sdk7786/ |
H A D | nmi.c | 25 static int __init nmi_mode_setup(char *str) argument 27 if (!str) 30 if (strcmp(str, "manual") == 0) 32 else if (strcmp(str, "aux") == 0) 34 else if (strcmp(str, "masked") == 0) 36 else if (strcmp(str, "any") == 0) 40 pr_warn("Unknown NMI mode %s\n", str);
|
/linux-master/tools/perf/util/ |
H A D | parse-regs-options.c | 13 __parse_regs(const struct option *opt, const char *str, int unset, bool intr) argument 35 /* str may be NULL in case no arg is passed to -I */ 36 if (str) { 37 /* because str is read-only */ 38 s = os = strdup(str); 86 parse_user_regs(const struct option *opt, const char *str, int unset) argument 88 return __parse_regs(opt, str, unset, false); 92 parse_intr_regs(const struct option *opt, const char *str, int unset) argument 94 return __parse_regs(opt, str, unset, true);
|
H A D | parse-sublevel-options.c | 9 static int parse_one_sublevel_option(const char *str, argument 13 char *vstr, *s = strdup(str); 46 int perf_parse_sublevel_options(const char *str, struct sublevel_option *opts) argument 48 char *s = strdup(str);
|
H A D | demangle-cxx.cpp | 29 char *cxx_demangle_sym(const char *str, bool params __maybe_unused, argument 35 return bfd_demangle(NULL, str, flags); 39 return cplus_demangle(str, flags); 44 output = abi::__cxa_demangle(str, /*output_buffer=*/NULL, /*length=*/NULL, &status);
|
H A D | comm.h | 23 struct comm *comm__new(const char *str, u64 timestamp, bool exec); 25 int comm__override(struct comm *comm, const char *str, u64 timestamp,
|
/linux-master/drivers/iio/ |
H A D | industrialio-acpi.c | 32 char *str; local 60 str = elements[i].string.pointer; 61 if (sscanf(str, "%d %d %d", &val[0], &val[1], &val[2]) != 3) { 68 case -1: str = "-1"; break; 69 case 0: str = "0"; break; 70 case 1: str = "1"; break; 75 orientation->rotation[i * 3 + j] = str;
|
/linux-master/arch/um/drivers/ |
H A D | fd.c | 19 char str[sizeof("1234567890\0")]; member in struct:fd_chan 22 static void *fd_init(char *str, int device, const struct chan_opts *opts) argument 28 if (*str != ':') { 33 str++; 34 n = strtoul(str, &end, 0); 35 if ((*end != '\0') || (end == str)) { 37 "'%s'\n", str); 64 sprintf(data->str, "%d", data->fd); 65 *dev_out = data->str;
|
H A D | slirp_kern.c | 71 static int slirp_setup(char *str, char **mac_out, void *data) argument 78 str = split_if_spec(str, mac_out, NULL); 80 if (str == NULL) /* no command line given after MAC addr */ 89 init->argw.argv[i++] = str; 90 while(*str && *str!=',') { 91 if (*str == '_') 92 *str=' '; 93 str [all...] |
/linux-master/drivers/media/platform/st/sti/delta/ |
H A D | delta-debug.c | 12 char *delta_streaminfo_str(struct delta_streaminfo *s, char *str, argument 18 snprintf(str, len, 31 return str; 34 char *delta_frameinfo_str(struct delta_frameinfo *f, char *str, argument 40 snprintf(str, len, 52 return str; 59 unsigned char str[100] = ""; local 66 delta_streaminfo_str(s, str, sizeof(str)),
|
/linux-master/arch/sh/drivers/pci/ |
H A D | fixups-sdk7786.c | 25 char *__init pcibios_setup(char *str) argument 27 if (strcmp(str, "slot4en") == 0) { 32 return str;
|
/linux-master/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth_sysfs.c | 37 char *str; local 43 str = "Rx default"; 46 str = "Rx error"; 49 str = "Rx PCD"; 52 str = "Tx default confirmation"; 55 str = "Tx confirmation (mq)"; 58 str = "Tx error"; 61 str = "Tx"; 64 str = "Unknown"; 68 str ! [all...] |
/linux-master/drivers/acpi/ |
H A D | osi.c | 69 void __init acpi_osi_setup(char *str) argument 78 if (str == NULL || *str == '\0') { 84 if (*str == '!') { 85 str++; 86 if (*str == '\0') { 92 } else if (*str == '*') { 99 } else if (*str == '!') { 108 if (!strcmp(osi->string, str)) { 113 strscpy(osi->string, str, OSI_STRING_LENGTH_MA 195 char *str; local 225 osi_setup(char *str) argument [all...] |
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/ |
H A D | ringbuffer_subbuf_size.tc | 43 str=`make_str $size` 49 echo $str > trace_marker 51 echo $str 68 str=`write_buffer $size` 73 if [ "$new_str" = "$str" ]; then 80 if [ "$new_str" != "$str" ]; then
|
H A D | trace_marker.tc | 45 str=`make_str $size` 51 echo -n $str > trace_marker 53 echo $str 65 str=`write_buffer $size` 70 if [ "$new_str" = "$str" ]; then 77 if [ "$new_str" != "$str" ]; then
|
/linux-master/drivers/staging/fbtft/ |
H A D | internal.h | 11 const char *str, int size);
|
/linux-master/scripts/ |
H A D | find-unused-docs.sh | 57 str=$(scripts/kernel-doc -export "$file" 2>/dev/null) 58 if [[ -n "$str" ]]; then
|
/linux-master/arch/sh/include/asm/ |
H A D | kdebug.h | 16 extern void dump_mem(const char *str, const char *loglvl,
|
/linux-master/tools/bootconfig/include/linux/ |
H A D | bootconfig.h | 25 static inline char *skip_spaces(const char *str) argument 27 while (isspace(*str)) 28 ++str; 29 return (char *)str;
|
/linux-master/security/tomoyo/ |
H A D | load_policy.c | 20 * @str: Program to use as a policy loader (e.g. /sbin/tomoyo-init ). 24 static int __init tomoyo_loader_setup(char *str) argument 26 tomoyo_loader = str; 60 * @str: Program to use as an activation trigger (e.g. /sbin/init ). 64 static int __init tomoyo_trigger_setup(char *str) argument 66 tomoyo_trigger = str;
|
/linux-master/lib/ |
H A D | glob.c | 13 * glob_match - Shell-style pattern matching, like !fnmatch(pat, str, 0) 15 * @str: String to match. The pattern must match the entire string. 18 * succeeds, or false (0) if it fails. Equivalent to !fnmatch(@pat, @str, 0). 26 * is at most quadratic: strlen(@str)*strlen(@pat). 31 * Like !fnmatch(@pat, @str, 0) and unlike the shell, this does NOT 40 bool __pure glob_match(char const *pat, char const *str) argument 52 * it against the remaining unmatched tail of str. Return false 56 unsigned char c = *str++; 68 back_str = --str; /* Allow zero-length match */ 116 /* Try again from last *, one character later in str [all...] |
/linux-master/drivers/firmware/efi/ |
H A D | reboot.c | 15 const char *str[] = { "cold", "warm", "shutdown", "platform" }; local 41 "%s reset.\n", str[efi_mode], str[cap_reset_mode], 42 str[cap_reset_mode]);
|
/linux-master/kernel/printk/ |
H A D | console_cmdline.h | 7 int console_opt_save(const char *str, const char *brl_opt);
|
H A D | braille.h | 17 * Modifies str to point to the serial options 21 _braille_console_setup(char **str, char **brl_options); 37 _braille_console_setup(char **str, char **brl_options) argument
|
/linux-master/tools/testing/kunit/ |
H A D | kunit_config.py | 18 name: str 19 value: str 21 def __str__(self) -> str: 35 self._entries = {} # type: Dict[str, str] 42 def __repr__(self) -> str: 43 return ','.join(str(e) for e in self.as_entries()) 49 def add_entry(self, name: str, value: str) -> None: 76 def write_to_file(self, path: str) [all...] |
/linux-master/arch/s390/kernel/ |
H A D | nospec-branch.c | 7 static int __init nobp_setup_early(char *str) argument 12 rc = kstrtobool(str, &enabled); 30 static int __init nospec_setup_early(char *str) argument 53 static int __init nospectre_v2_setup_early(char *str) argument 85 static int __init spectre_v2_setup_early(char *str) argument 87 if (str && !strncmp(str, "on", 2)) { 91 if (str && !strncmp(str, "off", 3)) 93 if (str [all...] |