Home
last modified time | relevance | path

Searched refs:alloc_fn (Results 1 – 9 of 9) sorted by relevance

/freebsd/crypto/openssl/crypto/async/arch/
H A Dasync_posix.c53 int ASYNC_set_mem_functions(ASYNC_stack_alloc_fn alloc_fn, in ASYNC_set_mem_functions() argument
66 if (alloc_fn != NULL) in ASYNC_set_mem_functions()
67 stack_alloc_impl = alloc_fn; in ASYNC_set_mem_functions()
73 void ASYNC_get_mem_functions(ASYNC_stack_alloc_fn *alloc_fn, in ASYNC_get_mem_functions() argument
76 if (alloc_fn != NULL) in ASYNC_get_mem_functions()
77 *alloc_fn = stack_alloc_impl; in ASYNC_get_mem_functions()
H A Dasync_null.c19 int ASYNC_set_mem_functions(ASYNC_stack_alloc_fn alloc_fn, in ASYNC_set_mem_functions() argument
25 void ASYNC_get_mem_functions(ASYNC_stack_alloc_fn *alloc_fn, in ASYNC_get_mem_functions() argument
28 if (alloc_fn != NULL) in ASYNC_get_mem_functions()
29 *alloc_fn = NULL; in ASYNC_get_mem_functions()
H A Dasync_win.c23 int ASYNC_set_mem_functions(ASYNC_stack_alloc_fn alloc_fn, in ASYNC_set_mem_functions() argument
29 void ASYNC_get_mem_functions(ASYNC_stack_alloc_fn *alloc_fn, in ASYNC_get_mem_functions() argument
32 if (alloc_fn != NULL) in ASYNC_get_mem_functions()
33 *alloc_fn = NULL; in ASYNC_get_mem_functions()
/freebsd/crypto/openssl/include/openssl/
H A Dasync.h85 int ASYNC_set_mem_functions(ASYNC_stack_alloc_fn alloc_fn,
87 void ASYNC_get_mem_functions(ASYNC_stack_alloc_fn *alloc_fn,
/freebsd/crypto/openssl/test/
H A Dasynctest.c431 ASYNC_stack_alloc_fn alloc_fn; in test_ASYNC_set_mem_functions()
438 ASYNC_get_mem_functions(&alloc_fn, &free_fn); in test_ASYNC_set_mem_functions()
440 if ((alloc_fn != test_alloc_stack) || (free_fn != test_free_stack)) { in test_ASYNC_set_mem_functions()
433 ASYNC_stack_alloc_fn alloc_fn; test_ASYNC_set_mem_functions() local
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dscatterlist.h266 gfp_t gfp_mask, sg_alloc_fn *alloc_fn) in __sg_alloc_table() argument
293 sg = alloc_fn(alloc_size, gfp_mask); in __sg_alloc_table()
/freebsd/crypto/openssl/doc/man3/
H A DASYNC_start_job.pod31 int ASYNC_set_mem_functions(ASYNC_stack_alloc_fn alloc_fn,
33 void ASYNC_get_mem_functions(ASYNC_stack_alloc_fn *alloc_fn,
/freebsd/sys/net/
H A Dif.c4900 if_setsndtagallocfn(if_t ifp, if_snd_tag_alloc_t alloc_fn) in if_setsndtagallocfn() argument
4902 ifp->if_snd_tag_alloc = alloc_fn; in if_setsndtagallocfn()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc6245 int align, void *(*alloc_fn)(uptr arg, uptr sz),
6248 COMMON_INTERCEPTOR_ENTER(ctx, _obstack_begin_1, obstack, sz, align, alloc_fn,
6250 int res = REAL(_obstack_begin_1)(obstack, sz, align, alloc_fn, free_fn);
6255 int align, void *(*alloc_fn)(uptr sz), void (*free_fn)(void *p)) {
6257 COMMON_INTERCEPTOR_ENTER(ctx, _obstack_begin, obstack, sz, align, alloc_fn,
6259 int res = REAL(_obstack_begin)(obstack, sz, align, alloc_fn, free_fn);