| /NextBSD/sys/sys/ |
| HD | malloc.h | 105 struct malloc_type { struct 106 struct malloc_type *ks_next; /* Next in global chain. */ argument 134 struct malloc_type type[1] = { \ 143 extern struct malloc_type type[1] 171 typedef void malloc_type_list_func_t(struct malloc_type *, void *); 173 void contigfree(void *addr, unsigned long size, struct malloc_type *type); 174 void *contigmalloc(unsigned long size, struct malloc_type *type, int flags, 178 void free(void *addr, struct malloc_type *type); 179 void *malloc(unsigned long size, struct malloc_type *type, int flags) 183 void malloc_type_allocated(struct malloc_type *type, unsigned long size); [all …]
|
| HD | systm.h | 162 struct malloc_type; 180 void hashdestroy(void *, struct malloc_type *, u_long); 181 void *hashinit(int count, struct malloc_type *type, u_long *hashmask); 182 void *hashinit_flags(int count, struct malloc_type *type, 187 void *phashinit(int count, struct malloc_type *type, u_long *nentries); 211 int asprintf(char **ret, struct malloc_type *mtp, const char *format, 218 int vasprintf(char **ret, struct malloc_type *mtp, const char *format,
|
| HD | kobj.h | 41 struct malloc_type; 197 struct malloc_type *mtype, 209 void kobj_delete(kobj_t obj, struct malloc_type *mtype);
|
| HD | buf_ring_sc.h | 63 struct buf_ring_sc *buf_ring_sc_alloc(int count, struct malloc_type *type, int flags, struct buf_ri… 64 void buf_ring_sc_free(struct buf_ring_sc *br, struct malloc_type *type);
|
| HD | buf_ring.h | 453 struct buf_ring *buf_ring_alloc(int count, struct malloc_type *type, int flags, 455 struct buf_ring *buf_ring_aligned_alloc(int count, struct malloc_type *type, int flags, 457 void buf_ring_free(struct buf_ring *br, struct malloc_type *type);
|
| HD | libkern.h | 81 struct malloc_type; 131 char *strdup(const char *__restrict, struct malloc_type *); 132 char *strndup(const char *__restrict, size_t, struct malloc_type *);
|
| /NextBSD/sys/kern/ |
| HD | kern_malloc.c | 116 static struct malloc_type *kmemstatistics; 324 malloc_type_zone_allocated(struct malloc_type *mtp, unsigned long size, in malloc_type_zone_allocated() 354 malloc_type_allocated(struct malloc_type *mtp, unsigned long size) in malloc_type_allocated() 368 malloc_type_freed(struct malloc_type *mtp, unsigned long size) in malloc_type_freed() 401 contigmalloc(unsigned long size, struct malloc_type *type, int flags, in contigmalloc() 422 contigfree(void *addr, unsigned long size, struct malloc_type *type) in contigfree() 438 malloc(unsigned long size, struct malloc_type *mtp, int flags) in malloc() 540 free(void *addr, struct malloc_type *mtp) in free() 573 struct malloc_type **mtpp = addr; in free() 585 mtpp = (struct malloc_type **) in free() [all …]
|
| HD | subr_hash.c | 48 hashinit_flags(int elements, struct malloc_type *type, u_long *hashmask, in hashinit_flags() 83 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() 90 hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask) in hashdestroy() 109 phashinit(int elements, struct malloc_type *type, u_long *nentries) in phashinit()
|
| HD | subr_bufring.c | 53 buf_ring_alloc_(int count, struct malloc_type *type, int flags, struct mtx *lock, int brflags) in buf_ring_alloc_() 78 buf_ring_alloc(int count, struct malloc_type *type, int flags, struct mtx *lock) in buf_ring_alloc() 85 buf_ring_aligned_alloc(int count, struct malloc_type *type, int flags, struct mtx *lock) in buf_ring_aligned_alloc() 92 buf_ring_free(struct buf_ring *br, struct malloc_type *type) in buf_ring_free() 319 buf_ring_sc_alloc(int count, struct malloc_type *type, int flags, in buf_ring_sc_alloc() 356 buf_ring_sc_free(struct buf_ring_sc *br, struct malloc_type *type) in buf_ring_sc_free()
|
| HD | subr_kobj.c | 265 struct malloc_type *mtype, in kobj_create() 326 kobj_delete(kobj_t obj, struct malloc_type *mtype) in kobj_delete()
|
| /NextBSD/sys/vm/ |
| HD | uma_dbg.c | 130 struct malloc_type **ksp; in mtrash_ctor() 134 size -= sizeof(struct malloc_type *); in mtrash_ctor() 135 ksp = (struct malloc_type **)mem; in mtrash_ctor() 136 ksp += size / sizeof(struct malloc_type *); in mtrash_ctor() 161 size -= sizeof(struct malloc_type *); in mtrash_dtor() 177 struct malloc_type **ksp; in mtrash_init() 181 ksp = (struct malloc_type **)mem; in mtrash_init() 182 ksp += (size / sizeof(struct malloc_type *)) - 1; in mtrash_init()
|
| HD | memguard.h | 34 struct malloc_type; 42 void *memguard_realloc(void *, unsigned long, struct malloc_type *, int); 44 int memguard_cmp_mtp(struct malloc_type *, unsigned long);
|
| HD | memguard.c | 78 static struct malloc_type *vm_memguard_mtype = NULL; 429 memguard_realloc(void *addr, unsigned long size, struct malloc_type *mtp, in memguard_realloc() 470 memguard_cmp_mtp(struct malloc_type *mtp, unsigned long size) in memguard_cmp_mtp()
|
| /NextBSD/gnu/usr.bin/rcs/lib/ |
| HD | rcsutil.c | 224 malloc_type lintalloc; 234 malloc_type alloc; 240 static malloc_type okalloc P((malloc_type)); 241 static malloc_type 243 malloc_type p; in okalloc() 250 malloc_type 258 malloc_type 260 malloc_type ptr; in testrealloc() 267 malloc_type 269 malloc_type ptr; in fremember() [all …]
|
| HD | rcsbase.h | 703 malloc_type fremember P((malloc_type)); 704 malloc_type ftestalloc P((size_t)); 705 malloc_type testalloc P((size_t)); 706 malloc_type testrealloc P((malloc_type,size_t)); 710 extern malloc_type lintalloc; 713 # define trealloc(T,p,n) (lintalloc = testrealloc((malloc_type)0, sizeof(T)*(n)), p) 718 # define trealloc(T,p,n) ((T*) testrealloc((malloc_type)(p), sizeof(T)*(n))) 719 # define tfree(p) free((malloc_type)(p))
|
| HD | conf.h | 170 typedef void *malloc_type; /* type returned by malloc() */ typedef 381 malloc_type malloc P((size_t)); 382 malloc_type realloc P((malloc_type,size_t));
|
| /NextBSD/sys/net/ |
| HD | mp_ring.h | 47 struct malloc_type * mt; 61 ring_can_drain_t, struct malloc_type *, int);
|
| /NextBSD/sys/dev/cxgbe/ |
| HD | t4_mp_ring.h | 47 struct malloc_type * mt; 61 ring_can_drain_t, struct malloc_type *, int);
|
| /NextBSD/sys/libkern/ |
| HD | 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()
|
| HD | strdup.c | 41 strdup(const char *string, struct malloc_type *type) in strdup()
|
| HD | strndup.c | 41 strndup(const char *string, size_t maxlen, struct malloc_type *type) in strndup()
|
| /NextBSD/sys/dev/firewire/ |
| HD | firewirereg.h | 249 struct malloc_type *malloc; 265 struct fw_xfer *fw_xfer_alloc (struct malloc_type *); 266 struct fw_xfer *fw_xfer_alloc_buf (struct malloc_type *, int, int); 272 int fw_xferlist_add (struct fw_xferlist *, struct malloc_type *, int, int, int,
|
| /NextBSD/sys/nlm/ |
| HD | nlm.h | 55 size_t srcsize, struct malloc_type *type); 61 struct malloc_type *type);
|
| /NextBSD/sys/dev/usb/ |
| HD | usb_mbuf.c | 63 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, in usb_alloc_mbufs()
|
| HD | usb_mbuf.h | 87 void *usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq,
|