Searched refs:monmap (Results 1 – 3 of 3) sorted by relevance
120 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 …]
39 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);
185 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()
Completed in 8 milliseconds