Home
last modified time | relevance | path

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

/drivers/staging/rtl8188eu/core/
Drtw_mlme.c111 struct __queue *free_queue = &pmlmepriv->free_bss_pool; in rtw_alloc_network() local
113 spin_lock_bh(&free_queue->lock); in rtw_alloc_network()
114 pnetwork = list_first_entry_or_null(&free_queue->queue, in rtw_alloc_network()
130 spin_unlock_bh(&free_queue->lock); in rtw_alloc_network()
140 struct __queue *free_queue = &pmlmepriv->free_bss_pool; in _rtw_free_network() local
156 spin_lock_bh(&free_queue->lock); in _rtw_free_network()
158 list_add_tail(&pnetwork->list, &free_queue->queue); in _rtw_free_network()
159 spin_unlock_bh(&free_queue->lock); in _rtw_free_network()
165 struct __queue *free_queue = &pmlmepriv->free_bss_pool; in rtw_free_network_nolock() local
172 list_add_tail(&pnetwork->list, get_list_head(free_queue)); in rtw_free_network_nolock()
[all …]
/drivers/staging/rtl8712/
Drtl871x_mlme.c77 struct __queue *free_queue = &pmlmepriv->free_bss_pool; in _r8712_alloc_network() local
79 spin_lock_irqsave(&free_queue->lock, irqL); in _r8712_alloc_network()
80 pnetwork = list_first_entry_or_null(&free_queue->queue, in _r8712_alloc_network()
87 spin_unlock_irqrestore(&free_queue->lock, irqL); in _r8712_alloc_network()
96 struct __queue *free_queue = &(pmlmepriv->free_bss_pool); in _free_network() local
106 spin_lock_irqsave(&free_queue->lock, irqL); in _free_network()
108 list_add_tail(&pnetwork->list, &free_queue->queue); in _free_network()
110 spin_unlock_irqrestore(&free_queue->lock, irqL); in _free_network()
116 struct __queue *free_queue = &pmlmepriv->free_bss_pool; in free_network_nolock() local
123 list_add_tail(&pnetwork->list, &free_queue->queue); in free_network_nolock()
/drivers/staging/rtl8723bs/core/
Drtw_mlme.c150 struct __queue *free_queue = &pmlmepriv->free_bss_pool; in rtw_alloc_network() local
153 spin_lock_bh(&free_queue->lock); in rtw_alloc_network()
155 if (list_empty(&free_queue->queue)) { in rtw_alloc_network()
159 plist = get_next(&(free_queue->queue)); in rtw_alloc_network()
176 spin_unlock_bh(&free_queue->lock); in rtw_alloc_network()
186 struct __queue *free_queue = &(pmlmepriv->free_bss_pool); in _rtw_free_network() local
204 spin_lock_bh(&free_queue->lock); in _rtw_free_network()
208 list_add_tail(&(pnetwork->list), &(free_queue->queue)); in _rtw_free_network()
215 spin_unlock_bh(&free_queue->lock); in _rtw_free_network()
221 struct __queue *free_queue = &(pmlmepriv->free_bss_pool); in _rtw_free_network_nolock() local
[all …]
/drivers/media/platform/omap3isp/
Dispccdc.h72 struct list_head free_queue; /* configurations for freeing */ member
Dispccdc.c391 ccdc_lsc_free_queue(ccdc, &lsc->free_queue); in ccdc_lsc_free_table_work()
464 list_add_tail(&ccdc->lsc.request->list, &ccdc->lsc.free_queue); in ccdc_lsc_config()
499 list_add_tail(&lsc->active->list, &lsc->free_queue); in ccdc_lsc_enable()
506 list_add_tail(&lsc->request->list, &lsc->free_queue); in ccdc_lsc_enable()
516 if (!list_empty(&lsc->free_queue)) in ccdc_lsc_enable()
1299 list_add_tail(&ccdc->lsc.request->list, &ccdc->lsc.free_queue); in ccdc_configure()
1348 ccdc_lsc_free_queue(ccdc, &ccdc->lsc.free_queue); in ccdc_disable()
2697 INIT_LIST_HEAD(&ccdc->lsc.free_queue); in omap3isp_ccdc_init()
2731 ccdc_lsc_free_queue(ccdc, &ccdc->lsc.free_queue); in omap3isp_ccdc_cleanup()
/drivers/atm/
Dfirestream.c1523 static void free_queue(struct fs_dev *dev, struct queue *txq) in free_queue() function
1996 free_queue (dev, &dev->hp_txq); in firestream_remove_one()
1997 free_queue (dev, &dev->lp_txq); in firestream_remove_one()
1998 free_queue (dev, &dev->tx_relq); in firestream_remove_one()
1999 free_queue (dev, &dev->st_q); in firestream_remove_one()
2008 free_queue (dev, &dev->rx_rq[i]); in firestream_remove_one()
/drivers/misc/habanalabs/
Dhw_queue.c445 goto free_queue; in ext_and_cpu_hw_queue_init()
454 free_queue: in ext_and_cpu_hw_queue_init()
/drivers/scsi/
D3w-xxxx.h401 unsigned char free_queue[TW_Q_LENGTH]; member
D3w-sas.h364 unsigned char free_queue[TW_Q_LENGTH]; member
D3w-sas.c453 *request_id = tw_dev->free_queue[tw_dev->free_head]; in twl_get_request_id()
461 tw_dev->free_queue[tw_dev->free_tail] = request_id; in twl_free_request_id()
1065 tw_dev->free_queue[i] = i; in twl_initialize_device_extension()
1383 tw_dev->free_queue[i] = i; in twl_reset_device_extension()
D3w-9xxx.h644 unsigned char free_queue[TW_Q_LENGTH]; member
D3w-xxxx.c476 tw_dev->free_queue[tw_dev->free_tail] = request_id; in tw_state_request_finish()
484 *request_id = tw_dev->free_queue[tw_dev->free_head]; in tw_state_request_start()
1273 tw_dev->free_queue[i] = i; in tw_initialize_device_extension()
1317 tw_dev->free_queue[i] = i; in tw_reset_device_extension()
D3w-9xxx.c1051 tw_dev->free_queue[tw_dev->free_tail] = request_id; in twa_free_request_id()
1102 *request_id = tw_dev->free_queue[tw_dev->free_head]; in twa_get_request_id()
1198 tw_dev->free_queue[i] = i; in twa_initialize_device_extension()
1608 tw_dev->free_queue[i] = i; in twa_reset_device_extension()
/drivers/ntb/
Dntb_transport.c1986 unsigned int free_queue; in ntb_transport_create_queue() local
1997 free_queue = ffs(nt->qp_bitmap_free); in ntb_transport_create_queue()
1998 if (!free_queue) in ntb_transport_create_queue()
2002 free_queue--; in ntb_transport_create_queue()
2004 qp = &nt->qp_vec[free_queue]; in ntb_transport_create_queue()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c1100 int i, ret, free_queue = -ENOSPC; in iwl_mvm_inactivity_check() local
1167 if (ret >= 0 && free_queue < 0) { in iwl_mvm_inactivity_check()
1169 free_queue = ret; in iwl_mvm_inactivity_check()
1182 if (free_queue >= 0 && alloc_for_sta != IWL_MVM_INVALID_STA) { in iwl_mvm_inactivity_check()
1183 ret = iwl_mvm_free_inactive_queue(mvm, free_queue, queue_owner, in iwl_mvm_inactivity_check()
1193 return free_queue; in iwl_mvm_inactivity_check()
/drivers/crypto/
Dn2_core.c1607 static void free_queue(void *p, unsigned long q_type) in free_queue() function
1678 free_queue(p->q, p->q_type); in spu_queue_setup()
1695 free_queue(p->q, p->q_type); in spu_queue_destroy()