Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 1527) sorted by relevance

12345678910>>...62

/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_event.c13 char *str; member
21 static int komeda_sprintf(struct komeda_str *str, const char *fmt, ...) in komeda_sprintf() argument
27 free_sz = str->sz - str->len - 1; in komeda_sprintf()
33 num = vsnprintf(str->str + str->len, free_sz, fmt, args); in komeda_sprintf()
38 str->len += num; in komeda_sprintf()
41 str->len = str->sz - 1; in komeda_sprintf()
48 static void evt_sprintf(struct komeda_str *str, u64 evt, const char *msg) in evt_sprintf() argument
51 komeda_sprintf(str, msg); in evt_sprintf()
54 static void evt_str(struct komeda_str *str, u64 events) in evt_str() argument
57 komeda_sprintf(str, "None"); in evt_str()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dnetif_receive_skb.c100 char *str; in BPF_PROG() local
103 str = bpf_map_lookup_elem(&strdata, &key); in BPF_PROG()
104 if (!str) in BPF_PROG()
112 ret = bpf_snprintf_btf(str, STRSIZE, &p, sizeof(p), 0); in BPF_PROG()
120 __ret = bpf_snprintf_btf(str, STRSIZE, &p, sizeof(p), 0); in BPF_PROG()
130 TEST_BTF_C(str, int, 0, 1234); in BPF_PROG()
131 TEST_BTF(str, int, BTF_F_NONAME, "1234", 1234); in BPF_PROG()
133 TEST_BTF(str, int, 0, "(int)0", 0); in BPF_PROG()
134 TEST_BTF(str, int, BTF_F_NONAME, "0", 0); in BPF_PROG()
135 TEST_BTF(str, int, BTF_F_ZERO, "(int)0", 0); in BPF_PROG()
[all …]
H A Dstring_kfuncs_success.c8 char str[] = "hello world"; variable
13 __test(0) int test_strcmp_eq(void *ctx) { return bpf_strcmp(str, "hello world"); } in test_strcmp_eq()
14 __test(1) int test_strcmp_neq(void *ctx) { return bpf_strcmp(str, "hello"); } in test_strcmp_neq()
15 __test(0) int test_strcasecmp_eq1(void *ctx) { return bpf_strcasecmp(str, "hello world"); } in test_strcasecmp_eq1()
16 __test(0) int test_strcasecmp_eq2(void *ctx) { return bpf_strcasecmp(str, "HELLO WORLD"); } in test_strcasecmp_eq2()
17 __test(0) int test_strcasecmp_eq3(void *ctx) { return bpf_strcasecmp(str, "HELLO world"); } in test_strcasecmp_eq3()
18 __test(1) int test_strcasecmp_neq1(void *ctx) { return bpf_strcasecmp(str, "hello"); } in test_strcasecmp_neq1()
19 __test(1) int test_strcasecmp_neq2(void *ctx) { return bpf_strcasecmp(str, "HELLO"); } in test_strcasecmp_neq2()
20 __test(1) int test_strchr_found(void *ctx) { return bpf_strchr(str, 'e'); } in test_strchr_found()
21 __test(11) int test_strchr_null(void *ctx) { return bpf_strchr(str, '\ in test_strchr_found()
[all...]
/linux/drivers/usb/cdns3/
H A Dcdns3-debug.h15 static inline char *cdns3_decode_usb_irq(char *str, in cdns3_decode_usb_irq() argument
21 ret = sprintf(str, "IRQ %08x = ", usb_ists); in cdns3_decode_usb_irq()
24 ret += sprintf(str + ret, "Connection %s\n", in cdns3_decode_usb_irq()
28 ret += sprintf(str + ret, "Disconnection "); in cdns3_decode_usb_irq()
30 ret += sprintf(str + ret, "suspended "); in cdns3_decode_usb_irq()
32 ret += sprintf(str + ret, "L1 enter "); in cdns3_decode_usb_irq()
34 ret += sprintf(str + ret, "L1 exit "); in cdns3_decode_usb_irq()
36 ret += sprintf(str + ret, "L2 enter "); in cdns3_decode_usb_irq()
38 ret += sprintf(str + ret, "L2 exit "); in cdns3_decode_usb_irq()
40 ret += sprintf(str + ret, "U3 exit "); in cdns3_decode_usb_irq()
[all …]
H A Dcdnsp-debug.h177 static inline const char *cdnsp_decode_trb(char *str, size_t size, u32 field0, in cdnsp_decode_trb() argument
190 ret = scnprintf(str, size, in cdnsp_decode_trb()
203 ret = scnprintf(str, size, in cdnsp_decode_trb()
215 ret = scnprintf(str, size, "%s: flags %c", in cdnsp_decode_trb()
220 ret = scnprintf(str, size, in cdnsp_decode_trb()
242 ret = scnprintf(str, size, in cdnsp_decode_trb()
258 ret = scnprintf(str, size, in cdnsp_decode_trb()
274 ret = scnprintf(str, size, in cdnsp_decode_trb()
294 ret = scnprintf(str, size, "%s: flags %c", in cdnsp_decode_trb()
299 ret = scnprintf(str, size, "%s: slot %ld flags %c", in cdnsp_decode_trb()
[all …]
/linux/arch/mips/kernel/
H A Dsegment.c16 static void build_segment_config(char *str, unsigned int cfg) in build_segment_config() argument
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()
59 seq_printf(m, " 0 e0000000 512M %s", str); in segments_show()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dump.c341 size_t ptr_sz, char *str, const char *expected_val) in btf_dump_data() argument
363 str[0] = '\0'; in btf_dump_data()
372 if (!ASSERT_STREQ(str, expected_val, "ensure expected/actual match")) in btf_dump_data()
421 char *str) in test_btf_dump_int_data() argument
432 TEST_BTF_DUMP_DATA_C(btf, d, NULL, str, int, BTF_F_COMPACT, 1234); in test_btf_dump_int_data()
433 TEST_BTF_DUMP_DATA(btf, d, NULL, str, int, BTF_F_COMPACT | BTF_F_NONAME, in test_btf_dump_int_data()
435 TEST_BTF_DUMP_DATA(btf, d, NULL, str, int, 0, "(int)1234", 1234); in test_btf_dump_int_data()
438 TEST_BTF_DUMP_DATA(btf, d, NULL, str, int, BTF_F_COMPACT, "(int)0", 0); in test_btf_dump_int_data()
439 TEST_BTF_DUMP_DATA(btf, d, NULL, str, int, BTF_F_COMPACT | BTF_F_NONAME, in test_btf_dump_int_data()
441 TEST_BTF_DUMP_DATA(btf, d, NULL, str, in in test_btf_dump_int_data()
479 test_btf_dump_float_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_float_data() argument
524 test_btf_dump_char_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_char_data() argument
546 test_btf_dump_typedef_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_typedef_data() argument
601 test_btf_dump_enum_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_enum_data() argument
637 test_btf_dump_struct_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_struct_data() argument
872 test_btf_dump_var_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_var_data() argument
885 char *str; global() member
965 char str[STRSIZE]; test_btf_dump_string_data() local
998 test_btf_datasec(struct btf * btf,struct btf_dump * d,char * str,const char * name,const char * expected_val,void * data,size_t data_sz) test_btf_datasec() argument
1024 test_btf_dump_datasec_data(char * str) test_btf_dump_datasec_data() argument
1047 char str[STRSIZE]; test_btf_dump() local
[all...]
/linux/drivers/firmware/
H A Discsi_ibft.c202 char *str = buf; in sprintf_ipaddr() local
210 str += sprintf(buf, "%pI4", ip + 12); in sprintf_ipaddr()
215 str += sprintf(str, "%pI6", ip); in sprintf_ipaddr()
217 str += sprintf(str, "\n"); in sprintf_ipaddr()
218 return str - buf; in sprintf_ipaddr()
221 static ssize_t sprintf_string(char *str, int len, char *buf) in sprintf_string() argument
223 return sprintf(str, "%.*s\n", len, buf); in sprintf_string()
255 char *str = buf; in ibft_attr_show_initiator() local
262 str += sprintf(str, "%d\n", initiator->hdr.index); in ibft_attr_show_initiator()
265 str += sprintf(str, "%d\n", initiator->hdr.flags); in ibft_attr_show_initiator()
[all …]
/linux/drivers/usb/common/
H A Ddebug.c15 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument
19 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status()
22 snprintf(str, size, in usb_decode_get_status()
27 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status()
74 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature() argument
78 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature()
85 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature()
91 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature()
100 static void usb_decode_set_address(__u16 wValue, char *str, size_t size) in usb_decode_set_address() argument
102 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address()
[all …]
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-debug.h14 static inline const char *cdns2_decode_usb_irq(char *str, size_t size, in cdns2_decode_usb_irq() argument
19 ret = scnprintf(str, size, "usbirq: 0x%02x - ", usb_irq); in cdns2_decode_usb_irq()
22 ret += scnprintf(str + ret, size - ret, "SOF "); in cdns2_decode_usb_irq()
24 ret += scnprintf(str + ret, size - ret, "SUTOK "); in cdns2_decode_usb_irq()
26 ret += scnprintf(str + ret, size - ret, "SETUP "); in cdns2_decode_usb_irq()
28 ret += scnprintf(str + ret, size - ret, "Suspend "); in cdns2_decode_usb_irq()
30 ret += scnprintf(str + ret, size - ret, "Reset "); in cdns2_decode_usb_irq()
32 ret += scnprintf(str + ret, size - ret, "HS "); in cdns2_decode_usb_irq()
34 ret += scnprintf(str + ret, size - ret, "LPM "); in cdns2_decode_usb_irq()
36 ret += scnprintf(str + ret, size - ret, ", EXT: 0x%02x - ", ext_irq); in cdns2_decode_usb_irq()
[all …]
/linux/arch/loongarch/kernel/
H A Drelocate.c139 char *str; in kaslr_disabled() local
142 str = strstr(builtin_cmdline, "nokaslr"); in kaslr_disabled()
143 if (str == builtin_cmdline || (str > builtin_cmdline && *(str - 1) == ' ')) in kaslr_disabled()
146 str = strstr(boot_command_line, "nokaslr"); in kaslr_disabled()
147 if (str == boot_command_line || (str > boot_command_line && *(str - 1) == ' ')) in kaslr_disabled()
151 str = strstr(builtin_cmdline, "nohibernate"); in kaslr_disabled()
152 if (str == builtin_cmdline || (str > builtin_cmdline && *(str - 1) == ' ')) in kaslr_disabled()
155 str = strstr(boot_command_line, "nohibernate"); in kaslr_disabled()
156 if (str == boot_command_line || (str > boot_command_line && *(str - 1) == ' ')) in kaslr_disabled()
159 str = strstr(builtin_cmdline, "noresume"); in kaslr_disabled()
[all …]
/linux/lib/
H A Dcmdline.c23 static int get_range(char **str, int *pint, int n) in get_range() argument
27 (*str)++; in get_range()
28 upper_range = simple_strtol((*str), NULL, 0); in get_range()
56 int get_option(char **str, int *pint) in get_option() argument
58 char *cur = *str; in get_option()
64 value = -simple_strtoull(++cur, str, 0); in get_option()
66 value = simple_strtoull(cur, str, 0); in get_option()
69 if (cur == *str) in get_option()
71 if (**str == ',') { in get_option()
72 (*str)++; in get_option()
[all …]
H A Dbitmap-str.c239 static const char *bitmap_getnum(const char *str, unsigned int *num, in bitmap_getnum() argument
245 if (str[0] == 'N') { in bitmap_getnum()
247 return str + 1; in bitmap_getnum()
250 len = _parse_integer(str, 10, &n); in bitmap_getnum()
257 return str + len; in bitmap_getnum()
279 static const char *bitmap_find_region(const char *str) in bitmap_find_region() argument
281 while (__end_of_region(*str)) in bitmap_find_region()
282 str++; in bitmap_find_region()
284 return end_of_str(*str) ? NULL : str; in bitmap_find_region()
295 static const char *bitmap_parse_region(const char *str, struct region *r) in bitmap_parse_region() argument
[all …]
/linux/drivers/memory/
H A Dti-emif-sram-pm.S51 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET]
54 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET]
57 str r1, [r2, #EMIF_TIMING1_VAL_OFFSET]
60 str r1, [r2, #EMIF_TIMING2_VAL_OFFSET]
63 str r1, [r2, #EMIF_TIMING3_VAL_OFFSET]
66 str r1, [r2, #EMIF_PMCR_VAL_OFFSET]
69 str r1, [r2, #EMIF_PMCR_SHDW_VAL_OFFSET]
72 str r1, [r2, #EMIF_ZQCFG_VAL_OFFSET]
75 str r1, [r2, #EMIF_DDR_PHY_CTLR_1_OFFSET]
78 str r1, [r2, #EMIF_COS_CONFIG_OFFSET]
[all …]
/linux/tools/testing/selftests/kvm/lib/
H A Dguest_sprintf.c6 #define APPEND_BUFFER_SAFE(str, end, v) \ argument
8 GUEST_ASSERT(str < end); \
9 *str++ = (v); \
43 static char *number(char *str, const char *end, long num, int base, int size, in number() argument
94 APPEND_BUFFER_SAFE(str, end, ' '); in number()
96 APPEND_BUFFER_SAFE(str, end, sign); in number()
99 APPEND_BUFFER_SAFE(str, end, '0'); in number()
101 APPEND_BUFFER_SAFE(str, end, '0'); in number()
102 APPEND_BUFFER_SAFE(str, end, 'x'); in number()
107 APPEND_BUFFER_SAFE(str, end, c); in number()
[all …]
/linux/arch/alpha/boot/
H A Dstdio.c43 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument
87 *str++ = ' '; in number()
89 *str++ = sign; in number()
92 *str++ = '0'; in number()
94 *str++ = '0'; in number()
95 *str++ = digits[33]; in number()
100 *str++ = c; in number()
102 *str++ = '0'; in number()
104 *str++ = tmp[i]; in number()
106 *str++ = ' '; in number()
[all …]
/linux/tools/lib/
H A Dargv_split.c19 static int count_argc(const char *str) in count_argc() argument
23 while (*str) { in count_argc()
24 str = skip_spaces(str); in count_argc()
25 if (*str) { in count_argc()
27 str = skip_arg(str); in count_argc()
63 char **argv_split(const char *str, int *argcp) in argv_split() argument
65 int argc = count_argc(str); in argv_split()
77 while (*str) { in argv_split()
78 str = skip_spaces(str); in argv_split()
80 if (*str) { in argv_split()
[all …]
/linux/tools/testing/kunit/
H A Dkunit_kernel.py46 def __init__(self, linux_arch: str, cross_compile: Optional[str]):
54 raise ConfigError('Could not call make command: ' + str(e))
61 def make_olddefconfig(self, build_dir: str, make_options: Optional[List[str]]) -> None:
71 raise ConfigError('Could not call make command: ' + str(e))
75 def make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> None:
77 'ARCH=' + self._linux_arch, 'O=' + build_dir, '--jobs=' + str(jobs)]
88 raise BuildError('Could not call execute make: ' + str(
45 __init__(self, linux_arch: str, cross_compile: Optional[str]) global() argument
60 make_olddefconfig(self, build_dir: str, make_options: Optional[List[str]]) global() argument
74 make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) global() argument
96 start(self, params: List[str], build_dir: str) global() argument
102 __init__(self, qemu_arch_params: qemu_config.QemuArchParams, cross_compile: Optional[str]) global() argument
119 start(self, params: List[str], build_dir: str) global() argument
143 __init__(self, cross_compile: Optional[str]=None) global() argument
151 start(self, params: List[str], build_dir: str) global() argument
162 get_kconfig_path(build_dir: str) global() argument
165 get_kunitconfig_path(build_dir: str) global() argument
168 get_old_kunitconfig_path(build_dir: str) global() argument
171 get_parsed_kunitconfig(build_dir: str, kunitconfig_paths: Optional[List[str]]=None) global() argument
172 get_parsed_kunitconfig(build_dir: str, kunitconfig_paths: Optional[List[str]]=None) global() argument
195 get_outfile_path(build_dir: str) global() argument
198 _default_qemu_config_path(arch: str) global() argument
206 _get_qemu_ops(config_path: str, extra_qemu_args: Optional[List[str]], cross_compile: Optional[str]) global() argument
207 _get_qemu_ops(config_path: str, extra_qemu_args: Optional[List[str]], cross_compile: Optional[str]) global() argument
208 _get_qemu_ops(config_path: str, extra_qemu_args: Optional[List[str]], cross_compile: Optional[str]) global() argument
238 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
239 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
240 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
241 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
242 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
243 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
244 __init__( self, build_dir: str, kunitconfig_paths: Optional[List[str]]=None, kconfig_add: Optional[List[str]]=None, arch: Optional[str]=None, cross_compile: Optional[str]=None, qemu_config_path: Optional[str]=None, extra_qemu_args: Optional[List[str]]=None) global() argument
272 validate_config(self, build_dir: str) global() argument
287 build_config(self, build_dir: str, make_options: Optional[List[str]]) global() argument
307 _kunitconfig_changed(self, build_dir: str) global() argument
315 build_reconfig(self, build_dir: str, make_options: Optional[List[str]]) global() argument
331 build_kernel(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) global() argument
340 run_kernel(self, args: Optional[List[str]]=None, build_dir: str='', filter_glob: str='', filter: str='', filter_action: Optional[str]=None, timeout: Optional[int]=None) global() argument
[all...]
/linux/arch/powerpc/boot/
H A Dstdio.c79 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument
123 *str++ = ' '; in number()
125 *str++ = sign; in number()
128 *str++ = '0'; in number()
130 *str++ = '0'; in number()
131 *str++ = digits[33]; in number()
136 *str++ = c; in number()
138 *str++ = '0'; in number()
140 *str++ = tmp[i]; in number()
142 *str++ = ' '; in number()
[all …]
/linux/arch/arm/mach-at91/
H A Dpm_suspend.S79 str r7, [pmc, #AT91_PMC_SCDR]
116 str tmp1, [r2, #UDDRC_PCTRL_0]
120 str tmp1, [r2, #UDDRC_PCTRL_1]
124 str tmp1, [r2, #UDDRC_PCTRL_2]
128 str tmp1, [r2, #UDDRC_PCTRL_3]
132 str tmp1, [r2, #UDDRC_PCTRL_4]
144 str tmp1, [r2, #UDDRC_PWRCTL]
160 str tmp1, [r3, DDR3PHY_ACDLLCR]
165 str tmp1, [r3, #DDR3PHY_DX0DLLCR]
169 str tmp1, [r3, #DDR3PHY_DX1DLLCR]
[all …]
/linux/tools/perf/arch/arm/tests/
H A Dregs_load.S41 str r0, [r0, #R0]
42 str r1, [r0, #R1]
43 str r2, [r0, #R2]
44 str r3, [r0, #R3]
45 str r4, [r0, #R4]
46 str r5, [r0, #R5]
47 str r6, [r0, #R6]
48 str r7, [r0, #R7]
49 str r8, [r0, #R8]
50 str r9, [r0, #R9]
[all …]
/linux/security/apparmor/
H A Dlib.c29 const char *str; member
55 for (entry = table; entry->str != NULL; entry++) { in val_table_find_ent()
56 if (strncmp(entry->str, name, len) == 0 && in val_table_find_ent()
57 strlen(entry->str) == len) in val_table_find_ent()
63 int aa_parse_debug_params(const char *str) in aa_parse_debug_params() argument
70 size_t n = strcspn(str, "\r\n,"); in aa_parse_debug_params()
72 next = str + n; in aa_parse_debug_params()
73 ent = val_table_find_ent(debug_values_table, str, next - str); in aa_parse_debug_params()
78 (int)(next - str), str); in aa_parse_debug_params()
79 str = next + 1; in aa_parse_debug_params()
[all …]
/linux/tools/testing/selftests/arm64/abi/
H A Dsyscall-abi-asm.S123 str x29, [x2], #8 // FP
124 str x30, [x2], #8 // LR
233 str x30, [x2]
261 str x2, [x3, :lo12:svcr_out]
287 str z0, [x2, #0, MUL VL]
288 str z1, [x2, #1, MUL VL]
289 str z2, [x2, #2, MUL VL]
290 str z3, [x2, #3, MUL VL]
291 str z4, [x2, #4, MUL VL]
292 str z5, [x2, #5, MUL VL]
[all …]
/linux/tools/perf/util/
H A Dexpr.l14 static double __value(YYSTYPE *yylval, char *str, int token) in __value() argument
19 num = strtod(str, NULL); in __value()
39 static char *normalize(char *str, int runtime) in normalize() argument
41 char *ret = str; in normalize()
42 char *dst = str; in normalize()
44 while (*str) { in normalize()
45 if (*str == '\\') { in normalize()
46 *dst++ = *++str; in normalize()
47 if (!*str) in normalize()
50 else if (*str == '?') { in normalize()
[all …]
/linux/drivers/acpi/
H A Dosi.c68 void __init acpi_osi_setup(char *str) in acpi_osi_setup() argument
77 if (str == NULL || *str == '\0') { in acpi_osi_setup()
83 if (*str == '!') { in acpi_osi_setup()
84 str++; in acpi_osi_setup()
85 if (*str == '\0') { in acpi_osi_setup()
91 } else if (*str == '*') { in acpi_osi_setup()
98 } else if (*str == '!') { in acpi_osi_setup()
107 if (!strcmp(osi->string, str)) { in acpi_osi_setup()
112 strscpy(osi->string, str, OSI_STRING_LENGTH_MAX); in acpi_osi_setup()
194 char *str; in acpi_osi_setup_late() local
[all …]

12345678910>>...62