Searched refs:max_sessions (Results 1 – 8 of 8) sorted by relevance
280 for (i = 0; i < mdsc->max_sessions; i++) { in caps_show()327 for (mds = 0; mds < mdsc->max_sessions; mds++) { in mds_sessions_show()
778 if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) in __ceph_lookup_mds_session()785 if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) in __have_session()794 if (s->s_mds >= mdsc->max_sessions || in __verify_registered_session()816 if (mds >= mdsc->max_sessions) { in register_session()826 mdsc->max_sessions * sizeof(void *)); in register_session()830 mdsc->max_sessions = newmax; in register_session()904 for (mds = 0; mds < mdsc->max_sessions; ++mds) { in ceph_mdsc_iterate_sessions()4326 for (i = 0; i < oldmap->possible_max_rank && i < mdsc->max_sessions; i++) { in check_new_map()4447 for (i = 0; i < newmap->possible_max_rank && i < mdsc->max_sessions; i++) { in check_new_map()4721 for (i = 0; i < mdsc->max_sessions; i++) { in delayed_work()[all …]
398 int max_sessions; /* len of sessions array */ member
183 for (i = 0; i < mdsc->max_sessions; i++) { in metric_get_session()
238 for (j = 0; j < mdsc->max_sessions; j++) { in ceph_reserve_caps()2277 unsigned int max_sessions; in flush_mdlog_and_wait_inode_unsafe_requests() local2281 max_sessions = mdsc->max_sessions; in flush_mdlog_and_wait_inode_unsafe_requests()2283 sessions = kcalloc(max_sessions, sizeof(s), GFP_KERNEL); in flush_mdlog_and_wait_inode_unsafe_requests()2328 for (i = 0; i < max_sessions; i++) { in flush_mdlog_and_wait_inode_unsafe_requests()
1648 int max_sessions = ARRAY_SIZE(sessions) - 1; in refresh_cache_worker() local1663 if (i >= max_sessions) in refresh_cache_worker()1667 if (i + mg->num_sessions > max_sessions) in refresh_cache_worker()1668 count = max_sessions - i; in refresh_cache_worker()
192 core->max_sessions_supported = sessions->max_sessions; in parse_max_sessions()
1025 u32 max_sessions; member