/dovecot/src/lib/ |
H A D | fd-util.h | 4 /* Change close-on-exec flag of fd. */ 5 void fd_close_on_exec(int fd, bool set); 11 void fd_set_nonblock(int fd, bool nonblock); 14 same fd, in which case they're closed only once. If they point to stdin 18 /* Close the fd and set it to -1. This assert-crashes if fd == 0, and is a 19 no-op if fd == -1. Normally fd == 0 would happen only if an uninitialized 20 fd is attempted to be closed, which is a bug. */ 21 void i_close_fd_path(int *fd, cons [all...] |
H A D | file-set-size.h | 7 int file_set_size(int fd, off_t size); 11 int file_preallocate(int fd, off_t size);
|
H A D | fdatasync-path.c | 11 int fd, ret = 0; local 15 fd = open(path, O_RDONLY); 16 if (fd == -1) 18 if (fdatasync(fd) < 0) { 29 i_close_fd(&fd);
|
H A D | ostream-unix.h | 4 struct ostream *o_stream_create_unix(int fd, size_t max_buffer_size); 5 /* Write fd to UNIX socket along with the next outgoing data block. 6 Returns TRUE if fd is accepted, and FALSE if a previous fd still 8 bool o_stream_unix_write_fd(struct ostream *output, int fd);
|
H A D | read-full.h | 6 int read_full(int fd, void *data, size_t size); 7 int pread_full(int fd, void *data, size_t size, off_t offset);
|
H A D | write-full.h | 7 int write_full(int fd, const void *data, size_t size); 8 int pwrite_full(int fd, const void *data, size_t size, off_t offset);
|
H A D | test-istream-unix.c | 15 static void write_one(int fd) argument 17 if (write(fd, "1", 1) < 0) 21 static void read_one(int fd) argument 25 if (read(fd, &buf, 1) < 0) 59 static void test_istream_unix_server(int fd) argument 65 input = i_stream_create_unix(fd, 1024); 68 write_one(fd); 70 /* 2) fd was sent but we won't get it */ 72 /* we still shouldn't have the fd */ 78 write_one(fd); 115 test_istream_unix_client(int fd) argument 163 int fd[2]; local [all...] |
H A D | ioloop-notify-fd.h | 4 /* common notify code for fd-based notifications (dnotify, inotify) */ 12 int fd; member in struct:io_notify 20 io_notify_fd_add(struct ioloop_notify_fd_context *ctx, int fd, 26 io_notify_fd_find(struct ioloop_notify_fd_context *ctx, int fd);
|
H A D | fd-util.c | 11 void fd_close_on_exec(int fd, bool set) argument 15 flags = fcntl(fd, F_GETFD, 0); 17 i_fatal("fcntl(F_GETFD, %d) failed: %m", fd); 20 if (fcntl(fd, F_SETFD, flags) < 0) 21 i_fatal("fcntl(F_SETFD, %d) failed: %m", fd); 32 for (int fd = first_fd; fd <= last_fd; ++fd) { 33 if (fcntl(fd, F_GETFD, 0) == -1 && errno == EBADF) 38 if (net_getsockname(fd, 98 fd_set_nonblock(int fd, bool nonblock) argument 135 i_close_fd_path(int *fd, const char *path, const char *arg, const char *func, const char *file, int line) argument [all...] |
H A D | unix-socket-create.c | 14 int fd; local 17 fd = net_listen_unix_unlink_stale(path, backlog); 20 if (fd < 0) { 30 i_close_fd(&fd); 34 return fd;
|
/dovecot/src/log/ |
H A D | doveadm-connection.h | 4 void doveadm_connection_create(struct log_error_buffer *errorbuf, int fd);
|
/dovecot/src/auth/ |
H A D | auth-postfix-connection.h | 5 auth_postfix_connection_create(struct auth *auth, int fd);
|
/dovecot/src/imap/ |
H A D | imap-master-client.h | 4 void imap_master_client_create(int fd);
|
/dovecot/src/imap-hibernate/ |
H A D | imap-hibernate-client.h | 4 void imap_hibernate_client_create(int fd, bool debug);
|
/dovecot/src/lib-index/ |
H A D | mail-index-lock.c | 26 int mail_index_lock_fd(struct mail_index *index, const char *path, int fd, argument 30 if (fd == -1) { 35 return file_wait_lock(fd, path, lock_type, index->lock_method, 40 int fd, bool locked) 50 nfs_flush_read_cache_locked(path, fd); 52 nfs_flush_read_cache_unlocked(path, fd); 39 mail_index_flush_read_cache(struct mail_index *index, const char *path, int fd, bool locked) argument
|
/dovecot/src/master/ |
H A D | service-process-notify.h | 5 service_process_notify_callback_t(int fd, struct service_process *process); 8 service_process_notify_init(int fd,
|
/dovecot/src/old-stats/ |
H A D | fifo-input-connection.h | 4 struct fifo_input_connection *fifo_input_connection_create(int fd);
|
/dovecot/src/config/ |
H A D | config-connection.h | 4 struct config_connection *config_connection_create(int fd);
|
/dovecot/src/director/ |
H A D | notify-connection.h | 6 void notify_connection_init(struct director *dir, int fd, bool fifo);
|
/dovecot/src/indexer/ |
H A D | master-connection.h | 5 master_connection_create(int fd, struct mail_storage_service_ctx *storage_service);
|
/dovecot/src/ipc/ |
H A D | client.h | 4 struct client *client_create(int fd);
|
/dovecot/src/replication/aggregator/ |
H A D | notify-connection.h | 4 void notify_connection_create(int fd, bool fifo);
|
/dovecot/src/replication/replicator/ |
H A D | doveadm-connection.h | 6 void doveadm_connection_create(struct replicator_brain *brain, int fd);
|
/dovecot/src/stats/ |
H A D | client-reader.h | 6 void client_reader_create(int fd, struct stats_metrics *metrics);
|
H A D | client-writer.h | 6 void client_writer_create(int fd, struct stats_metrics *metrics);
|