strings 115 arch/s390/kernel/module.c char *strings; strings 138 arch/s390/kernel/module.c strings = (void *) hdr + sechdrs[symtab->sh_link].sh_offset; strings 141 arch/s390/kernel/module.c strcmp(strings + symbols[i].st_name, strings 287 drivers/base/swnode.c const char **strings, size_t nval) strings 307 drivers/base/swnode.c if (!strings) strings 311 drivers/base/swnode.c length = array_len * sizeof(*strings); strings 317 drivers/base/swnode.c memcpy(strings, pointer, length); strings 218 drivers/crypto/qat/qat_common/icp_qat_uclo.h uint64_t strings; strings 521 drivers/crypto/qat/qat_common/icp_qat_uclo.h unsigned int strings; strings 122 drivers/crypto/qat/qat_common/qat_uclo.c return (char *)(((uintptr_t)(str_table->strings)) + str_offset); strings 724 drivers/crypto/qat/qat_common/qat_uclo.c hdr_size = (char *)&str_table->strings - (char *)str_table; strings 725 drivers/crypto/qat/qat_common/qat_uclo.c str_table->strings = (uintptr_t)obj_hdr->file_buff + strings 1699 drivers/gpu/drm/i915/i915_debugfs.c static const char * const strings[] = { strings 1705 drivers/gpu/drm/i915/i915_debugfs.c if (power >= ARRAY_SIZE(strings) || !strings[power]) strings 1708 drivers/gpu/drm/i915/i915_debugfs.c return strings[power]; strings 1239 drivers/media/pci/cx25821/cx25821-core.c void cx25821_print_irqbits(char *name, char *tag, char **strings, strings 1249 drivers/media/pci/cx25821/cx25821-core.c if (strings[i]) strings 1250 drivers/media/pci/cx25821/cx25821-core.c pr_cont(" %s", strings[i]); strings 417 drivers/media/pci/cx25821/cx25821.h extern void cx25821_print_irqbits(char *name, char *tag, char **strings, strings 479 drivers/media/pci/cx88/cx88-core.c void cx88_print_irqbits(const char *tag, const char *strings[], strings 488 drivers/media/pci/cx88/cx88-core.c if (strings[i]) strings 489 drivers/media/pci/cx88/cx88-core.c pr_cont(" %s", strings[i]); strings 611 drivers/media/pci/cx88/cx88.h void cx88_print_irqbits(const char *tag, const char *strings[], strings 347 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c u8 *strings; strings 350 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c strings = data; strings 358 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c memcpy(strings, string_cpu, ETH_GSTRING_LEN); strings 359 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c strings += ETH_GSTRING_LEN; strings 363 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c memcpy(strings, string_cpu, ETH_GSTRING_LEN); strings 364 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c strings += ETH_GSTRING_LEN; strings 370 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c memcpy(strings, string_cpu, ETH_GSTRING_LEN); strings 371 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c strings += ETH_GSTRING_LEN; strings 375 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c memcpy(strings, string_cpu, ETH_GSTRING_LEN); strings 376 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c strings += ETH_GSTRING_LEN; strings 378 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c memcpy(strings, dpaa_stats_global, size); strings 449 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c int i, strings = 0; strings 465 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0; i < NUM_MAIN_STATS; i++, strings++, strings 469 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c main_strings[strings]); strings 471 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0; i < NUM_PORT_STATS; i++, strings++, strings 475 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c main_strings[strings]); strings 477 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0; i < NUM_PF_STATS; i++, strings++, strings 481 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c main_strings[strings]); strings 483 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0; i < NUM_FLOW_STATS; i++, strings++, strings 487 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c main_strings[strings]); strings 489 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0; i < NUM_PKT_STATS; i++, strings++, strings 493 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c main_strings[strings]); strings 495 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0; i < NUM_XDP_STATS; i++, strings++, strings 499 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c main_strings[strings]); strings 501 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c for (i = 0; i < NUM_PHY_STATS; i++, strings++, strings 505 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c main_strings[strings]); strings 227 drivers/net/ethernet/sfc/ethtool.c static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, strings 238 drivers/net/ethernet/sfc/ethtool.c if (strings) { strings 245 drivers/net/ethernet/sfc/ethtool.c snprintf(strings + test_index * ETH_GSTRING_LEN, strings 273 drivers/net/ethernet/sfc/ethtool.c u8 *strings, u64 *data) strings 280 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(test_index++, strings, data, strings 284 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(test_index++, strings, data, strings 289 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(test_index++, strings, data, strings 293 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(test_index++, strings, data, strings 316 drivers/net/ethernet/sfc/ethtool.c u8 *strings, u64 *data) strings 322 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(n++, strings, data, &tests->phy_alive, strings 324 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(n++, strings, data, &tests->nvram, strings 326 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(n++, strings, data, &tests->interrupt, strings 331 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(n++, strings, data, strings 335 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(n++, strings, data, strings 341 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(n++, strings, data, &tests->memory, strings 343 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(n++, strings, data, &tests->registers, strings 357 drivers/net/ethernet/sfc/ethtool.c efx_fill_test(n++, strings, data, &tests->phy_ext[i], strings 368 drivers/net/ethernet/sfc/ethtool.c strings, data); strings 374 drivers/net/ethernet/sfc/ethtool.c static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings) strings 382 drivers/net/ethernet/sfc/ethtool.c if (strings != NULL) { strings 383 drivers/net/ethernet/sfc/ethtool.c snprintf(strings, ETH_GSTRING_LEN, strings 388 drivers/net/ethernet/sfc/ethtool.c strings += ETH_GSTRING_LEN; strings 395 drivers/net/ethernet/sfc/ethtool.c if (strings != NULL) { strings 396 drivers/net/ethernet/sfc/ethtool.c snprintf(strings, ETH_GSTRING_LEN, strings 398 drivers/net/ethernet/sfc/ethtool.c strings += ETH_GSTRING_LEN; strings 424 drivers/net/ethernet/sfc/ethtool.c u32 string_set, u8 *strings) strings 431 drivers/net/ethernet/sfc/ethtool.c strings += (efx->type->describe_stats(efx, strings) * strings 434 drivers/net/ethernet/sfc/ethtool.c strlcpy(strings + i * ETH_GSTRING_LEN, strings 436 drivers/net/ethernet/sfc/ethtool.c strings += EFX_ETHTOOL_SW_STAT_COUNT * ETH_GSTRING_LEN; strings 437 drivers/net/ethernet/sfc/ethtool.c strings += (efx_describe_per_queue_stats(efx, strings) * strings 439 drivers/net/ethernet/sfc/ethtool.c efx_ptp_describe_stats(efx, strings); strings 442 drivers/net/ethernet/sfc/ethtool.c efx_ethtool_fill_self_tests(efx, NULL, strings, NULL); strings 209 drivers/net/ethernet/sfc/falcon/ethtool.c static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, strings 220 drivers/net/ethernet/sfc/falcon/ethtool.c if (strings) { strings 227 drivers/net/ethernet/sfc/falcon/ethtool.c snprintf(strings + test_index * ETH_GSTRING_LEN, strings 255 drivers/net/ethernet/sfc/falcon/ethtool.c u8 *strings, u64 *data) strings 262 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(test_index++, strings, data, strings 266 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(test_index++, strings, data, strings 271 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(test_index++, strings, data, strings 275 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(test_index++, strings, data, strings 298 drivers/net/ethernet/sfc/falcon/ethtool.c u8 *strings, u64 *data) strings 304 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(n++, strings, data, &tests->phy_alive, strings 306 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(n++, strings, data, &tests->nvram, strings 308 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(n++, strings, data, &tests->interrupt, strings 313 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(n++, strings, data, strings 317 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(n++, strings, data, strings 323 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(n++, strings, data, &tests->memory, strings 325 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(n++, strings, data, &tests->registers, strings 339 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_test(n++, strings, data, &tests->phy_ext[i], strings 350 drivers/net/ethernet/sfc/falcon/ethtool.c strings, data); strings 356 drivers/net/ethernet/sfc/falcon/ethtool.c static size_t ef4_describe_per_queue_stats(struct ef4_nic *efx, u8 *strings) strings 364 drivers/net/ethernet/sfc/falcon/ethtool.c if (strings != NULL) { strings 365 drivers/net/ethernet/sfc/falcon/ethtool.c snprintf(strings, ETH_GSTRING_LEN, strings 370 drivers/net/ethernet/sfc/falcon/ethtool.c strings += ETH_GSTRING_LEN; strings 377 drivers/net/ethernet/sfc/falcon/ethtool.c if (strings != NULL) { strings 378 drivers/net/ethernet/sfc/falcon/ethtool.c snprintf(strings, ETH_GSTRING_LEN, strings 380 drivers/net/ethernet/sfc/falcon/ethtool.c strings += ETH_GSTRING_LEN; strings 405 drivers/net/ethernet/sfc/falcon/ethtool.c u32 string_set, u8 *strings) strings 412 drivers/net/ethernet/sfc/falcon/ethtool.c strings += (efx->type->describe_stats(efx, strings) * strings 415 drivers/net/ethernet/sfc/falcon/ethtool.c strlcpy(strings + i * ETH_GSTRING_LEN, strings 417 drivers/net/ethernet/sfc/falcon/ethtool.c strings += EF4_ETHTOOL_SW_STAT_COUNT * ETH_GSTRING_LEN; strings 418 drivers/net/ethernet/sfc/falcon/ethtool.c strings += (ef4_describe_per_queue_stats(efx, strings) * strings 422 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_ethtool_fill_self_tests(efx, NULL, strings, NULL); strings 460 drivers/net/ethernet/sfc/nic.h size_t efx_ptp_describe_stats(struct efx_nic *efx, u8 *strings); strings 396 drivers/net/ethernet/sfc/ptp.c size_t efx_ptp_describe_stats(struct efx_nic *efx, u8 *strings) strings 402 drivers/net/ethernet/sfc/ptp.c efx_ptp_stat_mask, strings); strings 1220 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c const char *strings = NULL; strings 1240 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c ret = of_property_read_string(dev->of_node, "clock_in_out", &strings); strings 1246 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c strings); strings 1247 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c if (!strcmp(strings, "input")) strings 598 drivers/of/unittest.c const char *strings[4]; strings 634 drivers/of/unittest.c rc = of_property_read_string_index(np, "string-property", 0, strings); strings 635 drivers/of/unittest.c unittest(rc == 0 && !strcmp(strings[0], "foobar"), "of_property_read_string_index() failure; rc=%i\n", rc); strings 636 drivers/of/unittest.c strings[0] = NULL; strings 637 drivers/of/unittest.c rc = of_property_read_string_index(np, "string-property", 1, strings); strings 638 drivers/of/unittest.c unittest(rc == -ENODATA && strings[0] == NULL, "of_property_read_string_index() failure; rc=%i\n", rc); strings 639 drivers/of/unittest.c rc = of_property_read_string_index(np, "phandle-list-names", 0, strings); strings 640 drivers/of/unittest.c unittest(rc == 0 && !strcmp(strings[0], "first"), "of_property_read_string_index() failure; rc=%i\n", rc); strings 641 drivers/of/unittest.c rc = of_property_read_string_index(np, "phandle-list-names", 1, strings); strings 642 drivers/of/unittest.c unittest(rc == 0 && !strcmp(strings[0], "second"), "of_property_read_string_index() failure; rc=%i\n", rc); strings 643 drivers/of/unittest.c rc = of_property_read_string_index(np, "phandle-list-names", 2, strings); strings 644 drivers/of/unittest.c unittest(rc == 0 && !strcmp(strings[0], "third"), "of_property_read_string_index() failure; rc=%i\n", rc); strings 645 drivers/of/unittest.c strings[0] = NULL; strings 646 drivers/of/unittest.c rc = of_property_read_string_index(np, "phandle-list-names", 3, strings); strings 647 drivers/of/unittest.c unittest(rc == -ENODATA && strings[0] == NULL, "of_property_read_string_index() failure; rc=%i\n", rc); strings 648 drivers/of/unittest.c strings[0] = NULL; strings 649 drivers/of/unittest.c rc = of_property_read_string_index(np, "unterminated-string", 0, strings); strings 650 drivers/of/unittest.c unittest(rc == -EILSEQ && strings[0] == NULL, "of_property_read_string_index() failure; rc=%i\n", rc); strings 651 drivers/of/unittest.c rc = of_property_read_string_index(np, "unterminated-string-list", 0, strings); strings 652 drivers/of/unittest.c unittest(rc == 0 && !strcmp(strings[0], "first"), "of_property_read_string_index() failure; rc=%i\n", rc); strings 653 drivers/of/unittest.c strings[0] = NULL; strings 654 drivers/of/unittest.c rc = of_property_read_string_index(np, "unterminated-string-list", 2, strings); /* should fail */ strings 655 drivers/of/unittest.c unittest(rc == -EILSEQ && strings[0] == NULL, "of_property_read_string_index() failure; rc=%i\n", rc); strings 656 drivers/of/unittest.c strings[1] = NULL; strings 659 drivers/of/unittest.c rc = of_property_read_string_array(np, "string-property", strings, 4); strings 661 drivers/of/unittest.c rc = of_property_read_string_array(np, "phandle-list-names", strings, 4); strings 663 drivers/of/unittest.c rc = of_property_read_string_array(np, "unterminated-string", strings, 4); strings 666 drivers/of/unittest.c rc = of_property_read_string_array(np, "unterminated-string-list", strings, 4); strings 669 drivers/of/unittest.c strings[2] = NULL; strings 670 drivers/of/unittest.c rc = of_property_read_string_array(np, "unterminated-string-list", strings, 2); strings 671 drivers/of/unittest.c unittest(rc == 2 && strings[2] == NULL, "of_property_read_string_array() failure; rc=%i\n", rc); strings 672 drivers/of/unittest.c strings[1] = NULL; strings 673 drivers/of/unittest.c rc = of_property_read_string_array(np, "phandle-list-names", strings, 1); strings 674 drivers/of/unittest.c unittest(rc == 1 && strings[1] == NULL, "Overwrote end of string array; rc=%i, str='%s'\n", rc, strings[1]); strings 114 drivers/ps3/ps3-vuart.c static const char *strings[] = { strings 128 drivers/ps3/ps3-vuart.c for (i = 0; i < ARRAY_SIZE(strings); i++) { strings 133 drivers/ps3/ps3-vuart.c port_number, strings[i], ps3_result(result)); strings 137 drivers/ps3/ps3-vuart.c func, line, port_number, strings[i], value); strings 66 drivers/scsi/isci/phy.c static const char * const strings[] = PHY_STATES; strings 68 drivers/scsi/isci/phy.c return strings[state]; strings 67 drivers/scsi/isci/port.c static const char * const strings[] = PORT_STATES; strings 69 drivers/scsi/isci/port.c return strings[state]; strings 69 drivers/scsi/isci/remote_device.c static const char * const strings[] = REMOTE_DEV_STATES; strings 71 drivers/scsi/isci/remote_device.c return strings[state]; strings 67 drivers/scsi/isci/remote_node_context.c static const char * const strings[] = RNC_STATES; strings 69 drivers/scsi/isci/remote_node_context.c if (state >= ARRAY_SIZE(strings)) strings 72 drivers/scsi/isci/remote_node_context.c return strings[state]; strings 68 drivers/scsi/isci/request.c static const char * const strings[] = REQUEST_STATES; strings 70 drivers/scsi/isci/request.c return strings[state]; strings 141 drivers/staging/greybus/audio_topology.c const char **strings; strings 147 drivers/staging/greybus/audio_topology.c strings = devm_kcalloc(gb->dev, items, sizeof(char *), GFP_KERNEL); strings 151 drivers/staging/greybus/audio_topology.c strings[i] = (const char *)data; strings 157 drivers/staging/greybus/audio_topology.c return strings; strings 230 drivers/usb/early/xhci-dbc.c struct xdbc_strings *strings; strings 271 drivers/usb/early/xhci-dbc.c strings = (struct xdbc_strings *)xdbc.string_base; strings 276 drivers/usb/early/xhci-dbc.c s_desc = (struct usb_string_descriptor *)strings->serial; strings 285 drivers/usb/early/xhci-dbc.c s_desc = (struct usb_string_descriptor *)strings->product; strings 294 drivers/usb/early/xhci-dbc.c s_desc = (struct usb_string_descriptor *)strings->manufacturer; strings 303 drivers/usb/early/xhci-dbc.c strings->string0[0] = 4; strings 304 drivers/usb/early/xhci-dbc.c strings->string0[1] = USB_DT_STRING; strings 305 drivers/usb/early/xhci-dbc.c strings->string0[2] = 0x09; strings 306 drivers/usb/early/xhci-dbc.c strings->string0[3] = 0x04; strings 1097 drivers/usb/gadget/composite.c sp = composite->strings; strings 1102 drivers/usb/gadget/composite.c sp = c->strings; strings 1107 drivers/usb/gadget/composite.c sp = f->strings; strings 1154 drivers/usb/gadget/composite.c if (composite->strings) { strings 1155 drivers/usb/gadget/composite.c len = lookup_string(composite->strings, buf, language, id); strings 1160 drivers/usb/gadget/composite.c if (c->strings) { strings 1161 drivers/usb/gadget/composite.c len = lookup_string(c->strings, buf, language, id); strings 1166 drivers/usb/gadget/composite.c if (!f->strings) strings 1168 drivers/usb/gadget/composite.c len = lookup_string(f->strings, buf, language, id); strings 1265 drivers/usb/gadget/composite.c gs->strings = stash; strings 1266 drivers/usb/gadget/composite.c org_s = sp[n_gs]->strings; strings 1323 drivers/usb/gadget/composite.c ret = usb_string_ids_tab(cdev, n_gs[0]->strings); strings 1332 drivers/usb/gadget/composite.c m_s = n_gs[0]->strings; strings 1333 drivers/usb/gadget/composite.c s = n_gs[i]->strings; strings 1341 drivers/usb/gadget/composite.c return n_gs[0]->strings; strings 2027 drivers/usb/gadget/composite.c struct usb_gadget_strings *gstr = cdev->driver->strings[0]; strings 2028 drivers/usb/gadget/composite.c struct usb_string *dev_str = gstr->strings; strings 2441 drivers/usb/gadget/composite.c struct usb_gadget_strings *gstr = cdev->driver->strings[0]; strings 2442 drivers/usb/gadget/composite.c struct usb_string *dev_str = gstr->strings; strings 90 drivers/usb/gadget/configfs.c struct usb_string strings[USB_GADGET_FIRST_AVAIL_IDX]; strings 105 drivers/usb/gadget/configfs.c struct usb_string strings; strings 1288 drivers/usb/gadget/configfs.c gs->stringtab_dev.strings = gs->strings; strings 1289 drivers/usb/gadget/configfs.c gs->strings[USB_GADGET_MANUFACTURER_IDX].s = strings 1291 drivers/usb/gadget/configfs.c gs->strings[USB_GADGET_PRODUCT_IDX].s = gs->product; strings 1292 drivers/usb/gadget/configfs.c gs->strings[USB_GADGET_SERIAL_IDX].s = gs->serialnumber; strings 1342 drivers/usb/gadget/configfs.c cn->stringtab_dev.strings = &cn->strings; strings 1343 drivers/usb/gadget/configfs.c cn->strings.s = cn->configuration; strings 289 drivers/usb/gadget/function/f_acm.c .strings = acm_string_defs, strings 742 drivers/usb/gadget/function/f_acm.c acm->port.func.strings = acm_strings; strings 365 drivers/usb/gadget/function/f_ecm.c .strings = ecm_string_defs, strings 156 drivers/usb/gadget/function/f_eem.c .strings = eem_string_defs, strings 1862 drivers/usb/gadget/function/f_fs.c struct usb_string *str = (*lang)->strings; strings 2627 drivers/usb/gadget/function/f_fs.c vla_item(d, struct usb_string, strings, strings 2649 drivers/usb/gadget/function/f_fs.c s = vla_ptr(vlabuf, d, strings); strings 2662 drivers/usb/gadget/function/f_fs.c t->strings = s; strings 2936 drivers/usb/gadget/function/f_fs.c newValue = func->ffs->stringtabs[0]->strings[*valuep - 1].id; strings 3085 drivers/usb/gadget/function/f_fs.c func->function.strings = func->ffs->stringtabs; strings 232 drivers/usb/gadget/function/f_hid.c .strings = ct_func_string_defs, strings 156 drivers/usb/gadget/function/f_loopback.c .strings = strings_loopback, strings 449 drivers/usb/gadget/function/f_loopback.c loop->function.strings = loopback_strings; strings 247 drivers/usb/gadget/function/f_mass_storage.c .strings = fsg_strings, strings 219 drivers/usb/gadget/function/f_midi.c .strings = midi_string_defs, strings 420 drivers/usb/gadget/function/f_ncm.c .strings = ncm_string_defs, strings 60 drivers/usb/gadget/function/f_obex.c .strings = obex_string_defs, strings 358 drivers/usb/gadget/function/f_rndis.c .strings = rndis_string_defs, strings 136 drivers/usb/gadget/function/f_serial.c .strings = gser_string_defs, strings 345 drivers/usb/gadget/function/f_serial.c gser->port.func.strings = gser_strings; strings 280 drivers/usb/gadget/function/f_sourcesink.c .strings = strings_sourcesink, strings 864 drivers/usb/gadget/function/f_sourcesink.c ss->function.strings = sourcesink_strings; strings 243 drivers/usb/gadget/function/f_subset.c .strings = geth_string_defs, strings 1979 drivers/usb/gadget/function/f_tcm.c .strings = tcm_us_strings, strings 309 drivers/usb/gadget/function/f_uac1.c .strings = strings_uac1, strings 231 drivers/usb/gadget/function/f_uac1_legacy.c .strings = strings_uac1, strings 100 drivers/usb/gadget/function/f_uac2.c .strings = strings_fn, strings 54 drivers/usb/gadget/function/f_uvc.c .strings = uvc_en_us_strings, strings 69 drivers/usb/gadget/legacy/acm_ms.c .strings = strings_dev, strings 254 drivers/usb/gadget/legacy/acm_ms.c .strings = dev_strings, strings 125 drivers/usb/gadget/legacy/audio.c .strings = strings_dev, strings 354 drivers/usb/gadget/legacy/audio.c .strings = audio_strings, strings 71 drivers/usb/gadget/legacy/cdc2.c .strings = strings_dev, strings 229 drivers/usb/gadget/legacy/cdc2.c .strings = dev_strings, strings 181 drivers/usb/gadget/legacy/ether.c .strings = strings_dev, strings 472 drivers/usb/gadget/legacy/ether.c .strings = dev_strings, strings 109 drivers/usb/gadget/legacy/g_ffs.c .strings = gfs_strings, strings 151 drivers/usb/gadget/legacy/g_ffs.c .strings = gfs_dev_strings, strings 98 drivers/usb/gadget/legacy/gmidi.c .strings = strings_dev, strings 179 drivers/usb/gadget/legacy/gmidi.c .strings = dev_strings, strings 78 drivers/usb/gadget/legacy/hid.c .strings = strings_dev, strings 257 drivers/usb/gadget/legacy/hid.c .strings = dev_strings, strings 74 drivers/usb/gadget/legacy/mass_storage.c .strings = strings_dev, strings 230 drivers/usb/gadget/legacy/mass_storage.c .strings = dev_strings, strings 96 drivers/usb/gadget/legacy/multi.c .strings = strings_dev, strings 484 drivers/usb/gadget/legacy/multi.c .strings = dev_strings, strings 80 drivers/usb/gadget/legacy/ncm.c .strings = strings_dev, strings 201 drivers/usb/gadget/legacy/ncm.c .strings = dev_strings, strings 78 drivers/usb/gadget/legacy/nokia.c .strings = strings_dev, strings 427 drivers/usb/gadget/legacy/nokia.c .strings = dev_strings, strings 91 drivers/usb/gadget/legacy/printer.c static struct usb_string strings [] = { strings 100 drivers/usb/gadget/legacy/printer.c .strings = strings, strings 166 drivers/usb/gadget/legacy/printer.c ret = usb_string_ids_tab(cdev, strings); strings 170 drivers/usb/gadget/legacy/printer.c device_desc.iManufacturer = strings[USB_GADGET_MANUFACTURER_IDX].id; strings 171 drivers/usb/gadget/legacy/printer.c device_desc.iProduct = strings[USB_GADGET_PRODUCT_IDX].id; strings 172 drivers/usb/gadget/legacy/printer.c device_desc.iSerialNumber = strings[USB_GADGET_SERIAL_IDX].id; strings 216 drivers/usb/gadget/legacy/printer.c .strings = dev_strings, strings 54 drivers/usb/gadget/legacy/serial.c .strings = strings_dev, strings 237 drivers/usb/gadget/legacy/serial.c .strings = dev_strings, strings 53 drivers/usb/gadget/legacy/tcm_usb_gadget.c .strings = usbg_us_strings, strings 124 drivers/usb/gadget/legacy/tcm_usb_gadget.c .strings = usbg_strings, strings 59 drivers/usb/gadget/legacy/webcam.c .strings = webcam_strings, strings 420 drivers/usb/gadget/legacy/webcam.c .strings = webcam_device_strings, strings 142 drivers/usb/gadget/legacy/zero.c .strings = strings_dev, strings 417 drivers/usb/gadget/legacy/zero.c .strings = dev_strings, strings 169 drivers/usb/gadget/udc/aspeed-vhub/hub.c .strings = (struct usb_string *)ast_vhub_str_array strings 49 drivers/usb/gadget/usbstring.c for (s = table->strings; s && s->s; s++) strings 37 drivers/usb/host/xhci-dbgcap.c static u32 xhci_dbc_populate_strings(struct dbc_str_descs *strings) strings 43 drivers/usb/host/xhci-dbgcap.c s_desc = (struct usb_string_descriptor *)strings->serial; strings 54 drivers/usb/host/xhci-dbgcap.c s_desc = (struct usb_string_descriptor *)strings->product; strings 65 drivers/usb/host/xhci-dbgcap.c s_desc = (struct usb_string_descriptor *)strings->manufacturer; strings 77 drivers/usb/host/xhci-dbgcap.c strings->string0[0] = 4; strings 78 drivers/usb/host/xhci-dbgcap.c strings->string0[1] = USB_DT_STRING; strings 79 drivers/usb/host/xhci-dbgcap.c strings->string0[2] = 0x09; strings 80 drivers/usb/host/xhci-dbgcap.c strings->string0[3] = 0x04; strings 376 drivers/xen/xenbus/xenbus_xs.c static unsigned int count_strings(const char *strings, unsigned int len) strings 381 drivers/xen/xenbus/xenbus_xs.c for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) strings 399 drivers/xen/xenbus/xenbus_xs.c static char **split(char *strings, unsigned int len, unsigned int *num) strings 404 drivers/xen/xenbus/xenbus_xs.c *num = count_strings(strings, len); strings 409 drivers/xen/xenbus/xenbus_xs.c kfree(strings); strings 412 drivers/xen/xenbus/xenbus_xs.c memcpy(&ret[*num], strings, len); strings 413 drivers/xen/xenbus/xenbus_xs.c kfree(strings); strings 415 drivers/xen/xenbus/xenbus_xs.c strings = (char *)&ret[*num]; strings 416 drivers/xen/xenbus/xenbus_xs.c for (p = strings, *num = 0; p < strings + len; p += strlen(p) + 1) strings 425 drivers/xen/xenbus/xenbus_xs.c char *strings, *path; strings 432 drivers/xen/xenbus/xenbus_xs.c strings = xs_single(t, XS_DIRECTORY, path, &len); strings 434 drivers/xen/xenbus/xenbus_xs.c if (IS_ERR(strings)) strings 435 drivers/xen/xenbus/xenbus_xs.c return (char **)strings; strings 437 drivers/xen/xenbus/xenbus_xs.c return split(strings, len, num); strings 193 include/linux/usb/composite.h struct usb_gadget_strings **strings; strings 301 include/linux/usb/composite.h struct usb_gadget_strings **strings; strings 388 include/linux/usb/composite.h struct usb_gadget_strings **strings; strings 765 include/linux/usb/gadget.h struct usb_string *strings; strings 206 kernel/bpf/btf.c const char *strings; strings 543 kernel/bpf/btf.c const char *src = &btf->strings[offset]; strings 579 kernel/bpf/btf.c return &btf->strings[offset]; strings 587 kernel/bpf/btf.c return &btf->strings[offset]; strings 3145 kernel/bpf/btf.c btf->strings = start; strings 40 lib/test-string_helpers.c static const struct test_string strings[] __initconst = { strings 75 lib/test-string_helpers.c for (i = 0; i < ARRAY_SIZE(strings); i++) { strings 76 lib/test-string_helpers.c const char *s = strings[i].in; strings 77 lib/test-string_helpers.c int len = strlen(strings[i].in); strings 84 lib/test-string_helpers.c if (flags & strings[i].flags) { strings 85 lib/test-string_helpers.c s = strings[i].out; strings 86 lib/test-string_helpers.c len = strlen(strings[i].out); strings 21 sound/core/info_oss.c static DEFINE_MUTEX(strings); strings 32 sound/core/info_oss.c mutex_lock(&strings); strings 41 sound/core/info_oss.c mutex_unlock(&strings); strings 46 sound/core/info_oss.c mutex_unlock(&strings); strings 57 sound/core/info_oss.c mutex_lock(&strings); strings 68 sound/core/info_oss.c mutex_unlock(&strings); strings 440 sound/soc/generic/simple-card-utils.c const char **strings, *control_name; strings 455 sound/soc/generic/simple-card-utils.c strings = devm_kcalloc(dev, nb_controls_max, strings 456 sound/soc/generic/simple-card-utils.c sizeof(*strings), GFP_KERNEL); strings 457 sound/soc/generic/simple-card-utils.c if (!strings) strings 461 sound/soc/generic/simple-card-utils.c strings, nb_controls_max); strings 474 sound/soc/generic/simple-card-utils.c "%s Switch", strings[i]); strings 483 sound/soc/generic/simple-card-utils.c controls[i].private_value = (unsigned long)strings[i]; strings 31 tools/lib/bpf/btf.c const char *strings; strings 140 tools/lib/bpf/btf.c btf->strings = start; strings 627 tools/lib/bpf/btf.c return &btf->strings[offset]; strings 2724 tools/lib/bpf/btf.c memmove(p, d->btf->strings, d->btf->hdr->str_len); strings 2725 tools/lib/bpf/btf.c d->btf->strings = p; strings 4205 tools/lib/traceevent/event-parse.c } *strings = NULL, *string; strings 4238 tools/lib/traceevent/event-parse.c string->next = strings; strings 4247 tools/lib/traceevent/event-parse.c strings = string; strings 4265 tools/lib/traceevent/event-parse.c while (strings) { strings 4266 tools/lib/traceevent/event-parse.c string = strings; strings 4267 tools/lib/traceevent/event-parse.c strings = string->next; strings 225 tools/lib/traceevent/plugins/plugin_kvm.c struct str_values *strings; strings 227 tools/lib/traceevent/plugins/plugin_kvm.c { .isa = 1, .strings = vmx_exit_reasons }, strings 228 tools/lib/traceevent/plugins/plugin_kvm.c { .isa = 2, .strings = svm_exit_reasons }, strings 234 tools/lib/traceevent/plugins/plugin_kvm.c struct str_values *strings = NULL; strings 237 tools/lib/traceevent/plugins/plugin_kvm.c for (i = 0; isa_exit_reasons[i].strings; ++i) strings 239 tools/lib/traceevent/plugins/plugin_kvm.c strings = isa_exit_reasons[i].strings; strings 242 tools/lib/traceevent/plugins/plugin_kvm.c if (!strings) strings 244 tools/lib/traceevent/plugins/plugin_kvm.c for (i = 0; strings[i].val >= 0; i++) strings 245 tools/lib/traceevent/plugins/plugin_kvm.c if (strings[i].val == val) strings 248 tools/lib/traceevent/plugins/plugin_kvm.c return strings[i].str; strings 264 tools/perf/util/debug.c char **strings = backtrace_symbols(array, size); strings 270 tools/perf/util/debug.c printf("%s\n", strings[i]); strings 272 tools/perf/util/debug.c free(strings); strings 128 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c } __attribute__ ((__packed__)) strings = { strings 131 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c .length = htole32(sizeof(strings)), strings 273 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c if (write(ep0, &strings, sizeof(strings)) < 0) { strings 126 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c } __attribute__ ((__packed__)) strings = { strings 129 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c .length = htole32(sizeof(strings)), strings 244 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c if (write(ep0, &strings, sizeof(strings)) < 0) { strings 316 tools/usb/ffs-test.c } __attribute__((packed)) strings = { strings 319 tools/usb/ffs-test.c .length = cpu_to_le32(sizeof strings), strings 329 tools/usb/ffs-test.c #define STR_INTERFACE strings.lang0.str1 strings 652 tools/usb/ffs-test.c ret = write(t->fd, &strings, sizeof strings);