Lines Matching refs:tsession
3560 struct ceph_mds_session *tsession = NULL; in handle_cap_export() local
3633 } else if (tsession) { in handle_cap_export()
3637 ceph_add_cap(inode, tsession, t_cap_id, -1, issued, 0, in handle_cap_export()
3656 tsession = ceph_mdsc_open_export_target_session(mdsc, target); in handle_cap_export()
3657 if (!IS_ERR(tsession)) { in handle_cap_export()
3660 mutex_lock_nested(&tsession->s_mutex, in handle_cap_export()
3663 mutex_lock(&tsession->s_mutex); in handle_cap_export()
3670 tsession = NULL; in handle_cap_export()
3679 if (tsession) { in handle_cap_export()
3680 mutex_unlock(&tsession->s_mutex); in handle_cap_export()
3681 ceph_put_mds_session(tsession); in handle_cap_export()