Code Coverage: vinyl-cache/lib/libvsc/VSC_mempool.h
 
82217aa4fc7094b3610340078afaf78cd95a8ec9
 
0
/*
1
 * NB:  This file is machine generated, DO NOT EDIT!
2
 *
3
 * Edit mempool.vsc and run lib/libvsc/vsctool.py instead.
4
 */
5
6
struct VSC_mempool {
7
        uint64_t        live;
8
        uint64_t        pool;
9
        uint64_t        sz_wanted;
10
        uint64_t        sz_actual;
11
        uint64_t        allocs;
12
        uint64_t        frees;
13
        uint64_t        recycle;
14
        uint64_t        timeout;
15
        uint64_t        toosmall;
16
        uint64_t        surplus;
17
        uint64_t        randry;
18
};
19
20 5102
#define VSC_mempool_size PRNDUP(sizeof(struct VSC_mempool))
21
22
struct vsmw_cluster;
23
struct vsc_seg;
24
25
struct VSC_mempool *VSC_mempool_New(struct vsmw_cluster *,
26
    struct vsc_seg **, const char *fmt, ...);
27
void VSC_mempool_Destroy(struct vsc_seg **);