Home
last modified time | relevance | path

Searched refs:malloc_type (Results 1 – 6 of 6) sorted by relevance

/external/usrsctp/usrsctplib/
Duser_malloc.h109 struct malloc_type { struct
110 struct malloc_type *ks_next; /* Next in global chain. */ argument
170 struct malloc_type type[1] = { \
189 extern struct malloc_type type[1]
209 struct malloc_type type[1] = { \
220 extern struct malloc_type type[1]
246 void contigfree(void *addr, unsigned long size, struct malloc_type *type);
247 void *contigmalloc(unsigned long size, struct malloc_type *type, int flags,
250 void free(void *addr, struct malloc_type *type);
251 void *malloc(unsigned long size, struct malloc_type *type, int flags);
[all …]
/external/llvm-project/clang/test/Analysis/
Dkmalloc-linux.c66 struct malloc_type;
70 void *malloc(unsigned long size, struct malloc_type *mtp, int flags);
72 void test_3arg_malloc(struct malloc_type *mtp) { in test_3arg_malloc()
87 void test_3arg_malloc_nonzero(struct malloc_type *mtp) { in test_3arg_malloc_nonzero()
102 void test_3arg_malloc_indeterminate(struct malloc_type *mtp, int flags) { in test_3arg_malloc_indeterminate()
117 void test_3arg_malloc_leak(struct malloc_type *mtp, int flags) { in test_3arg_malloc_leak()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_coro.c171 LLVMTypeRef malloc_type = LLVMFunctionType(mem_ptr_type, &int32_type, 1, 0); in lp_build_coro_declare_malloc_hooks() local
172 gallivm->coro_malloc_hook = LLVMAddFunction(gallivm->module, "coro_malloc", malloc_type); in lp_build_coro_declare_malloc_hooks()
/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c900 static int malloc_type; in malloc_pkey() local
906 pkey_assert(malloc_type < nr_malloc_types); in malloc_pkey()
908 ret = pkey_malloc[malloc_type](size, prot, pkey); in malloc_pkey()
911 malloc_type++; in malloc_pkey()
912 if (malloc_type >= nr_malloc_types) in malloc_pkey()
913 malloc_type = (random()%nr_malloc_types); in malloc_pkey()
/external/usrsctp/usrsctplib/netinet/
Dsctp_os_userspace.h777 void *sctp_hashinit_flags(int elements, struct malloc_type *type,
780 sctp_hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask);
783 sctp_hashfreedestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask);
Dsctputil.c7359 sctp_hashinit_flags(int elements, struct malloc_type *type,
7410 sctp_hashinit_flags(int elements, struct malloc_type *type,
7453 sctp_hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask)
7468 sctp_hashfreedestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask)