Lines Matching refs:objcache
128 struct objcache *objcache; member
139 struct objcache { struct
158 SYSCTL_NODE(_kern, OID_AUTO, objcache, CTLFLAG_RW, 0, "objcache"); argument
212 struct objcache *
219 struct objcache *oc; in objcache_create()
234 oc = kmalloc(__offsetof(struct objcache, cache_percpu[ncpus]), in objcache_create()
248 desc->objcache = oc; in objcache_create()
358 objcache_set_cluster_limit(struct objcache *oc, int cluster_limit) in objcache_set_cluster_limit()
377 struct objcache *
381 struct objcache *oc; in objcache_create_simple()
393 struct objcache *
400 struct objcache *oc; in objcache_create_mbacked()
427 objcache_get(struct objcache *oc, int ocflags) in objcache_get()
620 objcache_put(struct objcache *oc, void *obj) in objcache_put()
726 objcache_dtor(struct objcache *oc, void *obj) in objcache_dtor()
754 mag_purge(struct objcache *oc, struct magazine **magp, int freeit) in mag_purge()
823 maglist_purge(struct objcache *oc, struct magazinelist *maglist) in maglist_purge()
862 objcache_reclaimlist(struct objcache *oclist[], int nlist) in objcache_reclaimlist()
864 struct objcache *oc; in objcache_reclaimlist()
908 objcache_destroy(struct objcache *oc) in objcache_destroy()
973 unalloc = desc->objcache->depot[0].unallocated_objects; in sysctl_ocstats()
979 cache = &desc->objcache->cache_percpu[cpu]; in sysctl_ocstats()
1036 SYSINIT(objcache, SI_BOOT2_OBJCACHE, SI_ORDER_FIRST, objcache_init, 0);