Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c94 struct __queue *pfree_sta_queue; in r8712_alloc_stainfo() local
100 pfree_sta_queue = &pstapriv->free_sta_queue; in r8712_alloc_stainfo()
101 spin_lock_irqsave(&pfree_sta_queue->lock, flags); in r8712_alloc_stainfo()
102 psta = list_first_entry_or_null(&pfree_sta_queue->queue, in r8712_alloc_stainfo()
137 spin_unlock_irqrestore(&pfree_sta_queue->lock, flags); in r8712_alloc_stainfo()
146 struct __queue *pfree_sta_queue; in r8712_free_stainfo() local
154 pfree_sta_queue = &pstapriv->free_sta_queue; in r8712_free_stainfo()
184 spin_lock(&(pfree_sta_queue->lock)); in r8712_free_stainfo()
186 list_add_tail(&psta->list, &pfree_sta_queue->queue); in r8712_free_stainfo()
187 spin_unlock(&(pfree_sta_queue->lock)); in r8712_free_stainfo()
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_sta_mgt.c171 struct __queue *pfree_sta_queue; in rtw_alloc_stainfo() local
176 pfree_sta_queue = &pstapriv->free_sta_queue; in rtw_alloc_stainfo()
178 spin_lock_bh(&pfree_sta_queue->lock); in rtw_alloc_stainfo()
179 psta = list_first_entry_or_null(&pfree_sta_queue->queue, in rtw_alloc_stainfo()
182 spin_unlock_bh(&pfree_sta_queue->lock); in rtw_alloc_stainfo()
187 spin_unlock_bh(&pfree_sta_queue->lock); in rtw_alloc_stainfo()
254 struct __queue *pfree_sta_queue; in rtw_free_stainfo() local
263 pfree_sta_queue = &pstapriv->free_sta_queue; in rtw_free_stainfo()
373 spin_lock_bh(&pfree_sta_queue->lock); in rtw_free_stainfo()
374 list_add_tail(&psta->list, get_list_head(pfree_sta_queue)); in rtw_free_stainfo()
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c193 struct __queue *pfree_sta_queue; in rtw_alloc_stainfo() local
198 pfree_sta_queue = &pstapriv->free_sta_queue; in rtw_alloc_stainfo()
202 if (list_empty(&pfree_sta_queue->queue)) { in rtw_alloc_stainfo()
207 psta = LIST_CONTAINOR(get_next(&pfree_sta_queue->queue), struct sta_info, list); in rtw_alloc_stainfo()
309 struct __queue *pfree_sta_queue; in rtw_free_stainfo() local
324 pfree_sta_queue = &pstapriv->free_sta_queue; in rtw_free_stainfo()
472 list_add_tail(&psta->list, get_list_head(pfree_sta_queue)); in rtw_free_stainfo()