Home
last modified time | relevance | path

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

/openbmc/linux/net/ceph/
H A Dmon_client.c120 monmap = kmalloc(struct_size(monmap, mon_inst, num_mon), GFP_NOIO); in ceph_monmap_decode()
121 if (!monmap) { in ceph_monmap_decode()
125 monmap->fsid = fsid; in ceph_monmap_decode()
126 monmap->epoch = epoch; in ceph_monmap_decode()
148 return monmap; in ceph_monmap_decode()
153 kfree(monmap); in ceph_monmap_decode()
561 kfree(monmap); in ceph_monc_handle_map()
565 kfree(monc->monmap); in ceph_monc_handle_map()
566 monc->monmap = monmap; in ceph_monc_handle_map()
1143 monc->monmap = kzalloc(struct_size(monc->monmap, mon_inst, num_mon), in build_initial_monmap()
[all …]
H A 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);
H A Dceph_common.c185 if (ceph_monmap_contains(client->monc.monmap, in ceph_compare_options()
793 return client->monc.monmap && client->monc.monmap->epoch && in have_mon_and_osd_map()
/openbmc/linux/include/linux/ceph/
H A Dmon_client.h72 struct ceph_monmap *monmap; member
/openbmc/linux/fs/ceph/
H A Dsuper.c109 for (i = 0 ; i < sizeof(monc->monmap->fsid) / sizeof(__le32) ; ++i) in ceph_statfs()
110 buf->f_fsid.val[0] ^= le32_to_cpu(((__le32 *)&monc->monmap->fsid)[i]); in ceph_statfs()