Searched refs:new_fd (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib-storage/
H A Dmail-duplicate.c44 int new_fd; member in struct:mail_duplicate_file
210 file->new_fd = file_dotlock_open(&db->dotlock_set, file->path, 0,
212 if (file->new_fd != -1)
297 if (!file->changed || file->new_fd == -1) {
306 output = o_stream_create_fd_file(file->new_fd, 0, FALSE);
/dovecot/src/lib-index/
H A Dmail-transaction-log-file.c681 int new_fd, bool reset,
693 if (fcntl(new_fd, F_SETFL, O_APPEND) < 0) {
774 if (write_full(new_fd, writebuf->data, writebuf->used) < 0) {
782 if (fdatasync(new_fd) < 0) {
788 file->fd = new_fd;
834 file->fd = new_fd;
680 mail_transaction_log_file_create2(struct mail_transaction_log_file *file, int new_fd, bool reset, struct dotlock **dotlock) argument

Completed in 15 milliseconds