/linux-6.14.4/mm/kfence/ |
D | kfence_test.c | 36 #define KFENCE_TEST_REQUIRES(test, cond) do { \ argument 186 static size_t setup_test_cache(struct kunit *test, size_t size, slab_flags_t flags, in setup_test_cache() 245 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc() 248 unsigned long timeout, resched_after; in test_alloc() local 319 static void test_out_of_bounds_read(struct kunit *test) in test_out_of_bounds_read() 353 static void test_out_of_bounds_write(struct kunit *test) in test_out_of_bounds_write() 371 static void test_use_after_free_read(struct kunit *test) in test_use_after_free_read() 387 static void test_use_after_free_read_nofault(struct kunit *test) in test_use_after_free_read_nofault() 403 static void test_double_free(struct kunit *test) in test_double_free() 418 static void test_invalid_addr_free(struct kunit *test) in test_invalid_addr_free() [all …]
|
/linux-6.14.4/lib/ |
D | test_objpool.c | 64 struct ot_test *test; /* test parameters */ member 85 static void *ot_kzalloc(struct ot_test *test, long size) in ot_kzalloc() 94 static void ot_kfree(struct ot_test *test, void *ptr, long size) in ot_kfree() 102 static void ot_mem_report(struct ot_test *test) in ot_mem_report() 128 struct ot_test *test; /* test parameters */ member 159 struct ot_test *test = item->test; in ot_hrtimer_handler() local 199 struct ot_test *test, in ot_init_cpu_item() 220 struct ot_test *test = item->test; in ot_thread_worker() local 242 static void ot_perf_report(struct ot_test *test, u64 duration) in ot_perf_report() 285 static struct ot_context *ot_init_sync_m0(struct ot_test *test) in ot_init_sync_m0() [all …]
|
/linux-6.14.4/drivers/gpu/drm/xe/tests/ |
D | xe_bo.c | 26 struct kunit *test) in ccs_test_migrate() 32 long timeout; in ccs_test_migrate() local 127 struct kunit *test) in ccs_test_run_tile() 172 struct kunit *test = kunit_get_current_test(); in ccs_test_run_device() local 201 static void xe_ccs_migrate_kunit(struct kunit *test) in xe_ccs_migrate_kunit() 208 static int evict_test_run_tile(struct xe_device *xe, struct xe_tile *tile, struct kunit *test) in evict_test_run_tile() 348 struct kunit *test = kunit_get_current_test(); in evict_test_run_device() local 367 static void xe_bo_evict_kunit(struct kunit *test) in xe_bo_evict_kunit() 404 static bool shrink_test_verify(struct kunit *test, struct xe_bo *bo, in shrink_test_verify() 446 struct kunit *test = kunit_get_current_test(); in shrink_test_run_device() local [all …]
|
D | xe_migrate.c | 16 const char *str, struct kunit *test) in sanity_fence_failed() 39 struct kunit *test) in run_sanity_job() 73 struct kunit *test, u32 region) in test_copy() 164 struct kunit *test) in test_copy_sysmem() 170 struct kunit *test) in test_copy_vram() 184 static void xe_migrate_sanity_test(struct xe_migrate *m, struct kunit *test) in xe_migrate_sanity_test() 341 struct kunit *test = kunit_get_current_test(); in migrate_test_run_device() local 361 static void xe_migrate_sanity_kunit(struct kunit *test) in xe_migrate_sanity_kunit() 370 bool copy_only_ccs, const char *str, struct kunit *test) in blt_copy() 496 struct kunit *test) in test_migrate() [all …]
|
/linux-6.14.4/tools/testing/selftests/bpf/ |
D | test_progs.c | 191 struct itimerspec timeout = {}; in watchdog_timer_func() local 223 struct itimerspec timeout = {}; in watchdog_start() local 242 struct itimerspec timeout = {}; in watchdog_stop() local 346 static void print_test_result(const struct prog_test_def *test, const struct test_state *test_state) in print_test_result() 402 static void dump_test_log(const struct prog_test_def *test, in dump_test_log() 525 struct prog_test_def *test = env.test; in test__end_subtest() local 550 struct prog_test_def *test = env.test; in test__start_subtest() local 660 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name) in bpf_find_map() 1370 struct prog_test_def *test = &prog_test_defs[test_num]; in run_one_test() local 1492 struct prog_test_def *test; in dispatch_thread() local [all …]
|
D | xskxceiver.c | 127 #define busy_poll_string(test) (test)->ifobj_tx->busy_poll ? "BUSY-POLL " : "" argument 128 static char *mode_string(struct test_spec *test) in mode_string() 142 static void report_failure(struct test_spec *test) in report_failure() 474 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in __test_spec_init() 534 static void test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in test_spec_init() 564 static void test_spec_reset(struct test_spec *test) in test_spec_reset() 569 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx, in test_spec_set_xdp_prog() 579 static int test_spec_set_mtu(struct test_spec *test, int mtu) in test_spec_set_mtu() 632 static void pkt_stream_restore_default(struct test_spec *test) in pkt_stream_restore_default() 760 static void pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len) in pkt_stream_replace() [all …]
|
D | test_sockmap.c | 681 struct timeval timeout; in msg_loop() local 868 struct timeval timeout; in sendmsg_test() local 967 struct timeval timeout; in forever_ping_pong() local 1049 static int run_options(struct sockmap_options *options, int cg_fd, int test) in run_options() 1401 static char *test_to_str(int test) in test_to_str() 1468 static int __test_exec(int cgrp, int test, struct sockmap_options *opt) in __test_exec() 1985 struct _test test[] = { variable 2112 int test = SELFTESTS; in main() local
|
/linux-6.14.4/tools/testing/selftests/timens/ |
D | gettime_perf.c | 47 static void test(clock_t clockid, char *clockstr, bool in_ns) in test() function 51 const int timeout = 3; in test() local
|
/linux-6.14.4/drivers/mmc/core/ |
D | mmc_test.c | 178 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize() 189 static void mmc_test_prepare_sbc(struct mmc_test_card *test, in mmc_test_prepare_sbc() 209 static void mmc_test_prepare_mrq(struct mmc_test_card *test, in mmc_test_prepare_mrq() 258 static int mmc_test_wait_busy(struct mmc_test_card *test) in mmc_test_wait_busy() 289 static int mmc_test_buffer_transfer(struct mmc_test_card *test, in mmc_test_buffer_transfer() 533 static void mmc_test_save_transfer_result(struct mmc_test_card *test, in mmc_test_save_transfer_result() 558 static void mmc_test_print_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_rate() 582 static void mmc_test_print_avg_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_avg_rate() 626 static int __mmc_test_prepare(struct mmc_test_card *test, int write, int val) in __mmc_test_prepare() 650 static int mmc_test_prepare_write(struct mmc_test_card *test) in mmc_test_prepare_write() [all …]
|
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector_classification.c | 206 static int build_packet(const struct test_configuration *test, uint16_t sport) in build_packet() 329 static int setup_tx(const struct test_configuration *test) in setup_tx() 385 static int setup_rx(const struct test_configuration *test) in setup_rx() 415 static int do_poll(int fd, short events, int timeout) in do_poll() 446 static int run_test(const struct test_configuration *test, in run_test() 771 const struct test_configuration *test; in test_flow_dissector_classification() local
|
/linux-6.14.4/drivers/platform/x86/intel/ifs/ |
D | runtest.c | 161 static void wait_for_sibling_cpu(atomic_t *t, long long timeout) in wait_for_sibling_cpu() 234 unsigned long timeout; in ifs_test_core() local 337 unsigned long timeout; in ifs_array_test_core() local 545 unsigned long timeout; in ifs_sbaf_test_core() local 624 const struct ifs_test_caps *test = ifs_get_test_caps(dev); in do_core_test() local
|
/linux-6.14.4/drivers/macintosh/ |
D | macio-adb.c | 38 struct preg test; member 148 int timeout = 1000000; in macio_adb_reset_bus() local
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_dcn20.c | 97 const uint32_t timeout = 30; in dmub_dcn20_reset() local 376 union dmub_gpint_data_register test; in dmub_dcn20_is_gpint_acked() local
|
D | dmub_dcn31.c | 86 const uint32_t timeout = 100; in dmub_dcn31_reset() local 320 union dmub_gpint_data_register test; in dmub_dcn31_is_gpint_acked() local
|
D | dmub_dcn32.c | 92 const uint32_t timeout = 30; in dmub_dcn32_reset() local 344 union dmub_gpint_data_register test; in dmub_dcn32_is_gpint_acked() local
|
D | dmub_dcn35.c | 91 const uint32_t timeout = 100; in dmub_dcn35_reset() local 366 union dmub_gpint_data_register test; in dmub_dcn35_is_gpint_acked() local
|
D | dmub_dcn401.c | 66 const uint32_t timeout = 30; in dmub_dcn401_reset() local 327 union dmub_gpint_data_register test; in dmub_dcn401_is_gpint_acked() local
|
/linux-6.14.4/drivers/media/i2c/ |
D | msp3400-driver.c | 121 struct i2c_msg test[2] = { in msp_reset() local 314 long timeout; in msp_sleep() local
|
/linux-6.14.4/sound/sparc/ |
D | cs4231.c | 279 int timeout; in snd_cs4231_ready() local 343 int timeout; in snd_cs4231_busy_wait() local 361 int timeout; in snd_cs4231_mce_up() local 384 unsigned long flags, timeout; in snd_cs4231_mce_down() local 1665 u32 test, csr; in sbus_dma_request() local 1696 u32 csr, test; in sbus_dma_prepare() local
|
/linux-6.14.4/tools/testing/selftests/ |
D | kselftest_harness.h | 396 #define TEST_F_TIMEOUT(fixture_name, test_name, timeout) \ argument 855 struct __test_metadata *test; member 916 int timeout; /* seconds to wait for test timeout */ member
|
/linux-6.14.4/drivers/usb/misc/sisusbvga/ |
D | sisusbvga.c | 125 int timeout = 5 * HZ, i = 1; in sisusb_wait_all_out_complete() local 149 int i, timeout = 5 * HZ; in sisusb_get_free_outbuf() local 201 int timeout, unsigned int tflags) in sisusb_bulkout_msg() 265 int *actual_length, int timeout, unsigned int tflags) in sisusb_bulkin_msg() 2147 int ret = 0, test = 0; in sisusb_init_gfxdevice() local
|
/linux-6.14.4/drivers/net/wireless/ath/ath9k/ |
D | hw.c | 76 bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout) in ath9k_hw_wait() 2944 bool test) in ath9k_hw_apply_txpower() 2965 void ath9k_hw_set_txpowerlimit(struct ath_hw *ah, u32 limit, bool test) in ath9k_hw_set_txpowerlimit()
|
/linux-6.14.4/drivers/scsi/isci/ |
D | host.c | 987 u32 timeout) in sci_controller_start() 1156 static enum sci_status sci_controller_stop(struct isci_host *ihost, u32 timeout) in sci_controller_stop() 1689 u8 test = oem->controller.ssc_sata_tx_spread_level; in sci_oem_parameters_validate() local
|
/linux-6.14.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_minidump.c | 79 u16 timeout; member 81 u16 timeout; member 407 int i, k, timeout = 0; in qlcnic_dump_ctrl() local 664 u32 addr, data, test; in qlcnic_read_memory_test_agent() local
|
/linux-6.14.4/drivers/usb/misc/ |
D | usbtest.c | 110 static struct usb_device *testdev_to_usbdev(struct usbtest_dev *test) in testdev_to_usbdev() 595 struct sg_timeout *timeout = from_timer(timeout, t, timer); in sg_timeout() local 611 struct sg_timeout timeout = { in perform_sglist() local
|