Searched refs:lcontext (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | oplock.c | 1459 memcpy(buf->lcontext.LeaseKey, lease->lease_key, in create_lease_buf() 1461 buf->lcontext.LeaseFlags = lease->flags; in create_lease_buf() 1462 buf->lcontext.Epoch = cpu_to_le16(lease->epoch); in create_lease_buf() 1463 buf->lcontext.LeaseState = lease->state; in create_lease_buf() 1464 memcpy(buf->lcontext.ParentLeaseKey, lease->parent_lease_key, in create_lease_buf() 1467 (struct create_lease_v2, lcontext)); in create_lease_buf() 1480 memcpy(buf->lcontext.LeaseKey, lease->lease_key, SMB2_LEASE_KEY_SIZE); in create_lease_buf() 1481 buf->lcontext.LeaseFlags = lease->flags; in create_lease_buf() 1482 buf->lcontext.LeaseState = lease->state; in create_lease_buf() 1484 (struct create_lease, lcontext)); in create_lease_buf() [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smb2ops.c | 4077 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf() 4078 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb2_create_lease_buf() 4081 (struct create_lease, lcontext)); in smb2_create_lease_buf() 4103 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf() 4104 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb3_create_lease_buf() 4107 (struct create_lease_v2, lcontext)); in smb3_create_lease_buf() 4126 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS) in smb2_parse_lease_buf() 4128 return le32_to_cpu(lc->lcontext.LeaseState); in smb2_parse_lease_buf() 4136 *epoch = le16_to_cpu(lc->lcontext.Epoch); in smb3_parse_lease_buf() 4137 if (lc->lcontext in smb3_parse_lease_buf() [all...] |
H A D | smb2pdu.h | 879 struct lease_context lcontext; member 885 struct lease_context_v2 lcontext; member
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | smb2ops.c | 4136 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf() 4137 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb2_create_lease_buf() 4140 (struct create_lease, lcontext)); in smb2_create_lease_buf() 4162 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf() 4163 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb3_create_lease_buf() 4166 (struct create_lease_v2, lcontext)); in smb3_create_lease_buf() 4185 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE) in smb2_parse_lease_buf() 4187 return le32_to_cpu(lc->lcontext.LeaseState); in smb2_parse_lease_buf() 4195 *epoch = le16_to_cpu(lc->lcontext.Epoch); in smb3_parse_lease_buf() 4196 if (lc->lcontext in smb3_parse_lease_buf() [all...] |
/kernel/linux/linux-6.6/fs/smb/common/ |
H A D | smb2pdu.h | 1260 struct lease_context lcontext; member 1266 struct lease_context_v2 lcontext; member
|
Completed in 23 milliseconds