/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/tools/tracing/rtla/tests/ |
H A D | osnoise.t | 8 check "verify help page" \ 10 check "verify the --priority/-P param" \ 12 check "verify the --stop/-s param" \ 14 check "verify the --trace param" \ 16 check "verify the --entries/-E param" \
|
H A D | timerlat.t | 8 check "verify help page" \ 10 check "verify -s/--stack" \ 12 check "verify -P/--priority" \ 22 check "verify -c/--cpus" \
|
/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/fs/verity/ |
H A D | verify.c | 30 * Using PG_checked also guarantees that we re-verify hash pages that in is_hash_block_verified() 82 * Verify a single data block against the file's Merkle tree. 84 * In principle, we need to verify the entire path to the root node. However, 87 * verify the path to that block. 128 * to verify that any data blocks fully past EOF are all zeroes. in verify_data_block() 224 /* Finally, verify the data block. */ in verify_data_block() 276 * fsverity_verify_blocks() - verify data in a folio 277 * @folio: the folio containing the data to verify 278 * @len: the length of the data to verify in the folio 279 * @offset: the offset of the data to verify in the folio [all …]
|
/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/lib/ |
H A D | memcpy_kunit.c | 79 /* Verify static initializers. */ in memcpy_test() 84 /* Verify assignment. */ in memcpy_test() 88 /* Verify complete overwrite. */ in memcpy_test() 92 /* Verify middle overwrite. */ in memcpy_test() 97 /* Verify argument side-effects aren't repeated. */ in memcpy_test() 153 /* Verify static initializers. */ in memmove_test() 158 /* Verify assignment. */ in memmove_test() 162 /* Verify complete overwrite. */ in memmove_test() 166 /* Verify middle overwrite. */ in memmove_test() 171 /* Verify argument side-effects aren't repeated. */ in memmove_test() [all …]
|
/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
|
/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/testing/selftests/sysctl/ |
H A D | sysctl.sh | 166 verify() function 225 if ! verify "${TEST_FILE}"; then 233 if verify "${TARGET}"; then 242 if ! verify "${TARGET}"; then 251 if verify "${TARGET}"; then 265 if ! verify "${TARGET}"; then 275 if ! verify "${TARGET}"; then 285 if verify "${TARGET}"; then 296 if verify "${TARGET}"; then 368 if ! verify "${TARGET}"; then [all …]
|
/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/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_vf.c | 82 /* Clear reset bit and verify it was cleared */ in fm10k_reset_hw_vf() 101 /* verify we have at least 1 queue */ in fm10k_init_hw_vf() 110 /* verify the Descriptor cache offsets are increasing */ in fm10k_init_hw_vf() 115 /* check to verify the PF doesn't own any of our queues */ in fm10k_init_hw_vf() 172 /* verify the index is not set */ in fm10k_update_vlan_vf() 176 /* clever trick to verify reserved bits in both vid and length */ in fm10k_update_vlan_vf() 278 /* verify VLAN ID is valid */ in fm10k_update_uc_addr_vf() 282 /* verify MAC address is valid */ in fm10k_update_uc_addr_vf() 286 /* verify we are not locked down on the MAC address */ in fm10k_update_uc_addr_vf() 321 /* verify VLAN ID is valid */ in fm10k_update_mc_addr_vf() [all …]
|
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/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/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/crypto/asymmetric_keys/ |
H A D | pkcs7_verify.c | 2 /* Verify the signature on a PKCS#7 message. 153 * Find the key (X.509 certificate) to use to verify a PKCS#7 message. PKCS#7 191 * Verify the internal certificate chain as best we can. 207 pr_debug("verify %s: %*phN\n", in pkcs7_verify_sig_chain() 314 * Verify one signed information block from a PKCS#7 message. 353 /* Verify the PKCS#7 binary against the key */ in pkcs7_verify_one() 360 /* Verify the internal certificate chain */ in pkcs7_verify_one() 365 * pkcs7_verify - Verify a PKCS#7 message 369 * Verify a PKCS#7 message is internally consistent - that is, the data digest 465 * pkcs7_supply_detached_data - Supply the data needed to verify a PKCS#7 message [all …]
|
/linux/arch/x86/boot/ |
H A D | genimage.sh | 48 # Verify the existence and readability of a file 49 verify() { function 68 verify "$FBZIMAGE" 202 verify "$MTOOLSRC" 209 verify "$MTOOLSRC" 217 verify "$MTOOLSRC" 225 verify "$MTOOLSRC"
|
/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/powerpc/ptrace/ |
H A D | ptrace-pkey.c | 138 * verify them, but we can verify that the AMR didn't change. in child() 186 /* Verify that we can read the pkey registers from the child. */ in parent() 203 /* Wake up child so that it can verify it changed. */ in parent() 217 /* Wake up child so that it can verify it didn't change. */ in parent() 242 /* Verify that all registers still have their expected values. */ in parent() 253 /* Wake up child so that it can verify AMR didn't change and wrap up. */ in parent()
|