| /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/jemalloc/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/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/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/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...] |
| ctl.c | 884 {NAME("hooks"), CHILD(named, experimental_hooks)}, 3864 hooks_t hooks; local 3865 WRITE(hooks, hooks_t); 3866 void *handle = hook_install(tsd_tsdn(tsd), &hooks);
|
| /src/external/bsd/jemalloc/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...] |
| hpa.c | 38 create_test_data(hpa_hooks_t *hooks, hpa_shard_opts_t *opts) { 55 err = hpa_central_init(&test_data->central, test_data->base, hooks); 365 hpa_hooks_t hooks; local 366 hooks.map = &defer_test_map; 367 hooks.unmap = &defer_test_unmap; 368 hooks.purge = &defer_test_purge; 369 hooks.hugify = &defer_test_hugify; 370 hooks.dehugify = &defer_test_dehugify; 371 hooks.curtime = &defer_test_curtime; 372 hooks.ms_since = &defer_test_ms_since [all...] |
| mallctl.c | 970 hooks_t hooks = {&alloc_hook, &dalloc_hook, NULL, &hook_called}; local 973 int err = mallctl("experimental.hooks.install", &handle, &sz, &hooks, 974 sizeof(hooks)); 983 err = mallctl("experimental.hooks.remove", NULL, NULL, &handle, 995 hooks_t hooks = {&alloc_hook, &dalloc_hook, NULL, &hook_called}; local 1003 err = mallctl("experimental.hooks.install", &handle, &sz, 1004 &hooks, sizeof(hooks)); 1005 expect_d_eq(err, 0, "Error installation hooks"); [all...] |
| /src/external/bsd/jemalloc/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/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/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/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/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.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 assert_ptr_eq(extent_hooks, &hooks, 90 "extent_hooks should be same as pointer used to set hooks"); 111 assert_ptr_eq(extent_hooks, &hooks, 112 "extent_hooks should be same as pointer used to set hooks"); 130 assert_ptr_eq(extent_hooks, &hooks, 131 "extent_hooks should be same as pointer used to set hooks"); 150 assert_ptr_eq(extent_hooks, &hooks, [all...] |
| /src/external/bsd/kyua-cli/dist/engine/ |
| test_case_test.cpp | 78 /// Test case hooks to capture stdout and stderr in memory. 228 /// \param hooks The hooks to pass to the test case. 232 run(engine::test_case_hooks& hooks) const 244 &test_case, _user_config, hooks, workdir); 251 /// Hooks to retrieve stdout and stderr. 546 capture_hooks hooks; local 547 const engine::test_result result = helper.run(hooks); 552 ATF_REQUIRE_EQ("stdout stuff\n", hooks.stdout_contents); 553 ATF_REQUIRE_EQ("stderr stuff\n", hooks.stderr_contents) 879 capture_hooks hooks; local 896 capture_hooks hooks; local 941 capture_hooks hooks; local [all...] |
| /src/external/mpl/dhcp/dist/keama/ |
| confparse.c | 1535 struct element *hooks; local 1546 hooks = createList(); 1547 mapSet(cfile->stack[1], hooks, "hooks-libraries"); 1550 TAILQ_INSERT_TAIL(&hooks->comments, comment); 1552 listPush(hooks, entry);
|