Lines Matching defs:log_callback

49 #define _add_blk_marker(file, bid, blocksize, marker, log_callback) \
50 filemgr_write_offset((file), (bid), (blocksize), BLK_MARKER_SIZE, (marker), (log_callback))
52 #define _add_blk_marker(file, bid, blocksize, marker, log_callback) \
75 zerobuf, handle->log_callback);
88 err_log_callback *log_callback = handle->log_callback;
96 handle->curblock = filemgr_alloc(handle->file, log_callback);
101 handle->curblock = filemgr_alloc(handle->file, log_callback);
110 log_callback);
112 fdb_log(log_callback, fs,
119 buf, log_callback);
121 fdb_log(log_callback, fs,
149 log_callback) == handle->curblock+1) {
155 marker, log_callback);
157 fdb_log(log_callback, fs,
165 handle->curpos, offset, buf, log_callback);
167 fdb_log(log_callback, fs,
180 &begin, &end, log_callback);
191 log_callback) == handle->curblock+1) {
196 marker, log_callback);
198 fdb_log(log_callback, fs,
206 handle->curpos, offset, buf, log_callback);
208 fdb_log(log_callback, fs,
221 &begin, &end, log_callback);
234 log_callback);
236 fdb_log(log_callback, fs,
243 (uint8_t *)buf + offset, log_callback);
245 fdb_log(log_callback, fs,
259 log_callback);
261 fdb_log(log_callback, fs,
268 (uint8_t *)buf + offset, log_callback);
270 fdb_log(log_callback, fs,
337 err_log_callback *log_callback = handle->log_callback;
353 fdb_log(log_callback, FDB_RESULT_COMPRESSION_FAIL,
497 err_log_callback *log_callback,
504 log_callback, read_on_cache_miss);
507 fdb_log(log_callback, status,
536 err_log_callback *log_callback,
547 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
562 fdb_status fs = _docio_read_through_buffer(handle, bid, log_callback,
566 fdb_log(log_callback, fs,
584 fs = _docio_read_through_buffer(handle, bid, log_callback, true);
586 fdb_log(log_callback, fs,
607 err_log_callback *log_callback)
626 fs = _docio_read_through_buffer(handle, bid, log_callback, true);
628 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
648 fdb_log(log_callback, FDB_RESULT_FILE_CORRUPTION,
668 err_log_callback *log_callback)
675 comp_len, comp_data_out, log_callback);
677 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
688 fdb_log(log_callback, FDB_RESULT_COMPRESSION_FAIL,
707 err_log_callback *log_callback = handle->log_callback;
709 _offset = _docio_read_length(handle, offset, &_length, log_callback, true);
718 fdb_log(log_callback, FDB_RESULT_CHECKSUM_ERROR,
727 fdb_log(log_callback, FDB_RESULT_CHECKSUM_ERROR,
738 fdb_log(log_callback, FDB_RESULT_FILE_CORRUPTION,
755 err_log_callback *log_callback = handle->log_callback;
757 _offset = _docio_read_length(handle, offset, &_length, log_callback, true);
759 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
770 fdb_log(log_callback, FDB_RESULT_CHECKSUM_ERROR,
779 fdb_log(log_callback, FDB_RESULT_CHECKSUM_ERROR,
790 fdb_log(log_callback, FDB_RESULT_FILE_CORRUPTION,
798 keybuf, log_callback);
800 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
841 err_log_callback *log_callback = handle->log_callback;
843 _offset = _docio_read_length(handle, offset, &_length, log_callback,
847 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
858 fdb_log(log_callback, FDB_RESULT_CHECKSUM_ERROR,
866 fdb_log(log_callback, FDB_RESULT_CHECKSUM_ERROR,
876 fdb_log(log_callback, FDB_RESULT_FILE_CORRUPTION,
894 doc->key, log_callback);
896 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
907 &_timestamp, log_callback);
909 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
920 (void *)&_seqnum, log_callback);
922 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
932 doc->meta, log_callback);
934 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
961 err_log_callback *log_callback = handle->log_callback;
963 _offset = _docio_read_length(handle, offset, &_length, log_callback,
967 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
978 fdb_log(log_callback, FDB_RESULT_CHECKSUM_ERROR,
993 fdb_log(log_callback, FDB_RESULT_FILE_CORRUPTION,
1003 log_callback);
1005 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
1015 fdb_log(log_callback, FDB_RESULT_FILE_CORRUPTION,
1027 fdb_log(log_callback, FDB_RESULT_CHECKSUM_ERROR,
1037 fdb_log(log_callback, FDB_RESULT_FILE_CORRUPTION,
1061 log_callback);
1063 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
1075 log_callback);
1077 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
1090 log_callback);
1092 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
1102 doc->meta, log_callback);
1104 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
1117 comp_body, log_callback);
1119 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
1131 doc->body, log_callback);
1133 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
1143 doc->body, log_callback);
1145 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
1157 (void *)&crc_file, log_callback);
1159 fdb_log(log_callback, FDB_RESULT_READ_FAIL,
1184 fdb_log(log_callback, FDB_RESULT_CHECKSUM_ERROR,
1219 fdb_log(handle->log_callback, (fdb_status) num_sub,
1233 fdb_log(handle->log_callback, (fdb_status) num_sub,
1369 err_log_callback *log_callback = handle->log_callback;
1370 _docio_read_through_buffer(handle, bid, log_callback, true);