objcache
static struct objcache *lwbuf_cache;
struct objcache *cache;
struct objcache *reclaimlist[] = { Cache->cache };
static struct objcache *obj_cache = NULL;
typedef struct objcache *objcache_t;
struct objcache *ata_request_cache;
struct objcache *ata_composite_cache;
extern struct objcache *ata_request_cache;
extern struct objcache *ata_composite_cache;
__read_mostly static struct objcache *exec_objcache;
SYSINIT(objcache, SI_BOOT2_OBJCACHE, SI_ORDER_FIRST, objcache_init, 0);
struct objcache *objcache;
SYSCTL_NODE(_kern, OID_AUTO, objcache, CTLFLAG_RW, 0, "objcache");
struct objcache *
struct objcache *oc;
oc = kmalloc(__offsetof(struct objcache, cache_percpu[ncpus]),
desc->objcache = oc;
objcache_set_cluster_limit(struct objcache *oc, int cluster_limit)
struct objcache *
struct objcache *oc;
struct objcache *
struct objcache *oc;
objcache_get(struct objcache *oc, int ocflags)
objcache_put(struct objcache *oc, void *obj)
objcache_dtor(struct objcache *oc, void *obj)
mag_purge(struct objcache *oc, struct magazine **magp, int freeit)
maglist_purge(struct objcache *oc, struct magazinelist *maglist)
objcache_reclaimlist(struct objcache *oclist[], int nlist)
struct objcache *oc;
objcache_destroy(struct objcache *oc)
unalloc = desc->objcache->depot[0].unallocated_objects;
cache = &desc->objcache->cache_percpu[cpu];
static struct objcache *sf_buf_cache;
static struct objcache *udev_event_kernel_cache;
__read_mostly static struct objcache *thread_cache;
static struct objcache *disk_msg_cache;
static struct objcache *sleepq_wc_cache;
struct objcache *reclaimlist[] = {
struct objcache *reclaimlist[] = {
m_getcl_cache(int how, short type, int flags, struct objcache *mbclc,
struct objcache *mbphclc, u_long *cl_stats)
struct objcache *reclaimlist[1];
struct objcache *mbclc, *mbphclc;
struct objcache *mbuf_cache, *mbufphdr_cache;
struct objcache *mclmeta_cache, *mjclmeta_cache;
struct objcache *mbufcluster_cache, *mbufphdrcluster_cache;
struct objcache *mbufjcluster_cache, *mbufphdrjcluster_cache;
struct objcache *namei_oc;
struct objcache *pp; \
static struct objcache *wg_packet_zone;
static struct objcache *ratelimit_zone;
static struct objcache *ng_oc;
static struct objcache *ng_apply_oc;
struct objcache;
struct objcache
struct objcache
struct objcache
void objcache_set_cluster_limit(struct objcache *oc, int cluster_limit);
void *objcache_get(struct objcache *oc, int ocflags);
void objcache_put(struct objcache *oc, void *obj);
void objcache_dtor(struct objcache *oc, void *obj);
void objcache_populate_linear(struct objcache *oc, void *elts, int nelts,
bool objcache_reclaimlist(struct objcache *oc[], int nlist);
void objcache_destroy(struct objcache *oc);
struct objcache *oc; /* object cache */
struct objcache;
extern struct objcache *namei_oc;
struct objcache *autofs_request_objcache = NULL;
struct objcache *autofs_node_objcache = NULL;
extern struct objcache *autofs_request_objcache;
extern struct objcache *autofs_node_objcache;
static struct objcache *devfs_node_cache;
static struct objcache *devfs_msg_cache;
static struct objcache *devfs_dev_cache;
static struct objcache *devfs_rule_cache;
static struct objcache *fuse_ipc_objcache = NULL;
static struct objcache *fuse_node_objcache = NULL;
extern struct objcache *cache_buffer_read;
extern struct objcache *cache_buffer_write;
extern struct objcache *cache_xops;
struct objcache *cache_xops;
struct objcache *cache_buffer_read;
struct objcache *cache_buffer_write;
static struct objcache *ufsdirhash_oc;
static struct objcache *vmspace_cache;
extern struct objcache *cache_buffer_read;
extern struct objcache *cache_buffer_write;
extern struct objcache *cache_xops;