Searched refs:monmap (Results 1 – 5 of 5) sorted by relevance
140 monc->cur_mon = r % monc->monmap->num_mon; in __open_session()142 monc->monmap->num_mon, r, monc->cur_mon); in __open_session()150 &monc->monmap->mon_inst[monc->cur_mon].addr); in __open_session()332 struct ceph_monmap *monmap = NULL, *old = monc->monmap; in ceph_monc_handle_map() local344 monmap = ceph_monmap_decode(p, end); in ceph_monc_handle_map()345 if (IS_ERR(monmap)) { in ceph_monc_handle_map()347 (int)PTR_ERR(monmap)); in ceph_monc_handle_map()351 if (ceph_check_fsid(monc->client, &monmap->fsid) < 0) { in ceph_monc_handle_map()352 kfree(monmap); in ceph_monc_handle_map()356 client->monc.monmap = monmap; in ceph_monc_handle_map()[all …]
37 if (client->monc.monmap == NULL) in monmap_show()40 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show()41 for (i = 0; i < client->monc.monmap->num_mon; i++) { in monmap_show()43 &client->monc.monmap->mon_inst[i]; in monmap_show()
146 if (ceph_monmap_contains(client->monc.monmap, in ceph_compare_options()517 return client->monc.monmap && client->monc.monmap->epoch && in have_mon_and_osd_map()
61 struct ceph_monmap *monmap; member
57 struct ceph_monmap *monmap = fsc->client->monc.monmap; in ceph_statfs() local90 fsid = *(u64 *)(&monmap->fsid) ^ *((u64 *)&monmap->fsid + 1); in ceph_statfs()