Home
last modified time | relevance | path

Searched refs:crfid (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
Dsmb2misc.c657 if (tcon->crfid.is_valid && in smb2_is_valid_lease_break()
659 tcon->crfid.fid->lease_key, in smb2_is_valid_lease_break()
661 INIT_WORK(&tcon->crfid.lease_break, in smb2_is_valid_lease_break()
664 &tcon->crfid.lease_break); in smb2_is_valid_lease_break()
Dmisc.c122 ret_buf->crfid.fid = kzalloc(sizeof(*ret_buf->crfid.fid), GFP_KERNEL); in tconInfoAlloc()
123 if (!ret_buf->crfid.fid) { in tconInfoAlloc()
134 mutex_init(&ret_buf->crfid.fid_mutex); in tconInfoAlloc()
152 kfree(buf_to_free->crfid.fid); in tconInfoFree()
Dsmb2ops.c691 mutex_lock(&tcon->crfid.fid_mutex); in open_shroot()
692 if (tcon->crfid.is_valid) { in open_shroot()
694 *cfid = &tcon->crfid; in open_shroot()
695 kref_get(&tcon->crfid.refcount); in open_shroot()
696 mutex_unlock(&tcon->crfid.fid_mutex); in open_shroot()
707 mutex_unlock(&tcon->crfid.fid_mutex); in open_shroot()
715 pfid = tcon->crfid.fid; in open_shroot()
758 mutex_lock(&tcon->crfid.fid_mutex); in open_shroot()
765 if (tcon->crfid.is_valid) { in open_shroot()
779 memcpy(pfid, tcon->crfid.fid, sizeof(*pfid)); in open_shroot()
[all …]
Dsmb2inode.c533 if (tcon->crfid.file_all_info_is_valid) { in smb2_query_path_info()
535 &tcon->crfid.file_all_info); in smb2_query_path_info()
Dcifsglob.h1173 struct cached_fid crfid; /* Cached root fid */ member
Dcifssmb.c114 mutex_lock(&tcon->crfid.fid_mutex); in cifs_mark_open_files_invalid()
115 tcon->crfid.is_valid = false; in cifs_mark_open_files_invalid()
117 close_shroot_lease_locked(&tcon->crfid); in cifs_mark_open_files_invalid()
118 memset(tcon->crfid.fid, 0, sizeof(struct cifs_fid)); in cifs_mark_open_files_invalid()
119 mutex_unlock(&tcon->crfid.fid_mutex); in cifs_mark_open_files_invalid()
Dsmb2pdu.c1864 close_shroot_lease(&tcon->crfid); in SMB2_tdis()