Searched refs:dbbt_chunkread (Results 1 – 2 of 2) sorted by relevance
/dports/mail/qsf/qsf-1.2.7/src/db/ |
H A D | obtree.c | 74 static int dbbt_chunkread(void *ptr, int size, int nmemb, int fd) in dbbt_chunkread() function 126 got = dbbt_chunkread(record, BT_RECORD_SIZE, 1, db->fd); in dbbt_read_record() 184 dbbt_chunkread(offset, sizeof(*offset), 1, db->fd); in dbbt_find_token() 366 dbbt_chunkread(&offset, sizeof(offset), 1, fd); in qdb_obtree_open() 549 if (dbbt_chunkread(&offset, sizeof(offset), 1, db->fd) < 1) { in qdb_obtree_store() 569 || (dbbt_chunkread(&nextfree, sizeof(nextfree), 1, db->fd) < 1) in qdb_obtree_store() 631 if (dbbt_chunkread(&record, BT_RECORD_SIZE, 1, db->fd) < 1) { in qdb_obtree_firstkey() 673 if (dbbt_chunkread(&record, BT_RECORD_SIZE, 1, db->fd) < 1) { in qdb_obtree_nextkey() 799 if (dbbt_chunkread(&nextfree, sizeof(nextfree), 1, db->fd) < 0) { in qdb_obtree_delete()
|
H A D | btree.c | 144 static int dbbt_chunkread(void *ptr, int size, int nmemb, qdbint_t db) in dbbt_chunkread() function 239 got = dbbt_chunkread(record, BT_RECORD_SIZE, 1, db); in dbbt_read_record() 297 dbbt_chunkread(offset, sizeof(*offset), 1, db); in dbbt_find_token() 354 if (dbbt_chunkread(&nextfree, sizeof(nextfree), 1, db) < 0) { in dbbt_markfree() 551 dbbt_chunkread(&offset, sizeof(offset), 1, db); in qdb_btree_open() 762 if (dbbt_chunkread(&offset, sizeof(offset), 1, db) < 1) { in qdb_btree_store() 782 || (dbbt_chunkread(&nextfree, sizeof(nextfree), 1, db) < 1) in qdb_btree_store() 845 if (dbbt_chunkread(&record, BT_RECORD_SIZE, 1, db) < 1) { in qdb_btree_firstkey() 888 if (dbbt_chunkread(&record, BT_RECORD_SIZE, 1, db) < 1) { in qdb_btree_nextkey()
|