Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/server/
Doplock.c1448 memcpy(buf->lcontext.LeaseKey, lease->lease_key, in create_lease_buf()
1450 buf->lcontext.LeaseFlags = lease->flags; in create_lease_buf()
1451 buf->lcontext.Epoch = cpu_to_le16(lease->epoch); in create_lease_buf()
1452 buf->lcontext.LeaseState = lease->state; in create_lease_buf()
1454 memcpy(buf->lcontext.ParentLeaseKey, lease->parent_lease_key, in create_lease_buf()
1457 (struct create_lease_v2, lcontext)); in create_lease_buf()
1470 memcpy(buf->lcontext.LeaseKey, lease->lease_key, SMB2_LEASE_KEY_SIZE); in create_lease_buf()
1471 buf->lcontext.LeaseFlags = lease->flags; in create_lease_buf()
1472 buf->lcontext.LeaseState = lease->state; in create_lease_buf()
1474 (struct create_lease, lcontext)); in create_lease_buf()
[all …]
/linux-6.12.1/fs/smb/client/
Dsmb2ops.c4099 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf()
4100 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb2_create_lease_buf()
4103 (struct create_lease, lcontext)); in smb2_create_lease_buf()
4125 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
4126 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb3_create_lease_buf()
4129 (struct create_lease_v2, lcontext)); in smb3_create_lease_buf()
4148 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE) in smb2_parse_lease_buf()
4150 return le32_to_cpu(lc->lcontext.LeaseState); in smb2_parse_lease_buf()
4158 *epoch = le16_to_cpu(lc->lcontext.Epoch); in smb3_parse_lease_buf()
4159 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE) in smb3_parse_lease_buf()
[all …]
/linux-6.12.1/fs/smb/common/
Dsmb2pdu.h1330 struct lease_context lcontext; member
1336 struct lease_context_v2 lcontext; member