| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_tlv.c | 471 static s32 fm10k_tlv_attr_parse(u32 *attr, u32 **results, in fm10k_tlv_attr_parse() argument 479 if (!attr || !results) in fm10k_tlv_attr_parse() 484 results[i] = NULL; in fm10k_tlv_attr_parse() 495 results[0] = attr; in fm10k_tlv_attr_parse() 515 results[attr_id] = attr; in fm10k_tlv_attr_parse() 548 u32 *results[FM10K_TLV_RESULTS_MAX]; in fm10k_tlv_msg_parse() local 573 err = fm10k_tlv_attr_parse(msg, results, data->attr); in fm10k_tlv_msg_parse() 577 return data->func(hw, results, mbx); in fm10k_tlv_msg_parse() 591 u32 __always_unused **results, in fm10k_tlv_msg_error() argument 707 s32 fm10k_tlv_msg_test(struct fm10k_hw *hw, u32 **results, in fm10k_tlv_msg_test() argument [all …]
|
| H A D | fm10k_iov.c | 8 static s32 fm10k_iov_msg_error(struct fm10k_hw *hw, u32 **results, in fm10k_iov_msg_error() argument 16 **results & FM10K_TLV_ID_MASK, vf_info->vf_idx); in fm10k_iov_msg_error() 18 return fm10k_tlv_msg_error(hw, results, mbx); in fm10k_iov_msg_error() 33 static s32 fm10k_iov_msg_queue_mac_vlan(struct fm10k_hw *hw, u32 **results, in fm10k_iov_msg_queue_mac_vlan() argument 49 if (!err && !!results[FM10K_MAC_VLAN_MSG_VLAN]) { in fm10k_iov_msg_queue_mac_vlan() 50 result = results[FM10K_MAC_VLAN_MSG_VLAN]; in fm10k_iov_msg_queue_mac_vlan() 88 if (!err && !!results[FM10K_MAC_VLAN_MSG_MAC]) { in fm10k_iov_msg_queue_mac_vlan() 89 result = results[FM10K_MAC_VLAN_MSG_MAC]; in fm10k_iov_msg_queue_mac_vlan() 115 if (!err && !!results[FM10K_MAC_VLAN_MSG_MULTICAST]) { in fm10k_iov_msg_queue_mac_vlan() 116 result = results[FM10K_MAC_VLAN_MSG_MULTICAST]; in fm10k_iov_msg_queue_mac_vlan()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_fw.c | 610 static int fbnic_fw_parse_cap_resp(void *opaque, struct fbnic_tlv_msg **results) in fbnic_fw_parse_cap_resp() argument 617 version = fta_get_uint(results, FBNIC_FW_CAP_RESP_VERSION); in fbnic_fw_parse_cap_resp() 638 if (fta_get_str(results, FBNIC_FW_CAP_RESP_VERSION_COMMIT_STR, in fbnic_fw_parse_cap_resp() 643 version = fta_get_uint(results, FBNIC_FW_CAP_RESP_STORED_VERSION); in fbnic_fw_parse_cap_resp() 645 fta_get_str(results, FBNIC_FW_CAP_RESP_STORED_COMMIT_STR, in fbnic_fw_parse_cap_resp() 649 version = fta_get_uint(results, FBNIC_FW_CAP_RESP_CMRT_VERSION); in fbnic_fw_parse_cap_resp() 651 fta_get_str(results, FBNIC_FW_CAP_RESP_CMRT_COMMIT_STR, in fbnic_fw_parse_cap_resp() 655 version = fta_get_uint(results, FBNIC_FW_CAP_RESP_STORED_CMRT_VERSION); in fbnic_fw_parse_cap_resp() 657 fta_get_str(results, FBNIC_FW_CAP_RESP_STORED_CMRT_COMMIT_STR, in fbnic_fw_parse_cap_resp() 661 version = fta_get_uint(results, FBNIC_FW_CAP_RESP_UEFI_VERSION); in fbnic_fw_parse_cap_resp() [all …]
|
| /linux/tools/perf/bench/ |
| H A D | pmu-scan.c | 41 static struct pmu_scan_result *results; variable 50 r = realloc(results, (nr_pmus + 1) * sizeof(*r)); in save_result() 54 results = r; in save_result() 55 r = results + nr_pmus; in save_result() 84 r = &results[i]; in check_result() 122 free(results[i].name); in delete_result() 123 free(results); in delete_result() 125 results = NULL; in delete_result()
|
| /linux/tools/net/sunrpc/xdrgen/generators/ |
| H A D | program.py | 50 results = dict.fromkeys([]) 55 results[procedure.result.type_name] = None 56 if len(results) > 0: 59 for result in results: 83 results = dict.fromkeys([]) 86 results[procedure.result.type_name] = None 89 for result in results: 111 results = dict.fromkeys([]) 116 results[procedure.result.type_name] = None 119 for result in results:
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | devlink_rate_tc_bw.py | 279 Runs parallel bandwidth measurements for each VLAN/TC pair and collects results. 281 def _run_measure_bandwidth_thread(local_ip, remote_ip, results, barrier, tc_ix): 282 results[tc_ix] = measure_bandwidth(cfg, local_ip, remote_ip, barrier) 290 results = {} 297 args=(local_ip, remote_ip, results, start_barrier, tc_ix) argument 305 for tc_ix, tc_bw in results.items(): 309 return results 312 def calculate_bandwidth_percentages(results): 316 if 3 not in results or 4 not in results 327 calculate_bandwidth_percentages(results) global() argument [all...] |
| /linux/scripts/ |
| H A D | generate_initcall_order.pl | 20 my $results = {}; # object index -> [ { level, secname }, ... ] 83 if (!exists($results->{$index})) { 84 $results->{$index} = []; 87 push (@{$results->{$index}}, { 231 foreach my $index (sort { $a <=> $b } keys(%{$results})) { 232 foreach my $result (@{$results->{$index}}) {
|
| /linux/drivers/acpi/ |
| H A D | acpi_adxl.c | 105 union acpi_object argv4[2], *results, *r; in adxl_decode() local 117 results = adxl_dsm(ADXL_IDX_FORWARD_TRANSLATE, argv4); in adxl_decode() 118 if (!results) in adxl_decode() 121 r = results->package.elements + 1; in adxl_decode() 124 ACPI_FREE(results); in adxl_decode() 132 ACPI_FREE(results); in adxl_decode()
|
| /linux/tools/perf/tests/shell/lib/ |
| H A D | perf_metric_validation.py | 51 self.allresults = dict() # metric results of all workload 55 self.results = dict() # metric results of current workload 57 # metrics with no results or negative results, neg result counts failed tests 100 return self.results.get(idx) 145 Get value of the metric from self.results. 150 @returns: list with value found in self.results; list is empty when value is not found. 152 results = [] 153 data = self.results[rid [all...] |
| /linux/tools/memory-model/scripts/ |
| H A D | README | 11 the results against the expected results recorded in the 18 documenting expected results, comparing the actual results to 35 expected results. This takes optional parseargs.sh arguments, 49 of processes given a specified timeout, recording the results 63 and record the results in .litmus.out files. 82 # Populate expected results without that change, and 93 # Compares results to those produced by initlitmushist.sh, 97 # Checks results against Result tags, runs in minutes:
|
| H A D | checklitmushist.sh | 34 mkdir $T/results 35 find litmus -type d -print | ( cd $T/results; sed -e 's/^/mkdir -p /' | sh ) 46 LKMM_DESTDIR=$T/results; export LKMM_DESTDIR 55 ( cd $T/results; find litmus -type f -name '*.litmus.out' -print |
|
| /linux/Documentation/dev-tools/kunit/ |
| H A D | run_manual.rst | 9 include KUnit in any kernel, read out results, and parse manually. 46 kernel boot. The results will be written to the kernel log (``dmesg``) 56 The results will appear in TAP format in ``dmesg``. 71 You can use debugfs to retrieve KUnit test results. The test results are 76 /sys/kernel/debug/kunit/<test_suite>/results 78 The test results are printed in a KTAP document. Note this document is separate 92 As a result, the test suite runs and the results are printed to the kernel
|
| H A D | architecture.rst | 20 - Reports test results 140 KUnit prints the test results in KTAP format. KTAP is based on TAP14, see 142 KTAP works with KUnit and Kselftest. The KUnit executor prints KTAP results to 160 is used to configure, build, execute, parse test results and run all of the 163 enabled and manually parse the results (see 187 - ``exec`` command executes kernel results either directly (using 189 as QEMU. It reads results from the log using standard 192 you can run the kernel and display the test results with the ``exec`` 195 the test results, and prints a summary. For failed tests, any
|
| H A D | running_tips.rst | 170 results to dmesg in TAP format. So you just need to add your tests to your 224 Pretty-printing results 228 results in the same familiar format that ``kunit.py run`` does. 235 Retrieving per suite results 239 ``CONFIG_KUNIT_DEBUGFS`` to expose per-suite TAP-formatted results: 247 The results for each suite will be exposed under 248 ``/sys/kernel/debug/kunit/<suite>/results``. 254 $ cat /sys/kernel/debug/kunit/example/results 259 $ cat /sys/kernel/debug/kunit/example/results 260 /sys/kernel/debug/kunit/example/results: No such file or directory
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 134 snprintf(_metadata->results->reason, \ 135 sizeof(_metadata->results->reason), fmt, ##__VA_ARGS__); \ 138 _metadata->results->reason); \ 933 struct __test_results *results; member 1212 memset(t->results->reason, 0, sizeof(t->results->reason)); in __run_test() 1254 if (t->results->reason[0]) in __run_test() 1255 diagnostic = t->results->reason; in __run_test() 1270 struct __test_results *results; in test_harness_run() local 1294 results = mmap(NULL, sizeof(*results), PROT_READ | PROT_WRITE, in test_harness_run() 1307 t->results = results; in test_harness_run() [all …]
|
| /linux/tools/perf/tests/shell/ |
| H A D | stat+shadow_stat.sh | 67 results="$results $cpu:$num" 71 cyc=${results##* $cpu:}
|
| /linux/Documentation/misc-devices/ |
| H A D | bh1770glc.rst | 23 but ALS side results are used to estimate reliability of the proximity sensor. 30 8 bit. Driver supports only one channel. Driver uses ALS results to estimate 31 reliability of the proximity results. Thus ALS is always running while 79 All results above the value 86 All results below the value 93 Output results are multiplied with calibscale / calibscale_default
|
| /linux/tools/testing/selftests/arm64/mte/ |
| H A D | check_gcr_el1_cswitch.c | 91 int results[NUM_ITERATIONS]; in mte_gcr_fork_test() local 114 results[i] = WEXITSTATUS(res); in mte_gcr_fork_test() 120 if (results[i] == KSFT_FAIL) in mte_gcr_fork_test()
|
| /linux/tools/lib/python/kdoc/ |
| H A D | kdoc_files.py | 187 # Prevent parsing the same file twice if results are cached 204 self.results[fname] = entries 211 # Prevent parsing the same file twice if results are cached 297 self.results = {} 333 Interacts over the kernel-doc results and output messages, 338 filenames = sorted(self.results.keys()) 356 if fname not in self.results: 360 symbols = self.results[fname]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_core_retro.c | 23 } results SEC(".maps"); 38 bpf_map_update_elem(&results, &zero, &tgid, 0); in handle_sys_enter()
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-wmi-base.c | 563 struct dell_dmi_results *results = opaque; in handle_dmi_entry() local 568 if (results->err || results->keymap) in handle_dmi_entry() 593 results->err = -ENOMEM; in handle_dmi_entry() 628 results->keymap = keymap; in handle_dmi_entry() 629 results->keymap_size = pos; in handle_dmi_entry()
|
| /linux/include/linux/ |
| H A D | radix-tree.h | 238 void **results, unsigned long first_index, 252 void **results, unsigned long first_index, 255 void __rcu ***results, unsigned long first_index,
|
| /linux/lib/ |
| H A D | radix-tree.c | 1262 radix_tree_gang_lookup(const struct radix_tree_root *root, void **results, in radix_tree_gang_lookup() argument 1273 results[ret] = rcu_dereference_raw(*slot); in radix_tree_gang_lookup() 1274 if (!results[ret]) in radix_tree_gang_lookup() 1276 if (radix_tree_is_internal_node(results[ret])) { in radix_tree_gang_lookup() 1302 radix_tree_gang_lookup_tag(const struct radix_tree_root *root, void **results, in radix_tree_gang_lookup_tag() argument 1314 results[ret] = rcu_dereference_raw(*slot); in radix_tree_gang_lookup_tag() 1315 if (!results[ret]) in radix_tree_gang_lookup_tag() 1317 if (radix_tree_is_internal_node(results[ret])) { in radix_tree_gang_lookup_tag() 1344 void __rcu ***results, unsigned long first_index, in radix_tree_gang_lookup_tag_slot() argument 1355 results[ret] = slot; in radix_tree_gang_lookup_tag_slot()
|
| /linux/tools/testing/selftests/amd-pstate/ |
| H A D | gitsource.sh | 62 rm -rf results/tracer-gitsource* 104 …awk '{print $5}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-d… 108 …awk '{print $7}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-f… 112 …awk '{print $11}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-…
|
| H A D | tbench.sh | 57 rm -rf results/tracer-tbench* 86 …awk '{print $5}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-d… 90 …awk '{print $7}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-f… 94 …awk '{print $11}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-…
|