Lines Matching refs:dbp
66 static DB *dbp;
77 if (dbp != NULL)
78 (void)(dbp->close)(dbp);
154 if (yp_put_record(dbp, &dbkey, &dbval, 0) != YP_TRUE)
428 if ((dbp = yp_open_db_rw(ypxfr_dest_domain, tempmap, 0)) == NULL) {
442 if (yp_put_record(dbp, &key, &data, 0) != YP_TRUE) {
452 if (yp_put_record(dbp, &key, &data, 0) != YP_TRUE) {
462 if (yp_put_record(dbp, &key, &data, 0) != YP_TRUE) {
474 if (yp_put_record(dbp, &key, &data, 0) != YP_TRUE) {
488 if (yp_put_record(dbp, &key, &data, 0) != YP_TRUE) {
499 if (yp_put_record(dbp, &key, &data, 0) != YP_TRUE) {
511 if (yp_put_record(dbp, &key, &data, 0) != YP_TRUE) {
525 (void)(dbp->close)(dbp);
526 dbp = NULL; /* <- yes, it seems this is necessary. */