Home
last modified time | relevance | path

Searched refs:monmap (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/ceph/
Dmon_client.c142 BUG_ON(monc->monmap->num_mon < 1); in pick_new_mon()
144 if (monc->monmap->num_mon == 1) { in pick_new_mon()
147 int max = monc->monmap->num_mon; in pick_new_mon()
152 if (monc->cur_mon < monc->monmap->num_mon) in pick_new_mon()
166 monc->cur_mon, monc->monmap->num_mon); in pick_new_mon()
190 &monc->monmap->mon_inst[monc->cur_mon].addr); in __open_session()
470 struct ceph_monmap *monmap; in ceph_monc_handle_map() local
479 monmap = ceph_monmap_decode(p, end); in ceph_monc_handle_map()
480 if (IS_ERR(monmap)) { in ceph_monc_handle_map()
482 (int)PTR_ERR(monmap)); in ceph_monc_handle_map()
[all …]
Ddebugfs.c39 if (client->monc.monmap == NULL) in monmap_show()
42 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show()
43 for (i = 0; i < client->monc.monmap->num_mon; i++) { in monmap_show()
45 &client->monc.monmap->mon_inst[i]; in monmap_show()
391 DEFINE_SHOW_ATTRIBUTE(monmap);
Dceph_common.c185 if (ceph_monmap_contains(client->monc.monmap, in ceph_compare_options()
757 return client->monc.monmap && client->monc.monmap->epoch && in have_mon_and_osd_map()
/kernel/linux/linux-5.10/include/linux/ceph/
Dmon_client.h72 struct ceph_monmap *monmap; member
/kernel/linux/linux-5.10/fs/ceph/
Dsuper.c103 for (i = 0 ; i < sizeof(monc->monmap->fsid) / sizeof(__le32) ; ++i) in ceph_statfs()
104 buf->f_fsid.val[0] ^= le32_to_cpu(((__le32 *)&monc->monmap->fsid)[i]); in ceph_statfs()