HomeSort by: relevance | last modified time | path
    Searched defs:mock (Results 1 - 5 of 5) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/
mock_dmabuf.c 17 struct mock_dmabuf *mock = to_mock(attachment->dmabuf); local
26 err = sg_alloc_table(st, mock->npages, GFP_KERNEL);
31 for (i = 0; i < mock->npages; i++) {
32 sg_set_page(sg, mock->pages[i], PAGE_SIZE, 0);
61 struct mock_dmabuf *mock = to_mock(dma_buf); local
64 for (i = 0; i < mock->npages; i++)
65 put_page(mock->pages[i]);
67 kfree(mock);
72 struct mock_dmabuf *mock = to_mock(dma_buf); local
74 return vm_map_ram(mock->pages, mock->npages, 0, PAGE_KERNEL)
79 struct mock_dmabuf *mock = to_mock(dma_buf); local
100 struct mock_dmabuf *mock; local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_selftest.h 39 int mock; member in struct:i915_selftest
56 * Mock unit tests are run very early upon module load, before the driver
  /src/external/bsd/kyua-cli/dist/engine/
testers_test.cpp 61 /// Creates a mock tester that exits cleanly.
63 /// The interface accepted by the tester is 'mock'. This tester outputs the
72 "kyua-mock-tester",
81 ATF_REQUIRE(::chmod("kyua-mock-tester", 0755) != -1);
87 /// Creates a mock tester that receives a signal.
89 /// The interface accepted by the tester is 'mock'. This tester outputs the
99 "kyua-mock-tester",
110 ATF_REQUIRE(::chmod("kyua-mock-tester", 0755) != -1);
123 engine::tester tester("mock", none, none);
142 engine::tester tester("mock", utils::make_optional(user)
328 const fs::path mock = engine::tester_path("mock"); local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
mock_engine.c 91 mock.link);
96 list_del_init(&request->mock.link);
121 if (request->mock.delay) {
123 jiffies + request->mock.delay);
194 INIT_LIST_HEAD(&request->mock.link);
195 request->mock.delay = 0;
220 list_add_tail(&request->mock.link, &engine->hw_queue);
221 if (list_is_first(&request->mock.link, &engine->hw_queue)) {
222 if (request->mock.delay)
224 jiffies + request->mock.delay)
264 struct mock_engine *mock = local
351 struct mock_engine *mock = local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/selftests/
i915_selftest.c 75 int (*mock)(void); member in union:selftest::__anon5092
80 #define selftest(n, f) [mock_##n] = { .name = #n, { .mock = f } },
167 err = st->mock();
189 if (!i915_selftest.mock)
192 err = run_selftests(mock, NULL);
194 i915_selftest.mock = err;
198 if (i915_selftest.mock < 0) {
199 i915_selftest.mock = -ENOTTY;
408 module_param_named_unsafe(mock_selftests, i915_selftest.mock, int, 0400);
409 MODULE_PARM_DESC(mock_selftests, "Run selftests before loading, using mock hardware (0:disabled [default], 1:run tests then load driver, -1:run tests then exit module)")
    [all...]

Completed in 64 milliseconds