/linux-master/drivers/block/aoe/ |
H A D | aoenet.c | 113 aoenet_xmit(struct sk_buff_head *queue) argument 118 skb_queue_walk_safe(queue, skb, tmp) { 119 __skb_unlink(skb, queue);
|
/linux-master/drivers/staging/media/starfive/camss/ |
H A D | stf-capture.c | 103 queue); 104 list_del(&buffer->queue); 269 INIT_LIST_HEAD(&buffer->queue); 270 list_add_tail(&buffer->queue, &output->ready_bufs); 280 queue); 281 list_del(&buffer->queue); 290 INIT_LIST_HEAD(&buffer->queue); 291 list_add_tail(&buffer->queue, &output->pending_bufs); 361 list_for_each_entry_safe(buf, t, &output->pending_bufs, queue) { 363 list_del(&buf->queue); [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H A D | hclge_comm_tqp_stats.c | 107 struct hnae3_queue *queue; local 111 queue = kinfo->tqp[i]; 112 tqp = container_of(queue, struct hclge_comm_tqp, q);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rxmq.c | 15 int queue, struct ieee80211_sta *sta) 28 /* multicast and non-data only arrives on default queue */ 38 * avoid checking for default queue - we don't want to replicate 42 if (queue == 0) 78 res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); 84 memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); 238 struct sk_buff *skb, int queue, 241 if (unlikely(iwl_mvm_check_pn(mvm, skb, queue, sta))) { 362 u32 pkt_flags, int queue, u8 *crypt_len) 494 static bool iwl_mvm_is_dup(struct ieee80211_sta *sta, int queue, argument 14 iwl_mvm_check_pn(struct iwl_mvm *mvm, struct sk_buff *skb, int queue, struct ieee80211_sta *sta) argument 236 iwl_mvm_pass_packet_to_mac80211(struct iwl_mvm *mvm, struct napi_struct *napi, struct sk_buff *skb, int queue, struct ieee80211_sta *sta) argument 358 iwl_mvm_rx_crypto(struct iwl_mvm *mvm, struct ieee80211_sta *sta, struct ieee80211_hdr *hdr, struct ieee80211_rx_status *stats, u16 phy_info, struct iwl_rx_mpdu_desc *desc, u32 pkt_flags, int queue, u8 *crypt_len) argument 590 iwl_mvm_del_ba(struct iwl_mvm *mvm, int queue, struct iwl_mvm_delba_data *data) argument 627 iwl_mvm_release_frames_from_notif(struct iwl_mvm *mvm, struct napi_struct *napi, u8 baid, u16 nssn, int queue) argument 666 iwl_mvm_rx_queue_notif(struct iwl_mvm *mvm, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb, int queue) argument 717 iwl_mvm_reorder(struct iwl_mvm *mvm, struct napi_struct *napi, int queue, struct ieee80211_sta *sta, struct sk_buff *skb, struct iwl_rx_mpdu_desc *desc) argument 1068 iwl_mvm_decode_he_phy_data(struct iwl_mvm *mvm, struct iwl_mvm_rx_phy_data *phy_data, struct ieee80211_radiotap_he *he, struct ieee80211_radiotap_he_mu *he_mu, struct ieee80211_rx_status *rx_status, int queue) argument 1592 iwl_mvm_rx_eht(struct iwl_mvm *mvm, struct sk_buff *skb, struct iwl_mvm_rx_phy_data *phy_data, int queue) argument 1735 iwl_mvm_rx_he(struct iwl_mvm *mvm, struct sk_buff *skb, struct iwl_mvm_rx_phy_data *phy_data, int queue) argument 1929 iwl_mvm_rx_fill_status(struct iwl_mvm *mvm, struct sk_buff *skb, struct iwl_mvm_rx_phy_data *phy_data, int queue) argument 2040 iwl_mvm_rx_mpdu_mq(struct iwl_mvm *mvm, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb, int queue) argument 2362 iwl_mvm_rx_monitor_no_data(struct iwl_mvm *mvm, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb, int queue) argument 2489 iwl_mvm_rx_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb, int queue) argument 2503 iwl_mvm_rx_bar_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb, int queue) argument [all...] |
/linux-master/drivers/usb/gadget/udc/ |
H A D | m66592-udc.c | 99 INIT_LIST_HEAD(&m66592->ep[0].queue); 363 INIT_LIST_HEAD(&ep->queue); 719 list_del_init(&req->queue); 725 if (!list_empty(&ep->queue)) 733 req = list_entry(ep->queue.next, struct m66592_request, queue); 907 req = list_entry(ep->queue.next, struct m66592_request, queue); 915 req = list_entry(ep->queue.next, 916 struct m66592_request, queue); [all...] |
H A D | at91_udc.h | 92 struct list_head queue; member in struct:at91_ep 154 struct list_head queue; member in struct:at91_request
|
H A D | gr_udc.c | 156 if (list_empty(&ep->queue)) { 162 list_for_each_entry(req, &ep->queue, queue) { 289 list_del_init(&req->queue); 328 /* Prevent changes to ep->queue during callback */ 354 INIT_LIST_HEAD(&req->queue); 360 * Starts DMA for endpoint ep if there are requests in the queue. 369 if (list_empty(&ep->queue)) { 374 req = list_first_entry(&ep->queue, struct gr_request, queue); [all...] |
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2500usb.c | 717 static void rt2500usb_start_queue(struct data_queue *queue) argument 719 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 722 switch (queue->qid) { 740 static void rt2500usb_stop_queue(struct data_queue *queue) argument 742 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; 745 switch (queue->qid) { 1086 rt2x00_set_field32(&word, TXD_W1_AIFS, entry->queue->aifs); 1087 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min); 1088 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue->cw_max); 1121 struct rt2x00_dev *rt2x00dev = entry->queue 1851 rt2500usb_queue_init(struct data_queue *queue) argument [all...] |
/linux-master/drivers/media/pci/ngene/ |
H A D | ngene-dvb.c | 43 if (wait_event_interruptible(dev->tsout_rbuf.queue, 64 dev->tsin_rbuf.queue, 86 poll_wait(file, &rbuf->queue, wait); 87 poll_wait(file, &wbuf->queue, wait); 155 wake_up(&dev->tsin_rbuf.queue); 269 wake_up_interruptible(&dev->tsout_rbuf.queue);
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_video.c | 311 * Return the next queued buffer or NULL if the queue is empty. 330 struct vsp1_vb2_buffer, queue); 332 list_del(&done->queue); 336 struct vsp1_vb2_buffer, queue); 769 list_add_tail(&buf->queue, &video->irqqueue); 780 if (vb2_start_streaming_called(&video->queue) && 841 /* Remove all buffers from the IRQ queue. */ 843 list_for_each_entry(buffer, &video->irqqueue, queue) 973 if (format->type != video->queue.type) 989 if (format->type != video->queue [all...] |
/linux-master/sound/virtio/ |
H A D | virtio_pcm_msg.c | 196 * Context: Any context. Expects the tx/rx queue and the VirtIO substream 292 * of the queue. 346 * @queue: Underlying tx/rx virtqueue. 348 * Context: Interrupt context. Takes and releases the tx/rx queue spinlock. 350 static inline void virtsnd_pcm_notify_cb(struct virtio_snd_queue *queue) argument 356 spin_lock_irqsave(&queue->lock, flags); 358 virtqueue_disable_cb(queue->vqueue); 359 while ((msg = virtqueue_get_buf(queue->vqueue, &written_bytes))) 361 } while (!virtqueue_enable_cb(queue->vqueue)); 362 spin_unlock_irqrestore(&queue [all...] |
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 167 /* statistics collected in queue which will be summed up for all TX or RX 970 int queue) 981 if (queue < 0) 982 queue = 0; 983 else if (queue >= max_cnt) 986 if (queue < tx_cnt) { 987 ec->tx_coalesce_usecs = priv->tx_coal_timer[queue]; 988 ec->tx_max_coalesced_frames = priv->tx_coal_frames[queue]; 994 if (priv->use_riwt && queue < rx_cnt) { 995 ec->rx_max_coalesced_frames = priv->rx_coal_frames[queue]; 968 __stmmac_get_coalesce(struct net_device *dev, struct ethtool_coalesce *ec, int queue) argument 1014 stmmac_get_per_queue_coalesce(struct net_device *dev, u32 queue, struct ethtool_coalesce *ec) argument 1020 __stmmac_set_coalesce(struct net_device *dev, struct ethtool_coalesce *ec, int queue) argument 1100 stmmac_set_per_queue_coalesce(struct net_device *dev, u32 queue, struct ethtool_coalesce *ec) argument [all...] |
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device_queue_manager.c | 41 /* Size of the per-pipe EOP queue */ 61 struct queue *q); 64 struct queue *q); 65 static int allocate_hqd(struct device_queue_manager *dqm, struct queue *q); 67 struct queue *q, const uint32_t *restore_sdma_id); 84 /* queue is available for KFD usage if bit is 1 */ 180 WARN(1, "Invalid queue type %d", queue_type); 188 static int add_queue_mes(struct device_queue_manager *dqm, struct queue *q, 237 dev_err(adev->dev, "Queue type not supported with MES, queue:%d\n", 249 dev_err(adev->dev, "failed to add hardware queue t 1404 int pipe, queue; local 3191 int pipe, queue; local [all...] |
/linux-master/block/ |
H A D | blk-timeout.c | 43 int set = test_bit(QUEUE_FLAG_FAIL_IO, &disk->queue->queue_flags); 55 struct request_queue *q = disk->queue; 125 * Each request has its own timer, and as it is added to the queue, we
|
/linux-master/drivers/char/ |
H A D | apm-emulation.c | 113 struct apm_queue queue; member in struct:apm_user 164 * APM event queue management. 184 printk(KERN_ERR "apm: an event queue overflowed\n"); 197 queue_add_event(&as->queue, event); 212 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) 215 wait_event_interruptible(apm_waitqueue, !queue_empty(&as->queue)); 217 while ((i >= sizeof(event)) && !queue_empty(&as->queue)) { 218 event = queue_get_event(&as->queue); 245 return queue_empty(&as->queue) ? 0 : EPOLLIN | EPOLLRDNORM; 538 queue_add_event(&as->queue, apm_even [all...] |
/linux-master/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif_rx.h | 98 int t7xx_dpmaif_rxq_init(struct dpmaif_rx_queue *queue); 109 void t7xx_dpmaif_rxq_free(struct dpmaif_rx_queue *queue);
|
/linux-master/drivers/hid/ |
H A D | hid-wiimote-core.c | 20 /* output queue handling */ 43 struct wiimote_queue *queue = container_of(work, struct wiimote_queue, local 45 struct wiimote_data *wdata = container_of(queue, struct wiimote_data, 46 queue); 50 spin_lock_irqsave(&wdata->queue.lock, flags); 52 while (wdata->queue.head != wdata->queue.tail) { 53 spin_unlock_irqrestore(&wdata->queue.lock, flags); 55 wdata->queue.outq[wdata->queue [all...] |
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc.c | 70 u32 queue = TC_H_MIN(parent) - 1; local 72 *idx = SPX5_HSCH_L0_GET_IDX(portno, queue);
|
/linux-master/include/crypto/internal/ |
H A D | aead.h | 133 static inline void aead_init_queue(struct aead_queue *queue, argument 136 crypto_init_queue(&queue->base, max_qlen);
|
/linux-master/crypto/ |
H A D | crypto_engine.c | 65 * crypto_pump_requests - dequeue one request from engine queue to process 69 * This function checks if there is any request in the engine queue that 95 /* Check if the engine queue is idle */ 96 if (!crypto_queue_len(&engine->queue) || !engine->running) { 121 /* Get the fist request from the engine queue to handle */ 122 backlog = crypto_get_backlog(&engine->queue); 123 async_req = crypto_dequeue_request(&engine->queue); 166 * If hardware queue is full (-ENOSPC), requeue request 173 "Failed to do one request from queue: %d\n", 180 * back in front of crypto-engine queue, t [all...] |
/linux-master/drivers/spi/ |
H A D | spi-mpc52xx.c | 80 struct list_head queue; /* queue of pending messages */ member in struct:mpc52xx_spi 160 if (list_empty(&ms->queue)) 163 /* get the head of the queue */ 164 ms->message = list_first_entry(&ms->queue, struct spi_message, queue); 165 list_del_init(&ms->message->queue); 377 list_add_tail(&m->queue, &ms->queue); 471 INIT_LIST_HEAD(&ms->queue); [all...] |
/linux-master/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 63 list_add_tail(&buf->list, &q->queue); 64 DEB_D("adding buffer %p to queue. (active buffer present)\n", 112 if (!list_empty(&q->queue)) { 113 /* activate next one from queue */ 114 buf = list_entry(q->queue.next, struct saa7146_buf, list); 116 if (!list_empty(&q->queue)) 117 next = list_entry(q->queue.next, struct saa7146_buf, list); 120 buf, q->queue.prev, q->queue.next); 395 vfd->queue [all...] |
/linux-master/drivers/media/pci/mgb4/ |
H A D | mgb4_vin.c | 12 * mode) the card's frame queue must be running regardless of whether a v4l2 194 * the queue. See video_source_store() in mgb4_sysfs_out.c for 259 * In loopback mode, the HW frame queue must be left running for 279 * In loopback mode, the HW frame queue is already running. 429 if (vb2_is_busy(&vindev->queue)) 525 if (vb2_is_busy(&vindev->queue)) 630 dev_dbg(dev, "frame queue error (%d)\n", (int)addr); 669 if (vb2_is_streaming(&vindev->queue)) 670 vb2_queue_error(&vindev->queue); 805 /* Frame queue*/ [all...] |
/linux-master/drivers/staging/rtl8712/ |
H A D | rtl871x_cmd.c | 115 struct __queue *queue; local 122 queue = &pcmdpriv->cmd_queue; 123 spin_lock_irqsave(&queue->lock, irqL); 124 list_add_tail(&obj->list, &queue->queue); 125 spin_unlock_irqrestore(&queue->lock, irqL); 129 struct cmd_obj *r8712_dequeue_cmd(struct __queue *queue) argument 134 spin_lock_irqsave(&queue->lock, irqL); 135 obj = list_first_entry_or_null(&queue->queue, 146 struct __queue *queue; local [all...] |
/linux-master/drivers/s390/crypto/ |
H A D | zcrypt_api.h | 119 struct ap_queue *queue; /* The "real" ap queue device. */ member in struct:zcrypt_queue 167 int zcrypt_device_status_ext(int card, int queue,
|