Lines Matching refs:newmap
2624 struct ceph_mdsmap *newmap, in check_new_map() argument
2632 newmap->m_epoch, oldmap->m_epoch); in check_new_map()
2639 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map()
2645 ceph_mdsmap_is_laggy(newmap, i) ? " (laggy)" : "", in check_new_map()
2648 if (i >= newmap->m_max_mds || in check_new_map()
2650 ceph_mdsmap_get_addr(newmap, i), in check_new_map()
2697 for (i = 0; i < newmap->m_max_mds && i < mdsc->max_sessions; i++) { in check_new_map()
2701 if (!ceph_mdsmap_is_laggy(newmap, i)) in check_new_map()
3276 struct ceph_mdsmap *newmap, *oldmap; in ceph_mdsc_handle_map() local
3298 newmap = ceph_mdsmap_decode(&p, end); in ceph_mdsc_handle_map()
3299 if (IS_ERR(newmap)) { in ceph_mdsc_handle_map()
3300 err = PTR_ERR(newmap); in ceph_mdsc_handle_map()
3307 mdsc->mdsmap = newmap; in ceph_mdsc_handle_map()
3308 check_new_map(mdsc, newmap, oldmap); in ceph_mdsc_handle_map()
3311 mdsc->mdsmap = newmap; /* first mds map */ in ceph_mdsc_handle_map()