Lines Matching refs:pacct_db
50 static DB *pacct_db;
95 /* Copy pdb_file to in-memory pacct_db. */
99 return (db_copy_in(&pacct_db, pdb_file, "process accounting",
106 db_destroy(pacct_db, "process accounting");
121 rv = DB_GET(pacct_db, &key, &data, 0);
138 rv = DB_PUT(pacct_db, &key, &data, 0);
151 /* Copy in-memory pacct_db to pdb_file. */
155 return (db_copy_out(pacct_db, pdb_file, "process accounting",
189 rv = DB_SEQ(pacct_db, &key, &data, R_FIRST);
215 next: rv = DB_SEQ(pacct_db, &key, &data, R_NEXT);