Home
last modified time | relevance | path

Searched refs:num_mon (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/net/ceph/
Dmon_client.c76 int num_mon; in ceph_monmap_decode() local
113 ceph_decode_32_safe(p, end, num_mon, e_inval); in ceph_monmap_decode()
116 num_mon); in ceph_monmap_decode()
117 if (num_mon > CEPH_MAX_MON) in ceph_monmap_decode()
120 monmap = kmalloc(struct_size(monmap, mon_inst, num_mon), GFP_NOIO); in ceph_monmap_decode()
127 monmap->num_mon = num_mon; in ceph_monmap_decode()
130 for (i = 0; i < num_mon; i++) { in ceph_monmap_decode()
164 for (i = 0; i < m->num_mon; i++) { in ceph_monmap_contains()
209 BUG_ON(monc->monmap->num_mon < 1); in pick_new_mon()
211 if (monc->monmap->num_mon == 1) { in pick_new_mon()
[all …]
Dceph_common.c184 for (i = 0; i < opt1->num_mon; i++) { in ceph_compare_options()
408 &opt->num_mon, delim); in ceph_parse_mon_ips()
Ddebugfs.c43 for (i = 0; i < client->monc.monmap->num_mon; i++) { in monmap_show()
/linux-6.6.21/include/linux/ceph/
Dmon_client.h21 u32 num_mon; member
Dlibceph.h66 int num_mon; member