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);
122 struct ecryptfs_open_req req;
126 init_completion(&req.done);
127 req.lower_file = lower_file;
128 req.path.dentry = lower_dentry;
129 req.path.mnt = lower_mnt;
135 (*lower_file) = dentry_open(&req.path, flags, cred);
151 list_add_tail(&req.kthread_ctl_list, &ecryptfs_kthread_ctl.req_list);
154 wait_for_completion(&req.done);