Lines Matching refs:possible_max_rank
26 for (i = 0; i < m->possible_max_rank; i++) in __mdsmap_get_random_mds()
34 for (j = 0, i = 0; i < m->possible_max_rank; i++) { in __mdsmap_get_random_mds()
52 if (mds == m->possible_max_rank || mds == -1) in ceph_mdsmap_get_random_mds()
55 return mds == m->possible_max_rank ? -1 : mds; in ceph_mdsmap_get_random_mds()
170 m->possible_max_rank = max(m->m_num_active_mds, m->m_max_mds); in ceph_mdsmap_decode()
172 m->m_info = kcalloc(m->possible_max_rank, sizeof(*m->m_info), GFP_NOFS); in ceph_mdsmap_decode()
243 if (mds < 0 || mds >= m->possible_max_rank) { in ceph_mdsmap_decode()
314 if (mds >= 0 && mds < m->possible_max_rank) { in ceph_mdsmap_decode()
321 if (n > m->possible_max_rank) { in ceph_mdsmap_decode()
329 m->possible_max_rank = n; in ceph_mdsmap_decode()
416 for (i = 0; i < m->possible_max_rank; i++) in ceph_mdsmap_destroy()
433 for (i = 0; i < m->possible_max_rank; i++) { in ceph_mdsmap_is_cluster_available()