Lines Matching refs:cfile

51  * note: If cfile is passed, the reference to it is dropped here.
52 * So make sure that you do not reuse cfile after return from this func.
61 umode_t mode, void *ptr, int command, struct cifsFileInfo *cfile,
98 if (cfile)
139 if (cfile)
142 cfile->fid.persistent_fid,
143 cfile->fid.volatile_fid,
173 if (cfile)
176 cfile->fid.persistent_fid,
177 cfile->fid.volatile_fid,
238 if (cfile) {
241 cfile->fid.persistent_fid,
242 cfile->fid.volatile_fid,
274 if (cfile)
277 cfile->fid.persistent_fid,
278 cfile->fid.volatile_fid, current->tgid,
316 if (cfile)
319 cfile->fid.persistent_fid,
320 cfile->fid.volatile_fid,
374 if (cfile)
389 if (cfile) {
410 if (rc == 0 && cfile && cfile->symlink_target) {
411 idata->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL);
436 if (rc == 0 && cfile && cfile->symlink_target) {
437 idata->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL);
529 if (cfile)
530 cifsFileInfo_put(cfile);
581 struct cifsFileInfo *cfile;
608 cifs_get_readable_path(tcon, full_path, &cfile);
610 create_options, ACL_NO_MODE, data, SMB2_OP_QUERY_INFO, cfile,
615 * cached open file (@cfile).
629 cifs_get_readable_path(tcon, full_path, &cfile);
633 SMB2_OP_QUERY_INFO, cfile, NULL, NULL,
668 struct cifsFileInfo *cfile;
686 cifs_get_readable_path(tcon, full_path, &cfile);
688 create_options, ACL_NO_MODE, data, SMB2_OP_POSIX_QUERY_INFO, cfile,
692 * cached open file (@cfile).
707 cifs_get_readable_path(tcon, full_path, &cfile);
710 SMB2_OP_POSIX_QUERY_INFO, cfile,
760 struct cifsFileInfo *cfile;
768 cifs_get_writable_path(tcon, name, FIND_WR_ANY, &cfile);
772 &data, SMB2_OP_SET_INFO, cfile, NULL, NULL, NULL, NULL);
800 int command, struct cifsFileInfo *cfile)
812 command, cfile, NULL, NULL, NULL, NULL);
824 struct cifsFileInfo *cfile;
828 cifs_get_writable_path(tcon, from_name, FIND_WR_WITH_DELETE, &cfile);
831 co, DELETE, SMB2_OP_RENAME, cfile);
853 struct cifsFileInfo *cfile;
855 cifs_get_writable_path(tcon, full_path, FIND_WR_ANY, &cfile);
858 &eof, SMB2_OP_SET_EOF, cfile, NULL, NULL, NULL, NULL);
868 struct cifsFileInfo *cfile;
881 cifs_get_writable_path(tcon, full_path, FIND_WR_ANY, &cfile);
884 0, ACL_NO_MODE, buf, SMB2_OP_SET_INFO, cfile,