Lines Matching defs:st
394 #define READY_MESSAGE(st) (((st).st_mode & S_IRWXU) == MAIL_QUEUE_STAT_READY)
463 struct stat st;
490 if (mail_open_ok(*msg_qpp, queue_id, &st, &msg_path) != MAIL_OPEN_YES)
509 struct stat st;
538 if (mail_open_ok(*msg_qpp, queue_id, &st, &old_path) != MAIL_OPEN_YES)
559 struct stat st;
592 if (mail_open_ok(*msg_qpp, queue_id, &st, &old_path) != MAIL_OPEN_YES)
610 struct stat st;
633 if (mail_open_ok(*msg_qpp, queue_id, &st, &old_path) != MAIL_OPEN_YES)
665 const char *actual_id, struct stat * st)
684 get_file_id_st(st, 0));
689 get_file_id_st(st, 1));
693 vstring_strcat(new_id, get_file_id_st(st, 0));
732 struct stat st;
815 if (stat(STR(actual_path), &st) < 0)
823 if (S_ISDIR(st.st_mode)) {
843 if (MESSAGE_QUEUE(qp) && READY_MESSAGE(st))
854 if (!S_ISREG(st.st_mode)
857 && !READY_MESSAGE(st)
858 && time((time_t *) 0) > st.st_mtime + MAX_TEMP_AGE)) {
885 if (inum != (unsigned long) st.st_ino) {
936 || (inum != (unsigned long) st.st_ino
940 fix_queue_id(STR(actual_path), queue_name, path, &st);
1066 struct stat st;
1122 if (fstat(fd, &st) == -1