Lines Matching refs:cfid
505 struct cached_fid *cfid = container_of(ref, struct cached_fid, in smb2_close_cached_fid() local
508 if (cfid->is_valid) { in smb2_close_cached_fid()
510 SMB2_close(0, cfid->tcon, cfid->fid->persistent_fid, in smb2_close_cached_fid()
511 cfid->fid->volatile_fid); in smb2_close_cached_fid()
512 cfid->is_valid = false; in smb2_close_cached_fid()
516 void close_shroot(struct cached_fid *cfid) in close_shroot() argument
518 mutex_lock(&cfid->fid_mutex); in close_shroot()
519 kref_put(&cfid->refcount, smb2_close_cached_fid); in close_shroot()
520 mutex_unlock(&cfid->fid_mutex); in close_shroot()
526 struct cached_fid *cfid = container_of(work, in smb2_cached_lease_break() local
529 close_shroot(cfid); in smb2_cached_lease_break()