Searched refs:mon_inst (Results 1 – 3 of 3) sorted by relevance
61 ceph_decode_need(&p, end, num_mon*sizeof(m->mon_inst[0]), bad); in ceph_monmap_decode()65 m = kmalloc(sizeof(*m) + sizeof(m->mon_inst[0])*num_mon, GFP_NOFS); in ceph_monmap_decode()71 ceph_decode_copy(&p, m->mon_inst, num_mon*sizeof(m->mon_inst[0])); in ceph_monmap_decode()73 ceph_decode_addr(&m->mon_inst[i].addr); in ceph_monmap_decode()79 ceph_pr_addr(&m->mon_inst[i].addr.in_addr)); in ceph_monmap_decode()96 if (memcmp(addr, &m->mon_inst[i].addr, sizeof(*addr)) == 0) in ceph_monmap_contains()150 &monc->monmap->mon_inst[monc->cur_mon].addr); in __open_session()760 num_mon*sizeof(monc->monmap->mon_inst[0]), in build_initial_monmap()765 monc->monmap->mon_inst[i].addr = mon_addr[i]; in build_initial_monmap()766 monc->monmap->mon_inst[i].addr.nonce = 0; in build_initial_monmap()[all …]
43 &client->monc.monmap->mon_inst[i]; in monmap_show()
21 struct ceph_entity_inst mon_inst[0]; member