/src/sys/arch/hp300/stand/common/ |
ite_dv.c | 155 dv_reset(struct dvboxfb *dbp) 158 dbp->reset = 0x80; 161 dbp->interrupt = 0x04; 162 dbp->en_scan = 0x01; 163 dbp->fbwen = ~0; 164 dbp->opwen = ~0; 165 dbp->fold = 0x01; 166 dbp->drive = 0x01; 167 dbp->rep_rule = 0x33; 168 dbp->alt_rr = 0x33 [all...] |
/src/lib/libc/db/db/ |
db.c | 86 __dberr(const DB *dbp, ...) 95 * dbp: pointer to the DB structure. 98 __dbpanic(DB *dbp) 101 dbp->del = (int (*)(const DB *, const DBT *, u_int))__dberr; 102 dbp->fd = (int (*)(const DB *))__dberr; 103 dbp->get = (int (*)(const DB *, const DBT *, DBT *, u_int))__dberr; 104 dbp->put = (int (*)(const DB *, DBT *, const DBT *, u_int))__dberr; 105 dbp->seq = (int (*)(const DB *, DBT *, DBT *, u_int))__dberr; 106 dbp->sync = (int (*)(const DB *, u_int))__dberr;
|
/src/bin/dd/ |
conv.c | 69 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp) 73 out.dbp = in.dbp; 85 in.dbp = out.dbp; 136 in.dbp = in.db; 142 in.dbp = inp + cnt - 1; 149 for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) { 164 (void)memmove(in.db, in.dbp - in.dbcnt, in.dbcnt) [all...] |
dd.c | 262 in.dbp = in.db; 263 out.dbp = out.db; 384 (void)memset(in.dbp, ' ', in.dbsz); 386 (void)memset(in.dbp, 0, in.dbsz); 389 n = ddop_read(in, in.fd, in.dbp, in.dbsz); 459 dd_swab(in.dbp, in.dbp, n); 462 in.dbp += in.dbrcnt; 482 (void)memset(out.dbp, 0, out.dbsz - out.dbcnt); 491 out.dbp = out.db + out.dbcnt [all...] |
dd.h | 72 u_char *dbp; /* current buffer I/O address */ member in struct:__anona918b54a0108
|
/src/lib/libc/db/recno/ |
rec_close.c | 57 * dbp: pointer to access method 63 __rec_close(DB *dbp) 68 t = dbp->internal; 76 if (__rec_sync(dbp, 0) == RET_ERROR) 94 if (__bt_close(dbp) == RET_ERROR) 104 * dbp: pointer to access method 110 __rec_sync(const DB *dbp, u_int flags) 119 t = dbp->internal; 128 return (__bt_sync(dbp, 0)); 153 status = (dbp->seq)(dbp, &key, &data, R_FIRST) [all...] |
rec_open.c | 64 DB *dbp; local in function:__rec_open 70 dbp = NULL; 89 dbp = __bt_open(openinfo->bfname, 92 dbp = __bt_open(NULL, O_RDWR, S_IRUSR | S_IWUSR, NULL, dflags); 93 if (dbp == NULL) 102 t = dbp->internal; 191 dbp->close = __rec_close; 192 dbp->del = __rec_delete; 193 dbp->fd = __rec_fd; 194 dbp->get = __rec_get [all...] |
extern.h | 45 int __rec_put(const DB *dbp, DBT *, const DBT *, u_int);
|
rec_seq.c | 55 * dbp: pointer to access method 64 __rec_seq(const DB *dbp, DBT *key, DBT *data, u_int flags) 71 t = dbp->internal;
|
rec_delete.c | 59 * dbp: pointer to access method 67 __rec_delete(const DB *dbp, const DBT *key, u_int flags) 73 t = dbp->internal;
|
rec_get.c | 57 * dbp: pointer to access method 66 __rec_get(const DB *dbp, const DBT *key, DBT *data, u_int flags) 73 t = dbp->internal;
|
rec_put.c | 55 * dbp: pointer to access method 65 __rec_put(const DB *dbp, DBT *key, const DBT *data, u_int flags) 72 t = dbp->internal;
|
/src/tests/lib/libc/db/ |
h_db.c | 104 DB *dbp; local in function:main 176 if ((dbp = dbopen(fname, 179 XXdbp = dbp; 224 rem(dbp, &key); 233 synk(dbp); 242 seq(dbp, &key); 260 put(dbp, &key, &data); 291 getdata(dbp, &key, &keydata); 295 get(dbp, &key); 304 rem(dbp, &key) [all...] |
/src/lib/libc/db/btree/ |
bt_close.c | 60 * dbp: pointer to access method 66 __bt_close(DB *dbp) 71 t = dbp->internal; 80 if (__bt_sync(dbp, 0) == RET_ERROR) 106 free(dbp); 114 * dbp: pointer to access method 120 __bt_sync(const DB *dbp, u_int flags) 125 t = dbp->internal;
|
bt_open.c | 99 DB *dbp; local in function:__bt_open 173 if ((t->bt_dbp = dbp = malloc(sizeof(*dbp))) == NULL) 179 dbp->type = DB_BTREE; 180 dbp->internal = t; 181 dbp->close = __bt_close; 182 dbp->del = __bt_delete; 183 dbp->fd = __bt_fd; 184 dbp->get = __bt_get; 185 dbp->put = __bt_put [all...] |
bt_get.c | 57 * dbp: pointer to access method 66 __bt_get(const DB *dbp, const DBT *key, DBT *data, u_int flags) 72 t = dbp->internal;
|
bt_debug.c | 78 * dbp: pointer to the DB 81 __bt_dump(DB *dbp) 90 t = dbp->internal; 178 __bt_dnpage(DB *dbp, pgno_t pgno) 185 t = dbp->internal; 296 * dbp: pointer to the DB 299 __bt_stat(DB *dbp) 311 t = dbp->internal;
|
extern.h | 50 int __bt_put(const DB *dbp, DBT *, const DBT *, unsigned int);
|
bt_put.c | 60 * dbp: pointer to access method 70 __bt_put(const DB *dbp, DBT *key, const DBT *data, u_int flags) 82 t = dbp->internal;
|
/src/sys/arch/hppa/hppa/ |
disksubr.c | 228 struct buf *dbp; local in function:readliflabel 231 dbp = geteblk(lp->d_secsize); 232 dbp->b_dev = bp->b_dev; 235 dbp->b_blkno = btodb(HPPA_LIF_DIRSTART); 236 dbp->b_bcount = lp->d_secsize; 237 dbp->b_cflags = BC_BUSY; 238 dbp->b_flags = B_READ; 239 dbp->b_cylinder = (HPPA_LIF_DIRSTART) / lp->d_secpercyl; 241 (*strat)(dbp); 243 if (biowait(dbp)) { [all...] |
/src/usr.bin/locate/locate/ |
locate.c | 110 struct locate_db *dbp; local in function:add_db 124 dbp = NEW(struct locate_db); 125 dbp->db_fp = fp; 126 dbp->db_path = path; 127 LIST_INSERT_HEAD(&db_list, dbp, db_link); 133 struct locate_db *dbp; local in function:main 168 LIST_FOREACH(dbp, &db_list, db_link) { 169 rc = fastfind(dbp->db_fp, argv[optind]); 176 dbp->db_path);
|
/src/lib/libc/db/hash/ |
hash.c | 102 DB *dbp; local in function:__hash_open 195 if (!(dbp = malloc(sizeof(*dbp)))) { 201 dbp->internal = hashp; 202 dbp->close = hash_close; 203 dbp->del = hash_delete; 204 dbp->fd = hash_fd; 205 dbp->get = hash_get; 206 dbp->put = hash_put; 207 dbp->seq = hash_seq [all...] |
/src/sys/ufs/lfs/ |
lfs_rfw.c | 396 struct buf *dbp, *ibp; local in function:update_inoblk 412 0, &dbp); 417 buf = malloc(dbp->b_bcount, M_SEGMENT, M_WAITOK); 418 memcpy(buf, dbp->b_data, dbp->b_bcount); 419 brelse(dbp, BC_AGE); 507 struct buf *dbp, *ibp; local in function:update_inogen 516 0, &dbp); 525 dip = DINO_IN_BLOCK(fs, dbp->b_data, i); 537 brelse(dbp, BC_AGE) 552 struct buf *bp, *dbp; local in function:check_segsum [all...] |
/src/lib/libc/gen/ |
getcap.c | 756 static const char * const *dbp; variable in typeref:typename:const char * const * 765 dbp = NULL; 788 if (dbp == NULL) 789 dbp = db_array; 791 if (pfp == NULL && (pfp = fopen(*dbp, "re")) == NULL) { 810 if (*++dbp == NULL) { 814 fopen(*dbp, "re")) == NULL) {
|
/src/games/sail/ |
dr_3.c | 274 bp = isdefense ? from->file->DBP : from->file->OBP; 295 int n, OBP = 0, DBP = 0, dbp = 0; local in function:is_toughmelee 299 bp = isdefense ? ship->file->DBP : ship->file->OBP; 313 dbp = is_toughmelee(ship, to, 1, count + 1); 314 DBP = is_toughmelee(to, ship, 1, count + 1); 315 if (OBP > obp + 10 || OBP + DBP >= obp + dbp + 10)
|