Lines Matching refs:fd
42 struct fd {
47 static inline struct fd
50 struct fd fd;
52 fd.file = fd_getfile(number);
53 fd.fd_number = number;
55 return fd;
59 fdput(struct fd fd)
62 fd_putfile(fd.fd_number);
65 /* fget translates; fput(fp) doesn't because we have fd_putfile(fd). */
67 fget(int fd)
69 return fd_getfile(fd);
73 fd_install(int fd, struct file *fp)
75 fd_affix(curproc, fp, fd);