Lines Matching defs:fd2
51 int32_t fd2;
86 static inline int sync_merge(const char *name, int fd1, int fd2)
91 data.fd2 = fd2;
104 /* accumulate fd2 into fd1. If *fd1 is not a valid fd then dup fd2,
121 static inline int sync_accumulate(const char *name, int *fd1, int fd2)
125 assert(fd2 >= 0);
128 *fd1 = dup(fd2);
132 ret = sync_merge(name, *fd1, fd2);