Home
last modified time | relevance | path

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

/linux/fs/ksmbd/
A Doplock.c99 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease()
412 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_write_oplock()
434 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_read_oplock()
454 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in grant_none_oplock()
809 memcpy(br_info->lease_key, lease->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_lease_break_noti()
992 lctx->lease_key); in find_same_lease_key()
1018 memcpy(lease2->lease_key, lease1->lease_key, in copy_lease()
1279 !memcmp(op->o_lease->lease_key, brk_op->o_lease->lease_key, in smb_break_all_levII_oplock()
1652 char *lease_key) in lookup_lease_in_table() argument
1681 lease_key); in lookup_lease_in_table()
[all …]
A Doplock.h32 __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);
/linux/fs/cifs/
A Dsmb2misc.c492 __u8 lease_key[16]; member
503 rc = SMB2_lease_break(0, tlink_tcon(lw->tlink), lw->lease_key, in cifs_ses_oplock_break()
512 smb2_queue_pending_open_break(struct tcon_link *tlink, __u8 *lease_key, in smb2_queue_pending_open_break() argument
526 memcpy(lw->lease_key, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_queue_pending_open_break()
544 if (memcmp(cinode->lease_key, rsp->LeaseKey, in smb2_tcon_has_lease()
580 if (memcmp(open->lease_key, rsp->LeaseKey, in smb2_tcon_find_pending_open_lease()
625 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; in smb2_is_valid_lease_break() local
629 memcpy(lease_key, open->lease_key, in smb2_is_valid_lease_break()
634 lease_key, in smb2_is_valid_lease_break()
642 tcon->crfid.fid->lease_key, in smb2_is_valid_lease_break()
A Dsmb2proto.h257 __u8 *lease_key, const __le32 lease_state);
264 unsigned int *epoch, char *lease_key,
A Dcifsglob.h438 char * (*create_lease_buf)(u8 *lease_key, u8 oplock);
1181 __u8 lease_key[16]; member
1244 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */ member
1442 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for this inode */ member
A Dsmb2ops.c910 oparms.fid->lease_key, &oplock, in open_cached_dir()
2551 return SMB2_lease_break(0, tcon, cinode->lease_key, in smb2_oplock_response()
2818 memcpy(fid->lease_key, CIFS_I(inode)->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_get_lease_key()
2824 memcpy(CIFS_I(inode)->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_set_lease_key()
2830 generate_random_uuid(fid->lease_key); in smb2_new_lease_key()
4285 smb2_create_lease_buf(u8 *lease_key, u8 oplock) in smb2_create_lease_buf() argument
4293 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb2_create_lease_buf()
4311 smb3_create_lease_buf(u8 *lease_key, u8 oplock) in smb3_create_lease_buf() argument
4319 memcpy(&buf->lcontext.LeaseKey, lease_key, SMB2_LEASE_KEY_SIZE); in smb3_create_lease_buf()
4355 if (lease_key) in smb3_parse_lease_buf()
[all …]
A Dsmb2pdu.c2045 unsigned int *epoch, char *lease_key, __u8 *oplock, in smb2_parse_contexts() argument
2074 lease_key); in smb2_parse_contexts()
2104 unsigned int *num_iovec, u8 *lease_key, __u8 *oplock) in add_lease_context() argument
2109 iov[num].iov_base = server->ops->create_lease_buf(lease_key, *oplock); in add_lease_context()
2792 oparms->fid->lease_key, oplock); in SMB2_open_init()
2985 oparms->fid->lease_key, oplock, buf, posix); in SMB2_open()
5460 __u8 *lease_key, const __le32 lease_state) in SMB2_lease_break() argument
5488 memcpy(req->LeaseKey, lease_key, 16); in SMB2_lease_break()
5504 please_key_low = (__u64 *)lease_key; in SMB2_lease_break()
5505 please_key_high = (__u64 *)(lease_key+8); in SMB2_lease_break()
A Dmisc.c647 memcpy(open->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in cifs_add_pending_open_locked()
A Dcifsfs.c375 generate_random_uuid(cifs_inode->lease_key); in cifs_alloc_inode()

Completed in 41 milliseconds