Lines Matching refs:tsession
2886 struct ceph_mds_session *tsession = NULL; in handle_cap_export() local
2949 } else if (tsession) { in handle_cap_export()
2952 ceph_add_cap(inode, tsession, t_cap_id, -1, issued, 0, in handle_cap_export()
2963 tsession = ceph_mdsc_open_export_target_session(mdsc, target); in handle_cap_export()
2964 if (!IS_ERR(tsession)) { in handle_cap_export()
2967 mutex_lock_nested(&tsession->s_mutex, in handle_cap_export()
2970 mutex_lock(&tsession->s_mutex); in handle_cap_export()
2974 ceph_add_cap_releases(mdsc, tsession); in handle_cap_export()
2978 tsession = NULL; in handle_cap_export()
2986 if (tsession) { in handle_cap_export()
2987 mutex_unlock(&tsession->s_mutex); in handle_cap_export()
2988 ceph_put_mds_session(tsession); in handle_cap_export()