Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ceph/
Dmdsmap.c17 (m->m_info[i].state > 0 && ignore_laggy ? true : !m->m_info[i].laggy)
169 m->m_info = kcalloc(m->possible_max_rank, sizeof(*m->m_info), GFP_NOFS); in ceph_mdsmap_decode()
170 if (!m->m_info) in ceph_mdsmap_decode()
253 info = &m->m_info[mds]; in ceph_mdsmap_decode()
314 if (m->m_info[mds].laggy) in ceph_mdsmap_decode()
321 void *new_m_info = krealloc(m->m_info, in ceph_mdsmap_decode()
322 n * sizeof(*m->m_info), in ceph_mdsmap_decode()
326 m->m_info = new_m_info; in ceph_mdsmap_decode()
413 if (m->m_info) { in ceph_mdsmap_destroy()
415 kfree(m->m_info[i].export_targets); in ceph_mdsmap_destroy()
[all …]
Ddebugfs.c40 struct ceph_entity_addr *addr = &mdsmap->m_info[i].addr; in mdsmap_show()
41 int state = mdsmap->m_info[i].state; in mdsmap_show()
Dmds_client.c1709 mi = &mdsc->mdsmap->m_info[mds]; in __open_export_target_sessions()
4731 if (newmap->m_info) { in check_new_map()
4733 for (j = 0; j < newmap->m_info[i].num_export_targets; j++) in check_new_map()
4734 set_bit(newmap->m_info[i].export_targets[j], targets); in check_new_map()
/linux-6.6.21/include/linux/ceph/
Dmdsmap.h32 struct ceph_mds_info *m_info; member
49 return &m->m_info[w].addr; in ceph_mdsmap_get_addr()
57 return m->m_info[w].state; in ceph_mdsmap_get_state()
63 return m->m_info[w].laggy; in ceph_mdsmap_is_laggy()
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dutils.c1222 struct irdma_modify_qp_info *m_info; in irdma_hw_modify_qp() local
1233 m_info = &cqp_info->in.u.qp_modify.info; in irdma_hw_modify_qp()
1234 memcpy(m_info, info, sizeof(*m_info)); in irdma_hw_modify_qp()
1245 switch (m_info->next_iwarp_state) { in irdma_hw_modify_qp()
1267 m_info = &cqp_info->in.u.qp_modify.info; in irdma_hw_modify_qp()
1268 memcpy(m_info, info, sizeof(*m_info)); in irdma_hw_modify_qp()
1273 m_info->next_iwarp_state = IRDMA_QP_STATE_ERROR; in irdma_hw_modify_qp()
1274 m_info->reset_tcp_conn = true; in irdma_hw_modify_qp()
Dverbs.c1892 struct irdma_modify_cq_info *m_info; in irdma_resize_cq() local
1988 m_info = &cqp_info->in.u.cq_modify.info; in irdma_resize_cq()
1989 memcpy(m_info, &info, sizeof(*m_info)); in irdma_resize_cq()
/linux-6.6.21/net/mptcp/
Dsockopt.c947 struct mptcp_info m_info; in mptcp_getsockopt_info() local
955 mptcp_diag_fill_info(msk, &m_info); in mptcp_getsockopt_info()
960 if (copy_to_user(optval, &m_info, len)) in mptcp_getsockopt_info()