Lines Matching refs:pppdb
160 TDB_CONTEXT *pppdb; /* database for storing status etc. */ variable
483 pppdb = tdb_open(_PATH_PPPDB, 0, 0, O_RDWR|O_CREAT, 0644);
484 if (pppdb != NULL) {
1244 if (pppdb != NULL) in cleanup()
1624 tdb_close(pppdb); in safe_fork()
2109 if (p[-1] && pppdb != NULL)
2115 if (pppdb != NULL) {
2139 if (pppdb != NULL) {
2164 if (p[-1] && pppdb != NULL)
2172 if (pppdb != NULL)
2194 tdb_chainlock(pppdb, key); in lock_db()
2208 tdb_chainunlock(pppdb, key); in unlock_db()
2239 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE)) in update_db_entry()
2240 error("tdb_store failed: %s", tdb_errorstr(pppdb)); in update_db_entry()
2260 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE))
2261 error("tdb_store key failed: %s", tdb_errorstr(pppdb));
2275 tdb_delete(pppdb, key);
2290 tdb_delete(pppdb, key); in cleanup_db()