Lines Matching defs:db
21 static cnid_t set_max_cnid(CNID_private *db, cnid_t hint)
35 switch ((rc = db->db_cnid->get(db->db_cnid, tid, &rootinfo_key, &rootinfo_data, 0))) {
63 if ((rc = db->db_cnid->put(db->db_cnid, tid, &rootinfo_key, &rootinfo_data, 0))) {
81 CNID_private *db;
85 if (!cdb || !(db = cdb->_private) || !st || !name || hint == CNID_INVALID || hint < CNID_START) {
95 if (id || (db->flags & CNIDFLAG_DB_RO)) {
120 if ((rc = db->db_cnid->put(db->db_cnid, tid, &key, &data, 0))) {
128 if (set_max_cnid(db, hint) == CNID_INVALID) {