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