Lines Matching refs:lst

70     auth_list *lst = get_list(ctx);  in fillAccessKey()  local
71 if (!lst) { in fillAccessKey()
75 HAL_MutexLock(lst->list_mutex); in fillAccessKey()
77 if (list_empty(&lst->lst_ctl)) { in fillAccessKey()
78 HAL_MutexUnlock(lst->list_mutex); in fillAccessKey()
83 list_for_each_entry_safe(node, next, &lst->lst_ctl, lst, ctl_key_item) in fillAccessKey()
86 if (lst->ctl_group_count || !list_is_last(&node->lst, &lst->lst_ctl)) { in fillAccessKey()
95 list_for_each_entry_safe(gnode, gnext, &lst->lst_ctl_group, lst, in fillAccessKey()
99 if (!list_is_last(&gnode->lst, &lst->lst_ctl_group)) { in fillAccessKey()
107 HAL_MutexUnlock(lst->list_mutex); in fillAccessKey()
148 auth_list *lst = get_list(ctx); in nego_cb() local
151 HAL_MutexLock(lst->list_mutex); in nego_cb()
153 list_for_each_entry_safe(node, next, &lst->lst_ctl, lst, in nego_cb()
165 list_for_each_entry_safe(gnode, gnext, &lst->lst_ctl_group, lst, in nego_cb()
176 HAL_MutexUnlock(lst->list_mutex); in nego_cb()
381 list_add_tail(&session->lst, ctl_head); in do_auth()
499 auth_list *lst = get_list(ctx); in alcs_add_client_key() local
500 if (!lst || lst->ctl_count >= KEY_MAXCOUNT) { in alcs_add_client_key()
523 HAL_MutexLock(lst->list_mutex); in alcs_add_client_key()
524 list_add_tail(&item->lst, &lst->lst_ctl); in alcs_add_client_key()
525 ++lst->ctl_count; in alcs_add_client_key()
526 HAL_MutexUnlock(lst->list_mutex); in alcs_add_client_key()
533 auth_list *lst = get_list(ctx); in alcs_remove_client_key() local
534 if (!lst) { in alcs_remove_client_key()
539 HAL_MutexLock(lst->list_mutex); in alcs_remove_client_key()
541 list_for_each_entry_safe(node, next, &lst->lst_ctl, lst, ctl_key_item) in alcs_remove_client_key()
546 list_del(&node->lst); in alcs_remove_client_key()
551 HAL_MutexUnlock(lst->list_mutex); in alcs_remove_client_key()
575 list_for_each_entry_safe(node, next, ctl_head, lst, session_item) in heart_beat_cb()
583 list_for_each_entry_safe(node, next, ctl_head, lst, session_item) in heart_beat_cb()
620 list_for_each_entry_safe(node, next, ctl_head, lst, session_item) in on_client_auth_timer()