Lines Matching refs:cancelled
756 struct close_cancelled_open *cancelled = container_of(work, in smb2_cancelled_close_fid() local
758 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid()
761 if (cancelled->mid) in smb2_cancelled_close_fid()
763 cancelled->mid); in smb2_cancelled_close_fid()
767 rc = SMB2_close(0, tcon, cancelled->fid.persistent_fid, in smb2_cancelled_close_fid()
768 cancelled->fid.volatile_fid); in smb2_cancelled_close_fid()
773 kfree(cancelled); in smb2_cancelled_close_fid()
788 struct close_cancelled_open *cancelled; in __smb2_handle_cancelled_cmd() local
790 cancelled = kzalloc(sizeof(*cancelled), GFP_ATOMIC); in __smb2_handle_cancelled_cmd()
791 if (!cancelled) in __smb2_handle_cancelled_cmd()
794 cancelled->fid.persistent_fid = persistent_fid; in __smb2_handle_cancelled_cmd()
795 cancelled->fid.volatile_fid = volatile_fid; in __smb2_handle_cancelled_cmd()
796 cancelled->tcon = tcon; in __smb2_handle_cancelled_cmd()
797 cancelled->cmd = cmd; in __smb2_handle_cancelled_cmd()
798 cancelled->mid = mid; in __smb2_handle_cancelled_cmd()
799 INIT_WORK(&cancelled->work, smb2_cancelled_close_fid); in __smb2_handle_cancelled_cmd()
800 WARN_ON(queue_work(cifsiod_wq, &cancelled->work) == false); in __smb2_handle_cancelled_cmd()