Lines Matching defs:cancelled
750 struct close_cancelled_open *cancelled = container_of(work,
752 struct cifs_tcon *tcon = cancelled->tcon;
755 if (cancelled->mid)
757 cancelled->mid);
761 rc = SMB2_close(0, tcon, cancelled->fid.persistent_fid,
762 cancelled->fid.volatile_fid);
764 cifs_tcon_dbg(VFS, "Close cancelled mid failed rc:%d\n", rc);
767 kfree(cancelled);
782 struct close_cancelled_open *cancelled;
784 cancelled = kzalloc(sizeof(*cancelled), GFP_KERNEL);
785 if (!cancelled)
788 cancelled->fid.persistent_fid = persistent_fid;
789 cancelled->fid.volatile_fid = volatile_fid;
790 cancelled->tcon = tcon;
791 cancelled->cmd = cmd;
792 cancelled->mid = mid;
793 INIT_WORK(&cancelled->work, smb2_cancelled_close_fid);
794 WARN_ON(queue_work(cifsiod_wq, &cancelled->work) == false);