Searched defs:fl (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/lib/
H A Dnfs-workarounds.c221 struct flock fl; local
231 fl.l_type = F_RDLCK;
232 fl.l_whence = SEEK_SET;
233 fl.l_start = 0;
234 fl.l_len = 0;
237 ret = fcntl(fd, F_SETLKW, &fl);
249 fl.l_type = F_UNLCK;
250 (void)fcntl(fd, F_SETLKW, &fl);
H A Dfile-lock.c77 struct flock fl; local
79 i_zero(&fl);
80 fl.l_type = lock_type;
81 fl.l_whence = SEEK_SET;
82 fl.l_start = 0;
83 fl.l_len = 0;
85 if (fcntl(lock_fd, F_GETLK, &fl) < 0 ||
86 fl.l_type == F_UNLCK || fl.l_pid == -1 || fl
[all...]
/dovecot/src/lib-storage/index/mbox/
H A Dmbox-lock.c596 struct flock fl; local
607 i_zero(&fl);
608 fl.l_type = lock_type;
609 fl.l_whence = SEEK_SET;
610 fl.l_start = 0;
611 fl.l_len = 0;
626 while (fcntl(ctx->mbox->mbox_fd, wait_type, &fl) < 0) {

Completed in 13 milliseconds