HomeSort by: relevance | last modified time | path
    Searched defs:hooks (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
hpa_central.h 31 /* The HPA hooks. */
32 hpa_hooks_t hooks; member in struct:hpa_central_s
36 hpa_central_t *central, base_t *base, const hpa_hooks_t *hooks);
  /src/external/bsd/jemalloc/include/jemalloc/internal/
hpa_central.h 31 /* The HPA hooks. */
32 hpa_hooks_t hooks; member in struct:hpa_central_s
36 hpa_central_t *central, base_t *base, const hpa_hooks_t *hooks);
  /src/sbin/devpubd/
Makefile 10 CPPFLAGS+= -DDEVPUBD_RUN_HOOKS=\"/libexec/devpubd-run-hooks\"
12 SCRIPTS= devpubd-run-hooks
13 SCRIPTSDIR_devpubd-run-hooks= /libexec
15 .PATH: ${.CURDIR}/hooks
16 HOOKS= 01-makedev 02-wedgenames
17 SCRIPTS+= ${HOOKS:C,^,hooks/,}
18 .for f in ${HOOKS}
19 SCRIPTSDIR_hooks/${f}= /libexec/devpubd-hooks
25 CLEANFILES= devpubd-run-hooks
    [all...]
  /src/external/bsd/kyua-cli/dist/engine/drivers/
list_tests_test.cpp 73 /// Hooks to capture the incremental listing of test cases.
130 /// \param hooks The hooks to use during the listing.
138 list_tests::base_hooks& hooks,
148 hooks);
159 capture_hooks hooks; local
161 run_helpers(fs::path("root"), none, hooks);
165 ATF_REQUIRE(exp_test_cases == hooks.test_cases);
173 capture_hooks hooks; local
175 run_helpers(fs::path("root"), none, hooks);
188 capture_hooks hooks; local
203 capture_hooks hooks; local
219 capture_hooks hooks; local
    [all...]
scan_action_test.cpp 164 capture_hooks hooks; local
165 scan_action::drive(fs::path("test.db"), none, hooks);
167 ATF_REQUIRE_EQ(action_id, hooks._action_id.get());
174 ATF_REQUIRE(action == hooks._action.get());
181 ATF_REQUIRE(results == hooks._results);
192 capture_hooks hooks; local
194 optional< int64_t >(action_id), hooks); local
196 ATF_REQUIRE_EQ(action_id, hooks._action_id.get());
202 ATF_REQUIRE(action == hooks._action.get());
206 ATF_REQUIRE(results == hooks._results)
213 capture_hooks hooks; local
    [all...]
  /src/external/bsd/jemalloc.old/dist/test/stress/
