Home
last modified time | relevance | path

Searched refs:lease_key (Results 1 – 9 of 9) sorted by relevance

/fs/cifs/
Dsmb2misc.c487 __u8 lease_key[16]; member
498 rc = SMB2_lease_break(0, tlink_tcon(lw->tlink), lw->lease_key, in cifs_ses_oplock_break()
507 smb2_queue_pending_open_break(struct tcon_link *tlink, __u8 *lease_key, in smb2_queue_pending_open_break() argument
521 memcpy(lw->lease_key, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_queue_pending_open_break()
539 if (memcmp(cinode->lease_key, rsp->LeaseKey, in smb2_tcon_has_lease()
575 if (memcmp(open->lease_key, rsp->LeaseKey, in smb2_tcon_find_pending_open_lease()
620 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; in smb2_is_valid_lease_break() local
624 memcpy(lease_key, open->lease_key, in smb2_is_valid_lease_break()
629 lease_key, in smb2_is_valid_lease_break()
637 tcon->crfid.fid->lease_key, in smb2_is_valid_lease_break()
Dsmb2proto.h257 __u8 *lease_key, const __le32 lease_state);
264 unsigned int *epoch, char *lease_key,
Dcifsglob.h437 char * (*create_lease_buf)(u8 *lease_key, u8 oplock);
1171 __u8 lease_key[16]; member
1234 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */ member
1432 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for this inode */ member
Dsmb2ops.c913 oparms.fid->lease_key, &oplock, in open_cached_dir()
2577 return SMB2_lease_break(0, tcon, cinode->lease_key, in smb2_oplock_response()
2843 memcpy(fid->lease_key, CIFS_I(inode)->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_get_lease_key()
2849 memcpy(CIFS_I(inode)->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_set_lease_key()
2855 generate_random_uuid(fid->lease_key); in smb2_new_lease_key()
4320 smb2_create_lease_buf(u8 *lease_key, u8 oplock) in smb2_create_lease_buf() argument
4328 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf()
4346 smb3_create_lease_buf(u8 *lease_key, u8 oplock) in smb3_create_lease_buf() argument
4354 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
4372 smb2_parse_lease_buf(void *buf, unsigned int *epoch, char *lease_key) in smb2_parse_lease_buf() argument
[all …]
Dsmb2pdu.c2061 unsigned int *epoch, char *lease_key, __u8 *oplock, in smb2_parse_contexts() argument
2090 lease_key); in smb2_parse_contexts()
2120 unsigned int *num_iovec, u8 *lease_key, __u8 *oplock) in add_lease_context() argument
2125 iov[num].iov_base = server->ops->create_lease_buf(lease_key, *oplock); in add_lease_context()
2796 oparms->fid->lease_key, oplock); in SMB2_open_init()
2986 oparms->fid->lease_key, oplock, buf, posix); in SMB2_open()
5458 __u8 *lease_key, const __le32 lease_state) in SMB2_lease_break() argument
5486 memcpy(req->LeaseKey, lease_key, 16); in SMB2_lease_break()
5502 please_key_low = (__u64 *)lease_key; in SMB2_lease_break()
5503 please_key_high = (__u64 *)(lease_key+8); in SMB2_lease_break()
Dmisc.c650 memcpy(open->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in cifs_add_pending_open_locked()
Dcifsfs.c386 generate_random_uuid(cifs_inode->lease_key); in cifs_alloc_inode()
/fs/ksmbd/
Doplock.c100 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease()
443 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_write_oplock()
465 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_read_oplock()
485 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_none_oplock()
495 key2 = opinfo->o_lease->lease_key; in compare_guid_key()
535 ret = compare_guid_key(opinfo, client_guid, lctx->lease_key); in same_client_has_lease()
781 memcpy(rsp->LeaseKey, br_info->lease_key, SMB2_LEASE_KEY_SIZE); in __smb2_lease_break_noti()
829 memcpy(br_info->lease_key, lease->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_lease_break_noti()
1013 lctx->lease_key); in find_same_lease_key()
1039 memcpy(lease2->lease_key, lease1->lease_key, in copy_lease()
[all …]
Doplock.h32 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; member
50 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; member
89 char lease_key[SMB2_LEASE_KEY_SIZE]; member
126 char *lease_key);