Searched refs:walfd (Results 1 – 5 of 5) sorted by relevance
235 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 …]
946 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 …]
1125 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 …]
69 int walfd; /* file descriptor of write ahead logging */ member
90 int walfd; /* file descriptor of write ahead logging */ member