Lines Matching refs:tsession
3295 struct ceph_mds_session *tsession = NULL; in handle_cap_export() local
3361 } else if (tsession) { in handle_cap_export()
3364 ceph_add_cap(inode, tsession, t_cap_id, -1, issued, 0, in handle_cap_export()
3375 tsession = ceph_mdsc_open_export_target_session(mdsc, target); in handle_cap_export()
3376 if (!IS_ERR(tsession)) { in handle_cap_export()
3379 mutex_lock_nested(&tsession->s_mutex, in handle_cap_export()
3382 mutex_lock(&tsession->s_mutex); in handle_cap_export()
3389 tsession = NULL; in handle_cap_export()
3397 if (tsession) { in handle_cap_export()
3398 mutex_unlock(&tsession->s_mutex); in handle_cap_export()
3399 ceph_put_mds_session(tsession); in handle_cap_export()