| /linux/drivers/gpu/drm/arm/display/komeda/ |
| A D | komeda_event.c | 13 char *str; member 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() 51 komeda_sprintf(str, msg); in evt_sprintf() 102 if (str->len > 0 && (str->str[str->len - 1] == '|')) { in evt_str() 103 str->str[str->len - 1] = 0; in evt_str() 104 str->len--; in evt_str() 140 str.str = msg; in komeda_print_events() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | netif_receive_skb.c | 100 char *str; in BPF_PROG() local 104 if (!str) in BPF_PROG() 130 TEST_BTF_C(str, int, 0, 1234); in BPF_PROG() 133 TEST_BTF(str, int, 0, "(int)0", 0); in BPF_PROG() 137 TEST_BTF_C(str, int, 0, -4567); in BPF_PROG() 141 TEST_BTF_C(str, char, 0, 100); in BPF_PROG() 150 TEST_BTF_C(str, uint64_t, 0, 100); in BPF_PROG() 153 TEST_BTF(str, u64, 0, "(u64)0", 0); in BPF_PROG() 185 TEST_BTF_C(str, struct btf_enum, 0, in BPF_PROG() 228 TEST_BTF(str, struct __sk_buff, 0, in BPF_PROG() [all …]
|
| /linux/sound/pci/lola/ |
| A D | lola_pcm.c | 131 if (str->prepared && str->paused) { in lola_sync_wait_for_fifo() 162 if (str->paused && str->prepared) in lola_sync_pause() 172 if (str->paused) in lola_stream_reset() 224 str->opened = 1; in lola_pcm_open() 330 str->frags++; in setup_bdle() 353 str->frags = 0; in lola_setup_periods() 440 lola_dsd_write(chip, str->dsd, LVI, str->frags - 1); in lola_setup_controller() 468 str[i].master = str; in lola_pcm_prepare() 569 if (str->substream && str->running) in lola_pcm_update() 627 str->nid = nid; in lola_init_stream() [all …]
|
| /linux/drivers/usb/cdns3/ |
| A D | cdns3-debug.h | 46 ret += sprintf(str + ret, "Reset"); in cdns3_decode_usb_irq() 48 return str; in cdns3_decode_usb_irq() 62 ret += sprintf(str + ret, "IOC "); in cdns3_decode_ep_irq() 64 ret += sprintf(str + ret, "ISP "); in cdns3_decode_ep_irq() 86 return str; in cdns3_decode_ep_irq() 123 ret += sprintf(str + ret, in cdns3_dbg_ring() 129 ret += sprintf(str + ret, in cdns3_dbg_ring() 134 ret += sprintf(str + ret, in cdns3_dbg_ring() 141 return str; in cdns3_dbg_ring() 146 ret += sprintf(str + ret, in cdns3_dbg_ring() [all …]
|
| /linux/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 …]
|
| /linux/tools/perf/util/ |
| A D | demangle-rust.c | 109 str += hash_prefix_len; in is_prefixed_hash() 112 for (end = str + hash_len; str < end; str++) in is_prefixed_hash() 113 if (*str >= '0' && *str <= '9') in is_prefixed_hash() 114 seen[*str - '0'] = true; in is_prefixed_hash() 115 else if (*str >= 'a' && *str <= 'f') in is_prefixed_hash() 133 while (str < end) in looks_like_rust() 134 switch (*str) { in looks_like_rust() 137 str += 3; in looks_like_rust() 145 str += 4; in looks_like_rust() 151 str += 5; in looks_like_rust() [all …]
|
| A D | string.c | 29 if (!isdigit(str[0])) in perf_atoll() 116 if (isspace(*str)) { in __match_glob() 117 str++; in __match_glob() 126 str++; in __match_glob() 131 str++; in __match_glob() 140 } else if (*str != *pat) in __match_glob() 142 str++; in __match_glob() 151 while (*str) in __match_glob() 155 return !*str && !*pat; in __match_glob() 257 if (ptr == str || in strpbrk_esc() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | btf_dump.c | 293 str[0] = '\0'; in btf_dump_data() 351 char *str) in test_btf_dump_int_data() argument 409 char *str) in test_btf_dump_float_data() argument 454 char *str) in test_btf_dump_char_data() argument 531 char *str) in test_btf_dump_enum_data() argument 648 str[0] = '\0'; in test_btf_dump_struct_data() 749 str[0] = '\0'; in test_btf_dump_struct_data() 777 str[0] = '\0'; in test_btf_dump_struct_data() 802 char *str) in test_btf_dump_var_data() argument 830 str[0] = '\0'; in test_btf_datasec() [all …]
|
| /linux/drivers/media/platform/amphion/ |
| A D | vpu_dbg.c | 80 num = scnprintf(str, sizeof(str), in vpu_dbg_instance() 87 num = scnprintf(str, sizeof(str), in vpu_dbg_instance() 101 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance() 111 num = scnprintf(str, sizeof(str), in vpu_dbg_instance() 125 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance() 155 num = scnprintf(str, sizeof(str), in vpu_dbg_instance() 177 num = scnprintf(str, sizeof(str), in vpu_dbg_instance() 202 num = scnprintf(str, sizeof(str), "flow :\n"); in vpu_dbg_instance() 258 num = scnprintf(str, sizeof(str), "power %s\n", in vpu_dbg_core() 283 num = scnprintf(str, sizeof(str), in vpu_dbg_core() [all …]
|
| /linux/drivers/usb/common/ |
| A D | debug.c | 15 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument 22 snprintf(str, size, in usb_decode_get_status() 74 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature() argument 107 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor() argument 195 char *str, size_t size) in usb_decode_synch_frame() argument 218 snprintf(str, size, in usb_decode_ctrl_generic() 241 wIndex, str, size); in usb_decode_ctrl_standard() 244 usb_decode_set_address(wValue, str, size); in usb_decode_ctrl_standard() 249 wIndex, wLength, str, size); in usb_decode_ctrl_standard() 267 usb_decode_set_sel(wLength, str, size); in usb_decode_ctrl_standard() [all …]
|
| /linux/tools/net/ynl/ |
| A D | ynl-gen-rst.py | 39 def bold(text: str) -> str: argument 44 def inline(text: str) -> str: 49 def sanitize(text: str) -> str: argument 55 def rst_fields(key: str, value: str, level: int = 0) -> str: argument 75 def rst_subsection(title: str) -> str: argument 85 def rst_section(namespace: str, prefix: str, title: str) -> str: argument 90 def rst_subtitle(title: str) -> str: argument 95 def rst_title(title: str) -> str: argument 105 def rst_ref(namespace: str, prefix: str, name: str) -> str: argument 136 def rst_label(title: str) -> str: argument [all …]
|
| /linux/drivers/firmware/ |
| A D | iscsi_ibft.c | 215 str += sprintf(str, "%pI6", ip); in sprintf_ipaddr() 217 str += sprintf(str, "\n"); in sprintf_ipaddr() 310 str += sprintf_ipaddr(str, nic->ip_addr); in ibft_attr_show_nic() 314 str += sprintf(str, "%pI4", &val); in ibft_attr_show_nic() 320 str += sprintf(str, "%d\n", nic->origin); in ibft_attr_show_nic() 323 str += sprintf_ipaddr(str, nic->gateway); in ibft_attr_show_nic() 332 str += sprintf_ipaddr(str, nic->dhcp); in ibft_attr_show_nic() 335 str += sprintf(str, "%d\n", nic->vlan); in ibft_attr_show_nic() 338 str += sprintf(str, "%pM\n", nic->mac); in ibft_attr_show_nic() 373 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target() [all …]
|
| /linux/drivers/usb/gadget/udc/cdns2/ |
| A D | cdns2-debug.h | 48 return str; in cdns2_decode_usb_irq() 80 return str; in cdns2_decode_dma_irq() 100 char *str, size_t size) in cdns2_raw_ring() argument 112 ret += scnprintf(str + ret, size - ret, in cdns2_raw_ring() 118 ret += scnprintf(str + ret, size - ret, in cdns2_raw_ring() 122 ret += scnprintf(str + ret, size - ret, in cdns2_raw_ring() 129 return str; in cdns2_raw_ring() 146 return str; in cdns2_raw_ring() 169 ret = scnprintf(str, size, in cdns2_decode_trb() 179 ret = scnprintf(str, size, in cdns2_decode_trb() [all …]
|
| /linux/lib/ |
| A D | cmdline.c | 27 (*str)++; in get_range() 58 char *cur = *str; in get_option() 69 if (cur == *str) in get_option() 71 if (**str == ',') { in get_option() 72 (*str)++; in get_option() 75 if (**str == '-') in get_option() 205 while (*str) { in parse_option_str() 208 if (!*str || *str == ',') in parse_option_str() 212 while (*str && *str != ',') in parse_option_str() 213 str++; in parse_option_str() [all …]
|
| /linux/drivers/mmc/core/ |
| A D | debugfs.c | 60 const char *str; in mmc_ios_show() local 83 str = "invalid"; in mmc_ios_show() 99 str = "invalid"; in mmc_ios_show() 106 str = "off"; in mmc_ios_show() 109 str = "up"; in mmc_ios_show() 112 str = "on"; in mmc_ios_show() 115 str = "invalid"; in mmc_ios_show() 124 str = "legacy"; in mmc_ios_show() 165 str = "3.30 V"; in mmc_ios_show() 168 str = "1.80 V"; in mmc_ios_show() [all …]
|
| /linux/drivers/memory/ |
| A D | ti-emif-sram-pm.S | 51 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET] 54 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET] 120 str r1, [r4, r5] 143 str r1, [r0, #EMIF_DDR_PHY_CTRL_1] 147 str r1, [r0, #EMIF_SDRAM_TIMING_1] 151 str r1, [r0, #EMIF_SDRAM_TIMING_2] 155 str r1, [r0, #EMIF_SDRAM_TIMING_3] 169 str r1, [r0, #EMIF_COS_CONFIG] 181 str r1, [r0, #EMIF_OCP_CONFIG] 200 str r1, [r0, #EMIF_DLL_CALIB_CTRL] [all …]
|
| /linux/tools/testing/selftests/kvm/lib/ |
| A D | guest_sprintf.c | 8 GUEST_ASSERT(str < end); \ 9 *str++ = (v); \ 115 return str; in number() 120 char *str, *end; in guest_vsnprintf() local 242 str = number(str, end, in guest_vsnprintf() 250 *ip = (str - buf); in guest_vsnprintf() 253 *ip = (str - buf); in guest_vsnprintf() 296 str = number(str, end, num, base, field_width, precision, flags); in guest_vsnprintf() 299 GUEST_ASSERT(str < end); in guest_vsnprintf() 300 *str = '\0'; in guest_vsnprintf() [all …]
|
| /linux/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 …]
|
| /linux/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 …]
|
| /linux/tools/lib/ |
| A D | argv_split.c | 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() 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() 81 const char *p = str; in argv_split() 84 str = skip_arg(str); in argv_split() [all …]
|
| /linux/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 …]
|
| /linux/drivers/usb/dwc3/ |
| A D | debug.h | 207 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string() 211 snprintf(str, size, "Reset [%s]", in dwc3_gadget_event_string() 223 snprintf(str, size, "WakeUp [%s]", in dwc3_gadget_event_string() 227 snprintf(str, size, "Suspend [%s]", in dwc3_gadget_event_string() 243 snprintf(str, size, "Overflow [%s]", in dwc3_gadget_event_string() 247 snprintf(str, size, "UNKNOWN"); in dwc3_gadget_event_string() 250 return str; in dwc3_gadget_event_string() 282 scnprintf(str + len, size - len, in dwc3_ep_event_string() 302 scnprintf(str + len, size - len, in dwc3_ep_event_string() 306 scnprintf(str + len, size - len, in dwc3_ep_event_string() [all …]
|
| /linux/fs/unicode/ |
| A D | utf8-selftest.c | 38 unsigned char str[10]; member 44 .str = "aBba", 58 .str = {0xc3, 0xa4, 0x00}, 64 .str = {0xC7, 0x89, 0x00}, 69 .str = {0xCE, 0x87, 0x00}, 92 unsigned char str[30]; member 109 .str = {0xc3, 0x9f, 0x00}, 115 .str = {0xC3, 0x85, 0x00}, 125 .str = {0xea, 0xad, 0xb0, 0x00}, 130 .str = {0xe1, 0x8f, 0xb8, 0x00}, [all …]
|
| /linux/tools/testing/selftests/arm64/fp/ |
| A D | fp-ptrace-asm.S | 212 str z0, [x7, #0, MUL VL] 213 str z1, [x7, #1, MUL VL] 214 str z2, [x7, #2, MUL VL] 215 str z3, [x7, #3, MUL VL] 216 str z4, [x7, #4, MUL VL] 217 str z5, [x7, #5, MUL VL] 218 str z6, [x7, #6, MUL VL] 219 str z7, [x7, #7, MUL VL] 220 str z8, [x7, #8, MUL VL] 221 str z9, [x7, #9, MUL VL] [all …]
|
| /linux/tools/perf/arch/arm/tests/ |
| A D | regs_load.S | 41 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 …]
|