Searched refs:queue (Results 276 - 300 of 1381) sorted by relevance

<<11121314151617181920>>

/linux-master/security/integrity/ima/
H A Dima_queue.c38 .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 Dmq_perf_tests.c17 * 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 Dep0.c49 * 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 Dhns_dsaf_rcb.h109 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);
/linux-master/drivers/block/aoe/
H A Daoenet.c113 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 Dstf-capture.c103 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 Dhclge_comm_tqp_stats.c107 struct hnae3_queue *queue; local
111 queue = kinfo->tqp[i];
112 tqp = container_of(queue, struct hclge_comm_tqp, q);
/linux-master/tools/testing/selftests/net/netfilter/
H A Dnft_queue.sh75 ip protocol icmp queue bypass
76 icmpv6 type { "echo-request", "echo-reply" } queue num 1 bypass
88 tcp dport 12345 queue num 2
93 tcp dport 12345 queue num 3
94 tcp sport 23456 queue num 3
165 queue num 600
179 # queue without bypass keyword should drop traffic if no listener exists.
227 echo "FAIL: netns router unreachable listener on queue 0 and 1: $ret" 1>&2
301 tcp dport 12345 limit rate 1/second burst 1 packets counter queue num 0
305 tcp dport 12345 limit rate 1/second burst 1 packets counter queue nu
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Dm66592-udc.c99 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 Dat91_udc.h92 struct list_head queue; member in struct:at91_ep
154 struct list_head queue; member in struct:at91_request
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2500usb.c717 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 Dngene-dvb.c43 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 Dvsp1_video.c311 * 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 Dvirtio_pcm_msg.c196 * 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 Dstmmac_ethtool.c167 /* 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 Dkfd_device_queue_manager.c41 /* 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
3190 int pipe, queue; local
[all...]
/linux-master/block/
H A Dblk-timeout.c43 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 Dapm-emulation.c113 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 Dt7xx_hif_dpmaif_rx.h98 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 Dhid-wiimote-core.c20 /* 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 Dsparx5_tc.c70 u32 queue = TC_H_MIN(parent) - 1; local
72 *idx = SPX5_HSCH_L0_GET_IDX(portno, queue);
/linux-master/include/crypto/internal/
H A Daead.h133 static inline void aead_init_queue(struct aead_queue *queue, argument
136 crypto_init_queue(&queue->base, max_qlen);
/linux-master/crypto/
H A Dcrypto_engine.c65 * 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 Dspi-mpc52xx.c80 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 Dsaa7146_fops.c63 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...]

Completed in 474 milliseconds

<<11121314151617181920>>