Home
last modified time | relevance | path

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

/linux/fs/smb/server/
H A Doplock.c1954 memcpy(buf->lcontext.LeaseKey, lease->lease_key, in create_lease_buf()
1960 buf->lcontext.LeaseFlags = flags; in create_lease_buf()
1961 buf->lcontext.Epoch = cpu_to_le16(lease->epoch); in create_lease_buf()
1962 buf->lcontext.LeaseState = lease->state; in create_lease_buf()
1964 memcpy(buf->lcontext.ParentLeaseKey, lease->parent_lease_key, in create_lease_buf()
1967 (struct create_lease_v2, lcontext)); in create_lease_buf()
1980 memcpy(buf->lcontext.LeaseKey, lease->lease_key, SMB2_LEASE_KEY_SIZE); in create_lease_buf()
1982 buf->lcontext.LeaseFlags = in create_lease_buf()
1984 buf->lcontext.LeaseState = lease->state; in create_lease_buf()
1986 (struct create_lease, lcontext)); in create_lease_buf()
[all …]
/linux/fs/smb/client/
H A Dsmb2ops.c4391 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf()
4392 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb2_create_lease_buf()
4395 (struct create_lease, lcontext)); in smb2_create_lease_buf()
4417 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
4418 buf->lcontext.LeaseState = map_oplock_to_lease(oplock); in smb3_create_lease_buf()
4419 buf->lcontext.LeaseFlags = flags; in smb3_create_lease_buf()
4421 memcpy(&buf->lcontext.ParentLeaseKey, parent_lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
4424 (struct create_lease_v2, lcontext)); in smb3_create_lease_buf()
4443 if (lc->lcontext.LeaseFlags & SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE) in smb2_parse_lease_buf()
4445 return le32_to_cpu(lc->lcontext.LeaseState); in smb2_parse_lease_buf()
[all …]
/linux/fs/smb/common/
H A Dsmb2pdu.h1392 struct lease_context lcontext; member
1398 struct lease_context_v2 lcontext; member