Home
last modified time | relevance | path

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

/linux-6.15/fs/smb/server/
H A Doplock.c1435 buf->lcontext.LeaseFlags = lease->flags; in create_lease_buf()
1437 buf->lcontext.LeaseState = lease->state; in create_lease_buf()
1442 (struct create_lease_v2, lcontext)); in create_lease_buf()
1456 buf->lcontext.LeaseFlags = lease->flags; in create_lease_buf()
1457 buf->lcontext.LeaseState = lease->state; in create_lease_buf()
1459 (struct create_lease, lcontext)); in create_lease_buf()
1499 lreq->req_state = lc->lcontext.LeaseState; in parse_lease_state()
1500 lreq->flags = lc->lcontext.LeaseFlags; in parse_lease_state()
1501 lreq->epoch = lc->lcontext.Epoch; in parse_lease_state()
1515 lreq->req_state = lc->lcontext.LeaseState; in parse_lease_state()
[all …]
/linux-6.15/fs/smb/client/
H A Dsmb2ops.c4080 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf()
4081 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb2_create_lease_buf()
4084 (struct create_lease, lcontext)); in smb2_create_lease_buf()
4106 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
4107 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb3_create_lease_buf()
4110 (struct create_lease_v2, lcontext)); in smb3_create_lease_buf()
4129 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE) in smb2_parse_lease_buf()
4131 return le32_to_cpu(lc->lcontext.LeaseState); in smb2_parse_lease_buf()
4139 *epoch = le16_to_cpu(lc->lcontext.Epoch); in smb3_parse_lease_buf()
4143 memcpy(lease_key, &lc->lcontext.LeaseKey, SMB2_LEASE_KEY_SIZE); in smb3_parse_lease_buf()
[all …]
/linux-6.15/fs/smb/common/
H A Dsmb2pdu.h1333 struct lease_context lcontext; member
1339 struct lease_context_v2 lcontext; member