Searched refs:st_dbm (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/fs.d/cachefs/common/ |
H A D | stats_dbm.c | 64 st->st_dbm = dbm_open(st->st_dbm_name, O_RDWR | O_CREAT, 0666); in stats_dbm_open() 65 if (st->st_dbm == NULL) { in stats_dbm_open() 109 if (st->st_dbm == NULL) in stats_dbm_close() 112 dbm_close(st->st_dbm); in stats_dbm_close() 126 value = dbm_fetch(st->st_dbm, key); in stats_dbm_fetch_byfid() 163 if (dbm_store(st->st_dbm, key, value, DBM_REPLACE) != 0) { in stats_dbm_store_byfid() 183 value = dbm_fetch(st->st_dbm, key); in stats_dbm_fetch_byvfsp() 230 if (dbm_store(st->st_dbm, key, value, DBM_REPLACE) != 0) { in stats_dbm_store_byvfsp() 248 (void) dbm_delete(st->st_dbm, key); in stats_dbm_delete_byvfsp() 257 return (dbm_firstkey(st->st_dbm)); in stats_dbm_firstkey() [all …]
|
H A D | stats.h | 65 DBM *st_dbm; member
|