Searched refs:monmap (Results 1 – 5 of 5) sorted by relevance
72 struct ceph_monmap *monmap = NULL; in ceph_monmap_decode() local120 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()127 monmap->num_mon = num_mon; in ceph_monmap_decode()131 struct ceph_entity_inst *inst = &monmap->mon_inst[i]; in ceph_monmap_decode()148 return monmap; in ceph_monmap_decode()153 kfree(monmap); in ceph_monmap_decode()209 BUG_ON(monc->monmap->num_mon < 1); in pick_new_mon()[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()813 return client->monc.monmap && client->monc.monmap->epoch && in have_mon_and_osd_map()
72 struct ceph_monmap *monmap; member
103 fsid = le64_to_cpu(*(__le64 *)(&monc->monmap->fsid)) ^ in ceph_statfs()104 le64_to_cpu(*((__le64 *)&monc->monmap->fsid + 1)); in ceph_statfs()