Lines Matching refs:tfile
721 struct file *tfile, int fd)
738 ep_set_ffd(&epi->ffd, tfile, fd);
754 revents = tfile->f_op->poll(tfile, &epq.pt);
765 spin_lock(&tfile->f_ep_lock);
766 list_add_tail(&epi->fllink, &tfile->f_ep_links);
767 spin_unlock(&tfile->f_ep_lock);
796 current, ep, tfile, fd));
1123 struct file *file, *tfile;
1143 tfile = fget(fd);
1144 if (!tfile)
1149 if (!tfile->f_op || !tfile->f_op->poll)
1158 if (file == tfile || !is_file_epoll(file))
1174 epi = ep_find(ep, tfile, fd);
1182 error = ep_insert(ep, &epds, tfile, fd);
1203 fput(tfile);