| /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/acpi/acpica/ |
| H A D | dscontrol.c | 272 (walk_state->results->results.obj_desc[0]) == in acpi_ds_exec_end_control_op() 274 && ((walk_state->results->results.obj_desc[0])-> in acpi_ds_exec_end_control_op() 276 && ((walk_state->results->results.obj_desc[0])-> in acpi_ds_exec_end_control_op() 280 results->results. in acpi_ds_exec_end_control_op() 289 walk_state->results->results.obj_desc[0]; in acpi_ds_exec_end_control_op()
|
| H A D | dswstate.c | 47 state = walk_state->results; in acpi_ds_result_pop() 74 *object = state->results.obj_desc[index]; in acpi_ds_result_pop() 82 state->results.obj_desc[index] = NULL; in acpi_ds_result_pop() 141 state = walk_state->results; in acpi_ds_result_push() 157 state->results.obj_desc[index] = object; in acpi_ds_result_push() 204 acpi_ut_push_generic_state(&walk_state->results, state); in acpi_ds_result_stack_push() 236 if (walk_state->results == NULL) { in acpi_ds_result_stack_pop() 248 state = acpi_ut_pop_generic_state(&walk_state->results); in acpi_ds_result_stack_pop() 719 while (walk_state->results) { in acpi_ds_delete_walk_state() 720 state = walk_state->results; in acpi_ds_delete_walk_state() [all …]
|
| /linux/tools/net/sunrpc/xdrgen/generators/ |
| H A D | program.py | 47 results = dict.fromkeys([]) 50 results[procedure.result.type_name] = None 51 if len(results) > 0: 54 for result in results: 76 results = dict.fromkeys([]) 79 results[procedure.result.type_name] = None 82 for result in results: 104 results = dict.fromkeys([]) 107 results[procedure.result.type_name] = None 110 for result in results:
|
| /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/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_tlv.c | 414 struct fbnic_tlv_msg **results, in fbnic_tlv_attr_parse_array() argument 421 memset(results, 0, array_len * sizeof(results[0])); in fbnic_tlv_attr_parse_array() 444 results[i++] = attr; in fbnic_tlv_attr_parse_array() 467 struct fbnic_tlv_msg **results, in fbnic_tlv_attr_parse() argument 471 memset(results, 0, sizeof(results[0]) * FBNIC_TLV_RESULTS_MAX); in fbnic_tlv_attr_parse() 490 if (results[attr_id]) in fbnic_tlv_attr_parse() 493 results[attr_id] = attr; in fbnic_tlv_attr_parse() 518 struct fbnic_tlv_msg *results[FBNIC_TLV_RESULTS_MAX]; in fbnic_tlv_msg_parse() local 535 results, parser->attr); in fbnic_tlv_msg_parse() 539 return parser->func(opaque, results); in fbnic_tlv_msg_parse() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_workarounds.c | 188 print_results(const struct intel_engine_cs *engine, const u32 *results) in print_results() argument 194 u32 actual = results[i]; in print_results() 204 struct drm_i915_gem_object *results; in check_whitelist() local 210 results = read_nonprivs(ce); in check_whitelist() 211 if (IS_ERR(results)) in check_whitelist() 212 return PTR_ERR(results); in check_whitelist() 215 i915_gem_object_lock(results, NULL); in check_whitelist() 217 err = i915_gem_object_set_to_cpu_domain(results, false); in check_whitelist() 224 vaddr = i915_gem_object_pin_map(results, I915_MAP_WB); in check_whitelist() 244 i915_gem_object_unpin_map(results); in check_whitelist() [all …]
|
| /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/tools/perf/tests/shell/lib/ |
| H A D | perf_metric_validation.py | 55 self.results = dict() # metric results of current workload 100 return self.results.get(idx) 152 results = [] 153 data = self.results[ridx] if ridx in self.results else self.results[0] 156 results.append(data[name]) 158 results.append(float(name)) 161 return results 178 results = self.get_results() 179 if not results: 181 for name, val in results.items(): [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/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
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 131 snprintf(_metadata->results->reason, \ 132 sizeof(_metadata->results->reason), fmt, ##__VA_ARGS__); \ 135 _metadata->results->reason); \ 930 struct __test_results *results; in __test_passed() 1208 memset(t->results->reason, 0, sizeof(t->results->reason)); in __run_test() 1241 if (t->results->reason[0]) in __run_test() 1242 diagnostic = t->results->reason; in __run_test() 1257 struct __test_results *results; in test_harness_run() 1281 results in test_harness_run() 924 struct __test_results *results; global() member 1251 struct __test_results *results; test_harness_run() local [all...] |
| /linux/tools/perf/tests/shell/ |
| H A D | stat+shadow_stat.sh | 67 results="$results $cpu:$num" 71 cyc=${results##* $cpu:}
|
| /linux/arch/x86/math-emu/ |
| H A D | README | 195 The following results show the improvement which is obtained under 231 The results of the basic arithmetic functions (+,-,*,/), and fsqrt 234 return exact results; they have no error. 239 each function was tested at about 400 points. Ideal worst-case results 277 for operands close to pi/2. Measured results are (note that the 303 Prior to version 1.20 of the emulator, the accuracy of the results for 305 good as the results from an 80486 FPU. From version 1.20, the accuracy 307 worst-case results which are better than the worst-case results given 310 The following table gives the measured results for the emulator. The 316 The results show that the fsin, fcos and fptan instructions return [all …]
|
| /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/drivers/parisc/ |
| H A D | superio.c | 96 u8 results; in superio_interrupt() local 102 results = inb(IC_PIC1+0); in superio_interrupt() 109 if ((results & 0x80) == 0) { in superio_interrupt() 118 local_irq = results & 0x0f; in superio_interrupt() 130 results = inb(IC_PIC1+0); in superio_interrupt() 131 if ((results & 0x80) == 0) { /* if ISR7 not set: spurious */ in superio_interrupt()
|
| /linux/tools/lib/python/kdoc/ |
| H A D | kdoc_files.py | 127 self.results[fname] = entries 208 self.results = {} 251 filenames = sorted(self.results.keys()) 274 if fname not in self.results: 278 symbols = self.results[fname]
|
| /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/drivers/thunderbolt/ |
| H A D | debugfs.c | 497 u32 results[3]; member 1154 params, margining->results); in margining_run_sw() 1162 margining->index, &margining->results[1]); in margining_run_sw() 1168 margining->results[1]); in margining_run_sw() 1171 margining->results[1]); in margining_run_sw() 1174 margining->results[1]); in margining_run_sw() 1176 errors = margining->results[1]; in margining_run_sw() 1265 memset(margining->results, 0, sizeof(margining->results)); in margining_run_write() 1300 margining->results, ARRAY_SIZE(margining->results)); in margining_run_write() 1328 memset(margining->results, 0, sizeof(margining->results)); in margining_results_write() [all …]
|
| /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()
|