hookbench.c 29 hooks_t hooks = {&noop_alloc_hook, &noop_dalloc_hook, &noop_expand_hook, local
37 err = mallctl("experimental.hooks.install", &handles[i],
38 &sz, &hooks, sizeof(hooks));
49 err = mallctl("experimental.hooks.remove", NULL, NULL,
62 malloc_printf("Without hooks: %"FMTu64"us\n", timer_usec(&timer));
70 malloc_printf("Benchmarking hooks with %d iterations:\n", iters);
  /src/external/bsd/jemalloc/dist/test/stress/
hookbench.c 26 hooks_t hooks = { local
34 err = mallctl("experimental.hooks.install", &handles[i], &sz,
35 &hooks, sizeof(hooks));
46 err = mallctl("experimental.hooks.remove", NULL, NULL,
59 malloc_printf("Without hooks: %" FMTu64 "us\n", timer_usec(&timer));
67 malloc_printf("Benchmarking hooks with %d iterations:\n", iters);
  /src/sys/external/bsd/drm2/drm/
drm_agp_hook.c 49 const struct drm_agp_hooks *hooks; member in struct:__anon6007
59 agp_hooks.hooks = NULL;
66 KASSERT(agp_hooks.hooks == NULL);
73 drm_agp_register(const struct drm_agp_hooks *hooks)
79 KASSERT(agp_hooks.hooks);
83 agp_hooks.hooks = hooks;
91 drm_agp_deregister(const struct drm_agp_hooks *hooks)
96 KASSERT(agp_hooks.hooks == hooks);
111 const struct drm_agp_hooks *hooks; local
141 const struct drm_agp_hooks *hooks; local
270 const struct drm_agp_hooks *hooks; local
    [all...]
  /src/external/bsd/jemalloc.old/dist/src/
hook.c 11 hooks_t hooks; member in struct:hooks_internal_s
15 seq_define(hooks_internal_t, hooks)
18 static seq_hooks_t hooks[HOOK_MAX]; variable
23 return malloc_mutex_init(&hooks_mu, "hooks", WITNESS_RANK_HOOK,
31 bool success = seq_try_load_hooks(&hooks_internal, &hooks[i]);
35 hooks_internal.hooks = *to_install;
37 seq_store_hooks(&hooks[i], &hooks_internal);
41 return &hooks[i];
64 /* Should only remove hooks that were added. */
75 char *hooks_begin = (char *)&hooks[0]
    [all...]
  /src/external/bsd/jemalloc.old/dist/test/unit/
pa.c 25 init_test_extent_hooks(extent_hooks_t *hooks) {
27 * The default hooks are mostly fine for testing. A few of them,
30 * can be fixed by keeping that state with the hooks, where it logically
34 memcpy(hooks, &ehooks_default_extent_hooks, sizeof(extent_hooks_t));
35 hooks->alloc = &alloc_hook;
36 hooks->merge = &merge_hook;
37 hooks->split = &split_hook;
48 extent_hooks_t hooks; member in struct:test_data_s
54 init_test_extent_hooks(&test_data->hooks);
56 base_t *base = base_new(TSDN_NULL, /* ind */ 1, &test_data->hooks,
    [all...]
hook.c 125 hooks_t hooks = { local
128 void *handle = hook_install(TSDN_NULL, &hooks);
169 /* Null hooks should be ignored, not crash. */
207 hooks_t hooks = {&test_alloc_hook, NULL, NULL, NULL}; local
208 void *handle = hook_install(TSDN_NULL, &hooks);
225 hooks_t hooks = {&test_alloc_hook, NULL, NULL, (void *)123}; local
226 void *handle = hook_install(TSDN_NULL, &hooks);
336 hooks_t hooks = {NULL, &test_dalloc_hook, NULL, (void *)123}; local
337 void *handle = hook_install(TSDN_NULL, &hooks);
383 hooks_t hooks = {NULL, NULL, &test_expand_hook, (void *)123} local
410 hooks_t hooks = {&test_alloc_hook, &test_dalloc_hook, local
467 hooks_t hooks = {&test_alloc_hook, &test_dalloc_hook, local
    [all...]
  /src/external/bsd/jemalloc/dist/src/
hook.c 11 hooks_t hooks; member in struct:hooks_internal_s
15 seq_define(hooks_internal_t, hooks)
18 static seq_hooks_t hooks[HOOK_MAX]; variable
24 &hooks_mu, "hooks", WITNESS_RANK_HOOK, malloc_mutex_rank_exclusive);
31 bool success = seq_try_load_hooks(&hooks_internal, &hooks[i]);
35 hooks_internal.hooks = *to_install;
37 seq_store_hooks(&hooks[i], &hooks_internal);
41 return &hooks[i];
64 /* Should only remove hooks that were added. */
75 char *hooks_begin = (char *)&hooks[0]
    [all...]
  /src/external/bsd/kyua-cli/dist/cli/
cmd_report.cpp 172 /// Constructor for the hooks.
335 console_hooks hooks(
338 scan_action::drive(store_path(cmdline), action_id, hooks); local
339 hooks.print_tests();
cmd_report_html.cpp 259 /// Constructor for the hooks.
429 html_hooks hooks(ui, directory, types);
430 scan_action::drive(store_path(cmdline), action_id, hooks); local
431 hooks.write_summary();
  /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/
hpa.h 37 /* The HPA hooks. */
38 hpa_hooks_t hooks; member in struct:hpa_central_s
152 bool hpa_central_init(hpa_central_t *central, base_t *base, const hpa_hooks_t *hooks);
  /src/external/bsd/jemalloc.old/include/jemalloc/internal/
hpa.h 37 /* The HPA hooks. */
38 hpa_hooks_t hooks; member in struct:hpa_central_s
152 bool hpa_central_init(hpa_central_t *central, base_t *base, const hpa_hooks_t *hooks);
  /src/external/bsd/jemalloc/dist/test/unit/
hook.c 125 hooks_t hooks = {&test_alloc_hook, &test_dalloc_hook, &test_expand_hook, local
127 void *handle = hook_install(TSDN_NULL, &hooks);
168 /* Null hooks should be ignored, not crash. */
206 hooks_t hooks = {&test_alloc_hook, NULL, NULL, NULL}; local
207 void *handle = hook_install(TSDN_NULL, &hooks);
223 hooks_t hooks = {&test_alloc_hook, NULL, NULL, (void *)123}; local
224 void *handle = hook_install(TSDN_NULL, &hooks);
347 hooks_t hooks = {NULL, &test_dalloc_hook, NULL, (void *)123}; local
348 void *handle = hook_install(TSDN_NULL, &hooks);
394 hooks_t hooks = {NULL, NULL, &test_expand_hook, (void *)123} local
421 hooks_t hooks = {&test_alloc_hook, &test_dalloc_hook, &test_expand_hook, local
475 hooks_t hooks = {&test_alloc_hook, &test_dalloc_hook, &test_expand_hook, local
    [all...]
hpa_vectorized_madvise_large_batch.c 50 create_test_data(const hpa_hooks_t *hooks, hpa_shard_opts_t *opts) {
67 err = hpa_central_init(&test_data->central, test_data->base, hooks);
147 hpa_hooks_t hooks; local
148 hooks.map = &defer_test_map;
149 hooks.unmap = &defer_test_unmap;
150 hooks.purge = &defer_test_purge;
151 hooks.hugify = &defer_test_hugify;
152 hooks.dehugify = &defer_test_dehugify;
153 hooks.curtime = &defer_test_curtime;
154 hooks.ms_since = &defer_test_ms_since
206 hpa_hooks_t hooks; local
    [all...]
pa.c 25 init_test_extent_hooks(extent_hooks_t *hooks) {
27 * The default hooks are mostly fine for testing. A few of them,
30 * can be fixed by keeping that state with the hooks, where it logically
34 memcpy(hooks, &ehooks_default_extent_hooks, sizeof(extent_hooks_t));
35 hooks->alloc = &alloc_hook;
36 hooks->merge = &merge_hook;
37 hooks->split = &split_hook;
48 extent_hooks_t hooks; member in struct:test_data_s
55 init_test_extent_hooks(&test_data->hooks);
57 base_t *base = base_new(TSDN_NULL, /* ind */ 1, &test_data->hooks,
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_agpsupport.h 56 const struct drm_agp_hooks *hooks; member in struct:drm_agp_head
  /src/sys/net/
pfil.c 58 pfil_hook_t hooks[MAX_HOOKS]; member in struct:__anon7084
210 pfh = &oldlist->hooks[i];
222 * Finally, add the hook. Note: for PFIL_IN we insert the hooks in
229 pfh = &newlist->hooks[0];
230 memmove(&newlist->hooks[1], pfh, len);
232 pfh = &newlist->hooks[nhooks];
336 pfil_hook_t *last, *pfh = &newlist->hooks[i];
341 if ((last = &newlist->hooks[nhooks - 1]) != pfh) {
402 * pfil_run_hooks: run the specified packet filter hooks.
436 pfil_hook_t *pfh = &phlist->hooks[i]
    [all...]
  /src/sys/rump/kern/lib/libsimplehook_tester/
simplehook_tester.c 109 "tester hooks");
551 "dohooks", SYSCTL_DESCR("do hooks"),
672 khook_list_t *hooks; local
681 hooks = ctx->ctx_hooks;
696 if (hooks != NULL)
697 simplehook_destroy(hooks);
  /src/external/bsd/atf/dist/tools/
atf-run.cpp 534 const tools::fs::path hooks = local
535 tools::fs::path(tools::config::get("atf_pkgdatadir")) / (tool + ".hooks");
539 tools::process::argv_array(sh.c_str(), hooks.c_str(),
  /src/external/bsd/jemalloc.old/dist/test/include/test/
extent_hooks.h 2 * Boilerplate code used for testing extent hooks via interception and
29 static extent_hooks_t hooks = { variable
41 /* Control whether hook functions pass calls through to default hooks. */
89 expect_ptr_eq(extent_hooks, &hooks,
90 "extent_hooks should be same as pointer used to set hooks");
111 expect_ptr_eq(extent_hooks, &hooks,
112 "extent_hooks should be same as pointer used to set hooks");
130 expect_ptr_eq(extent_hooks, &hooks,
131 "extent_hooks should be same as pointer used to set hooks");
150 expect_ptr_eq(extent_hooks, &hooks,
    [all...]
  /src/external/bsd/jemalloc/dist/test/include/test/
extent_hooks.h 2 * Boilerplate code used for testing extent hooks via interception and
29 static extent_hooks_t hooks = {extent_alloc_hook, extent_dalloc_hook, variable
34 /* Control whether hook functions pass calls through to default hooks. */
83 expect_ptr_eq(extent_hooks, &hooks,
84 "extent_hooks should be same as pointer used to set hooks");
107 expect_ptr_eq(extent_hooks, &hooks,
108 "extent_hooks should be same as pointer used to set hooks");
128 expect_ptr_eq(extent_hooks, &hooks,
129 "extent_hooks should be same as pointer used to set hooks");
149 expect_ptr_eq(extent_hooks, &hooks,
    [all...]

Completed in 33 milliseconds

1 2