Searched refs:PBLKSIZ (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/contrib/apr-util/dbm/sdbm/
H A Dsdbm_private.h34 #define PBLKSIZ 8192
35 #define PAIRMAX 8008 /* arbitrary on PBLKSIZ-N */
38 #define PBLKSIZ 1024 macro
39 #define PAIRMAX 1008 /* arbitrary on PBLKSIZ-N */
61 char pagbuf[PBLKSIZ]; /* page file block buffer */
H A Dsdbm_pair.c72 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ;
91 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ;
153 off = (num > 1) ? ino[num - 1] : PBLKSIZ;
184 register char *dst = pag + (i == 1 ? PBLKSIZ : ino[i - 1]);
241 register int off = PBLKSIZ;
263 register int off = PBLKSIZ;
264 char cur[PBLKSIZ];
267 (void) memcpy(cur, pag, PBLKSIZ);
268 (void) memset(pag, 0, PBLKSIZ);
269 (void) memset(new, 0, PBLKSIZ);
[all...]
H A Dsdbm.c53 #define OFF_PAG(off) (apr_off_t) (off) * PBLKSIZ
213 status = apr_file_write_full(db->pagf, buf, PBLKSIZ, NULL);
306 char twin[PBLKSIZ];
336 (void) memcpy(pag, new, PBLKSIZ);
479 OFF_PAG(pagb), PBLKSIZ,

Completed in 115 milliseconds