| /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);
|
| 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);
|
| 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...] |
| 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...] |
| 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...] |
| 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);
|
| 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);
|
| 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...] |
| 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...] |
| 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...] |
| 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...] |
| 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();
|
| /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);
|