Lines Matching refs:fd2
79 int32_t fd2;
126 static inline int sync_merge(const char *name, int fd1, int fd2)
131 data.fd2 = fd2;
156 /* accumulate fd2 into fd1. If *fd1 is not a valid fd then dup fd2,
173 static inline int sync_accumulate(const char *name, int *fd1, int fd2)
177 assert(fd2 >= 0);
180 *fd1 = dup(fd2);
184 ret = sync_merge(name, *fd1, fd2);