| /freebsd-14.2/sys/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); 242 void *malloc_domainset(size_t size, struct malloc_type *type, 253 void *malloc_domainset_exec(size_t size, struct malloc_type *type, 270 struct malloc_type *mtp, struct domainset *ds, int flags) [all …]
|
| H A D | kobj.h | 41 struct malloc_type; 196 struct malloc_type *mtype, 208 void kobj_delete(kobj_t obj, struct malloc_type *mtype);
|
| H A D | systm.h | 136 struct malloc_type; 154 void hashdestroy(void *, struct malloc_type *, u_long); 155 void *hashinit(int count, struct malloc_type *type, u_long *hashmask); 156 void *hashinit_flags(int count, struct malloc_type *type, 161 void *phashinit(int count, struct malloc_type *type, u_long *nentries); 162 void *phashinit_flags(int count, struct malloc_type *type, u_long *nentries, 221 int asprintf(char **ret, struct malloc_type *mtp, const char *format, 228 int vasprintf(char **ret, struct malloc_type *mtp, const char *format,
|
| H A D | libkern.h | 127 struct malloc_type; 216 char *strdup_flags(const char *__restrict, struct malloc_type *, int); 218 char *strdup(const char *__restrict, struct malloc_type *); 220 char *strndup(const char *__restrict, size_t, struct malloc_type *);
|
| H A D | buf_ring.h | 354 struct buf_ring *buf_ring_alloc(int count, struct malloc_type *type, int flags, 356 void buf_ring_free(struct buf_ring *br, struct malloc_type *type);
|
| /freebsd-14.2/sys/vm/ |
| H A D | uma_dbg.c | 133 struct malloc_type **ksp; in mtrash_ctor() 141 size -= sizeof(struct malloc_type *); in mtrash_ctor() 142 ksp = (struct malloc_type **)mem; in mtrash_ctor() 143 ksp += size / sizeof(struct malloc_type *); in mtrash_ctor() 173 size -= sizeof(struct malloc_type *); in mtrash_dtor() 189 struct malloc_type **ksp; in mtrash_init() 198 ksp = (struct malloc_type **)mem; in mtrash_init() 199 ksp += (size / sizeof(struct malloc_type *)) - 1; in mtrash_init()
|
| H A D | memguard.h | 34 struct malloc_type; 42 void *memguard_realloc(void *, unsigned long, struct malloc_type *, int); 45 int memguard_cmp_mtp(struct malloc_type *, unsigned long);
|
| H A D | memguard.c | 80 static struct malloc_type *vm_memguard_mtype = NULL; 416 memguard_realloc(void *addr, unsigned long size, struct malloc_type *mtp, in memguard_realloc() 457 memguard_cmp_mtp(struct malloc_type *mtp, unsigned long size) in memguard_cmp_mtp()
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_malloc.c | 335 mtp_set_subzone(struct malloc_type *mtp) in mtp_set_subzone() 877 struct malloc_type **mtpp = addr; in free_save_type() 889 sizeof(struct malloc_type *); in free_save_type() 1309 struct malloc_type *mtp; in malloc_init() 1335 struct malloc_type *mtp, *temp; in malloc_uninit() 1380 struct malloc_type * 1383 struct malloc_type *mtp; in malloc_desc2type() 1400 struct malloc_type *mtp; in sysctl_kern_malloc_stats() 1466 struct malloc_type *mtp, **bufmtp; in malloc_type_list() 1525 struct malloc_type *mtp; in DB_SHOW_COMMAND_FLAGS() [all …]
|
| H A D | subr_hash.c | 55 hashinit_flags(int elements, struct malloc_type *type, u_long *hashmask, in hashinit_flags() 84 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() 91 hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask) in hashdestroy() 112 phashinit_flags(int elements, struct malloc_type *type, u_long *nentries, int flags) in phashinit_flags() 146 phashinit(int elements, struct malloc_type *type, u_long *nentries) in phashinit()
|
| H A D | subr_bufring.c | 38 buf_ring_alloc(int count, struct malloc_type *type, int flags, struct mtx *lock) in buf_ring_alloc() 60 buf_ring_free(struct buf_ring *br, struct malloc_type *type) in buf_ring_free()
|
| H A D | subr_kobj.c | 293 kobj_create(kobj_class_t cls, struct malloc_type *mtype, int mflags) in kobj_create() 328 kobj_delete(kobj_t obj, struct malloc_type *mtype) in kobj_delete()
|
| /freebsd-14.2/sys/libkern/ |
| H A D | strdup.c | 41 strdup_flags(const char *string, struct malloc_type *type, int flags) in strdup_flags() 55 strdup(const char *string, struct malloc_type *type) in strdup()
|
| H A D | asprintf.c | 35 vasprintf(char **buf, struct malloc_type *mtp, const char *format, va_list va) in vasprintf() 65 asprintf(char **buf, struct malloc_type *mtp, const char *format, ...) in asprintf()
|
| H A D | strndup.c | 39 strndup(const char *string, size_t maxlen, struct malloc_type *type) in strndup()
|
| /freebsd-14.2/sys/dev/cxgbe/ |
| H A D | t4_mp_ring.h | 42 struct malloc_type * mt; 62 ring_can_drain_t, struct malloc_type *, struct mtx *, int);
|
| /freebsd-14.2/sys/net/ |
| H A D | mp_ring.h | 50 struct malloc_type * mt; 66 mp_ring_can_drain_t, struct malloc_type *, int);
|
| /freebsd-14.2/sys/dev/firewire/ |
| H A D | 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,
|
| /freebsd-14.2/sys/nlm/ |
| H A D | nlm.h | 55 size_t srcsize, struct malloc_type *type); 61 struct malloc_type *type);
|
| /freebsd-14.2/sys/ufs/ffs/ |
| H A D | ffs_extern.h | 46 struct malloc_type; 89 int ffs_sbsearch(void *, struct fs **, int, struct malloc_type *, 95 int ffs_sbget(void *, struct fs **, off_t, int, struct malloc_type *,
|
| /freebsd-14.2/sys/dev/usb/ |
| H A D | usb_mbuf.c | 64 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, in usb_alloc_mbufs()
|
| H A D | usbhid.h | 94 void **descp, uint16_t *sizep, struct malloc_type *mem,
|
| H A D | usb_hid.c | 114 struct malloc_type *mem, uint8_t iface_index) in usbd_req_get_hid_desc()
|
| H A D | usb_mbuf.h | 88 void *usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq,
|
| /freebsd-14.2/sys/netsmb/ |
| H A D | smb_subr.h | 108 void *smb_zmalloc(size_t size, struct malloc_type *type, int flags);
|