Home
last modified time | relevance | path

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

/kernel/linux/common_modules/qos_auth/auth_ctl/
Dauth_ctrl.c187 static inline void set_auth_flag(struct auth_ctrl_data *data, struct auth_struct *auth_to_enable) in set_auth_flag() argument
190 auth_to_enable->rtg_auth_flag = generic_auth_trim(data->rtg_ua_flag, AF_RTG_DELEGATED); in set_auth_flag()
193 auth_to_enable->qos_auth_flag = generic_auth_trim(data->qos_ua_flag, AF_QOS_ALL); in set_auth_flag()
199 struct auth_struct *auth_to_enable; in auth_enable() local
205 auth_to_enable = idr_find(ua_idr, uid); in auth_enable()
207 if (auth_to_enable) { in auth_enable()
208 get_auth_struct(auth_to_enable); in auth_enable()
211 mutex_lock(&auth_to_enable->mutex); in auth_enable()
212 if (auth_to_enable->status == AUTH_STATUS_DEAD) { in auth_enable()
213 mutex_unlock(&auth_to_enable->mutex); in auth_enable()
[all …]