Home
last modified time | relevance | path

Searched +defs:test +defs:timeout (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.14.4/mm/kfence/
Dkfence_test.c36 #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/
Dtest_objpool.c64 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/
Dxe_bo.c26 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 …]
Dxe_migrate.c16 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/
Dtest_progs.c191 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 …]
Dxskxceiver.c127 #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 …]
Dtest_sockmap.c681 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/
Dgettime_perf.c47 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/
Dmmc_test.c178 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/
Dflow_dissector_classification.c206 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/
Druntest.c161 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/
Dmacio-adb.c38 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/
Ddmub_dcn20.c97 const uint32_t timeout = 30; in dmub_dcn20_reset() local
376 union dmub_gpint_data_register test; in dmub_dcn20_is_gpint_acked() local
Ddmub_dcn31.c86 const uint32_t timeout = 100; in dmub_dcn31_reset() local
320 union dmub_gpint_data_register test; in dmub_dcn31_is_gpint_acked() local
Ddmub_dcn32.c92 const uint32_t timeout = 30; in dmub_dcn32_reset() local
344 union dmub_gpint_data_register test; in dmub_dcn32_is_gpint_acked() local
Ddmub_dcn35.c91 const uint32_t timeout = 100; in dmub_dcn35_reset() local
366 union dmub_gpint_data_register test; in dmub_dcn35_is_gpint_acked() local
Ddmub_dcn401.c66 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/
Dmsp3400-driver.c121 struct i2c_msg test[2] = { in msp_reset() local
314 long timeout; in msp_sleep() local
/linux-6.14.4/sound/sparc/
Dcs4231.c279 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/
Dkselftest_harness.h396 #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/
Dsisusbvga.c125 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/
Dhw.c76 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/
Dhost.c987 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/
Dqlcnic_minidump.c79 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/
Dusbtest.c110 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

12