Lines Matching refs:cancelled
735 struct close_cancelled_open *cancelled = container_of(work, in smb2_cancelled_close_fid() local
740 SMB2_close(0, cancelled->tcon, cancelled->fid.persistent_fid, in smb2_cancelled_close_fid()
741 cancelled->fid.volatile_fid); in smb2_cancelled_close_fid()
742 cifs_put_tcon(cancelled->tcon); in smb2_cancelled_close_fid()
743 kfree(cancelled); in smb2_cancelled_close_fid()
751 struct close_cancelled_open *cancelled; in __smb2_handle_cancelled_close() local
753 cancelled = kzalloc(sizeof(*cancelled), GFP_ATOMIC); in __smb2_handle_cancelled_close()
754 if (!cancelled) in __smb2_handle_cancelled_close()
757 cancelled->fid.persistent_fid = persistent_fid; in __smb2_handle_cancelled_close()
758 cancelled->fid.volatile_fid = volatile_fid; in __smb2_handle_cancelled_close()
759 cancelled->tcon = tcon; in __smb2_handle_cancelled_close()
760 INIT_WORK(&cancelled->work, smb2_cancelled_close_fid); in __smb2_handle_cancelled_close()
761 WARN_ON(queue_work(cifsiod_wq, &cancelled->work) == false); in __smb2_handle_cancelled_close()