Searched defs:st_r (Results 1 - 16 of 16) sorted by relevance

/dovecot/src/lib-storage/index/cydir/
H A Dcydir-mail.c20 static int cydir_mail_stat(struct mail *mail, struct stat *st_r) argument
32 if (stat(path, st_r) < 0) {
/dovecot/src/lib/
H A Dmkdir-parents.c160 struct stat *st_r)
164 while (stat(path, st_r) < 0) {
159 stat_first_parent(const char *path, const char **root_dir_r, struct stat *st_r) argument
H A Distream.c500 int i_stream_stat(struct istream *stream, bool exact, const struct stat **st_r) argument
511 *st_r = &_stream->statbuf;
/dovecot/src/lib-storage/list/
H A Dsubscription-file.c307 int subsfile_list_fstat(struct subsfile_list_context *ctx, struct stat *st_r) argument
318 *st_r = *st;
/dovecot/src/plugins/acl/
H A Dacl-global-file.c208 void acl_global_file_last_stat(struct acl_global_file *file, struct stat *st_r) argument
210 *st_r = file->prev_st;
/dovecot/src/lib-fs/
H A Dfs-dict.c249 static int fs_dict_stat(struct fs_file *_file, struct stat *st_r) argument
253 i_zero(st_r);
257 st_r->st_size = strlen(file->value);
H A Dfs-test.c223 static int fs_test_stat(struct fs_file *_file, struct stat *st_r) argument
239 i_zero(st_r);
240 st_r->st_size = file->contents->used;
H A Dfs-wrapper.c107 int fs_wrapper_stat(struct fs_file *file, struct stat *st_r) argument
109 return fs_stat(file->parent, st_r);
H A Dfs-metawrap.c426 static int fs_metawrap_stat(struct fs_file *_file, struct stat *st_r) argument
434 return fs_stat(_file->parent, st_r);
438 if (fs_stat(_file->parent, st_r) < 0)
440 if ((uoff_t)st_r->st_size < file->metadata_write_size) {
444 fs_file_path(_file), st_r->st_size,
448 st_r->st_size -= file->metadata_write_size;
473 if (fs_stat(_file->parent, st_r) < 0) {
477 st_r->st_size = input_size;
H A Dfs-posix.c690 static int fs_posix_stat(struct fs_file *_file, struct stat *st_r) argument
698 if (fstat(file->fd, st_r) < 0) {
703 if (stat(file->full_path, st_r) < 0) {
H A Dfs-randomfail.c404 static int fs_randomfail_stat(struct fs_file *_file, struct stat *st_r) argument
411 ret = fs_stat(_file->parent, st_r);
H A Dfs-api.c914 int fs_stat(struct fs_file *file, struct stat *st_r) argument
930 ret = file->fs->v.stat(file, st_r);
/dovecot/src/lib-storage/index/dbox-common/
H A Ddbox-file.c243 int dbox_file_stat(struct dbox_file *file, struct stat *st_r) argument
249 if (fstat(file->fd, st_r) < 0) {
259 while (stat(path, st_r) < 0) {
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-mail.c103 static int maildir_mail_stat(struct mail *mail, struct stat *st_r) argument
127 if (fstat(fd, st_r) < 0) {
134 ret = maildir_file_do(mbox, mail->uid, do_stat, st_r);
143 if (stat(path, st_r) < 0) {
H A Dmaildir-sync.c380 maildir_stat(struct maildir_mailbox *mbox, const char *path, struct stat *st_r) argument
386 if (nfs_safe_stat(path, st_r) == 0)
H A Dmaildir-uidlist.c848 maildir_uidlist_stat(struct maildir_uidlist *uidlist, struct stat *st_r) argument
856 if (nfs_safe_stat(uidlist->path, st_r) < 0) {

Completed in 37 milliseconds