Searched refs:mon_inst (Results 1 – 3 of 3) sorted by relevance
64 m = kmalloc(struct_size(m, mon_inst, num_mon), GFP_NOFS); in ceph_monmap_decode()71 struct ceph_entity_inst *inst = &m->mon_inst[i]; in ceph_monmap_decode()84 ceph_pr_addr(&m->mon_inst[i].addr)); in ceph_monmap_decode()100 if (memcmp(addr, &m->mon_inst[i].addr, sizeof(*addr)) == 0) in ceph_monmap_contains()190 &monc->monmap->mon_inst[monc->cur_mon].addr); in __open_session()1061 monc->monmap = kzalloc(struct_size(monc->monmap, mon_inst, num_mon), in build_initial_monmap()1066 monc->monmap->mon_inst[i].addr = mon_addr[i]; in build_initial_monmap()1067 monc->monmap->mon_inst[i].addr.nonce = 0; in build_initial_monmap()1068 monc->monmap->mon_inst[i].name.type = in build_initial_monmap()1070 monc->monmap->mon_inst[i].name.num = cpu_to_le64(i); in build_initial_monmap()
45 &client->monc.monmap->mon_inst[i]; in monmap_show()
22 struct ceph_entity_inst mon_inst[]; member