Home
last modified time | relevance | path

Searched refs:PBLKSIZ (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dndbm.c44 static int finddatum(char [PBLKSIZ], datum);
45 static int delitem(char [PBLKSIZ], int);
46 static int additem(char [PBLKSIZ], datum, datum);
47 static datum makdatum(char [PBLKSIZ], int);
71 (void) lseek(db->dbm_pagf, (long)(db->dbm_pagbno*PBLKSIZ), L_SET); in dbm_flushpag()
72 if (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ) { in dbm_flushpag()
227 (void) lseek(db->dbm_pagf, (long)(db->dbm_blkno*PBLKSIZ), L_SET); in dbm_delete()
228 if (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ) { in dbm_delete()
242 char ovfbuf[PBLKSIZ]; in dbm_store()
268 (void) lseek(db->dbm_pagf, (long)(db->dbm_blkno*PBLKSIZ), L_SET); in dbm_store()
[all …]
/titanic_41/usr/src/ucblib/libdbm/
H A Ddbm.c49 void chkblk(char buf[PBLKSIZ]);
50 void delitem(char buf[PBLKSIZ], int n);
54 int additem(char buf[PBLKSIZ], datum item);
181 (void) lseek(pagf, blkno*PBLKSIZ, 0); in delete()
182 (void) write(pagf, pagbuf, PBLKSIZ); in delete()
191 char ovfbuf[PBLKSIZ]; in store()
219 (void) lseek(pagf, blkno*PBLKSIZ, 0); in store()
220 (void) write(pagf, pagbuf, PBLKSIZ); in store()
223 if (key.dsize+dat.dsize+3*sizeof (short) >= PBLKSIZ) { in store()
227 bzero(ovfbuf, PBLKSIZ); in store()
[all …]
/titanic_41/usr/src/lib/libnsl/yp/
H A Ddbm.c179 (void) lseek(pagf, blkno*PBLKSIZ, 0); in delete()
180 (void) write(pagf, pagbuf, PBLKSIZ); in delete()
189 char ovfbuf[PBLKSIZ]; in store()
212 (void) lseek(pagf, blkno*PBLKSIZ, 0); in store()
213 (void) write(pagf, pagbuf, PBLKSIZ); in store()
217 if (key.dsize + dat.dsize + 3 * sizeof (short) >= PBLKSIZ) { in store()
221 (void) memset(&ovfbuf, 0, PBLKSIZ); in store()
240 (void) lseek(pagf, blkno*PBLKSIZ, 0); in store()
241 if (write(pagf, pagbuf, PBLKSIZ) < 0) { in store()
244 (void) lseek(pagf, (blkno+hmask+1)*PBLKSIZ, 0); in store()
[all …]
/titanic_41/usr/src/lib/libc/port/gen/
H A Dndbm.c128 where = (((off64_t)db->dbm_pagbno) * PBLKSIZ); in dbm_flushpag()
130 (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ)) { in dbm_flushpag()
291 where = (((off64_t)db->dbm_blkno) * PBLKSIZ); in dbm_delete()
293 (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ)) { in dbm_delete()
307 char ovfbuf[PBLKSIZ]; in dbm_store()
334 where = (((off64_t)db->dbm_blkno) * PBLKSIZ); in dbm_store()
336 (write(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ)) { in dbm_store()
344 if (key.dsize + dat.dsize + 3 * (int)sizeof (short) >= PBLKSIZ) { in dbm_store()
349 (void) memset(ovfbuf, 0, PBLKSIZ); in dbm_store()
377 where = (((off64_t)db->dbm_blkno) * PBLKSIZ); in dbm_store()
[all …]
/titanic_41/usr/src/cmd/ypcmd/
H A Dmkalias.c159 char address[PBLKSIZ]; /* qualified version */ in ProcessMap()
160 char user[PBLKSIZ]; /* unqualified version */ in ProcessMap()
161 char userpart[PBLKSIZ]; /* unqualified part of qualified addr. */ in ProcessMap()
162 char hostpart[PBLKSIZ]; /* rest of qualified addr. */ in ProcessMap()
270 char last_modified[PBLKSIZ]; in AddYPEntries()
271 char host_name[PBLKSIZ]; in AddYPEntries()
H A Dypxfrd_server.c375 memmove(block, m->map->entries->dbm_pagbuf, PBLKSIZ); in mygetpage()
413 ans.dsize = PBLKSIZ - sp[1]; in mydbm_topkey()
423 t = PBLKSIZ; in mydbm_topkey()
H A Dypxfrd_client.c107 where = (((off64_t)PAG->pag_u.ok.blkno) * PBLKSIZ);
114 PAG->pag_u.ok.blkdat, PBLKSIZ) < 0) {
H A Dstdhosts.c51 #define OUTPUTSIZ (PBLKSIZ - 3 * sizeof (short))
/titanic_41/usr/src/head/rpcsvc/
H A Ddbm.h44 #define PBLKSIZ 1024 macro
56 char pagbuf[PBLKSIZ];
/titanic_41/usr/src/ucbhead/
H A Ddbm.h49 #define PBLKSIZ 1024 macro
62 char pagbuf[PBLKSIZ];
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dndbm.h16 #define PBLKSIZ 1024 macro
30 char dbm_pagbuf[PBLKSIZ]; /* page file block buffer */
/titanic_41/usr/src/head/
H A Dndbm.h61 #define PBLKSIZ _PBLKSIZ macro