Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/staging/r8188eu/core/
Drtw_mlme.c56 struct __queue *free_queue = &pmlmepriv->free_bss_pool; in _rtw_free_network() local
72 spin_lock_bh(&free_queue->lock); in _rtw_free_network()
74 list_add_tail(&pnetwork->list, &free_queue->queue); in _rtw_free_network()
76 spin_unlock_bh(&free_queue->lock); in _rtw_free_network()
81 struct __queue *free_queue = &pmlmepriv->free_bss_pool; in _rtw_free_network_nolock() local
88 list_add_tail(&pnetwork->list, get_list_head(free_queue)); in _rtw_free_network_nolock()
282 struct __queue *free_queue = &pmlmepriv->free_bss_pool; in rtw_alloc_network() local
285 spin_lock_bh(&free_queue->lock); in rtw_alloc_network()
287 if (list_empty(&free_queue->queue)) { in rtw_alloc_network()
291 plist = (&free_queue->queue)->next; in rtw_alloc_network()
[all …]
/Linux-v6.1/drivers/staging/rtl8723bs/core/
Drtw_mlme.c143 struct __queue *free_queue = &pmlmepriv->free_bss_pool; in rtw_alloc_network() local
146 spin_lock_bh(&free_queue->lock); in rtw_alloc_network()
148 if (list_empty(&free_queue->queue)) { in rtw_alloc_network()
152 plist = get_next(&(free_queue->queue)); in rtw_alloc_network()
167 spin_unlock_bh(&free_queue->lock); in rtw_alloc_network()
177 struct __queue *free_queue = &(pmlmepriv->free_bss_pool); in _rtw_free_network() local
195 spin_lock_bh(&free_queue->lock); in _rtw_free_network()
199 list_add_tail(&(pnetwork->list), &(free_queue->queue)); in _rtw_free_network()
203 spin_unlock_bh(&free_queue->lock); in _rtw_free_network()
209 struct __queue *free_queue = &(pmlmepriv->free_bss_pool); in _rtw_free_network_nolock() local
[all …]
/Linux-v6.1/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()
/Linux-v6.1/drivers/media/platform/ti/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()
1352 ccdc_lsc_free_queue(ccdc, &ccdc->lsc.free_queue); in ccdc_disable()
2719 INIT_LIST_HEAD(&ccdc->lsc.free_queue); in omap3isp_ccdc_init()
2753 ccdc_lsc_free_queue(ccdc, &ccdc->lsc.free_queue); in omap3isp_ccdc_cleanup()
/Linux-v6.1/drivers/scsi/
D3w-xxxx.h410 unsigned char free_queue[TW_Q_LENGTH]; member
D3w-sas.h380 unsigned char free_queue[TW_Q_LENGTH]; member
D3w-9xxx.h661 unsigned char free_queue[TW_Q_LENGTH]; member
D3w-sas.c452 *request_id = tw_dev->free_queue[tw_dev->free_head]; in twl_get_request_id()
460 tw_dev->free_queue[tw_dev->free_tail] = request_id; in twl_free_request_id()
1063 tw_dev->free_queue[i] = i; in twl_initialize_device_extension()
1381 tw_dev->free_queue[i] = i; in twl_reset_device_extension()
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.c1050 tw_dev->free_queue[tw_dev->free_tail] = request_id; in twa_free_request_id()
1101 *request_id = tw_dev->free_queue[tw_dev->free_head]; in twa_get_request_id()
1196 tw_dev->free_queue[i] = i; in twa_initialize_device_extension()
1608 tw_dev->free_queue[i] = i; in twa_reset_device_extension()
/Linux-v6.1/kernel/bpf/
Dcpumap.c457 goto free_queue; in __cpu_map_entry_alloc()
487 free_queue: in __cpu_map_entry_alloc()
/Linux-v6.1/drivers/ntb/
Dntb_transport.c1984 unsigned int free_queue; in ntb_transport_create_queue() local
1995 free_queue = ffs(nt->qp_bitmap_free); in ntb_transport_create_queue()
1996 if (!free_queue) in ntb_transport_create_queue()
2000 free_queue--; in ntb_transport_create_queue()
2002 qp = &nt->qp_vec[free_queue]; in ntb_transport_create_queue()
/Linux-v6.1/drivers/misc/habanalabs/common/
Dhw_queue.c835 goto free_queue; in ext_and_cpu_queue_init()
844 free_queue: in ext_and_cpu_queue_init()
/Linux-v6.1/arch/sparc/kernel/
Dldc.c999 static void free_queue(unsigned long num_entries, struct ldc_packet *q) in free_queue() function
1249 free_queue(lp->tx_num_entries, lp->tx_base); in ldc_alloc()
1279 free_queue(lp->tx_num_entries, lp->tx_base); in ldc_unbind()
1280 free_queue(lp->rx_num_entries, lp->rx_base); in ldc_unbind()
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c1154 int i, ret, free_queue = -ENOSPC; in iwl_mvm_inactivity_check() local
1221 if (ret && free_queue < 0) { in iwl_mvm_inactivity_check()
1223 free_queue = i; in iwl_mvm_inactivity_check()
1238 if (free_queue >= 0 && alloc_for_sta != IWL_MVM_INVALID_STA) { in iwl_mvm_inactivity_check()
1239 ret = iwl_mvm_free_inactive_queue(mvm, free_queue, queue_owner, in iwl_mvm_inactivity_check()
1245 return free_queue; in iwl_mvm_inactivity_check()
/Linux-v6.1/drivers/crypto/
Dn2_core.c1557 static void free_queue(void *p, unsigned long q_type) in free_queue() function
1628 free_queue(p->q, p->q_type); in spu_queue_setup()
1645 free_queue(p->q, p->q_type); in spu_queue_destroy()
/Linux-v6.1/drivers/nvme/target/
Drdma.c1597 goto free_queue; in nvmet_rdma_queue_connect()
1606 free_queue: in nvmet_rdma_queue_connect()