Lines Matching refs:lcontext
3430 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf()
3431 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb2_create_lease_buf()
3434 (struct create_lease, lcontext)); in smb2_create_lease_buf()
3456 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
3457 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb3_create_lease_buf()
3460 (struct create_lease_v2, lcontext)); in smb3_create_lease_buf()
3479 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS) in smb2_parse_lease_buf()
3481 return le32_to_cpu(lc->lcontext.LeaseState); in smb2_parse_lease_buf()
3489 *epoch = le16_to_cpu(lc->lcontext.Epoch); in smb3_parse_lease_buf()
3490 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS) in smb3_parse_lease_buf()
3493 memcpy(lease_key, &lc->lcontext.LeaseKey, SMB2_LEASE_KEY_SIZE); in smb3_parse_lease_buf()
3494 return le32_to_cpu(lc->lcontext.LeaseState); in smb3_parse_lease_buf()