Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/malloc.h
Show First 20 Lines • Show All 233 Lines • ▼ Show 20 Lines | |||||
}) | }) | ||||
void *malloc_domainset(size_t size, struct malloc_type *type, | void *malloc_domainset(size_t size, struct malloc_type *type, | ||||
struct domainset *ds, int flags) __malloc_like __result_use_check | struct domainset *ds, int flags) __malloc_like __result_use_check | ||||
__alloc_size(1); | __alloc_size(1); | ||||
void *mallocarray(size_t nmemb, size_t size, struct malloc_type *type, | void *mallocarray(size_t nmemb, size_t size, struct malloc_type *type, | ||||
int flags) __malloc_like __result_use_check | int flags) __malloc_like __result_use_check | ||||
__alloc_size2(1, 2); | __alloc_size2(1, 2); | ||||
void *malloc_exec(size_t size, struct malloc_type *type, int flags) __malloc_like | |||||
__result_use_check __alloc_size(1); | |||||
void *malloc_domainset_exec(size_t size, struct malloc_type *type, | |||||
struct domainset *ds, int flags) __malloc_like __result_use_check | |||||
__alloc_size(1); | |||||
void malloc_init(void *); | void malloc_init(void *); | ||||
int malloc_last_fail(void); | int malloc_last_fail(void); | ||||
void malloc_type_allocated(struct malloc_type *type, unsigned long size); | void malloc_type_allocated(struct malloc_type *type, unsigned long size); | ||||
void malloc_type_freed(struct malloc_type *type, unsigned long size); | void malloc_type_freed(struct malloc_type *type, unsigned long size); | ||||
void malloc_type_list(malloc_type_list_func_t *, void *); | void malloc_type_list(malloc_type_list_func_t *, void *); | ||||
void malloc_uninit(void *); | void malloc_uninit(void *); | ||||
size_t malloc_usable_size(const void *); | size_t malloc_usable_size(const void *); | ||||
void *realloc(void *addr, size_t size, struct malloc_type *type, int flags) | void *realloc(void *addr, size_t size, struct malloc_type *type, int flags) | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |