/freebsd-9.3-release/sys/vm/ |
H A D | memguard.h | 34 struct malloc_type; 41 void *memguard_realloc(void *, unsigned long, struct malloc_type *, int); 43 int memguard_cmp(struct malloc_type *, unsigned long);
|
H A D | uma_dbg.c | 124 struct malloc_type **ksp; 128 size -= sizeof(struct malloc_type *); 129 ksp = (struct malloc_type **)mem; 130 ksp += size / sizeof(struct malloc_type *); 155 size -= sizeof(struct malloc_type *); 171 struct malloc_type **ksp; 175 ksp = (struct malloc_type **)mem; 176 ksp += (size / sizeof(struct malloc_type *)) - 1;
|
H A D | memguard.c | 75 static struct malloc_type *vm_memguard_mtype = NULL; 411 memguard_realloc(void *addr, unsigned long size, struct malloc_type *mtp, 433 memguard_cmp(struct malloc_type *mtp, unsigned long size)
|
/freebsd-9.3-release/sys/sys/ |
H A D | malloc.h | 58 * Two malloc type structures are present: malloc_type, which is used by a 65 * The malloc_type ks_next field is protected by malloc_mtx. Other fields in 66 * malloc_type are static after initialization so unsynchronized. 101 * modules, which will statically allocate struct malloc_type. 103 struct malloc_type { struct 104 struct malloc_type *ks_next; /* Next in global chain. */ 132 struct malloc_type type[1] = { \ 141 extern struct malloc_type type[1] 169 typedef void malloc_type_list_func_t(struct malloc_type *, void *); 171 void contigfree(void *addr, unsigned long size, struct malloc_type *typ [all...] |
H A D | kobj.h | 41 struct malloc_type; 197 struct malloc_type *mtype, 209 void kobj_delete(kobj_t obj, struct malloc_type *mtype);
|
H A D | systm.h | 151 struct malloc_type; 168 void hashdestroy(void *, struct malloc_type *, u_long); 169 void *hashinit(int count, struct malloc_type *type, u_long *hashmask); 170 void *hashinit_flags(int count, struct malloc_type *type, 175 void *phashinit(int count, struct malloc_type *type, u_long *nentries);
|
H A D | buf_ring.h | 311 struct buf_ring *buf_ring_alloc(int count, struct malloc_type *type, int flags, 313 void buf_ring_free(struct buf_ring *br, struct malloc_type *type);
|
H A D | libkern.h | 79 struct malloc_type; 116 char *strdup(const char *__restrict, struct malloc_type *);
|
/freebsd-9.3-release/sys/kern/ |
H A D | subr_bufring.c | 40 buf_ring_alloc(int count, struct malloc_type *type, int flags, struct mtx *lock) 62 buf_ring_free(struct buf_ring *br, struct malloc_type *type)
|
H A D | subr_hash.c | 48 hashinit_flags(int elements, struct malloc_type *type, u_long *hashmask, 83 hashinit(int elements, struct malloc_type *type, u_long *hashmask) 90 hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask) 109 phashinit(int elements, struct malloc_type *type, u_long *nentries)
|
H A D | kern_malloc.c | 119 static struct malloc_type *kmemstatistics; 340 malloc_type_zone_allocated(struct malloc_type *mtp, unsigned long size, 370 malloc_type_allocated(struct malloc_type *mtp, unsigned long size) 384 malloc_type_freed(struct malloc_type *mtp, unsigned long size) 417 contigmalloc(unsigned long size, struct malloc_type *type, int flags, 438 contigfree(void *addr, unsigned long size, struct malloc_type *type) 454 malloc(unsigned long size, struct malloc_type *mtp, int flags) 554 free(void *addr, struct malloc_type *mtp) 586 struct malloc_type **mtpp = addr; 591 * Cache a pointer to the malloc_type tha [all...] |
H A D | subr_kobj.c | 265 struct malloc_type *mtype, 326 kobj_delete(kobj_t obj, struct malloc_type *mtype)
|
/freebsd-9.3-release/sys/libkern/ |
H A D | strdup.c | 41 strdup(const char *string, struct malloc_type *type)
|
/freebsd-9.3-release/sys/nlm/ |
H A D | nlm.h | 55 size_t srcsize, struct malloc_type *type); 61 struct malloc_type *type);
|
/freebsd-9.3-release/gnu/usr.bin/rcs/lib/ |
H A D | 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));
|
H A D | 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)( [all...] |
H A D | 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; 250 malloc_type 258 malloc_type 260 malloc_type ptr; 267 malloc_type [all...] |
/freebsd-9.3-release/sys/dev/usb/ |
H A D | usb_mbuf.h | 87 void *usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq,
|
H A D | usb_mbuf.c | 59 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq,
|
H A D | usb_core.h | 181 typedef struct malloc_type *usb_malloc_type;
|
H A D | usb_request.h | 47 struct malloc_type *mtype, uint8_t conf_index);
|
/freebsd-9.3-release/sys/dev/firewire/ |
H A D | firewirereg.h | 259 struct malloc_type *malloc; 275 struct fw_xfer *fw_xfer_alloc (struct malloc_type *); 276 struct fw_xfer *fw_xfer_alloc_buf (struct malloc_type *, int, int); 282 int fw_xferlist_add (struct fw_xferlist *, struct malloc_type *, int, int, int,
|
/freebsd-9.3-release/sys/netsmb/ |
H A D | smb_subr.h | 109 void *smb_zmalloc(size_t size, struct malloc_type *type, int flags);
|
/freebsd-9.3-release/sys/cddl/dev/dtmalloc/ |
H A D | dtmalloc.c | 85 p = "struct malloc_type *"; 111 dtmalloc_type_cb(struct malloc_type *mtp, void *arg __unused) 118 * malloc_type descriptions are allowed to contain whitespace, but
|
/freebsd-9.3-release/sys/dev/drm/ |
H A D | drmP.h | 956 drm_alloc(size_t size, struct malloc_type *area) 962 drm_calloc(size_t nmemb, size_t size, struct malloc_type *area) 969 struct malloc_type *area) 975 drm_free(void *pt, size_t size, struct malloc_type *area)
|