Home
last modified time | relevance | path

Searched refs:DBLKSIZ (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dndbm.c86 (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_41/usr/src/lib/libc/port/gen/
H A Dndbm.c145 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_41/usr/src/lib/libnsl/yp/
H A Ddbm.c353 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_41/usr/src/ucblib/libdbm/
H A Ddbm.c363 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_41/usr/src/head/rpcsvc/
H A Ddbm.h45 #define DBLKSIZ 4096 macro
57 char dirbuf[DBLKSIZ];
/titanic_41/usr/src/ucbhead/
H A Ddbm.h50 #define DBLKSIZ 4096 macro
63 char dirbuf[DBLKSIZ];
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dndbm.h17 #define DBLKSIZ 4096 macro
32 char dbm_dirbuf[DBLKSIZ]; /* directory file block buffer */
/titanic_41/usr/src/cmd/ypcmd/
H A Dypxfrd_client.c152 where = (((off64_t)DIR->dir_u.ok.blkno) * DBLKSIZ);
159 DIR->dir_u.ok.blkdat, DBLKSIZ) < 0) {
H A Dypxfrd_server.c316 len = read(m->map->entries->dbm_dirf, block, DBLKSIZ); in mygetdir()
/titanic_41/usr/src/head/
H A Dndbm.h62 #define DBLKSIZ _DBLKSIZ macro