Home
last modified time | relevance | path

Searched refs:num_sessions (Results 1 – 3 of 3) sorted by relevance

/fs/smb/client/
Ddfs_cache.c57 int num_sessions; member
111 for (i = 0; i < mg->num_sessions; i++) in __mount_group_release()
150 mg->num_sessions = 0; in __get_mount_group_locked()
1206 if (mg->num_sessions < ARRAY_SIZE(mg->sessions)) in dfs_cache_add_refsrv_session()
1207 mg->sessions[mg->num_sessions++] = ses; in dfs_cache_add_refsrv_session()
1499 memcpy(&sessions, mg->sessions, mg->num_sessions * sizeof(mg->sessions[0])); in dfs_cache_remount_fs()
1667 if (i + mg->num_sessions > max_sessions) in refresh_cache_worker()
1670 count = mg->num_sessions; in refresh_cache_worker()
/fs/ceph/
Dmds_client.h403 atomic_t num_sessions; member
Dmds_client.c861 atomic_inc(&mdsc->num_sessions); in register_session()
885 atomic_dec(&mdsc->num_sessions); in __unregister_session()
5070 return atomic_read(&mdsc->num_sessions) <= skipped; in done_closing_sessions()