Lines Matching refs:recon_state
2996 struct ceph_reconnect_state *recon_state = arg; in encode_caps_cb() local
2997 struct ceph_pagelist *pagelist = recon_state->pagelist; in encode_caps_cb()
3030 if (recon_state->msg_version >= 2) { in encode_caps_cb()
3059 if (recon_state->msg_version >= 2) { in encode_caps_cb()
3095 if (recon_state->msg_version >= 3) { in encode_caps_cb()
3118 if (recon_state->msg_version >= 3) { in encode_caps_cb()
3141 recon_state->nr_caps++; in encode_caps_cb()
3171 struct ceph_reconnect_state recon_state; in send_mds_reconnect() local
3230 recon_state.nr_caps = 0; in send_mds_reconnect()
3231 recon_state.pagelist = pagelist; in send_mds_reconnect()
3233 recon_state.msg_version = 3; in send_mds_reconnect()
3235 recon_state.msg_version = 2; in send_mds_reconnect()
3237 recon_state.msg_version = 1; in send_mds_reconnect()
3238 err = iterate_session_caps(session, encode_caps_cb, &recon_state); in send_mds_reconnect()
3266 reply->hdr.version = cpu_to_le16(recon_state.msg_version); in send_mds_reconnect()
3269 if (s_nr_caps != recon_state.nr_caps) { in send_mds_reconnect()
3273 *addr = cpu_to_le32(recon_state.nr_caps); in send_mds_reconnect()