Lines Matching refs:lw
507 struct smb2_lease_break_work *lw = container_of(work, in cifs_ses_oplock_break() local
511 rc = SMB2_lease_break(0, tlink_tcon(lw->tlink), lw->lease_key, in cifs_ses_oplock_break()
512 lw->lease_state); in cifs_ses_oplock_break()
515 cifs_put_tlink(lw->tlink); in cifs_ses_oplock_break()
516 kfree(lw); in cifs_ses_oplock_break()
523 struct smb2_lease_break_work *lw; in smb2_queue_pending_open_break() local
525 lw = kmalloc(sizeof(struct smb2_lease_break_work), GFP_KERNEL); in smb2_queue_pending_open_break()
526 if (!lw) { in smb2_queue_pending_open_break()
531 INIT_WORK(&lw->lease_break, cifs_ses_oplock_break); in smb2_queue_pending_open_break()
532 lw->tlink = tlink; in smb2_queue_pending_open_break()
533 lw->lease_state = new_lease_state; in smb2_queue_pending_open_break()
534 memcpy(lw->lease_key, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_queue_pending_open_break()
535 queue_work(cifsiod_wq, &lw->lease_break); in smb2_queue_pending_open_break()