Home
last modified time | relevance | path

Searched refs:lcontext (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/ksmbd/
Doplock.c1352 memcpy(buf->lcontext.LeaseKey, lease->lease_key, in create_lease_buf()
1354 buf->lcontext.LeaseFlags = lease->flags; in create_lease_buf()
1355 buf->lcontext.LeaseState = lease->state; in create_lease_buf()
1356 memcpy(buf->lcontext.ParentLeaseKey, lease->parent_lease_key, in create_lease_buf()
1359 (struct create_lease_v2, lcontext)); in create_lease_buf()
1372 memcpy(buf->lcontext.LeaseKey, lease->lease_key, SMB2_LEASE_KEY_SIZE); in create_lease_buf()
1373 buf->lcontext.LeaseFlags = lease->flags; in create_lease_buf()
1374 buf->lcontext.LeaseState = lease->state; in create_lease_buf()
1376 (struct create_lease, lcontext)); in create_lease_buf()
1425 memcpy(lreq->lease_key, lc->lcontext.LeaseKey, SMB2_LEASE_KEY_SIZE); in parse_lease_state()
[all …]
/linux-6.1.9/fs/cifs/
Dsmb2ops.c4129 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf()
4130 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb2_create_lease_buf()
4133 (struct create_lease, lcontext)); in smb2_create_lease_buf()
4155 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
4156 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb3_create_lease_buf()
4159 (struct create_lease_v2, lcontext)); in smb3_create_lease_buf()
4178 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE) in smb2_parse_lease_buf()
4180 return le32_to_cpu(lc->lcontext.LeaseState); in smb2_parse_lease_buf()
4188 *epoch = le16_to_cpu(lc->lcontext.Epoch); in smb3_parse_lease_buf()
4189 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE) in smb3_parse_lease_buf()
[all …]
/linux-6.1.9/fs/smbfs_common/
Dsmb2pdu.h1200 struct lease_context lcontext; member
1206 struct lease_context_v2 lcontext; member