Lines Matching defs:cancelled
749 struct close_cancelled_open *cancelled = container_of(work,
751 struct cifs_tcon *tcon = cancelled->tcon;
754 if (cancelled->mid)
756 cancelled->mid);
760 rc = SMB2_close(0, tcon, cancelled->fid.persistent_fid,
761 cancelled->fid.volatile_fid);
763 cifs_tcon_dbg(VFS, "Close cancelled mid failed rc:%d\n", rc);
766 kfree(cancelled);
781 struct close_cancelled_open *cancelled;
783 cancelled = kzalloc(sizeof(*cancelled), GFP_ATOMIC);
784 if (!cancelled)
787 cancelled->fid.persistent_fid = persistent_fid;
788 cancelled->fid.volatile_fid = volatile_fid;
789 cancelled->tcon = tcon;
790 cancelled->cmd = cmd;
791 cancelled->mid = mid;
792 INIT_WORK(&cancelled->work, smb2_cancelled_close_fid);
793 WARN_ON(queue_work(cifsiod_wq, &cancelled->work) == false);