Lines Matching defs:tfile
899 struct file *tfile, int fd)
917 ep_set_ffd(&epi->ffd, tfile, fd);
933 revents = tfile->f_op->poll(tfile, &epq.pt);
945 spin_lock(&tfile->f_lock);
946 list_add_tail(&epi->fllink, &tfile->f_ep_links);
947 spin_unlock(&tfile->f_lock);
1232 struct file *file, *tfile;
1249 tfile = fget(fd);
1250 if (!tfile)
1255 if (!tfile->f_op || !tfile->f_op->poll)
1264 if (file == tfile || !is_file_epoll(file))
1280 epi = ep_find(ep, tfile, fd);
1287 error = ep_insert(ep, &epds, tfile, fd);
1308 fput(tfile);