Lines Matching refs:lw
509 struct smb2_lease_break_work *lw = container_of(work, in cifs_ses_oplock_break() local
513 rc = SMB2_lease_break(0, tlink_tcon(lw->tlink), lw->lease_key, in cifs_ses_oplock_break()
514 lw->lease_state); in cifs_ses_oplock_break()
517 cifs_put_tlink(lw->tlink); in cifs_ses_oplock_break()
518 kfree(lw); in cifs_ses_oplock_break()
525 struct smb2_lease_break_work *lw; in smb2_queue_pending_open_break() local
527 lw = kmalloc(sizeof(struct smb2_lease_break_work), GFP_KERNEL); in smb2_queue_pending_open_break()
528 if (!lw) { in smb2_queue_pending_open_break()
533 INIT_WORK(&lw->lease_break, cifs_ses_oplock_break); in smb2_queue_pending_open_break()
534 lw->tlink = tlink; in smb2_queue_pending_open_break()
535 lw->lease_state = new_lease_state; in smb2_queue_pending_open_break()
536 memcpy(lw->lease_key, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_queue_pending_open_break()
537 queue_work(cifsiod_wq, &lw->lease_break); in smb2_queue_pending_open_break()