Lines Matching refs:reset_state
5387 struct ceph_client_reset_state *st = &mdsc->reset_state; in ceph_mdsc_wait_for_reset()
5445 struct ceph_client_reset_state *st = &mdsc->reset_state; in ceph_mdsc_reset_complete()
5476 struct ceph_client_reset_state *st = &mdsc->reset_state; in ceph_mdsc_reset_workfn()
5790 struct ceph_client_reset_state *st = &mdsc->reset_state; in ceph_mdsc_schedule_reset()
6387 spin_lock_init(&mdsc->reset_state.lock); in ceph_mdsc_init()
6388 init_waitqueue_head(&mdsc->reset_state.blocked_wq); in ceph_mdsc_init()
6389 atomic_set(&mdsc->reset_state.blocked_requests, 0); in ceph_mdsc_init()
6926 spin_lock(&mdsc->reset_state.lock); in ceph_mdsc_destroy()
6927 mdsc->reset_state.shutdown = true; in ceph_mdsc_destroy()
6928 if (mdsc->reset_state.phase != CEPH_CLIENT_RESET_IDLE) { in ceph_mdsc_destroy()
6929 mdsc->reset_state.phase = CEPH_CLIENT_RESET_IDLE; in ceph_mdsc_destroy()
6930 mdsc->reset_state.last_errno = -ESHUTDOWN; in ceph_mdsc_destroy()
6931 mdsc->reset_state.last_finish = jiffies; in ceph_mdsc_destroy()
6932 mdsc->reset_state.failure_count++; in ceph_mdsc_destroy()
6934 spin_unlock(&mdsc->reset_state.lock); in ceph_mdsc_destroy()
6935 wake_up_all(&mdsc->reset_state.blocked_wq); in ceph_mdsc_destroy()