Home
last modified time | relevance | path

Searched refs:m_info (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/ceph/
Dmdsmap.c26 if (1 == m->m_num_mds && m->m_info[0].state > 0) in ceph_mdsmap_get_random_mds()
31 if (m->m_info[i].state > 0) in ceph_mdsmap_get_random_mds()
40 while (m->m_info[i].state <= 0) in ceph_mdsmap_get_random_mds()
141 m->m_info = kcalloc(m->m_num_mds, sizeof(*m->m_info), GFP_NOFS); in ceph_mdsmap_decode()
142 if (!m->m_info) in ceph_mdsmap_decode()
217 void *new_m_info = krealloc(m->m_info, in ceph_mdsmap_decode()
218 new_num * sizeof(*m->m_info), in ceph_mdsmap_decode()
222 m->m_info = new_m_info; in ceph_mdsmap_decode()
226 info = &m->m_info[mds]; in ceph_mdsmap_decode()
248 if (i == 0 || m->m_info[i-1].state > 0) in ceph_mdsmap_decode()
[all …]
Ddebugfs.c37 struct ceph_entity_addr *addr = &mdsmap->m_info[i].addr; in mdsmap_show()
38 int state = mdsmap->m_info[i].state; in mdsmap_show()
Dmds_client.c1082 mi = &mdsc->mdsmap->m_info[mds]; in __open_export_target_sessions()
/linux-4.19.296/include/linux/ceph/
Dmdsmap.h30 struct ceph_mds_info *m_info; member
47 return &m->m_info[w].addr; in ceph_mdsmap_get_addr()
55 return m->m_info[w].state; in ceph_mdsmap_get_state()
61 return m->m_info[w].laggy; in ceph_mdsmap_is_laggy()