/dflybsd-src/sys/sys/ |
H A D | malloc.h | 98 struct malloc_type type[1] = { \ 108 struct malloc_type type##_obj[1] = { \ 120 struct malloc_type type[1] = { \ 126 struct malloc_type type##_obj[1] = { \ 156 void contigfree(void *addr, unsigned long size, struct malloc_type *type) 158 void *contigmalloc(unsigned long size, struct malloc_type *type, int flags, 165 void malloc_mgt_init(struct malloc_type *type, struct kmalloc_mgt *mgt, 167 void malloc_mgt_uninit(struct malloc_type *type, struct kmalloc_mgt *mgt); 169 int malloc_mgt_poll(struct malloc_type *type); 171 void kmalloc_raise_limit(struct malloc_type *type, size_t bytes); [all …]
|
H A D | _malloc.h | 63 struct malloc_type *type; /* who does this belong to */ 147 struct malloc_type { struct 148 struct malloc_type *ks_next; /* next in list */ argument 161 typedef struct malloc_type *malloc_type_t; argument 164 extern struct malloc_type type[1] /* ref as ptr */
|
H A D | kobj.h | 49 struct malloc_type; 215 struct malloc_type *mtype, 226 void kobj_delete(kobj_t obj, struct malloc_type *mtype);
|
H A D | alist.h | 101 alist_t alist_create(alist_blk_t, struct malloc_type *); 103 void alist_destroy(alist_t, struct malloc_type *);
|
H A D | systm.h | 144 struct malloc_type; 168 void *hashinit (int count, struct malloc_type *type, u_long *hashmask); 169 void hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask); 170 void *phashinit (int count, struct malloc_type *type, u_long *nentries); 172 struct malloc_type *type, u_long *hashmask); 174 struct malloc_type *type, u_long *nentries);
|
H A D | dmsg.h | 800 struct malloc_type; 807 struct malloc_type *mmsg; 849 struct malloc_type *mmsg,
|
H A D | slaballoc.h | 132 struct malloc_type ZoneInfo; /* stats on meta-zones allocated */
|
/dflybsd-src/sys/kern/ |
H A D | kern_slaballoc.c | 169 __read_frequently struct malloc_type *kmemstatistics; /* exported to vmstat */ 245 static struct malloc_type *kmemstat_poll; 357 struct malloc_type *type = data; in malloc_init() 395 struct malloc_type *type = data; in malloc_uninit() 396 struct malloc_type *t; in malloc_uninit() 477 struct malloc_type *type; in kmalloc_poller_thread() 536 struct malloc_type *t; in malloc_reinit_ncpus() 566 kmalloc_raise_limit(struct malloc_type *type, size_t bytes) in kmalloc_raise_limit() 576 kmalloc_set_unlimited(struct malloc_type *type) in kmalloc_set_unlimited() 586 kmalloc_create(struct malloc_type **typep, const char *descr) in kmalloc_create() [all …]
|
H A D | kern_kmalloc.c | 124 static void malloc_slab_destroy(struct malloc_type *type, 270 malloc_mgt_init(struct malloc_type *type __unused, in malloc_mgt_init() 338 malloc_mgt_uninit(struct malloc_type *type, struct kmalloc_mgt *mgt) in malloc_mgt_uninit() 365 malloc_slab_destroy(struct malloc_type *type, struct kmalloc_slab **slabp) in malloc_slab_destroy() 514 malloc_mgt_poll(struct malloc_type *type) in malloc_mgt_poll() 676 _kmalloc_obj_debug(unsigned long size, struct malloc_type *type, int flags, in _kmalloc_obj_debug() 680 _kmalloc_obj(unsigned long size, struct malloc_type *type, int flags) in _kmalloc_obj_debug() 926 _kfree_obj(void *obj, struct malloc_type *type) in _kfree_obj()
|
H A D | kern_subr.c | 330 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() 348 hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask) in hashdestroy() 365 hashinit_ext(int elements, size_t size, struct malloc_type *type, in hashinit_ext() 389 phashinit(int elements, struct malloc_type *type, u_long *nentries) in phashinit() 419 phashinit_ext(int elements, size_t size, struct malloc_type *type, in phashinit_ext()
|
H A D | subr_kobj.c | 240 struct malloc_type *mtype, in kobj_create() 264 kobj_delete(kobj_t obj, struct malloc_type *mtype) in kobj_delete()
|
/dflybsd-src/gnu/usr.bin/rcs/lib/ |
H A D | rcsutil.c | 226 malloc_type lintalloc; 236 malloc_type alloc; 242 static malloc_type okalloc P((malloc_type)); 243 static malloc_type 245 malloc_type p; in okalloc() 252 malloc_type 260 malloc_type 262 malloc_type ptr; in testrealloc() 269 malloc_type 271 malloc_type ptr; in fremember() [all …]
|
H A D | rcsbase.h | 713 malloc_type fremember P((malloc_type)); 714 malloc_type ftestalloc P((size_t)); 715 malloc_type testalloc P((size_t)); 716 malloc_type testrealloc P((malloc_type,size_t)); 720 extern malloc_type lintalloc; 723 # define trealloc(T,p,n) (lintalloc = testrealloc((malloc_type)0, sizeof(T)*(n)), p) 728 # define trealloc(T,p,n) ((T*) testrealloc((malloc_type)(p), sizeof(T)*(n))) 729 # define tfree(p) free((malloc_type)(p))
|
H A D | conf.h | 171 typedef void *malloc_type; /* type returned by malloc() */ typedef 382 malloc_type malloc P((size_t)); 383 malloc_type realloc P((malloc_type,size_t));
|
/dflybsd-src/sys/vm/ |
H A D | vm_kern.h | 109 struct malloc_type; 110 extern void *contigmalloc_map(u_long, struct malloc_type *, int,
|
H A D | vm_contig.c | 540 struct malloc_type *type, in contigmalloc() 555 contigmalloc_map(unsigned long size, struct malloc_type *type, in contigmalloc_map() 583 contigfree(void *addr, unsigned long size, struct malloc_type *type) in contigfree()
|
/dflybsd-src/sys/vfs/ufs/ |
H A D | ffs_extern.h | 56 struct malloc_type; 85 int ffs_mountfs(struct vnode *, struct mount *, struct malloc_type *);
|
H A D | ufsmount.h | 85 struct malloc_type *um_malloctype; /* The inodes malloctype */
|
/dflybsd-src/sys/bus/firewire/ |
H A D | firewirereg.h | 260 struct malloc_type *malloc; 276 struct fw_xfer *fw_xfer_alloc (struct malloc_type *); 277 struct fw_xfer *fw_xfer_alloc_buf (struct malloc_type *, int, int);
|
/dflybsd-src/sys/vfs/tmpfs/ |
H A D | tmpfs.h | 365 struct malloc_type *tm_node_zone_obj; 366 struct malloc_type *tm_dirent_zone_obj; 367 struct malloc_type *tm_name_zone;
|
/dflybsd-src/usr.bin/vmstat/ |
H A D | vmstat.c | 974 cpuagg(const struct malloc_type *ks, enum ksuse use) in cpuagg() 1019 const struct malloc_type *m1 = arg1; in mcompare() 1020 const struct malloc_type *m2 = arg2; in mcompare() 1036 struct malloc_type *ks; in domem() 1043 struct malloc_type kmemstats[MAX_KMSTATS], *kmsp; in domem() 1051 struct malloc_type *ss; in domem() 1090 qsort(kmemstats, nkms, sizeof(struct malloc_type), mcompare); in domem()
|
/dflybsd-src/sys/bus/u4b/ |
H A D | usb_mbuf.c | 56 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, in usb_alloc_mbufs()
|
H A D | usb_mbuf.h | 87 void *usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq,
|
/dflybsd-src/sys/vfs/nfs/ |
H A D | nfsmount.h | 68 struct malloc_type *nm_mnode_obj; /* kmalloc store for nfsnode */
|
/dflybsd-src/sys/net/pf/ |
H A D | pfvar.h | 1788 extern struct malloc_type *pf_src_tree_pl, *pf_rule_pl; 1789 extern struct malloc_type *pf_state_pl, *pf_state_key_pl, *pf_state_item_pl, 1791 extern struct malloc_type *pfr_ktable_pl, *pfr_kentry_pl; 1792 extern struct malloc_type *pfr_kentry_pl2; 1793 extern struct malloc_type *pf_cache_pl, *pf_cent_pl; 1794 extern struct malloc_type *pf_state_scrub_pl; 1795 extern struct malloc_type *pfi_addr_pl; 1949 extern struct malloc_type *pf_frent_pl, *pf_frag_pl;
|