Searched defs:num_mon (Results 1 - 1 of 1) sorted by relevance

/net/ceph/
H A Dmon_client.c45 u32 epoch, num_mon; local
60 num_mon = ceph_decode_32(&p);
61 ceph_decode_need(&p, end, num_mon*sizeof(m->mon_inst[0]), bad);
63 if (num_mon >= CEPH_MAX_MON)
65 m = kmalloc(sizeof(*m) + sizeof(m->mon_inst[0])*num_mon, GFP_NOFS);
70 m->num_mon = num_mon;
71 ceph_decode_copy(&p, m->mon_inst, num_mon*sizeof(m->mon_inst[0]));
72 for (i = 0; i < num_mon; i++)
75 dout("monmap_decode epoch %d, num_mon
882 int num_mon = opt->num_mon; local
[all...]

Completed in 14 milliseconds