Lines Matching refs:TestContext
135 struct TestContext { struct
161 static struct TestContext ctx_; argument
163 typedef int (*testfunc_t)(struct TestContext *ctx);
175 port_info_get(struct TestContext *ctx) in port_info_get()
219 port_register(struct TestContext *ctx) in port_register()
299 niocregif(struct TestContext *ctx, int netmap_api) in niocregif()
376 legacy_regif_default(struct TestContext *ctx) in legacy_regif_default()
382 legacy_regif_all_nic(struct TestContext *ctx) in legacy_regif_all_nic()
389 legacy_regif_12(struct TestContext *ctx) in legacy_regif_12()
396 legacy_regif_sw(struct TestContext *ctx) in legacy_regif_sw()
403 legacy_regif_future(struct TestContext *ctx) in legacy_regif_future()
413 legacy_regif_extra_bufs(struct TestContext *ctx) in legacy_regif_extra_bufs()
421 legacy_regif_extra_bufs_pipe(struct TestContext *ctx) in legacy_regif_extra_bufs_pipe()
431 legacy_regif_extra_bufs_pipe_vale(struct TestContext *ctx) in legacy_regif_extra_bufs_pipe_vale()
439 num_registered_rings(struct TestContext *ctx) in num_registered_rings()
452 port_register_hwall_host(struct TestContext *ctx) in port_register_hwall_host()
459 port_register_hostall(struct TestContext *ctx) in port_register_hostall()
466 port_register_hwall(struct TestContext *ctx) in port_register_hwall()
473 port_register_single_hw_pair(struct TestContext *ctx) in port_register_single_hw_pair()
481 port_register_single_host_pair(struct TestContext *ctx) in port_register_single_host_pair()
491 port_register_hostall_many(struct TestContext *ctx) in port_register_hostall_many()
500 port_register_hwall_tx(struct TestContext *ctx) in port_register_hwall_tx()
508 port_register_hwall_rx(struct TestContext *ctx) in port_register_hwall_rx()
517 vale_attach(struct TestContext *ctx) in vale_attach()
552 vale_detach(struct TestContext *ctx) in vale_detach()
576 vale_attach_detach(struct TestContext *ctx) in vale_attach_detach()
588 vale_attach_detach_host_rings(struct TestContext *ctx) in vale_attach_detach_host_rings()
597 port_hdr_set_and_get(struct TestContext *ctx) in port_hdr_set_and_get()
642 vale_ephemeral_port_hdr_manipulation(struct TestContext *ctx) in vale_ephemeral_port_hdr_manipulation()
668 vale_persistent_port(struct TestContext *ctx) in vale_persistent_port()
713 pools_info_get(struct TestContext *ctx) in pools_info_get()
757 pools_info_get_and_register(struct TestContext *ctx) in pools_info_get_and_register()
780 pools_info_get_empty_ifname(struct TestContext *ctx) in pools_info_get_empty_ifname()
787 pipe_master(struct TestContext *ctx) in pipe_master()
802 pipe_slave(struct TestContext *ctx) in pipe_slave()
813 pipe_port_info_get(struct TestContext *ctx) in pipe_port_info_get()
821 pipe_pools_info_get(struct TestContext *ctx) in pipe_pools_info_get()
830 vale_polling_enable(struct TestContext *ctx) in vale_polling_enable()
862 vale_polling_disable(struct TestContext *ctx) in vale_polling_disable()
886 vale_polling_enable_disable(struct TestContext *ctx) in vale_polling_enable_disable()
918 push_option(struct nmreq_option *opt, struct TestContext *ctx) in push_option()
925 clear_options(struct TestContext *ctx) in clear_options()
953 unsupported_option(struct TestContext *ctx) in unsupported_option()
973 infinite_options(struct TestContext *ctx) in infinite_options()
1024 push_extmem_option(struct TestContext *ctx, const struct nmreq_pools_info *pi, in push_extmem_option()
1047 pop_extmem_option(struct TestContext *ctx, struct nmreq_opt_extmem *exp) in pop_extmem_option()
1078 _extmem_option(struct TestContext *ctx, in _extmem_option()
1132 extmem_option(struct TestContext *ctx) in extmem_option()
1143 bad_extmem_option(struct TestContext *ctx) in bad_extmem_option()
1158 duplicate_extmem_options(struct TestContext *ctx) in duplicate_extmem_options()
1202 push_csb_option(struct TestContext *ctx, struct nmreq_opt_csb *opt) in push_csb_option()
1242 csb_mode(struct TestContext *ctx) in csb_mode()
1259 csb_mode_invalid_memory(struct TestContext *ctx) in csb_mode_invalid_memory()
1278 sync_kloop_stop(struct TestContext *ctx) in sync_kloop_stop()
1298 struct TestContext *ctx = opaque; in sync_kloop_worker()
1324 sync_kloop_start_stop(struct TestContext *ctx) in sync_kloop_start_stop()
1350 sync_kloop(struct TestContext *ctx) in sync_kloop()
1363 sync_kloop_eventfds(struct TestContext *ctx) in sync_kloop_eventfds()
1415 sync_kloop_eventfds_all_mode(struct TestContext *ctx, in sync_kloop_eventfds_all_mode()
1431 sync_kloop_eventfds_all(struct TestContext *ctx) in sync_kloop_eventfds_all()
1437 sync_kloop_eventfds_all_tx(struct TestContext *ctx) in sync_kloop_eventfds_all_tx()
1457 sync_kloop_eventfds_all_direct(struct TestContext *ctx) in sync_kloop_eventfds_all_direct()
1464 sync_kloop_eventfds_all_direct_tx(struct TestContext *ctx) in sync_kloop_eventfds_all_direct_tx()
1471 sync_kloop_eventfds_all_direct_rx(struct TestContext *ctx) in sync_kloop_eventfds_all_direct_rx()
1478 sync_kloop_nocsb(struct TestContext *ctx) in sync_kloop_nocsb()
1493 csb_enable(struct TestContext *ctx) in csb_enable()
1527 sync_kloop_csb_enable(struct TestContext *ctx) in sync_kloop_csb_enable()
1546 sync_kloop_conflict(struct TestContext *ctx) in sync_kloop_conflict()
1625 sync_kloop_eventfds_mismatch(struct TestContext *ctx) in sync_kloop_eventfds_mismatch()
1651 null_port(struct TestContext *ctx) in null_port()
1669 null_port_all_zero(struct TestContext *ctx) in null_port_all_zero()
1687 null_port_sync(struct TestContext *ctx) in null_port_sync()
1779 context_cleanup(struct TestContext *ctx) in context_cleanup()
1977 struct TestContext ctxcopy; in main()