Home
last modified time | relevance | path

Searched refs:walfd (Results 1 – 5 of 5) sorted by relevance

/dports/databases/kyotocabinet/kyotocabinet-1.2.79/
H A Dkcfile.cc235 core->walfd = -1; in File()
459 if (walfd >= 0) { in open()
470 core->walfd = walfd; in open()
475 core->walfd = -1; in open()
593 if (core->walfd >= 0) { in close()
594 if (::close(core->walfd) != 0) { in close()
640 core->walfd = -1; in close()
1340 if (core->walfd < 0) { in begin_transaction()
1353 core->walfd = fd; in begin_transaction()
1455 if (::fsync(core->walfd) != 0) { in end_transaction()
[all …]
/dports/databases/tokyocabinet/tokyocabinet-1.4.48/
H A Dtcfdb.c946 if(fdb->walfd < 0){ in tcfdbtranbegin()
950 if(walfd < 0){ in tcfdbtranbegin()
961 fdb->walfd = walfd; in tcfdbtranbegin()
1497 fdb->walfd = -1; in tcfdbclear()
1534 if(ftruncate(fdb->walfd, 0) == -1){ in tcfdbwalinit()
1602 if(walfd < 0) return false; in tcfdbwalrestore()
1606 if(fstat(walfd, &sbuf) == 0){ in tcfdbwalrestore()
1703 if(close(walfd) == -1){ in tcfdbwalrestore()
1856 fdb->walfd = -1; in tcfdbopenimpl()
1879 if(fdb->walfd >= 0){ in tcfdbcloseimpl()
[all …]
H A Dtchdb.c1125 if(hdb->walfd < 0){ in tchdbtranbegin()
1129 if(walfd < 0){ in tchdbtranbegin()
1140 hdb->walfd = walfd; in tchdbtranbegin()
2088 hdb->walfd = -1; in tchdbclear()
3119 if(ftruncate(hdb->walfd, 0) == -1){ in tchdbwalinit()
3190 if(walfd < 0) return false; in tchdbwalrestore()
3194 if(fstat(walfd, &sbuf) == 0){ in tchdbwalrestore()
3297 if(close(walfd) == -1){ in tchdbwalrestore()
3494 hdb->walfd = -1; in tchdbopenimpl()
3548 if(hdb->walfd >= 0){ in tchdbcloseimpl()
[all …]
H A Dtcfdb.h69 int walfd; /* file descriptor of write ahead logging */ member
H A Dtchdb.h90 int walfd; /* file descriptor of write ahead logging */ member