Lines Matching refs:newmap
3312 struct ceph_mdsmap *newmap, in check_new_map() argument
3320 newmap->m_epoch, oldmap->m_epoch); in check_new_map()
3327 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map()
3333 ceph_mdsmap_is_laggy(newmap, i) ? " (laggy)" : "", in check_new_map()
3336 if (i >= newmap->m_num_mds || in check_new_map()
3338 ceph_mdsmap_get_addr(newmap, i), in check_new_map()
3347 } else if (i >= newmap->m_num_mds) { in check_new_map()
3400 for (i = 0; i < newmap->m_num_mds && i < mdsc->max_sessions; i++) { in check_new_map()
3404 if (!ceph_mdsmap_is_laggy(newmap, i)) in check_new_map()
4076 struct ceph_mdsmap *newmap, *oldmap; in ceph_mdsc_handle_mdsmap() local
4097 newmap = ceph_mdsmap_decode(&p, end); in ceph_mdsc_handle_mdsmap()
4098 if (IS_ERR(newmap)) { in ceph_mdsc_handle_mdsmap()
4099 err = PTR_ERR(newmap); in ceph_mdsc_handle_mdsmap()
4106 mdsc->mdsmap = newmap; in ceph_mdsc_handle_mdsmap()
4107 check_new_map(mdsc, newmap, oldmap); in ceph_mdsc_handle_mdsmap()
4110 mdsc->mdsmap = newmap; /* first mds map */ in ceph_mdsc_handle_mdsmap()