Searched refs:pfm_sessions (Results 1 – 1 of 1) sorted by relevance
145 #define LOCK_PFS() spin_lock(&pfm_sessions.pfs_lock)146 #define UNLOCK_PFS() spin_unlock(&pfm_sessions.pfs_lock)406 static pfm_session_t pfm_sessions; /* global sessions information */ variable1014 if (pfm_sessions.pfs_task_sessions > 0UL) { in pfm_reserve_session()1016 pfm_sessions.pfs_task_sessions)); in pfm_reserve_session()1026 if (pfm_sessions.pfs_sys_session[i]) goto undo; in pfm_reserve_session()1030 pfm_sessions.pfs_sys_session[i] = task; in pfm_reserve_session()1034 pfm_sessions.pfs_sys_sessions += n; in pfm_reserve_session()1036 if (pfm_sessions.pfs_sys_sessions) goto abort; in pfm_reserve_session()1037 pfm_sessions.pfs_task_sessions++; in pfm_reserve_session()[all …]