Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/server/
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);
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 …]
/linux-6.6.21/fs/smb/client/
Dsmb2misc.c502 __u8 lease_key[16]; member
513 rc = SMB2_lease_break(0, tlink_tcon(lw->tlink), lw->lease_key, in cifs_ses_oplock_break()
522 smb2_queue_pending_open_break(struct tcon_link *tlink, __u8 *lease_key, in smb2_queue_pending_open_break() argument
536 memcpy(lw->lease_key, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_queue_pending_open_break()
554 if (memcmp(cinode->lease_key, rsp->LeaseKey, in smb2_tcon_has_lease()
590 if (memcmp(open->lease_key, rsp->LeaseKey, in smb2_tcon_find_pending_open_lease()
637 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; in smb2_is_valid_lease_break() local
641 memcpy(lease_key, open->lease_key, in smb2_is_valid_lease_break()
646 lease_key, in smb2_is_valid_lease_break()
Dcached_dir.c303 oparms.fid->lease_key, in open_cached_dir()
531 int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]) in cached_dir_lease_break()
542 !memcmp(lease_key, in cached_dir_lease_break()
543 cfid->fid.lease_key, in cached_dir_lease_break()
Dcached_dir.h79 extern int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]);
Dsmb2proto.h253 __u8 *lease_key, const __le32 lease_state);
261 char *lease_key, __u8 *oplock,
Dcifsglob.h505 char * (*create_lease_buf)(u8 *lease_key, u8 oplock);
1309 __u8 lease_key[16]; member
1372 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */ member
1560 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for this inode */ member
Dsmb2ops.c2454 return SMB2_lease_break(0, tcon, cinode->lease_key, in smb2_oplock_response()
2764 memcpy(fid->lease_key, CIFS_I(inode)->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_get_lease_key()
2770 memcpy(CIFS_I(inode)->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_set_lease_key()
2776 generate_random_uuid(fid->lease_key); in smb2_new_lease_key()
4128 smb2_create_lease_buf(u8 *lease_key, u8 oplock) in smb2_create_lease_buf() argument
4136 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf()
4154 smb3_create_lease_buf(u8 *lease_key, u8 oplock) in smb3_create_lease_buf() argument
4162 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
4180 smb2_parse_lease_buf(void *buf, unsigned int *epoch, char *lease_key) in smb2_parse_lease_buf() argument
4191 smb3_parse_lease_buf(void *buf, unsigned int *epoch, char *lease_key) in smb3_parse_lease_buf() argument
[all …]
Dsmb2pdu.c2290 char *lease_key, __u8 *oplock, in smb2_parse_contexts() argument
2334 lease_key); in smb2_parse_contexts()
2370 unsigned int *num_iovec, u8 *lease_key, __u8 *oplock) in add_lease_context() argument
2374 iov[num].iov_base = server->ops->create_lease_buf(lease_key, *oplock); in add_lease_context()
3014 oparms->fid->lease_key, oplock); in SMB2_open_init()
3195 oparms->fid->lease_key, oplock, buf, posix); in SMB2_open()
5825 __u8 *lease_key, const __le32 lease_state) in SMB2_lease_break() argument
5853 memcpy(req->LeaseKey, lease_key, 16); in SMB2_lease_break()
5869 please_key_low = (__u64 *)lease_key; in SMB2_lease_break()
5870 please_key_high = (__u64 *)(lease_key+8); in SMB2_lease_break()
Dmisc.c672 memcpy(open->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in cifs_add_pending_open_locked()
Dcifsfs.c403 generate_random_uuid(cifs_inode->lease_key); in cifs_alloc_inode()