/linux-master/drivers/usb/isp1760/ |
H A D | isp1760-udc.c | 30 struct list_head queue; member in struct:isp1760_request 293 list_del(&req->queue); 358 if (list_empty(&ep->queue)) { 366 req = list_first_entry(&ep->queue, struct isp1760_request, 367 queue); 392 if (list_empty(&ep->queue)) { 410 req = list_first_entry(&ep->queue, struct isp1760_request, 411 queue); 429 list_del(&req->queue); 434 if (!list_empty(&ep->queue)) [all...] |
/linux-master/net/ipv4/ |
H A D | inet_connection_sock.c | 632 * beginning of the wait-queue. As such, it's ok to "drop" 634 * having to remove and re-insert us on the wait queue. 667 struct request_sock_queue *queue = &icsk->icsk_accept_queue; local 682 if (reqsk_queue_empty(queue)) { 694 req = reqsk_queue_remove(queue, sk); 699 spin_lock_bh(&queue->fastopenq.lock); 710 spin_unlock_bh(&queue->fastopenq.lock); 955 static void reqsk_queue_migrated(struct request_sock_queue *queue, argument 959 atomic_inc(&queue->young); 960 atomic_inc(&queue 1018 struct request_sock_queue *queue; local 1325 struct request_sock_queue *queue = &inet_csk(sk)->icsk_accept_queue; local 1399 struct request_sock_queue *queue = &icsk->icsk_accept_queue; local [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_mes.c | 316 struct amdgpu_mes_queue *queue, *tmp2; local 336 list_for_each_entry_safe(queue, tmp2, &gang->queue_list, list) { 338 idr_remove(&adev->mes.queue_id_idr, queue->queue_id); 341 queue_input.doorbell_offset = queue->doorbell_off; 347 DRM_WARN("failed to remove hardware queue\n"); 359 list_for_each_entry_safe(queue, tmp2, &gang->queue_list, list) { 360 amdgpu_mes_queue_free_mqd(queue); 361 list_del(&queue->list); 362 kfree(queue); 467 DRM_ERROR("queue lis 614 struct amdgpu_mes_queue *queue; local 734 struct amdgpu_mes_queue *queue; local [all...] |
/linux-master/drivers/usb/gadget/udc/ |
H A D | omap_udc.c | 275 INIT_LIST_HEAD(&req->queue); 296 list_del_init(&req->queue); 314 /* don't modify queue heads during completion callback */ 418 /* return: 0 = still running, 1 = queue empty, negative = errno */ 647 if (!list_empty(&ep->queue)) { 648 req = container_of(ep->queue.next, 649 struct omap_req, queue); 654 if (!list_empty(&ep->queue)) { 655 req = container_of(ep->queue.next, 656 struct omap_req, queue); [all...] |
H A D | atmel_usba_udc.c | 49 list_for_each_entry(req, &ep->queue, queue) { 53 list_add_tail(&req_copy->queue, queue_data); 62 list_for_each_entry_safe(req, req_copy, queue_data, queue) { 63 list_del(&req->queue); 87 struct list_head *queue = file->private_data; local 96 list_for_each_entry_safe(req, tmp_req, queue, queue) { 110 list_del(&req->queue); 131 list_for_each_entry_safe(req, tmp_req, queue_data, queue) { [all...] |
H A D | aspeed_udc.c | 163 struct list_head queue; member in struct:ast_udc_request 179 /* Request queue */ 180 struct list_head queue; member in struct:ast_udc_ep 290 list_del(&req->queue); 309 while (!list_empty(&ep->queue)) { 312 req = list_entry(ep->queue.next, struct ast_udc_request, 313 queue); 461 INIT_LIST_HEAD(&req->queue); 648 list_add_tail(&req->queue, &ep->queue); [all...] |
/linux-master/drivers/staging/rtl8723bs/include/ |
H A D | rtw_recv.h | 366 #define rtw_dequeue_recvframe(queue) rtw_alloc_recvframe(queue) 367 extern int _rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue); 368 extern int rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue); 373 signed int rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue); 374 signed int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue); 375 struct recv_buf *rtw_dequeue_recvbuf(struct __queue *queue);
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_tc.c | 346 u32 queue = qopt->queue; local 353 if (queue <= 0 || queue >= tx_queues_count) 384 mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use; 386 ret = stmmac_dma_qmode(priv, priv->ioaddr, queue, MTL_QUEUE_AVB); 390 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_AVB; 392 ret = stmmac_dma_qmode(priv, priv->ioaddr, queue, 397 priv->plat->tx_queues_cfg[queue].mode_to_use = MTL_QUEUE_DCB; 402 priv->plat->tx_queues_cfg[queue] 1144 int queue = qopt->queue_stats.queue; local [all...] |
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2400pci.c | 627 static void rt2400pci_start_queue(struct data_queue *queue) argument 629 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 632 switch (queue->qid) { 650 static void rt2400pci_kick_queue(struct data_queue *queue) argument 652 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 655 switch (queue->qid) { 676 static void rt2400pci_stop_queue(struct data_queue *queue) argument 678 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 681 switch (queue->qid) { 719 if (entry->queue 1268 struct data_queue *queue = rt2x00queue_get_tx_queue(rt2x00dev, queue_idx); local 1656 rt2400pci_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) argument 1764 rt2400pci_queue_init(struct data_queue *queue) argument [all...] |
H A D | rt2x00debug.c | 62 * - queue folder 64 * - queue stats file 77 * We queue each frame before dumping it to the user, 79 * so we should be prepared to queue multiple sk buffers 147 rt2x00_dbg(rt2x00dev, "txrx dump queue length exceeded\n"); 171 dump_hdr->queue_index = entry->queue->qid; 303 struct data_queue *queue; local 320 queue_for_each(intf->rt2x00dev, queue) { 321 spin_lock_irqsave(&queue->index_lock, irqflags); 324 queue [all...] |
H A D | rt2x00.h | 366 * Entry in the beacon queue which belongs to 553 * queue initialization handlers 574 * Data queue handlers. 577 void (*start_queue) (struct data_queue *queue); 578 void (*kick_queue) (struct data_queue *queue); 579 void (*stop_queue) (struct data_queue *queue); 580 void (*flush_queue) (struct data_queue *queue, bool drop); 646 void (*queue_init)(struct data_queue *queue); 944 * Work queue for all work which should not be placed 971 * Data queue array 1320 rt2x00queue_get_tx_queue(struct rt2x00_dev *rt2x00dev, enum data_queue_qid queue) argument [all...] |
/linux-master/drivers/scsi/elx/efct/ |
H A D | efct_hw_queues.c | 139 eq->queue = &hw->eq[eq->instance]; 142 if (sli_queue_alloc(&hw->sli, SLI4_QTYPE_EQ, eq->queue, entry_count, 149 sli_eq_modify_delay(&hw->sli, eq->queue, 1, 0, 8); 154 eq->queue->id, eq->entry_count); 171 cq->queue = &hw->cq[cq->instance]; 175 if (sli_queue_alloc(&hw->sli, SLI4_QTYPE_CQ, cq->queue, 176 cq->entry_count, eq->queue)) { 187 cq->queue->id, cq->entry_count); 216 cq->queue = &hw->cq[cq->instance]; 217 qs[i] = cq->queue; [all...] |
/linux-master/drivers/i2c/busses/ |
H A D | i2c-qcom-cci.c | 295 static int cci_run_queue(struct cci *cci, u8 master, u8 queue) argument 299 val = readl(cci->base + CCI_I2C_Mm_Qn_CUR_WORD_CNT(master, queue)); 300 writel(val, cci->base + CCI_I2C_Mm_Qn_EXEC_WORD_CNT(master, queue)); 303 val = BIT(master * 2 + queue); 308 dev_err(cci->dev, "master %d queue %d timeout\n", 309 master, queue); 318 static int cci_validate_queue(struct cci *cci, u8 master, u8 queue) argument 322 val = readl(cci->base + CCI_I2C_Mm_Qn_CUR_WORD_CNT(master, queue)); 323 if (val == cci->data->queue_size[queue]) 330 writel(val, cci->base + CCI_I2C_Mm_Qn_LOAD_DATA(master, queue)); 339 u8 queue = QUEUE_1; local 391 u8 queue = QUEUE_0; local [all...] |
/linux-master/drivers/crypto/caam/ |
H A D | dpseci.c | 186 * dpseci_set_rx_queue() - Set Rx queue configuration 190 * @queue: Select the queue relative to number of priorities configured at 193 * @cfg: Rx queue configuration 198 u8 queue, const struct dpseci_rx_queue_cfg *cfg) 209 cmd_params->queue = queue; 221 * dpseci_get_rx_queue() - Retrieve Rx queue attributes 225 * @queue: Select the queue relativ 197 dpseci_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 queue, const struct dpseci_rx_queue_cfg *cfg) argument 231 dpseci_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 queue, struct dpseci_rx_queue_attr *attr) argument 271 dpseci_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 queue, struct dpseci_tx_queue_attr *attr) argument [all...] |
H A D | dpseci.h | 47 * each place in the array is the priority of the tx queue 87 * @DPSECI_DEST_NONE: Unassigned destination; The queue is set in parked mode 89 * from the queue based on polling or other user-defined method 90 * @DPSECI_DEST_DPIO: The queue is set in schedule mode and generates FQDAN 92 * the queue only after notification is received 93 * @DPSECI_DEST_DPCON: The queue is set in schedule mode and does not generate 118 * DPSECI queue modification options 122 * Select to modify the user's context associated with the queue 127 * Select to modify the queue's destination 132 * Select to modify the queue' [all...] |
/linux-master/drivers/crypto/hisilicon/sec/ |
H A D | sec_drv.h | 236 * @queue: The hardware queue associated with this tfm context. 239 * @backlog: The backlog queue used for cases where our buffers aren't 247 struct sec_queue *queue; member in struct:sec_alg_tfm_ctx 316 * struct sec_queue - All the information about a HW queue 317 * @dev_info: The parent SEC device to which this queue belongs. 318 * @task_irq: Completion interrupt for the queue. 319 * @name: Human readable queue description also used as irq name. 320 * @ring: The several HW rings associated with one queue. 322 * @queue_id: Index of the queue use [all...] |
/linux-master/tools/perf/util/ |
H A D | intel-bts.c | 167 struct auxtrace_queue *queue, 170 struct intel_bts_queue *btsq = queue->priv; 172 if (list_empty(&queue->head)) 179 queue->priv = btsq; 181 if (queue->cpu != -1) 182 btsq->cpu = queue->cpu; 183 btsq->tid = queue->tid; 192 btsq->buffer = auxtrace_buffer__next(queue, NULL); 248 static int intel_bts_do_fix_overlap(struct auxtrace_queue *queue, argument 254 if (b->list.prev == &queue 166 intel_bts_setup_queue(struct intel_bts *bts, struct auxtrace_queue *queue, unsigned int queue_nr) argument 448 struct auxtrace_queue *queue; local 543 struct auxtrace_queue *queue = &bts->queues.queue_array[i]; local 556 struct auxtrace_queue *queue; local [all...] |
/linux-master/drivers/net/wireless/intersil/p54/ |
H A D | p54.h | 101 #define P54_SET_QUEUE(queue, ai_fs, cw_min, cw_max, _txop) \ 103 queue.aifs = cpu_to_le16(ai_fs); \ 104 queue.cwmin = cpu_to_le16(cw_min); \ 105 queue.cwmax = cpu_to_le16(cw_max); \ 106 queue.txop = cpu_to_le16(_txop); \
|
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep.h | 199 struct tsnep_queue queue[TSNEP_MAX_QUEUES]; member in struct:tsnep_adapter 255 int tsnep_set_irq_coalesce(struct tsnep_queue *queue, u32 usecs); 256 u32 tsnep_get_irq_coalesce(struct tsnep_queue *queue); 257 int tsnep_enable_xsk(struct tsnep_queue *queue, struct xsk_buff_pool *pool); 258 void tsnep_disable_xsk(struct tsnep_queue *queue);
|
/linux-master/drivers/crypto/cavium/zip/ |
H A D | zip_deflate.c | 120 u32 queue; local 127 queue = zip_load_instr(zip_cmd, zip_dev); 146 zip_update_cmd_bufs(zip_dev, queue);
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.h | 164 * send queue and one for the receive queue) 168 union mthca_buf queue; member in struct:mthca_cq_buf 221 union mthca_buf queue; member in struct:mthca_srq 274 union mthca_buf queue; member in struct:mthca_qp
|
/linux-master/security/integrity/ima/ |
H A D | ima_queue.c | 38 .queue[0 ... IMA_MEASURE_HTABLE_SIZE - 1] = HLIST_HEAD_INIT 57 hlist_for_each_entry_rcu(qe, &ima_htable.queue[key], hnext) { 101 pr_err("OUT OF MEMORY ERROR creating queue entry\n"); 112 hlist_add_head_rcu(&qe->hnext, &ima_htable.queue[key]);
|
/linux-master/tools/testing/selftests/mqueue/ |
H A D | mq_perf_tests.c | 17 * Tests various types of message queue workloads, concentrating on those 18 * situations that invole large message sizes, large message queue depths, 19 * or both, and reports back useful metrics about kernel message queue 49 " -c # Skip most tests and go straight to a high queue depth test\n" 53 " queue impacts the performance of other programs). The number\n" 69 " path Path name of the message queue to create\n" 99 mqd_t queue = -1; variable 110 .descrip = "Run continuous tests at a high queue depth in " 117 "messages to the message queue in a tight loop will " 192 if (queue ! [all...] |
/linux-master/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | ep0.c | 49 * Call internal queue directly after dropping the lock. This is 54 if (ep->ep.ops->queue(&ep->ep, req, GFP_ATOMIC)) 285 req = list_first_entry_or_null(&ep->queue, struct ast_vhub_req, queue); 406 if (!list_empty(&ep->queue) || 411 list_empty(&ep->queue), ep->ep0.state); 417 list_add_tail(&req->queue, &ep->queue); 448 /* Only one request can be in the queue */ 449 req = list_first_entry_or_null(&ep->queue, struc [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_rcb.h | 109 u32 desc_num; /* desc num per queue*/ 148 void hns_rcb_update_stats(struct hnae_queue *queue); 150 void hns_rcb_get_stats(struct hnae_queue *queue, u64 *data); 158 void hns_rcb_get_ring_regs(struct hnae_queue *queue, void *data);
|