Lines Matching defs:cfile

165  * note: If cfile is passed, the reference to it is dropped here.
166 * So make sure that you do not reuse cfile after return from this func.
175 int *cmds, int num_cmds, struct cifsFileInfo *cfile,
221 if (cfile)
275 if (cfile) {
278 cfile->fid.persistent_fid,
279 cfile->fid.volatile_fid,
294 if (!rc && (!cfile || num_rqst > 1)) {
308 if (cfile) {
312 cfile->fid.persistent_fid,
313 cfile->fid.volatile_fid,
330 if (!rc && (!cfile || num_rqst > 1)) {
375 if (cfile) {
378 cfile->fid.persistent_fid,
379 cfile->fid.volatile_fid,
394 if (!rc && (!cfile || num_rqst > 1)) {
410 if (cfile) {
413 cfile->fid.persistent_fid,
414 cfile->fid.volatile_fid, current->tgid,
425 if (!rc && (!cfile || num_rqst > 1)) {
451 if (cfile) {
454 cfile->fid.persistent_fid,
455 cfile->fid.volatile_fid,
465 if (!rc && (!cfile || num_rqst > 1)) {
505 if (cfile) {
507 cfile->fid.persistent_fid,
508 cfile->fid.volatile_fid,
519 if (!rc && (!cfile || num_rqst > 1)) {
533 if (cfile) {
535 cfile->fid.persistent_fid,
536 cfile->fid.volatile_fid,
545 if (!rc && (!cfile || num_rqst > 1)) {
559 if (cfile) {
562 cfile->fid.persistent_fid,
563 cfile->fid.volatile_fid,
580 if (!rc && (!cfile || num_rqst > 1)) {
597 if (cfile)
612 if (cfile) {
644 if (rc == 0 && cfile && cfile->symlink_target) {
645 idata->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL);
667 if (rc == 0 && cfile && cfile->symlink_target) {
668 idata->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL);
823 if (cfile)
824 cifsFileInfo_put(cfile);
867 struct cifsFileInfo *cfile;
917 cifs_get_readable_path(tcon, full_path, &cfile);
922 cfile, out_iov, out_buftype, NULL);
926 * cached open file (@cfile).
954 cifs_get_readable_path(tcon, full_path, &cfile);
957 cfile, NULL, NULL, NULL);
1003 struct cifsFileInfo *cfile;
1013 cifs_get_writable_path(tcon, name, FIND_WR_ANY, &cfile);
1019 cfile, NULL, NULL, NULL);
1065 int command, struct cifsFileInfo *cfile,
1084 cfile, NULL, NULL, dentry);
1096 struct cifsFileInfo *cfile;
1100 cifs_get_writable_path(tcon, from_name, FIND_WR_WITH_DELETE, &cfile);
1103 co, DELETE, SMB2_OP_RENAME, cfile, source_dentry);
1107 co, DELETE, SMB2_OP_RENAME, cfile, NULL);
1132 struct cifsFileInfo *cfile;
1139 cifs_get_writable_path(tcon, full_path, FIND_WR_ANY, &cfile);
1146 cfile, NULL, NULL, dentry);
1152 cfile, NULL, NULL, NULL);
1165 struct cifsFileInfo *cfile;
1179 cifs_get_writable_path(tcon, full_path, FIND_WR_ANY, &cfile);
1185 cfile, NULL, NULL, NULL);
1200 struct cifsFileInfo *cfile;
1223 cifs_get_writable_path(tcon, full_path, FIND_WR_ANY, &cfile);
1225 in_iov, cmds, 2, cfile, NULL, NULL, NULL);
1232 cifs_get_writable_path(tcon, full_path, FIND_WR_ANY, &cfile);
1234 in_iov, cmds, 2, cfile, NULL, NULL, NULL);
1252 struct cifsFileInfo *cfile;
1258 cifs_get_readable_path(tcon, full_path, &cfile);
1264 cfile, NULL, NULL, NULL);