/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_tlv.c | 461 * @results: Pointer array to store pointers to attributes 465 * up into an array of pointers stored in results. The function will 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() 482 /* initialize results to NULL */ 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 572 /* parse the attributes into the results list */ in fm10k_tlv_msg_parse() [all …]
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_tlv.c | 400 * fbnic_tlv_attr_parse_array - Parse array of attributes into results array 403 * @results: Array of pointers to store the results of parsing 406 * @array_len: Number of results to store in results array 411 * the results in the results array to have the data extracted later. 414 struct fbnic_tlv_msg **results, in fbnic_tlv_attr_parse_array() argument 420 /* Initialize results table to NULL. */ in fbnic_tlv_attr_parse_array() 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() 455 * fbnic_tlv_attr_parse - Parse attributes into a list of attribute results 458 * @results: Array of pointers to store the results of parsing [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 | 31 # Create the results directory and populate it with subdirectories. 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/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[ridx] if ridx in self.results else self.results[0] 156 results.append(data[name]) 158 results.append(float(name)) [all …]
|
/linux/Documentation/dev-tools/kunit/ |
H A D | run_manual.rst | 9 include KUnit in any kernel, read out results, and parse manually. 40 kernel boot. The results will be written to the kernel log (``dmesg``) 50 The results will appear in TAP format in ``dmesg``. 62 Retrieve Test Results 65 You can use debugfs to retrieve KUnit test results. The test results are 70 /sys/kernel/debug/kunit/<test_suite>/results 72 The test results are printed in a KTAP document. Note this document is separate 86 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/scripts/ |
H A D | generate_initcall_order.pl | 19 ## results from child processes 20 my $results = {}; # object index -> [ { level, secname }, ... ] 37 ## writes results to the parent process 57 ## reads a result line from a child process and adds it to the $results array 83 if (!exists($results->{$index})) { 84 $results->{$index} = []; 87 push (@{$results->{$index}}, { 96 ## writes results back to the parent process 153 ## waits for any child process to complete, reads the results, and adds them to 154 ## the $results array for later processing [all …]
|
/linux/tools/testing/selftests/resctrl/ |
H A D | cache.c | 80 ksft_perror("Failed to open results file"); in get_llc_occu_resctrl() 96 * print_results_cache: the cache results are stored in a file 97 * @filename: file that stores the results 113 ksft_perror("Cannot open results file"); in print_results_cache() 126 * @filename: Filename for writing the results 129 * Measures perf events (e.g., cache misses) and writes the results into 130 * @filename. @bm_pid is written to the results file along with the measured 156 * @filename: Filename for writing the results 159 * Measures LLC occupancy from resctrl and writes the results into @filename. 160 * @bm_pid is written to the results file along with the measured value.
|
/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/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/tools/perf/pmu-events/arch/arm64/arm/cortex-a65-e1/ |
H A D | cache.json | 189 … event occurs when a requestor outside the PE makes a coherency request that results in writeback", 192 …s event occurs when a requestor outside the PE makes a coherency request that results in writeback" 195 …nt occurs when a requestor outside the PE makes a coherency request that results in level 2 data c… 198 …nt occurs when a requestor outside the PE makes a coherency request that results in level 2 data c… 201 …nt occurs when a requestor outside the PE makes a coherency request that results in level 2 data c… 204 …nt occurs when a requestor outside the PE makes a coherency request that results in level 2 data c… 207 …nt occurs when a requestor outside the PE makes a coherency request that results in level 3 data c… 210 …nt occurs when a requestor outside the PE makes a coherency request that results in level 3 data c… 213 …nt occurs when a requestor outside the PE makes a coherency request that results in level 3 data c… 216 …nt occurs when a requestor outside the PE makes a coherency request that results in level 3 data c… [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 | 295 Launches iperf3 client threads for each VLAN/TC pair and collects results. 297 def _run_iperf_client_thread(server_ip, local_ip, results, barrier, tc_ix): argument 298 results[tc_ix] = run_iperf_client(server_ip, local_ip, barrier) 306 results = {} 313 args=(remote_ip, local_ip, results, start_barrier, tc_ix) 321 for tc_ix, tc_bw in results.items(): 325 return results 327 def calculate_bandwidth_percentages(results): argument 331 if 3 not in results or 4 not in results: 332 raise KsftFailEx(f"Missing expected TC results in {results}") [all …]
|
/linux/tools/perf/bench/ |
H A D | pmu-scan.c | 40 static struct pmu_scan_result *results; variable 49 r = realloc(results, (nr_pmus + 1) * sizeof(*r)); in save_result() 53 results = r; in save_result() 54 r = results + nr_pmus; in save_result() 83 r = &results[i]; in check_result() 121 free(results[i].name); in delete_result() 122 free(results); in delete_result() 124 results = NULL; in delete_result()
|
/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
|
H A D | apds990x.rst | 35 selects suitable gain step. After each measurement, reliability of the results 81 Output results are multiplied with calibscale / calibscale_default 90 All results above the value 97 All results below the value
|
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/ |
H A D | tlb.json | 4 …nly counts once. This event will not count if the translation table walk results in a fault (such … 8 …er the miss hits in L2 or results in a translation table walk. This event will not count if the tr… 36 …er the miss hits in L2 or results in a translation table walk. This event will not count if the tr… 40 … whether the miss hits in L2 or results in a translation table walk. This event will not count if …
|
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/ |
H A D | tlb.json | 4 …nly counts once. This event will not count if the translation table walk results in a fault (such … 8 …er the miss hits in L2 or results in a translation table walk. This event will not count if the tr… 36 …er the miss hits in L2 or results in a translation table walk. This event will not count if the tr… 40 … whether the miss hits in L2 or results in a translation table walk. This event will not count if …
|
/linux/scripts/lib/kdoc/ |
H A D | kdoc_files.py | 115 # Prevent parsing the same file twice if results are cached 127 self.results[fname] = entries 134 # Prevent parsing the same file twice if results are cached 208 self.results = {} 244 Interacts over the kernel-doc results and output messages, 251 filenames = sorted(self.results.keys()) 274 if fname not in self.results: 278 for arg in self.results[fname]:
|
/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()
|
/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/lib/ |
H A D | radix-tree.c | 527 * also results in a stale slot). So tag the slot as indirect in radix_tree_shrink() 1244 * @results: where the results of the lookup are placed 1246 * @max_items: place up to this many items at *results 1249 * them at *@results and returns the number of items which were placed at 1250 * *@results. 1255 * rcu_read_lock. In this case, rather than the returned results being 1258 * radix_tree_lookups have been issued in individual locks, and results 1259 * stored in 'results'. 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() [all …]
|
/linux/tools/testing/kunit/ |
H A D | kunit_parser.py | 3 # Parses KTAP test results from a kernel dmesg log and incrementally prints 4 # results with reader-friendly format. Stores and returns test results in a 24 A class to represent a test parsed from KTAP results. All KTAP 25 results within a test log are stored in a main Test object as 285 printer - Printer object to output results 405 printer - Printer object to output results 504 printer - Printer object to output results 534 printer - Printer object to output results 573 printer - Printer object to output results [all...] |
/linux/tools/testing/selftests/net/bench/ |
H A D | test_bench_page_pool.sh | 18 echo "Fast path results:" 22 echo "ptr_ring results:" 26 echo "slow path results:"
|