| /Linux-v6.1/fs/ksmbd/ |
| D | oplock.h | 32 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; member 48 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; member 86 char lease_key[SMB2_LEASE_KEY_SIZE]; member 123 char *lease_key);
|
| D | oplock.c | 100 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease() 413 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_write_oplock() 435 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_read_oplock() 455 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_none_oplock() 465 key2 = opinfo->o_lease->lease_key; in compare_guid_key() 505 ret = compare_guid_key(opinfo, client_guid, lctx->lease_key); in same_client_has_lease() 766 memcpy(rsp->LeaseKey, br_info->lease_key, SMB2_LEASE_KEY_SIZE); in __smb2_lease_break_noti() 819 memcpy(br_info->lease_key, lease->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_lease_break_noti() 1002 lctx->lease_key); in find_same_lease_key() 1028 memcpy(lease2->lease_key, lease1->lease_key, in copy_lease() [all …]
|
| /Linux-v6.1/fs/cifs/ |
| D | smb2misc.c | 508 __u8 lease_key[16]; member 519 rc = SMB2_lease_break(0, tlink_tcon(lw->tlink), lw->lease_key, in cifs_ses_oplock_break() 528 smb2_queue_pending_open_break(struct tcon_link *tlink, __u8 *lease_key, in smb2_queue_pending_open_break() argument 542 memcpy(lw->lease_key, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_queue_pending_open_break() 560 if (memcmp(cinode->lease_key, rsp->LeaseKey, in smb2_tcon_has_lease() 596 if (memcmp(open->lease_key, rsp->LeaseKey, in smb2_tcon_find_pending_open_lease() 643 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; in smb2_is_valid_lease_break() local 647 memcpy(lease_key, open->lease_key, in smb2_is_valid_lease_break() 652 lease_key, in smb2_is_valid_lease_break()
|
| D | cached_dir.c | 239 oparms.fid->lease_key, &oplock, in open_cached_dir() 447 int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]) in cached_dir_lease_break() 458 !memcmp(lease_key, in cached_dir_lease_break() 459 cfid->fid.lease_key, in cached_dir_lease_break()
|
| D | cached_dir.h | 78 extern int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]);
|
| D | smb2proto.h | 247 __u8 *lease_key, const __le32 lease_state); 254 unsigned int *epoch, char *lease_key,
|
| D | cifsglob.h | 470 char * (*create_lease_buf)(u8 *lease_key, u8 oplock); 1294 __u8 lease_key[16]; member 1357 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */ member 1557 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for this inode */ member
|
| D | smb2ops.c | 2341 return SMB2_lease_break(0, tcon, cinode->lease_key, in smb2_oplock_response() 2645 memcpy(fid->lease_key, CIFS_I(inode)->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_get_lease_key() 2651 memcpy(CIFS_I(inode)->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_set_lease_key() 2657 generate_random_uuid(fid->lease_key); in smb2_new_lease_key() 4100 smb2_create_lease_buf(u8 *lease_key, u8 oplock) in smb2_create_lease_buf() argument 4108 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf() 4126 smb3_create_lease_buf(u8 *lease_key, u8 oplock) in smb3_create_lease_buf() argument 4134 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf() 4152 smb2_parse_lease_buf(void *buf, unsigned int *epoch, char *lease_key) in smb2_parse_lease_buf() argument 4163 smb3_parse_lease_buf(void *buf, unsigned int *epoch, char *lease_key) in smb3_parse_lease_buf() argument [all …]
|
| D | smb2pdu.c | 2118 unsigned int *epoch, char *lease_key, __u8 *oplock, in smb2_parse_contexts() argument 2147 lease_key); in smb2_parse_contexts() 2177 unsigned int *num_iovec, u8 *lease_key, __u8 *oplock) in add_lease_context() argument 2182 iov[num].iov_base = server->ops->create_lease_buf(lease_key, *oplock); in add_lease_context() 2862 oparms->fid->lease_key, oplock); in SMB2_open_init() 3053 oparms->fid->lease_key, oplock, buf, posix); in SMB2_open() 5604 __u8 *lease_key, const __le32 lease_state) in SMB2_lease_break() argument 5632 memcpy(req->LeaseKey, lease_key, 16); in SMB2_lease_break() 5648 please_key_low = (__u64 *)lease_key; in SMB2_lease_break() 5649 please_key_high = (__u64 *)(lease_key+8); in SMB2_lease_break()
|
| D | misc.c | 654 memcpy(open->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in cifs_add_pending_open_locked()
|
| D | cifsfs.c | 398 generate_random_uuid(cifs_inode->lease_key); in cifs_alloc_inode()
|