/linux/fs/smb/server/ |
H A D | oplock.h | 25 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; member 43 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; member 82 char lease_key[SMB2_LEASE_KEY_SIZE]; member 119 char *lease_key);
|
H A D | oplock.c | 101 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease() 430 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_write_oplock() 452 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_read_oplock() 472 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_none_oplock() 827 memcpy(br_info->lease_key, lease->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_lease_break_noti() 1010 lctx->lease_key); in find_same_lease_key() 1036 memcpy(lease2->lease_key, lease1->lease_key, in copy_lease() 1385 !memcmp(op->o_lease->lease_key, brk_op->o_lease->lease_key, in smb_break_all_levII_oplock() 1758 char *lease_key) in lookup_lease_in_table() argument 1787 lease_key); in lookup_lease_in_table() [all …]
|
/linux/fs/smb/client/ |
H A D | smb2misc.c | 502 __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() 639 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; in smb2_is_valid_lease_break() local 643 memcpy(lease_key, open->lease_key, in smb2_is_valid_lease_break() 648 lease_key, in smb2_is_valid_lease_break()
|
H A D | cached_dir.c | 316 oparms.fid->lease_key, in open_cached_dir() 550 int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]) in cached_dir_lease_break() 561 !memcmp(lease_key, in cached_dir_lease_break() 562 cfid->fid.lease_key, in cached_dir_lease_break()
|
H A D | cached_dir.h | 79 extern int cached_dir_lease_break(struct cifs_tcon *tcon, __u8 lease_key[16]);
|
H A D | smb2proto.h | 273 __u8 *lease_key, const __le32 lease_state); 281 char *lease_key, __u8 *oplock,
|
H A D | cifsglob.h | 521 char * (*create_lease_buf)(u8 *lease_key, u8 oplock); 1348 __u8 lease_key[16]; member 1413 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */ member 1561 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for this inode */ member
|
H A D | smb2ops.c | 2564 return SMB2_lease_break(0, tcon, cinode->lease_key, in smb2_oplock_response() 2937 memcpy(fid->lease_key, CIFS_I(inode)->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_get_lease_key() 2943 memcpy(CIFS_I(inode)->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_set_lease_key() 2949 generate_random_uuid(fid->lease_key); in smb2_new_lease_key() 4091 smb2_create_lease_buf(u8 *lease_key, u8 oplock) in smb2_create_lease_buf() argument 4099 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf() 4117 smb3_create_lease_buf(u8 *lease_key, u8 oplock) in smb3_create_lease_buf() argument 4125 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf() 4143 smb2_parse_lease_buf(void *buf, unsigned int *epoch, char *lease_key) in smb2_parse_lease_buf() argument 4161 if (lease_key) in smb3_parse_lease_buf() [all …]
|
H A D | smb2pdu.c | 2337 char *lease_key, __u8 *oplock, in smb2_parse_contexts() argument 2381 lease_key); in smb2_parse_contexts() 2417 unsigned int *num_iovec, u8 *lease_key, __u8 *oplock) in add_lease_context() argument 2421 iov[num].iov_base = server->ops->create_lease_buf(lease_key, *oplock); in add_lease_context() 3093 oparms->fid->lease_key, oplock); in SMB2_open_init() 3285 oparms->fid->lease_key, oplock, buf, posix); in SMB2_open() 6192 __u8 *lease_key, const __le32 lease_state) in SMB2_lease_break() argument 6220 memcpy(req->LeaseKey, lease_key, 16); in SMB2_lease_break() 6236 please_key_low = (__u64 *)lease_key; in SMB2_lease_break() 6237 please_key_high = (__u64 *)(lease_key+8); in SMB2_lease_break()
|
H A D | misc.c | 677 memcpy(open->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in cifs_add_pending_open_locked()
|
H A D | cifsfs.c | 417 generate_random_uuid(cifs_inode->lease_key); in cifs_alloc_inode()
|