Home
last modified time | relevance | path

Searched refs:dotlock_set (Results 1 – 12 of 12) sorted by relevance

/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/list/
H A Dsubscription-file.c121 struct dotlock_settings dotlock_set; in subsfile_set_subscribed() local
135 i_zero(&dotlock_set); in subsfile_set_subscribed()
136 dotlock_set.use_excl_lock = mail_set->dotlock_use_excl; in subsfile_set_subscribed()
137 dotlock_set.nfs_flush = mail_set->mail_nfs_storage; in subsfile_set_subscribed()
138 dotlock_set.temp_prefix = temp_prefix; in subsfile_set_subscribed()
139 dotlock_set.timeout = SUBSCRIPTION_FILE_LOCK_TIMEOUT; in subsfile_set_subscribed()
140 dotlock_set.stale_timeout = SUBSCRIPTION_FILE_CHANGE_TIMEOUT; in subsfile_set_subscribed()
143 fd_out = file_dotlock_open_group(&dotlock_set, path, 0, in subsfile_set_subscribed()
158 fd_out = file_dotlock_open_group(&dotlock_set, path, 0, in subsfile_set_subscribed()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/
H A Dmail-duplicate.c87 struct dotlock_settings dotlock_set; member
405 new_fd = file_dotlock_open(&db->dotlock_set, trans->path, 0, &dotlock); in mail_duplicate_read()
414 trans->path, db->dotlock_set.timeout); in mail_duplicate_read()
632 new_fd = file_dotlock_open(&db->dotlock_set, trans->path, 0, &dotlock); in mail_duplicate_transaction_commit()
644 trans->path, db->dotlock_set.timeout); in mail_duplicate_transaction_commit()
733 db->dotlock_set = default_mail_duplicate_dotlock_set; in mail_duplicate_db_init()
742 db->dotlock_set.use_excl_lock = mail_set->dotlock_use_excl; in mail_duplicate_db_init()
743 db->dotlock_set.nfs_flush = mail_set->mail_nfs_storage; in mail_duplicate_db_init()
H A Dmail-storage.c3173 const struct dotlock_settings dotlock_set = { in mail_storage_dotlock_create() local
3183 int ret = file_dotlock_create(&dotlock_set, lock_path, 0, &dotlock); in mail_storage_dotlock_create()
/dports/mail/dovecot/dovecot-2.3.17/src/pop3/
H A Dpop3-client.c342 struct dotlock_settings dotlock_set; in pop3_lock_session() local
365 dotlock_set = session_dotlock_set; in pop3_lock_session()
366 dotlock_set.use_excl_lock = mail_set->dotlock_use_excl; in pop3_lock_session()
367 dotlock_set.nfs_flush = mail_set->mail_nfs_storage; in pop3_lock_session()
369 ret = file_dotlock_create(&dotlock_set, path, 0, in pop3_lock_session()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-fs/
H A Dfs-posix.c689 struct dotlock_settings dotlock_set; in fs_posix_lock() local
723 i_zero(&dotlock_set); in fs_posix_lock()
724 dotlock_set.stale_timeout = FS_POSIX_DOTLOCK_STALE_TIMEOUT_SECS; in fs_posix_lock()
725 dotlock_set.use_excl_lock = TRUE; in fs_posix_lock()
726 dotlock_set.timeout = secs; in fs_posix_lock()
728 ret = file_dotlock_create(&dotlock_set, file->full_path, in fs_posix_lock()
/dports/mail/dovecot/dovecot-2.3.17/src/plugins/acl/
H A Dacl-backend-vfile-update.c18 static struct dotlock_settings dotlock_set = { variable
39 fd = file_dotlock_open_group(&dotlock_set, aclobj->local_path, 0, in acl_backend_vfile_update_begin()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-master/
H A Dmaster-instance.c31 static const struct dotlock_settings dotlock_set = { variable
172 fd = file_dotlock_open_mode(&dotlock_set, list->path, 0, 0644, in master_instance_write_init()
/dports/mail/dovecot/dovecot-2.3.17/src/plugins/fts-squat/
H A Dsquat-trie-private.h128 struct dotlock_settings dotlock_set; member
H A Dsquat-trie.c145 trie->dotlock_set.use_excl_lock = in squat_trie_init()
147 trie->dotlock_set.nfs_flush = (flags & SQUAT_INDEX_FLAG_NFS_FLUSH) != 0; in squat_trie_init()
148 trie->dotlock_set.timeout = SQUAT_TRIE_LOCK_TIMEOUT; in squat_trie_init()
149 trie->dotlock_set.stale_timeout = SQUAT_TRIE_DOTLOCK_STALE_TIMEOUT; in squat_trie_init()
306 ret = file_dotlock_create(&trie->dotlock_set, in squat_trie_lock()
H A Dsquat-uidlist.c624 ret = file_dotlock_create(&uidlist->trie->dotlock_set, in squat_uidlist_lock()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-index/
H A Dmail-transaction-log-file.c308 struct dotlock_settings dotlock_set; in mail_transaction_log_file_dotlock() local
315 mail_transaction_log_get_dotlock_set(file->log, &dotlock_set); in mail_transaction_log_file_dotlock()
316 ret = file_dotlock_create(&dotlock_set, file->filepath, 0, in mail_transaction_log_file_dotlock()
333 dotlock_set.timeout, file->filepath); in mail_transaction_log_file_dotlock()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/index/dbox-common/
H A Ddbox-file.c27 static const struct dotlock_settings dotlock_set = { variable
326 ret = file_dotlock_create(&dotlock_set, file->cur_path, in dbox_file_try_lock()