Lines Matching refs:newmap
4144 struct ceph_mdsmap *newmap, in check_new_map() argument
4152 newmap->m_epoch, oldmap->m_epoch); in check_new_map()
4159 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map()
4165 ceph_mdsmap_is_laggy(newmap, i) ? " (laggy)" : "", in check_new_map()
4168 if (i >= newmap->possible_max_rank) { in check_new_map()
4188 ceph_mdsmap_get_addr(newmap, i), in check_new_map()
4229 for (i = 0; i < newmap->possible_max_rank && i < mdsc->max_sessions; i++) { in check_new_map()
4233 if (!ceph_mdsmap_is_laggy(newmap, i)) in check_new_map()
5018 struct ceph_mdsmap *newmap, *oldmap; in ceph_mdsc_handle_mdsmap() local
5039 newmap = ceph_mdsmap_decode(&p, end); in ceph_mdsc_handle_mdsmap()
5040 if (IS_ERR(newmap)) { in ceph_mdsc_handle_mdsmap()
5041 err = PTR_ERR(newmap); in ceph_mdsc_handle_mdsmap()
5048 mdsc->mdsmap = newmap; in ceph_mdsc_handle_mdsmap()
5049 check_new_map(mdsc, newmap, oldmap); in ceph_mdsc_handle_mdsmap()
5052 mdsc->mdsmap = newmap; /* first mds map */ in ceph_mdsc_handle_mdsmap()