Lines Matching defs:fd
155 int fd;
215 if (*err || (*err = atalk_openref(gref, &fd, proc))) {
223 kprintf("_ATsocket: proto=%d return=%d fd=%d\n", proto, *err, fd);
225 return fd;
228 int _ATgetmsg(fd, ctlptr, datptr, flags, err, proc)
229 int fd;
239 if ((*err = atalk_getref(0, fd, &gref, proc, 1)) == 0) {
253 file_drop(fd);
260 int _ATputmsg(fd, ctlptr, datptr, flags, err, proc)
261 int fd;
271 if ((*err = atalk_getref(0, fd, &gref, proc, 1)) == 0) {
278 file_drop(fd);
641 * select() is already holding a reference on the fd, so it won't go away during the time it is unlocked.