Lines Matching refs:lcontext
4095 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf()
4096 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb2_create_lease_buf()
4099 (struct create_lease, lcontext)); in smb2_create_lease_buf()
4121 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
4122 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb3_create_lease_buf()
4123 buf->lcontext.LeaseFlags = flags; in smb3_create_lease_buf()
4125 memcpy(&buf->lcontext.ParentLeaseKey, parent_lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
4128 (struct create_lease_v2, lcontext)); in smb3_create_lease_buf()
4147 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE) in smb2_parse_lease_buf()
4149 return le32_to_cpu(lc->lcontext.LeaseState); in smb2_parse_lease_buf()
4157 *epoch = le16_to_cpu(lc->lcontext.Epoch); in smb3_parse_lease_buf()
4158 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE) in smb3_parse_lease_buf()
4161 memcpy(lease_key, &lc->lcontext.LeaseKey, SMB2_LEASE_KEY_SIZE); in smb3_parse_lease_buf()
4162 return le32_to_cpu(lc->lcontext.LeaseState); in smb3_parse_lease_buf()