Searched refs:dirf (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12.1/contrib/apr-util/dbm/sdbm/ |
| H A D | sdbm_lock.c | 51 if ((status = apr_file_lock(db->dirf, type)) == APR_SUCCESS) in apr_sdbm_lock() 54 if ((status = apr_file_info_get(&finfo, APR_FINFO_SIZE, db->dirf)) in apr_sdbm_lock() 56 (void) apr_file_unlock(db->dirf); in apr_sdbm_lock() 78 return apr_file_unlock(db->dirf); in apr_sdbm_unlock()
|
| H A D | sdbm.c | 78 (void) apr_file_unlock(db->dirf); in database_cleanup() 79 (void) apr_file_close(db->dirf); in database_cleanup() 126 if ((status = apr_file_open(&db->dirf, dirname, flags, perms, p)) in prep() 159 if (db->dirf && db->pagf) in prep() 161 if (db->dirf != NULL) in prep() 162 (void) apr_file_close(db->dirf); in prep() 495 if (read_from(db->dirf, db->dirbuf, OFF_DIR(dirb), DBLKSIZ) in getdbit() 518 if ((status = read_from(db->dirf, db->dirbuf, OFF_DIR(dirb), DBLKSIZ)) in setdbit() 533 if ((status = apr_file_seek(db->dirf, APR_SET, &off)) == APR_SUCCESS) in setdbit() 534 status = apr_file_write_full(db->dirf, db->dirbuf, DBLKSIZ, NULL); in setdbit()
|
| H A D | sdbm_private.h | 51 apr_file_t *dirf; /* directory file descriptor */ member
|