| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | map_ptr_kern.c | 24 #define VERIFY(expr) ({ \ macro 41 VERIFY(map->map_type == g_map_type); in check_bpf_map_fields() 42 VERIFY(map->key_size == key_size); in check_bpf_map_fields() 43 VERIFY(map->value_size == value_size); in check_bpf_map_fields() 44 VERIFY(map->max_entries == max_entries); in check_bpf_map_fields() 45 VERIFY(map->id > 0); in check_bpf_map_fields() 53 VERIFY(indirect->map_type == direct->map_type); in check_bpf_map_ptr() 54 VERIFY(indirect->key_size == direct->key_size); in check_bpf_map_ptr() 55 VERIFY(indirect->value_size == direct->value_size); in check_bpf_map_ptr() 56 VERIFY(indirect->max_entries == direct->max_entries); in check_bpf_map_ptr() [all …]
|
| /linux/scripts/ |
| H A D | get_dvb_firmware | 60 verify("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $hash); 80 verify("$tmpdir/ZEnglish/sc_main.mc", $hash); 98 verify("$tmpdir/fwtmp", $hash); 116 verify("$tmpdir/fwtmp", $hash); 134 verify("$tmpdir/fwtmp", $hash); 149 verify($sourcefile, $hash); 166 verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_T.bin", $hash); 183 verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_X.bin", $hash); 200 verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_S.bin", $hash); 216 verify("$tmpdir/fw1part1-1","5e0909858fdf0b5b09ad48b9fe622e70"); [all …]
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | ethtool_mm.sh | 59 ethtool --set-mm $tx verify-enabled on tx-enabled on 64 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 74 ethtool --set-mm $tx verify-enabled off tx-enabled off 97 ethtool --set-mm $tx verify-enabled off tx-enabled on 99 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 109 ethtool --set-mm $tx verify-enabled off tx-enabled off 132 ethtool --set-mm $tx verify-enabled on tx-enabled on 137 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 147 ethtool --set-mm $tx verify-enabled off tx-enabled off 264 ethtool --set-mm $h1 pmac-enabled on tx-enabled off verify-enabled off [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-init.rst | 45 `cache` constrained, userspace should verify cache device 48 `era` constrained, userspace should verify metadata device 51 `log-writes` constrained, userspace should verify metadata device 52 `mirror` constrained, userspace should verify main/mirror device 53 `raid` constrained, userspace should verify metadata device 54 `snapshot` constrained, userspace should verify src/dst device 56 `snapshot-merge` constrained, userspace should verify src/dst device 58 `switch` constrained, userspace should verify dev path 62 `writecache` constrained, userspace should verify cache device
|
| /linux/net/llc/ |
| H A D | llc_s_ac.c | 35 * UNITDATA INDICATION; verify our event is the kind we expect 70 * event. Verify the primitive is a UNITDATA REQUEST. 89 * primitive from the network layer. Verify event is a primitive type 90 * event. Verify the primitive is a XID REQUEST. 109 * command PDU. Verify event is a PDU type event 140 * primitive from the network layer. Verify event is a primitive type 141 * event; verify the primitive is a TEST REQUEST. 188 * Report data link status to layer management. Verify our event is the 216 * primitive. Verify our event is a PDU type event.
|
| /linux/tools/testing/selftests/livepatch/ |
| H A D | test-livepatch.sh | 16 # verify correct behavior 51 # verify correct behavior 52 # - load another livepatch and verify that both livepatches are active 53 # - unload the second livepatch and verify that the first is still active 54 # - unload the first livepatch and verify none are active 111 # verify correct behavior 116 # - remove all livepatches besides the atomic replace one and verify that the 118 # - remove the atomic replace livepatch and verify that none are active
|
| H A D | test-ftrace.sh | 12 # - turn ftrace_enabled OFF and verify livepatches can't load 13 # - turn ftrace_enabled ON and verify livepatch can load 14 # - verify that ftrace_enabled can't be turned OFF while a livepatch is loaded 64 # - verify livepatch can load
|
| /linux/fs/verity/ |
| H A D | verify.c | 55 * Using PG_checked also guarantees that we re-verify hash pages that in is_hash_block_verified() 107 * Verify the hash of a single data block against the file's Merkle tree. 109 * In principle, we need to verify the entire path to the root node. However, 112 * verify the path to that block. 158 * to verify that any data blocks fully past EOF are all zeroes. in verify_data_block() 253 /* Finally, verify the hash of the data block. */ in verify_data_block() 361 * fsverity_verify_blocks() - verify data in a folio 362 * @folio: the folio containing the data to verify 363 * @len: the length of the data to verify in the folio 364 * @offset: the offset of the data to verify in the folio [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | cmd.c | 296 /* First, verify that the master reports correct status */ in mlx4_comm_cmd_poll() 1068 .verify = NULL, 1077 .verify = NULL, 1086 .verify = NULL, 1095 .verify = NULL, 1104 .verify = NULL, 1113 .verify = NULL, 1122 .verify = NULL, 1131 .verify = NULL, 1140 .verify = NULL, [all …]
|
| /linux/tools/tracing/rtla/tests/ |
| H A D | osnoise.t | 8 check "verify help page" \ 10 check "verify the --priority/-P param" \ 13 check "verify the --stop/-s param" \ 15 check "verify the --trace param" \ 17 check "verify the --entries/-E param" \
|
| H A D | timerlat.t | 23 check "verify help page" \ 25 check "verify -s/--stack" \ 27 check "verify -P/--priority" \ 40 check "verify -c/--cpus" \
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_bpftool_synctypes.py | 474 def verify(first_set, second_set, message): function 490 Verify that bpftool's code, help messages, documentation and bash 530 verify(source_map_types, help_map_types, 532 verify(source_map_types, man_map_types, 534 verify(help_map_options, man_map_options, 556 verify(source_prog_attach_types, help_prog_attach_types, 558 verify(source_prog_attach_types, man_prog_attach_types, 560 verify(help_prog_options, man_prog_options, 562 verify(source_prog_attach_types, bashcomp_prog_attach_types, 579 verify(source_cgroup_attach_types, help_cgroup_attach_types, [all …]
|
| /linux/tools/testing/selftests/memfd/ |
| H A D | memfd_test.c | 361 /* verify PROT_READ *is* allowed */ in mfd_assert_read() 374 /* verify MAP_PRIVATE is *always* allowed (even writable) */ in mfd_assert_read() 393 /* verify PROT_READ and MAP_SHARED *is* allowed */ in mfd_assert_read_shared() 449 * verify everything else here. in mfd_assert_write() 452 /* verify write() succeeds */ in mfd_assert_write() 460 /* verify PROT_READ | PROT_WRITE is allowed */ in mfd_assert_write() 474 /* verify PROT_WRITE is allowed */ in mfd_assert_write() 488 /* verify PROT_READ with MAP_SHARED is allowed and a following in mfd_assert_write() 510 /* verify PUNCH_HOLE works */ in mfd_assert_write() 527 /* verify write() fails */ in mfd_fail_write() [all …]
|
| /linux/tools/testing/selftests/sysctl/ |
| H A D | sysctl.sh | 167 verify() function 226 if ! verify "${TEST_FILE}"; then 234 if verify "${TARGET}"; then 243 if ! verify "${TARGET}"; then 252 if verify "${TARGET}"; then 266 if ! verify "${TARGET}"; then 276 if ! verify "${TARGET}"; then 286 if verify "${TARGET}"; then 297 if verify "${TARGET}"; then 369 if ! verify "${TARGET}"; then [all …]
|
| /linux/drivers/mtd/tests/ |
| H A D | mtd_nandecctest.c | 30 int (*verify)(void *, void *, void *, const size_t); member 204 .verify = no_bit_error_verify, 209 .verify = single_bit_error_correct, 214 .verify = single_bit_error_correct, 219 .verify = double_bit_error_detect, 224 .verify = double_bit_error_detect, 229 .verify = double_bit_error_detect, 274 err = nand_ecc_test[i].verify(error_data, error_ecc, in nand_ecc_test_run()
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_tlv.c | 15 /* verify pointer is not NULL */ in fm10k_tlv_msg_init() 40 /* verify pointers are not NULL */ in fm10k_tlv_attr_put_null_string() 88 /* verify pointers are not NULL */ in fm10k_tlv_attr_get_null_string() 118 /* verify pointers are not NULL */ in fm10k_tlv_attr_put_mac_vlan() 151 /* verify pointers are not NULL */ in fm10k_tlv_attr_get_mac_vlan() 174 /* verify pointers are not NULL */ in fm10k_tlv_attr_put_bool() 202 /* verify non-null msg and len is 1, 2, 4, or 8 */ in fm10k_tlv_attr_put_value() 240 /* verify pointers are not NULL */ in fm10k_tlv_attr_get_value() 277 /* verify non-null msg and len is in 32 bit words */ in fm10k_tlv_attr_put_le_struct() 314 /* verify pointers are not NULL */ in fm10k_tlv_attr_get_le_struct() [all …]
|
| /linux/kernel/time/ |
| H A D | clocksource-wdtest.c | 114 * Verify that jiffies-like clocksources get the manually in wdtest_func() 117 pr_info("--- Verify jiffies-like uncertainty margin.\n"); in wdtest_func() 129 * Verify that tsc-like clocksources are assigned a reasonable in wdtest_func() 132 pr_info("--- Verify tsc-like uncertainty margin.\n"); in wdtest_func() 143 /* Verify tsc-like stability with various numbers of errors injected. */ in wdtest_func() 161 /* Verify tsc-like stability with clock-value-fuzz error injection. */ in wdtest_func()
|
| /linux/tools/testing/selftests/net/ |
| H A D | fq_band_pktlimit.sh | 4 # Verify that FQ has a packet limit per band: 7 # 2. send 20 pkts on band A: verify that 10 are queued, 10 dropped 8 # 3. send 20 pkts on band A: verify that 0 are queued, 20 dropped 9 # 4. send 20 pkts on band B: verify that 10 are queued, 10 dropped
|
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | seq-ext.c | 7 * that there won't be any delayed packets that will fail to verify 127 synchronize_threads(); /* 5: verify the connection during SEQ-number rollover */ in server_fn() 138 synchronize_threads(); /* 6: verify counters after SEQ-number rollover */ in server_fn() 195 test_fail("pre-migrate verify failed"); in client_fn() 218 synchronize_threads(); /* 5: verify the connection during SEQ-number rollover */ in client_fn() 220 test_fail("post-migrate verify failed"); in client_fn() 224 synchronize_threads(); /* 5: verify counters after SEQ-number rollover */ in client_fn()
|
| /linux/tools/testing/selftests/perf_events/ |
| H A D | remove_on_exec.c | 99 /* Verify event propagates to fork'd child. */ 118 * Verify that event does _not_ propagate to fork+exec'd child; event enabled 160 /* Verify removal from child did not affect this task's event. */ in TEST_F() 169 * Verify that event does _not_ propagate to fork+exec'd child; event enabled 193 /* Verify removal from child did not affect this task's event. */ in TEST_F() 223 /* Verify event is still alive. */ in TEST_F()
|
| /linux/net/sched/ |
| H A D | sch_mqprio_lib.c | 35 /* Verify the queue count is in tx range being equal to the in mqprio_validate_queue_counts() 50 /* Verify that the offset and counts do not overlap */ in mqprio_validate_queue_counts() 75 /* Verify num_tc is not out of max range */ in mqprio_validate_qopt() 82 /* Verify priority mapping uses valid tcs */ in mqprio_validate_qopt()
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | siocgskns_test.c | 38 * Create a socket and verify SIOCGSKNS returns the correct network namespace. 62 /* Verify they match */ in TEST() 241 /* Verify all return the same network namespace */ in TEST() 261 * Create a socket in netns A, switch to netns B, verify SIOCGSKNS still 296 /* Verify it still points to netns A */ in TEST() 338 * Create multiple sockets, verify closing some doesn't affect others. 373 /* Verify all point to same netns */ in TEST() 406 * Verify that as long as the socket FD exists, the namespace remains active. 566 /* Verify it matches current namespace */ in TEST() 581 * Verify that a network namespace kept alive by a socket FD appears in [all …]
|
| H A D | stress_test.c | 78 /* Verify we're back to baseline (no leaked namespaces) */ in TEST() 88 * Verify that listns() correctly tracks all of them and that they all 201 /* Verify we're back to baseline */ in TEST() 264 /* Verify we're back to baseline */ in TEST() 274 * Create deeply nested namespace hierarchies and verify proper cleanup. 332 /* Verify we're back to baseline */ in TEST() 342 * Create many namespaces and verify pagination works correctly. 446 /* Verify no duplicates in pagination */ in TEST() 550 /* Verify we're back to baseline */ in TEST() 618 /* Verify we're back to baseline */ in TEST()
|
| /linux/drivers/scsi/ |
| H A D | constants.c | 43 /* 13-16 */ "Verify(6)", "Recover Buffered Data", "Mode Select(6)", 53 /* 2e-31 */ "Write Verify(10)", "Verify(10)", "Search High", "Search Equal", 57 /* 38-3c */ "Medium Scan", "Compare", "Copy Verify", "Write Buffer", 83 "Write and verify(16)", "Verify(16)", 95 "Read DVD structure", "Write and verify(12)", 96 /* af-b1 */ "Verify(12)", "Search data high(12)", "Search data equal(12)", 214 {0xa, "Verify(32)"}, 216 {0xc, "Write an verify(32)"},
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | vmx_pmu_caps_test.c | 80 * Verify that guest WRMSRs to PERF_CAPABILITIES #GP regardless of the value 121 * Verify KVM allows writing PERF_CAPABILITIES with all KVM-supported features 144 * Verify KVM rejects attempts to set unsupported and/or immutable features in 167 * disable LBR support). Verify KVM rejects all other LBR formats. in KVM_ONE_VCPU_TEST() 190 * Test that LBR MSRs are writable when LBRs are enabled, and then verify that
|