| /f-stack/freebsd/sys/ |
| H A D | malloc.h | 116 struct malloc_type { struct 117 struct malloc_type *ks_next; /* Next in global chain. */ argument 145 struct malloc_type type[1] = { \ 158 extern struct malloc_type type[1] 177 typedef void malloc_type_list_func_t(struct malloc_type *, void *); 188 void free(void *addr, struct malloc_type *type); 189 void zfree(void *addr, struct malloc_type *type); 245 void *malloc_domainset(size_t size, struct malloc_type *type, 253 void *malloc_domainset_exec(size_t size, struct malloc_type *type, 268 struct malloc_type *mtp, struct domainset *ds, int flags) [all …]
|
| H A D | kobj.h | 43 struct malloc_type; 198 struct malloc_type *mtype, 210 void kobj_delete(kobj_t obj, struct malloc_type *mtype);
|
| H A D | libkern.h | 127 struct malloc_type; 178 char *strdup_flags(const char *__restrict, struct malloc_type *, int); 179 char *strdup(const char *__restrict, struct malloc_type *); 181 char *strndup(const char *__restrict, size_t, struct malloc_type *);
|
| H A D | systm.h | 232 struct malloc_type; 250 void hashdestroy(void *, struct malloc_type *, u_long); 251 void *hashinit(int count, struct malloc_type *type, u_long *hashmask); 252 void *hashinit_flags(int count, struct malloc_type *type, 257 void *phashinit(int count, struct malloc_type *type, u_long *nentries); 258 void *phashinit_flags(int count, struct malloc_type *type, u_long *nentries, 321 int asprintf(char **ret, struct malloc_type *mtp, const char *format, 328 int vasprintf(char **ret, struct malloc_type *mtp, const char *format,
|
| H A D | buf_ring.h | 366 struct buf_ring *buf_ring_alloc(int count, struct malloc_type *type, int flags, 368 void buf_ring_free(struct buf_ring *br, struct malloc_type *type);
|
| H A D | bitstring.h | 121 bit_alloc(int _nbits, struct malloc_type *type, int flags) in bit_alloc()
|
| /f-stack/tools/compat/include/sys/ |
| H A D | malloc.h | 109 struct malloc_type { struct 110 struct malloc_type *ks_next; /* Next in global chain. */ argument 138 struct malloc_type type[1] = { \ 147 extern struct malloc_type type[1] 172 typedef void malloc_type_list_func_t(struct malloc_type *, void *); 179 void free(void *addr, struct malloc_type *type); 180 void *malloc(unsigned long size, struct malloc_type *type, int flags) 185 void malloc_type_freed(struct malloc_type *type, unsigned long size); 188 void *realloc(void *addr, unsigned long size, struct malloc_type *type, 190 void *reallocf(void *addr, unsigned long size, struct malloc_type *type, [all …]
|
| /f-stack/freebsd/vm/ |
| H A D | uma_dbg.c | 144 struct malloc_type **ksp; in mtrash_ctor() 153 size -= sizeof(struct malloc_type *); in mtrash_ctor() 154 ksp = (struct malloc_type **)mem; in mtrash_ctor() 155 ksp += size / sizeof(struct malloc_type *); in mtrash_ctor() 185 size -= sizeof(struct malloc_type *); in mtrash_dtor() 201 struct malloc_type **ksp; in mtrash_init() 210 ksp = (struct malloc_type **)mem; in mtrash_init() 211 ksp += (size / sizeof(struct malloc_type *)) - 1; in mtrash_init()
|
| H A D | memguard.h | 36 struct malloc_type; 44 void *memguard_realloc(void *, unsigned long, struct malloc_type *, int); 47 int memguard_cmp_mtp(struct malloc_type *, unsigned long);
|
| H A D | memguard.c | 82 static struct malloc_type *vm_memguard_mtype = NULL; 418 memguard_realloc(void *addr, unsigned long size, struct malloc_type *mtp, in memguard_realloc() 459 memguard_cmp_mtp(struct malloc_type *mtp, unsigned long size) in memguard_cmp_mtp()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_malloc.c | 325 mtp_set_subzone(struct malloc_type *mtp) in mtp_set_subzone() 811 struct malloc_type **mtpp = addr; in free_save_type() 823 sizeof(struct malloc_type *); in free_save_type() 1206 struct malloc_type *mtp; in malloc_init() 1231 struct malloc_type *mtp, *temp; in malloc_uninit() 1276 struct malloc_type * 1279 struct malloc_type *mtp; in malloc_desc2type() 1296 struct malloc_type *mtp; in sysctl_kern_malloc_stats() 1362 struct malloc_type *mtp, **bufmtp; in malloc_type_list() 1421 struct malloc_type *mtp; in DB_SHOW_COMMAND() [all …]
|
| H A D | subr_hash.c | 57 hashinit_flags(int elements, struct malloc_type *type, u_long *hashmask, in hashinit_flags() 86 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() 93 hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask) in hashdestroy() 114 phashinit_flags(int elements, struct malloc_type *type, u_long *nentries, int flags) in phashinit_flags() 148 phashinit(int elements, struct malloc_type *type, u_long *nentries) in phashinit()
|
| H A D | subr_bufring.c | 40 buf_ring_alloc(int count, struct malloc_type *type, int flags, struct mtx *lock) in buf_ring_alloc() 62 buf_ring_free(struct buf_ring *br, struct malloc_type *type) in buf_ring_free()
|
| H A D | subr_kobj.c | 295 kobj_create(kobj_class_t cls, struct malloc_type *mtype, int mflags) in kobj_create() 330 kobj_delete(kobj_t obj, struct malloc_type *mtype) in kobj_delete()
|
| /f-stack/lib/ |
| H A D | ff_kern_subr.c | 56 hashinit_flags(int elements, struct malloc_type *type, u_long *hashmask, in hashinit_flags() 89 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() 95 hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask) in hashdestroy() 116 phashinit_flags(int elements, struct malloc_type *type, u_long *nentries, int flags) in phashinit_flags() 150 phashinit(int elements, struct malloc_type *type, u_long *nentries) in phashinit()
|
| H A D | ff_glue.c | 1052 malloc(unsigned long size, struct malloc_type *type, int flags) in malloc() 1070 free(void *addr, struct malloc_type *type) in free() 1076 realloc(void *addr, unsigned long size, struct malloc_type *type, in realloc() 1083 reallocf(void *addr, unsigned long size, struct malloc_type *type, in reallocf() 1246 mallocarray(size_t nmemb, size_t size, struct malloc_type *type, int flags) in mallocarray() 1268 malloc_domainset(size_t size, struct malloc_type *mtp, struct domainset *ds, in malloc_domainset() 1275 malloc_exec(size_t size, struct malloc_type *mtp, int flags) in malloc_exec()
|
| /f-stack/freebsd/libkern/ |
| H A D | strdup.c | 43 strdup_flags(const char *string, struct malloc_type *type, int flags) in strdup_flags() 57 strdup(const char *string, struct malloc_type *type) in strdup()
|
| H A D | asprintf.c | 37 vasprintf(char **buf, struct malloc_type *mtp, const char *format, va_list va) in vasprintf() 67 asprintf(char **buf, struct malloc_type *mtp, const char *format, ...) in asprintf()
|
| H A D | strndup.c | 41 strndup(const char *string, size_t maxlen, struct malloc_type *type) in strndup()
|
| /f-stack/freebsd/net/ |
| H A D | mp_ring.h | 52 struct malloc_type * mt; 68 mp_ring_can_drain_t, struct malloc_type *, int);
|
| H A D | ifq.h | 391 drbr_free(struct buf_ring *br, struct malloc_type *type) in drbr_free()
|
| H A D | mp_ring.c | 251 mp_ring_can_drain_t can_drain, struct malloc_type *mt, int flags) in ifmp_ring_alloc()
|
| /f-stack/tools/libmemstat/ |
| H A D | memstat_malloc.c | 332 struct malloc_type type, *typep; in memstat_kvm_malloc()
|
| /f-stack/freebsd/netipsec/ |
| H A D | key.c | 673 struct malloc_type *); 675 struct malloc_type *); 4049 struct malloc_type *type) in key_dup_keymsg() 4080 key_dup_lifemsg(const struct sadb_lifetime *src, struct malloc_type *type) in key_dup_lifemsg()
|