Lines Matching refs:req
46 struct ecryptfs_open_req *req;
58 req = list_first_entry(&ecryptfs_kthread_ctl.req_list,
61 list_del(&req->kthread_ctl_list);
62 *req->lower_file = dentry_open(&req->path,
64 complete(&req->done);
91 struct ecryptfs_open_req *req, *tmp;
95 list_for_each_entry_safe(req, tmp, &ecryptfs_kthread_ctl.req_list,
97 list_del(&req->kthread_ctl_list);
98 *req->lower_file = ERR_PTR(-EIO);
99 complete(&req->done);
121 struct ecryptfs_open_req req;
125 init_completion(&req.done);
126 req.lower_file = lower_file;
127 req.path.dentry = lower_dentry;
128 req.path.mnt = lower_mnt;
134 (*lower_file) = dentry_open(&req.path, flags, cred);
150 list_add_tail(&req.kthread_ctl_list, &ecryptfs_kthread_ctl.req_list);
153 wait_for_completion(&req.done);