Searched refs:monmap (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/net/ceph/ |
H A D | mon_client.c | 40 * Decode a monmap blob (e.g., during mount). 93 * return true if *addr is included in the monmap. 144 BUG_ON(monc->monmap->num_mon < 1); in pick_new_mon() 146 if (monc->monmap->num_mon == 1) { in pick_new_mon() 149 int max = monc->monmap->num_mon; in pick_new_mon() 154 if (monc->cur_mon < monc->monmap->num_mon) in pick_new_mon() 168 monc->cur_mon, monc->monmap->num_mon); in pick_new_mon() 192 &monc->monmap->mon_inst[monc->cur_mon].addr); in __open_session() 251 [CEPH_SUB_MONMAP] = "monmap", 282 BUG_ON(num < 1); /* monmap su in __send_subscribe() 472 struct ceph_monmap *monmap; ceph_monc_handle_map() local [all...] |
H A D | debugfs.c | 23 * .../monmap - current monmap 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); variable 430 client->debugfs_monmap = debugfs_create_file("monmap", in ceph_debugfs_client_init()
|
H A D | ceph_common.c | 185 if (ceph_monmap_contains(client->monc.monmap, in ceph_compare_options() 757 return client->monc.monmap && client->monc.monmap->epoch && in have_mon_and_osd_map()
|
/kernel/linux/linux-6.6/net/ceph/ |
H A D | mon_client.c | 66 * Decode a monmap blob (e.g., during mount). 72 struct ceph_monmap *monmap = NULL; in ceph_monmap_decode() local 85 ret = ceph_start_decoding(p, end, 6, "monmap", &struct_v, &struct_len); in ceph_monmap_decode() 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() 127 monmap->num_mon = num_mon; in ceph_monmap_decode() 131 struct ceph_entity_inst *inst = &monmap in ceph_monmap_decode() 543 struct ceph_monmap *monmap; ceph_monc_handle_map() local [all...] |
H A D | debugfs.c | 23 * .../monmap - current monmap 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); variable 430 client->debugfs_monmap = debugfs_create_file("monmap", in ceph_debugfs_client_init()
|
H A D | ceph_common.c | 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()
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
H A D | mon_client.h | 72 struct ceph_monmap *monmap; member
|
/kernel/linux/linux-6.6/include/linux/ceph/ |
H A D | mon_client.h | 72 struct ceph_monmap *monmap; member
|
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | super.c | 103 for (i = 0 ; i < sizeof(monc->monmap->fsid) / sizeof(__le32) ; ++i) in ceph_statfs() 104 buf->f_fsid.val[0] ^= le32_to_cpu(((__le32 *)&monc->monmap->fsid)[i]); in ceph_statfs()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | super.c | 109 for (i = 0 ; i < sizeof(monc->monmap->fsid) / sizeof(__le32) ; ++i) in ceph_statfs() 110 buf->f_fsid.val[0] ^= le32_to_cpu(((__le32 *)&monc->monmap->fsid)[i]); in ceph_statfs()
|
Completed in 10 milliseconds