/linux-master/tools/lib/bpf/ |
H A D | features.c | 85 static const char strs[] = "\0int"; local 92 strs, sizeof(strs), token_fd)); 97 static const char strs[] = "\0int\0x\0a"; local 110 strs, sizeof(strs), token_fd)); 115 static const char strs[] = "\0int\0x\0a"; local 128 strs, sizeof(strs), token_fd)); 133 static const char strs[] local 152 static const char strs[] = "\\0x\\0?.data"; local 171 static const char strs[] = "\\0float"; local 183 static const char strs[] = "\\0tag"; local 200 static const char strs[] = "\\0tag"; local 310 static const char strs[] = "\\0int"; local 420 static const char strs[] = "\\0enum64"; local 431 static const char strs[] = "\\0a\\0b\\0arg:ctx\\0"; local [all...] |
H A D | libbpf_probes.c | 257 const char strs[] = "\0bpf_spin_lock\0val\0cnt\0l"; local 279 strs, sizeof(strs), 0);
|
H A D | linker.c | 2577 const void *strs; local 2589 strs = strset__data(linker->strtab_strs); 2594 sec->data->d_buf = (void *)strs;
|
/linux-master/drivers/base/test/ |
H A D | property-entry-test.c | 262 PROPERTY_ENTRY_STRING_ARRAY("strs", strings), 268 const char *strs[10]; local 281 error = fwnode_property_read_string_array(node, "str", strs, 1); 283 KUNIT_EXPECT_STREQ(test, strs[0], "single"); 286 error = fwnode_property_read_string_array(node, "str", strs, 2); 288 KUNIT_EXPECT_STREQ(test, strs[0], "single"); 293 error = fwnode_property_read_string_array(node, "no-str", strs, 1); 300 error = fwnode_property_string_array_count(node, "strs"); 303 error = fwnode_property_read_string_array(node, "strs", strs, [all...] |
/linux-master/drivers/regulator/ |
H A D | of_regulator.c | 721 int strs, i; local 723 strs = strlen(name); 725 if (strs < 8) 727 for (i = strs - 6; i > 0; i--) {
|
/linux-master/sound/firewire/dice/ |
H A D | dice-proc.c | 29 static const char *str_from_array(const char *const strs[], unsigned int count, argument 33 return strs[i];
|
/linux-master/drivers/counter/ |
H A D | counter-sysfs.c | 210 return sysfs_emit(buf, "%s\n", avail->strs[data]); 261 err = __sysfs_match_string(avail->strs, avail->num_items, buf); 481 const char *const strs[], char *buf) 487 len += sysfs_emit_at(buf, len, "%s\n", strs[enums[index]]); 499 len += sysfs_emit_at(buf, len, "%s\n", avail->strs[index]); 479 enums_available_show(const u32 *const enums, const size_t num_enums, const char *const strs[], char *buf) argument
|
/linux-master/include/linux/ |
H A D | counter.h | 485 const char *const *strs; member in union:counter_available::__anon588 498 .strs = (_strs), \
|
H A D | cper.h | 586 const char * const strs[], unsigned int strs_size);
|
/linux-master/include/uapi/drm/ |
H A D | vmwgfx_drm.h | 1257 * @strs: Pointer to user-space stat strings, page-aligned. 1270 __u64 strs; member in struct:drm_vmw_mksstat_add_arg
|
/linux-master/drivers/firmware/efi/ |
H A D | cper.c | 76 * @strs: string array, indexed by bit position 77 * @strs_size: size of the string array: @strs 79 * For each set bit in @bits, print the corresponding string in @strs. 84 const char * const strs[], unsigned int strs_size) 93 str = strs[i]; 83 cper_print_bits(const char *pfx, unsigned int bits, const char * const strs[], unsigned int strs_size) argument
|
/linux-master/security/apparmor/ |
H A D | policy_unpack.c | 455 * @strs: str table to unpack to (NOT NULL) 459 static bool unpack_trans_table(struct aa_ext *e, struct aa_str_table *strs) argument 481 strs->table = table; 482 strs->size = size; 529 aa_free_str_table(strs);
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 1010 if (!arg->stat || !arg->info || !arg->strs) 1057 pdesc->strsStartVA = arg->strs; 1088 nr_pinned_strs = pin_user_pages_fast(arg->strs, num_pages_strs, FOLL_LONGTERM, pages_strs);
|
/linux-master/tools/testing/kunit/ |
H A D | kunit_tool_test.py | 365 def line_stream_from_strs(strs: Iterable[str]) -> kunit_parser.LineStream: 366 return kunit_parser.LineStream(enumerate(strs, start=1))
|
/linux-master/sound/core/ |
H A D | pcm.c | 1011 static const char *strs[SNDRV_PCM_CLASS_LAST + 1] = { local 1021 str = strs[pcm->dev_class];
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 8020 static void dump_btf_strings(const char *strs, __u32 len) argument 8022 const char *cur = strs; 8025 while (cur < strs + len) {
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 521 const struct hclge_comm_stats_str strs[], 528 if (strs[i].stats_num <= hdev->ae_dev->dev_specs.mac_stats_num) 535 const struct hclge_comm_stats_str strs[], 542 if (strs[i].stats_num > hdev->ae_dev->dev_specs.mac_stats_num) 545 *buf = HCLGE_STATS_READ(&hdev->mac_stats, strs[i].offset); 553 const struct hclge_comm_stats_str strs[], 563 if (strs[i].stats_num > hdev->ae_dev->dev_specs.mac_stats_num) 566 snprintf(buff, ETH_GSTRING_LEN, "%s", strs[i].desc); 520 hclge_comm_get_count(struct hclge_dev *hdev, const struct hclge_comm_stats_str strs[], u32 size) argument 534 hclge_comm_get_stats(struct hclge_dev *hdev, const struct hclge_comm_stats_str strs[], int size, u64 *data) argument 552 hclge_comm_get_strings(struct hclge_dev *hdev, u32 stringset, const struct hclge_comm_stats_str strs[], int size, u8 *data) argument
|