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