Lines Matching refs:addition
1011 static int tdb_expand_file(struct tdb_context *tdb, tdb_off_t size, tdb_off_t addition)
1020 if (ftruncate(tdb->fd, size+addition) == -1) {
1022 if (pwrite(tdb->fd, &b, 1, (size+addition) - 1) != 1) {
1024 size+addition, strerror(errno)));
1033 while (addition) {
1034 int n = addition>sizeof(buf)?sizeof(buf):addition;
1041 addition -= n;
1547 tdb_off_t addition)
1551 if (transaction_write(tdb, size, NULL, addition) != 0) {