This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | mysqlfs_opt |
| The "global" variables of a filesystem: how to find the database, whether to fsck, and the (test-mode) backgrounding. More... | |
Functions | |
| int | pool_init (struct mysqlfs_opt *opt) |
| Initalize pool and preallocate connections. | |
| void | pool_cleanup () |
| Close all connections and cleanup pool. | |
| void * | pool_get () |
| Get DB connection from pool. | |
| void | pool_put (void *conn) |
| Put DB connection back to the pool. | |
Definition in file pool.h.
| void pool_cleanup | ( | ) |
Close all connections and cleanup pool.
Definition at line 200 of file pool.c.
References LOG_D_POOL, and log_printf().
Referenced by main().
Here is the call graph for this function:

| void* pool_get | ( | ) |
Get DB connection from pool.
Definition at line 210 of file pool.c.
References LOG_D_POOL, and log_printf().
Referenced by pool_init().
Here is the call graph for this function:

| int pool_init | ( | struct mysqlfs_opt * | opt | ) |
Initalize pool and preallocate connections.
Definition at line 172 of file pool.c.
References mysqlfs_opt::init_conns, LOG_D_POOL, log_printf(), opt, pool_get(), and pool_put().
Referenced by main().
Here is the call graph for this function:

| void pool_put | ( | void * | conn | ) |
Put DB connection back to the pool.
Definition at line 222 of file pool.c.
References lifo_pool_cnt, LOG_D_POOL, log_printf(), mysqlfs_opt::max_idling_conns, and opt.
Referenced by pool_init().
Here is the call graph for this function:

1.4.7