Searched refs:DBLKSIZ (Results 1 – 10 of 10) sorted by relevance
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | ndbm.c | 86 (void) lseek(db->dbm_dirf, (long)(db->dbm_dirbno*DBLKSIZ), L_SET); in dbm_flushdir() 87 if (write(db->dbm_dirf, db->dbm_dirbuf, DBLKSIZ) != DBLKSIZ) { in dbm_flushdir() 624 i = bn % DBLKSIZ; in dbm_access() 625 b = bn / DBLKSIZ; in dbm_access() 629 (void) lseek(db->dbm_dirf, (long)(b*DBLKSIZ), L_SET); in dbm_access() 630 if (read(db->dbm_dirf, db->dbm_dirbuf, DBLKSIZ) != DBLKSIZ) in dbm_access() 631 bzero(db->dbm_dirbuf, DBLKSIZ); in dbm_access() 676 i = bn % DBLKSIZ; in getbit() 677 b = bn / DBLKSIZ; in getbit() 681 (void) lseek(db->dbm_dirf, (long)(b*DBLKSIZ), L_SET); in getbit() [all …]
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | ndbm.c | 145 where = (((off64_t)db->dbm_dirbno) * DBLKSIZ); in dbm_flushdir() 147 (write(db->dbm_dirf, db->dbm_dirbuf, DBLKSIZ) != DBLKSIZ)) { in dbm_flushdir() 734 i = bn % DBLKSIZ; in dbm_access() 735 b = bn / DBLKSIZ; in dbm_access() 740 where = (((off64_t)b) * DBLKSIZ); in dbm_access() 742 (read(db->dbm_dirf, db->dbm_dirbuf, DBLKSIZ) != in dbm_access() 743 DBLKSIZ)) in dbm_access() 744 (void) memset(db->dbm_dirbuf, 0, DBLKSIZ); in dbm_access() 792 i = bn % DBLKSIZ; in getbit() 793 b = bn / DBLKSIZ; in getbit() [all …]
|
/titanic_50/usr/src/lib/libnsl/yp/ |
H A D | dbm.c | 353 i = bn % DBLKSIZ; in getbit() 354 b = bn / DBLKSIZ; in getbit() 356 (void) lseek(dirf, (long)b*DBLKSIZ, 0); in getbit() 357 readsize = read(dirf, dirbuf, DBLKSIZ); in getbit() 358 if (readsize != DBLKSIZ) { in getbit() 361 (void) memset(&dirbuf+readsize, 0, DBLKSIZ-readsize); in getbit() 384 i = bn % DBLKSIZ; in setbit() 385 b = bn / DBLKSIZ; in setbit() 387 (void) lseek(dirf, (long)b*DBLKSIZ, 0); in setbit() 388 if (write(dirf, dirbuf, DBLKSIZ) < 0) in setbit()
|
/titanic_50/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 363 i = bn % DBLKSIZ; in getbit() 364 b = bn / DBLKSIZ; in getbit() 366 (void) lseek(dirf, (long)b*DBLKSIZ, 0); in getbit() 367 readsize = read(dirf, dirbuf, DBLKSIZ); in getbit() 368 if (readsize != DBLKSIZ) { in getbit() 370 bzero(dirbuf+readsize, DBLKSIZ-readsize); in getbit() 393 i = bn % DBLKSIZ; in setbit() 394 b = bn / DBLKSIZ; in setbit() 396 (void) lseek(dirf, (long)b*DBLKSIZ, 0); in setbit() 397 if (write(dirf, dirbuf, DBLKSIZ) < 0) in setbit()
|
/titanic_50/usr/src/head/rpcsvc/ |
H A D | dbm.h | 48 #define DBLKSIZ 4096 macro 57 char dirbuf[DBLKSIZ];
|
/titanic_50/usr/src/ucbhead/ |
H A D | dbm.h | 51 #define DBLKSIZ 4096 macro 60 char dirbuf[DBLKSIZ];
|
/titanic_50/usr/src/lib/libbc/inc/include/ |
H A D | ndbm.h | 17 #define DBLKSIZ 4096 macro 32 char dbm_dirbuf[DBLKSIZ]; /* directory file block buffer */
|
/titanic_50/usr/src/cmd/ypcmd/ |
H A D | ypxfrd_client.c | 152 where = (((off64_t)DIR->dir_u.ok.blkno) * DBLKSIZ); 159 DIR->dir_u.ok.blkdat, DBLKSIZ) < 0) {
|
H A D | ypxfrd_server.c | 316 len = read(m->map->entries->dbm_dirf, block, DBLKSIZ); in mygetdir()
|
/titanic_50/usr/src/head/ |
H A D | ndbm.h | 62 #define DBLKSIZ _DBLKSIZ macro
|