Lines Matching refs:tsession
3873 struct ceph_mds_session *tsession = NULL; in handle_cap_export() local
3938 } else if (tsession) { in handle_cap_export()
3942 ceph_add_cap(inode, tsession, t_cap_id, issued, 0, in handle_cap_export()
3961 tsession = ceph_mdsc_open_export_target_session(mdsc, target); in handle_cap_export()
3962 if (!IS_ERR(tsession)) { in handle_cap_export()
3965 mutex_lock_nested(&tsession->s_mutex, in handle_cap_export()
3968 mutex_lock(&tsession->s_mutex); in handle_cap_export()
3975 tsession = NULL; in handle_cap_export()
3984 if (tsession) { in handle_cap_export()
3985 mutex_unlock(&tsession->s_mutex); in handle_cap_export()
3986 ceph_put_mds_session(tsession); in handle_cap_export()