Searched refs:num_mon (Results 1 – 5 of 5) sorted by relevance
45 u32 epoch, num_mon; in ceph_monmap_decode() local60 num_mon = ceph_decode_32(&p); in ceph_monmap_decode()61 ceph_decode_need(&p, end, num_mon*sizeof(m->mon_inst[0]), bad); in ceph_monmap_decode()63 if (num_mon >= CEPH_MAX_MON) in ceph_monmap_decode()65 m = kmalloc(sizeof(*m) + sizeof(m->mon_inst[0])*num_mon, GFP_NOFS); in ceph_monmap_decode()70 m->num_mon = num_mon; in ceph_monmap_decode()71 ceph_decode_copy(&p, m->mon_inst, num_mon*sizeof(m->mon_inst[0])); in ceph_monmap_decode()72 for (i = 0; i < num_mon; i++) in ceph_monmap_decode()76 m->num_mon); in ceph_monmap_decode()77 for (i = 0; i < m->num_mon; i++) in ceph_monmap_decode()[all …]
148 for (i = 0; i < opt1->num_mon; i++) { in ceph_compare_options()312 CEPH_MAX_MON, &opt->num_mon); in ceph_parse_options()
41 for (i = 0; i < client->monc.monmap->num_mon; i++) { in monmap_show()
20 u32 num_mon; member
62 int num_mon; member