/openbmc/linux/drivers/base/test/ |
H A D | property-entry-test.c | 268 const char *strs[10]; in pe_test_strings() local 281 error = fwnode_property_read_string_array(node, "str", strs, 1); in pe_test_strings() 283 KUNIT_EXPECT_STREQ(test, strs[0], "single"); in pe_test_strings() 286 error = fwnode_property_read_string_array(node, "str", strs, 2); in pe_test_strings() 288 KUNIT_EXPECT_STREQ(test, strs[0], "single"); in pe_test_strings() 293 error = fwnode_property_read_string_array(node, "no-str", strs, 1); in pe_test_strings() 303 error = fwnode_property_read_string_array(node, "strs", strs, 3); in pe_test_strings() 305 KUNIT_EXPECT_STREQ(test, strs[0], "string-a"); in pe_test_strings() 306 KUNIT_EXPECT_STREQ(test, strs[1], "string-b"); in pe_test_strings() 308 error = fwnode_property_read_string_array(node, "strs", strs, 1); in pe_test_strings() [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 252 const char strs[] = "\0bpf_spin_lock\0val\0cnt\0l"; in load_local_storage_btf() local 274 strs, sizeof(strs)); in load_local_storage_btf()
|
H A D | libbpf.c | 4597 static const char strs[] = "\0int"; in probe_kern_btf() local 4604 strs, sizeof(strs))); in probe_kern_btf() 4609 static const char strs[] = "\0int\0x\0a"; in probe_kern_btf_func() local 4622 strs, sizeof(strs))); in probe_kern_btf_func() 4627 static const char strs[] = "\0int\0x\0a"; in probe_kern_btf_func_global() local 4640 strs, sizeof(strs))); in probe_kern_btf_func_global() 4645 static const char strs[] = "\0x\0.data"; in probe_kern_btf_datasec() local 4659 strs, sizeof(strs))); in probe_kern_btf_datasec() 4664 static const char strs[] = "\0float"; in probe_kern_btf_float() local 4671 strs, sizeof(strs))); in probe_kern_btf_float() [all …]
|
H A D | linker.c | 2561 const void *strs; in bpf_linker__finalize() local 2573 strs = strset__data(linker->strtab_strs); in bpf_linker__finalize() 2578 sec->data->d_buf = (void *)strs; in bpf_linker__finalize()
|
/openbmc/linux/drivers/regulator/ |
H A D | of_regulator.c | 724 int strs, i; in is_supply_name() local 726 strs = strlen(name); in is_supply_name() 728 if (strs < 8) in is_supply_name() 730 for (i = strs - 6; i > 0; i--) { in is_supply_name()
|
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/ |
H A D | metric.cpp | 446 std::vector<std::string_view> strs(self.stringTable.size()); in doWork() local 449 strs[i] = str; in doWork() 451 for (auto& str : strs) in doWork()
|
/openbmc/linux/sound/firewire/dice/ |
H A D | dice-proc.c | 29 static const char *str_from_array(const char *const strs[], unsigned int count, in str_from_array() argument 33 return strs[i]; in str_from_array()
|
/openbmc/linux/drivers/counter/ |
H A D | counter-sysfs.c | 210 return sysfs_emit(buf, "%s\n", avail->strs[data]); in counter_comp_u32_show() 261 err = __sysfs_match_string(avail->strs, avail->num_items, buf); in counter_comp_u32_store() 481 const char *const strs[], char *buf) in enums_available_show() argument 487 len += sysfs_emit_at(buf, len, "%s\n", strs[enums[index]]); in enums_available_show() 499 len += sysfs_emit_at(buf, len, "%s\n", avail->strs[index]); in strs_available_show()
|
/openbmc/linux/include/linux/ |
H A D | counter.h | 484 const char *const *strs; member 497 .strs = (_strs), \
|
H A D | cper.h | 563 const char * const strs[], unsigned int strs_size);
|
/openbmc/bmcweb/include/ |
H A D | openbmc_dbus_rest.hpp | 2136 std::vector<std::string> strs; in handleBusSystemPost() local 2138 bmcweb::split(strs, requestedPath, '/'); in handleBusSystemPost() 2142 auto it = strs.begin(); in handleBusSystemPost() 2143 if (it == strs.end()) in handleBusSystemPost() 2147 while (it != strs.end()) in handleBusSystemPost() 2165 if (it != strs.end()) in handleBusSystemPost() 2171 if (it != strs.end()) in handleBusSystemPost() 2177 if (it != strs.end()) in handleBusSystemPost()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 1010 if (!arg->stat || !arg->info || !arg->strs) in vmw_mksstat_add_ioctl() 1057 pdesc->strsStartVA = arg->strs; in vmw_mksstat_add_ioctl() 1088 nr_pinned_strs = pin_user_pages_fast(arg->strs, num_pages_strs, FOLL_LONGTERM, pages_strs); in vmw_mksstat_add_ioctl()
|
/openbmc/linux/security/apparmor/ |
H A D | policy_unpack.c | 459 static bool unpack_trans_table(struct aa_ext *e, struct aa_str_table *strs) in unpack_trans_table() argument 481 strs->table = table; in unpack_trans_table() 482 strs->size = size; in unpack_trans_table() 529 aa_free_str_table(strs); in unpack_trans_table()
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | cper.c | 84 const char * const strs[], unsigned int strs_size) in cper_print_bits() argument 93 str = strs[i]; in cper_print_bits()
|
/openbmc/linux/include/uapi/drm/ |
H A D | vmwgfx_drm.h | 1268 __u64 strs; member
|
/openbmc/linux/sound/core/ |
H A D | pcm.c | 1025 static const char *strs[SNDRV_PCM_CLASS_LAST + 1] = { in pcm_class_show() local 1035 str = strs[pcm->dev_class]; in pcm_class_show()
|
/openbmc/linux/tools/testing/kunit/ |
H A D | kunit_tool_test.py | 349 def line_stream_from_strs(strs: Iterable[str]) -> kunit_parser.LineStream: 350 return kunit_parser.LineStream(enumerate(strs, start=1))
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 521 const struct hclge_comm_stats_str strs[], in hclge_comm_get_count() argument 528 if (strs[i].stats_num <= hdev->ae_dev->dev_specs.mac_stats_num) in hclge_comm_get_count() 535 const struct hclge_comm_stats_str strs[], in hclge_comm_get_stats() argument 542 if (strs[i].stats_num > hdev->ae_dev->dev_specs.mac_stats_num) in hclge_comm_get_stats() 545 *buf = HCLGE_STATS_READ(&hdev->mac_stats, strs[i].offset); in hclge_comm_get_stats() 553 const struct hclge_comm_stats_str strs[], in hclge_comm_get_strings() argument 563 if (strs[i].stats_num > hdev->ae_dev->dev_specs.mac_stats_num) in hclge_comm_get_strings() 566 snprintf(buff, ETH_GSTRING_LEN, "%s", strs[i].desc); in hclge_comm_get_strings()
|
/openbmc/qemu/migration/ |
H A D | rdma.c | 219 static const char *strs[] = { in control_desc() local 238 return strs[rdma_control]; in control_desc()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 7991 static void dump_btf_strings(const char *strs, __u32 len) in dump_btf_strings() argument 7993 const char *cur = strs; in dump_btf_strings() 7996 while (cur < strs + len) { in dump_btf_strings()
|