Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/ceph/
H A Dmon_client.c47 u32 epoch, num_mon; in ceph_monmap_decode() local
60 num_mon = ceph_decode_32(&p); in ceph_monmap_decode()
62 if (num_mon > CEPH_MAX_MON) in ceph_monmap_decode()
64 m = kmalloc(struct_size(m, mon_inst, num_mon), GFP_NOFS); in ceph_monmap_decode()
69 m->num_mon = num_mon; in ceph_monmap_decode()
70 for (i = 0; i < num_mon; ++i) { in ceph_monmap_decode()
81 m->num_mon); in ceph_monmap_decode()
82 for (i = 0; i < m->num_mon; i++) in ceph_monmap_decode()
99 for (i = 0; i < m->num_mon; i++) in ceph_monmap_contains()
142 BUG_ON(monc->monmap->num_mon < 1); in pick_new_mon()
[all …]
H A Dceph_common.c184 for (i = 0; i < opt1->num_mon; i++) { in ceph_compare_options()
412 &opt->num_mon); in ceph_parse_mon_ips()
H A Ddebugfs.c43 for (i = 0; i < client->monc.monmap->num_mon; i++) { in monmap_show()
/OK3568_Linux_fs/kernel/include/linux/ceph/
H A Dmon_client.h21 u32 num_mon; member
H A Dlibceph.h65 int num_mon; member