Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c107 struct __queue *pfree_sta_queue; in r8712_alloc_stainfo() local
113 pfree_sta_queue = &pstapriv->free_sta_queue; in r8712_alloc_stainfo()
114 spin_lock_irqsave(&pfree_sta_queue->lock, flags); in r8712_alloc_stainfo()
115 psta = list_first_entry_or_null(&pfree_sta_queue->queue, in r8712_alloc_stainfo()
150 spin_unlock_irqrestore(&pfree_sta_queue->lock, flags); in r8712_alloc_stainfo()
159 struct __queue *pfree_sta_queue; in r8712_free_stainfo() local
167 pfree_sta_queue = &pstapriv->free_sta_queue; in r8712_free_stainfo()
197 spin_lock(&(pfree_sta_queue->lock)); in r8712_free_stainfo()
199 list_add_tail(&psta->list, &pfree_sta_queue->queue); in r8712_free_stainfo()
200 spin_unlock(&(pfree_sta_queue->lock)); in r8712_free_stainfo()
/drivers/staging/rtl8188eu/core/
Drtw_sta_mgt.c181 struct __queue *pfree_sta_queue; in rtw_alloc_stainfo() local
186 pfree_sta_queue = &pstapriv->free_sta_queue; in rtw_alloc_stainfo()
188 spin_lock_bh(&pfree_sta_queue->lock); in rtw_alloc_stainfo()
189 psta = list_first_entry_or_null(&pfree_sta_queue->queue, in rtw_alloc_stainfo()
192 spin_unlock_bh(&pfree_sta_queue->lock); in rtw_alloc_stainfo()
195 spin_unlock_bh(&pfree_sta_queue->lock); in rtw_alloc_stainfo()
259 struct __queue *pfree_sta_queue; in rtw_free_stainfo() local
269 pfree_sta_queue = &pstapriv->free_sta_queue; in rtw_free_stainfo()
379 spin_lock_bh(&(pfree_sta_queue->lock)); in rtw_free_stainfo()
380 list_add_tail(&psta->list, get_list_head(pfree_sta_queue)); in rtw_free_stainfo()
[all …]