Searched refs:crfid (Results 1 – 6 of 6) sorted by relevance
650 if (tcon->crfid.is_valid && in smb2_is_valid_lease_break()652 tcon->crfid.fid->lease_key, in smb2_is_valid_lease_break()654 INIT_WORK(&tcon->crfid.lease_break, in smb2_is_valid_lease_break()657 &tcon->crfid.lease_break); in smb2_is_valid_lease_break()
542 mutex_lock(&tcon->crfid.fid_mutex); in open_shroot()543 if (tcon->crfid.is_valid) { in open_shroot()545 memcpy(pfid, tcon->crfid.fid, sizeof(struct cifs_fid)); in open_shroot()546 kref_get(&tcon->crfid.refcount); in open_shroot()547 mutex_unlock(&tcon->crfid.fid_mutex); in open_shroot()564 mutex_unlock(&tcon->crfid.fid_mutex); in open_shroot()566 mutex_lock(&tcon->crfid.fid_mutex); in open_shroot()573 if (tcon->crfid.is_valid) { in open_shroot()587 memcpy(pfid, tcon->crfid.fid, sizeof(*pfid)); in open_shroot()588 kref_get(&tcon->crfid.refcount); in open_shroot()[all …]
122 mutex_init(&ret_buf->crfid.fid_mutex); in tconInfoAlloc()123 ret_buf->crfid.fid = kzalloc(sizeof(struct cifs_fid), in tconInfoAlloc()140 kfree(buf_to_free->crfid.fid); in tconInfoFree()
124 close_shroot(&tcon->crfid); in smb2_open_op_close()
1026 struct cached_fid crfid; /* Cached root fid */ member
110 mutex_lock(&tcon->crfid.fid_mutex); in cifs_mark_open_files_invalid()111 tcon->crfid.is_valid = false; in cifs_mark_open_files_invalid()112 memset(tcon->crfid.fid, 0, sizeof(struct cifs_fid)); in cifs_mark_open_files_invalid()113 mutex_unlock(&tcon->crfid.fid_mutex); in cifs_mark_open_files_invalid()