Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 1358) sorted by relevance

12345678910>>...55

/linux-6.3-rc2/lib/crypto/
A Dgf128mul.c57 q(0x00), q(0x01), q(0x02), q(0x03), q(0x04), q(0x05), q(0x06), q(0x07),\
58 q(0x08), q(0x09), q(0x0a), q(0x0b), q(0x0c), q(0x0d), q(0x0e), q(0x0f),\
59 q(0x10), q(0x11), q(0x12), q(0x13), q(0x14), q(0x15), q(0x16), q(0x17),\
60 q(0x18), q(0x19), q(0x1a), q(0x1b), q(0x1c), q(0x1d), q(0x1e), q(0x1f),\
61 q(0x20), q(0x21), q(0x22), q(0x23), q(0x24), q(0x25), q(0x26), q(0x27),\
62 q(0x28), q(0x29), q(0x2a), q(0x2b), q(0x2c), q(0x2d), q(0x2e), q(0x2f),\
63 q(0x30), q(0x31), q(0x32), q(0x33), q(0x34), q(0x35), q(0x36), q(0x37),\
64 q(0x38), q(0x39), q(0x3a), q(0x3b), q(0x3c), q(0x3d), q(0x3e), q(0x3f),\
65 q(0x40), q(0x41), q(0x42), q(0x43), q(0x44), q(0x45), q(0x46), q(0x47),\
66 q(0x48), q(0x49), q(0x4a), q(0x4b), q(0x4c), q(0x4d), q(0x4e), q(0x4f),\
[all …]
/linux-6.3-rc2/Documentation/networking/
A Dtls-offload-layers.svg1q-0.609375 -0.359375 -1.203125 -0.359375q-0.546875 0 -0.96875 0.328125q-0.421875 0.328125 -0.60937…
/linux-6.3-rc2/drivers/media/v4l2-core/
A Dvideobuf-core.c254 q->ops->buf_release(q, q->bufs[i]); in __videobuf_free()
289 q->ops->buf_release(q, q->bufs[i]); in videobuf_queue_cancel()
812 q->ops->buf_queue(q, q->read_buf); in videobuf_read_zerocopy()
816 CALL(q, sync, q, q->read_buf); in videobuf_read_zerocopy()
825 q->ops->buf_release(q, q->read_buf); in videobuf_read_zerocopy()
919 q->ops->buf_queue(q, q->read_buf); in videobuf_read_one()
930 CALL(q, sync, q, q->read_buf); in videobuf_read_one()
934 q->ops->buf_release(q, q->read_buf); in videobuf_read_one()
949 q->ops->buf_release(q, q->read_buf); in videobuf_read_one()
990 q->ops->buf_queue(q, q->bufs[i]); in __videobuf_read_start()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/
A Dfuneth_rx.c276 q->rqes[q->rq_cons & q->rq_mask] = in get_buf()
281 return &q->bufs[q->rq_cons & q->rq_mask]; in get_buf()
524 if (q->rq_cons - q->rq_cons_db >= q->rq_db_thres) { in fun_rxq_napi_poll()
526 q->stats.rx_bufs += q->rq_cons - q->rq_cons_db; in fun_rxq_napi_poll()
528 q->rq_cons_db = q->rq_cons; in fun_rxq_napi_poll()
529 writel((q->rq_cons - 1) & q->rq_mask, q->rq_db); in fun_rxq_napi_poll()
562 q->cur_buf = q->bufs; in fun_rxq_alloc_bufs()
670 q->rq_dma_addr, q->bufs); in fun_rxq_create_sw()
685 q->rqes, q->rq_dma_addr, q->bufs); in fun_rxq_free_sw()
705 err = xdp_rxq_info_reg(&q->xdp_rxq, q->netdev, q->qidx, in fun_rxq_create_dev()
[all …]
A Dfuneth_tx.c313 return q->mask - q->prod_cnt + q->cons_cnt; in fun_txq_avail()
432 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask; in fun_txq_reclaim()
479 db_val = READ_ONCE(q->irq_db_val) | (q->cons_cnt & q->mask); in fun_txq_napi_poll()
546 idx = q->prod_cnt & q->mask; in fun_xdp_tx()
671 q->desc, q->dma_addr, q->info); in fun_txq_free_sw()
699 &q->hw_qid, &q->db); in fun_txq_create_dev()
710 q->ndq = netdev_get_tx_queue(q->netdev, q->qidx); in fun_txq_create_dev()
713 writel(q->irq_db_val, q->db); in fun_txq_create_dev()
720 q->ethid, q->numa_node); in fun_txq_create_dev()
741 q->irq ? "Tx" : "XDP", q->qidx, q->hw_qid, in fun_txq_free_dev()
[all …]
/linux-6.3-rc2/sound/core/seq/
A Dseq_queue.c76 if (q) { in queue_list_remove()
100 q = kzalloc(sizeof(*q), GFP_KERNEL); in queue_new()
101 if (!q) in queue_new()
113 if (q->tickq == NULL || q->timeq == NULL || q->timer == NULL) { in queue_new()
125 return q; in queue_new()
143 kfree(q); in queue_delete()
183 return q; in snd_seq_queue_alloc()
212 if (q) in queueptr()
356 return (q->owner == client) || (!q->locked && !q->klocked); in check_access()
392 if (! q) in snd_seq_queue_check_access()
[all …]
/linux-6.3-rc2/sound/core/seq/oss/
A Dseq_oss_readq.c37 q = kzalloc(sizeof(*q), GFP_KERNEL); in snd_seq_oss_readq_new()
42 if (!q->q) { in snd_seq_oss_readq_new()
49 q->head = q->tail = 0; in snd_seq_oss_readq_new()
65 kfree(q->q); in snd_seq_oss_readq_delete()
78 q->head = q->tail = 0; in snd_seq_oss_readq_clear()
151 memcpy(&q->q[q->tail], ev, sizeof(*ev)); in snd_seq_oss_readq_put_event()
152 q->tail = (q->tail + 1) % q->maxlen; in snd_seq_oss_readq_put_event()
173 memcpy(rec, &q->q[q->head], sizeof(*rec)); in snd_seq_oss_readq_pick()
184 (q->qlen > 0 || q->head == q->tail), in snd_seq_oss_readq_wait()
196 q->head = (q->head + 1) % q->maxlen; in snd_seq_oss_readq_free()
[all …]
A Dseq_oss_writeq.c30 q = kzalloc(sizeof(*q), GFP_KERNEL); in snd_seq_oss_writeq_new()
31 if (!q) in snd_seq_oss_writeq_new()
33 q->dp = dp; in snd_seq_oss_writeq_new()
34 q->maxlen = maxlen; in snd_seq_oss_writeq_new()
36 q->sync_event_put = 0; in snd_seq_oss_writeq_new()
37 q->sync_time = 0; in snd_seq_oss_writeq_new()
47 return q; in snd_seq_oss_writeq_new()
56 if (q) { in snd_seq_oss_writeq_delete()
58 kfree(q); in snd_seq_oss_writeq_delete()
114 if (! q->sync_event_put || q->sync_time >= time) in snd_seq_oss_writeq_sync()
[all …]
/linux-6.3-rc2/net/xdp/
A Dxsk_queue.h125 if (q->cached_cons != q->cached_prod) { in xskq_cons_read_addr_unchecked()
195 while (q->cached_cons != q->cached_prod) { in xskq_cons_read_desc()
197 u32 idx = q->cached_cons & q->ring_mask; in xskq_cons_read_desc()
279 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_addr_unchecked()
288 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_desc()
312 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free()
319 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free()
379 idx = q->cached_prod++ & q->ring_mask; in xskq_prod_reserve_desc()
393 __xskq_prod_submit(q, q->cached_prod); in xskq_prod_submit()
421 return q ? q->invalid_descs : 0; in xskq_nb_invalid_descs()
[all …]
/linux-6.3-rc2/drivers/media/common/videobuf2/
A Dvideobuf2-core.c158 ((q)->ops->op ? (q)->ops->op(args) : 0)
180 if (q && q->buf_ops && q->buf_ops->op) \
187 if (q && q->buf_ops && q->buf_ops->op) \
235 q->alloc_devs[plane] ? : q->dev, in __vb2_buf_mem_alloc()
784 __vb2_queue_free(q, q->num_buffers); in vb2_core_reqbufs()
1849 call_void_qop(q, wait_prepare, q); in __vb2_wait_for_done_vb()
1863 call_void_qop(q, wait_finish, q); in __vb2_wait_for_done_vb()
2538 if (q->is_output && q->fileio && q->queued_count < q->num_buffers) in vb2_core_poll()
2748 vb2_core_streamoff(q, q->type); in __vb2_cleanup_fileio()
2976 call_void_qop(q, wait_finish, q); in vb2_thread()
[all …]
/linux-6.3-rc2/net/sched/
A Dsch_choke.c77 return (q->tail - q->head) & q->tab_mask; in choke_len()
96 q->head = (q->head + 1) & q->tab_mask; in choke_zap_head_holes()
97 if (q->head == q->tail) in choke_zap_head_holes()
106 q->tail = (q->tail - 1) & q->tab_mask; in choke_zap_tail_holes()
107 if (q->head == q->tail) in choke_zap_tail_holes()
205 if (q->head == q->tail) in choke_match_random()
269 q->tail = (q->tail + 1) & q->tab_mask; in choke_enqueue()
294 skb = q->tab[q->head]; in choke_dequeue()
311 q->head = (q->head + 1) & q->tab_mask; in choke_reset()
386 q->head = (q->head + 1) & q->tab_mask; in choke_change()
[all …]
A Dsch_sfq.c461 if (++sch->q.qlen <= q->limit) in sfq_enqueue()
615 if (!q->filter_list && q->tail) in sfq_perturbation()
660 q->scaled_quantum = SFQ_ALLOT_SIZE(q->quantum); in sfq_change()
667 q->maxflows = min_t(u32, q->maxflows, q->divisor); in sfq_change()
685 q->limit = min_t(u32, ctl->limit, q->maxdepth * q->maxflows); in sfq_change()
686 q->maxflows = min_t(u32, q->maxflows, q->limit); in sfq_change()
690 while (sch->q.qlen > q->limit) { in sfq_change()
757 q->scaled_quantum = SFQ_ALLOT_SIZE(q->quantum); in sfq_init()
767 q->ht = sfq_alloc(sizeof(q->ht[0]) * q->divisor); in sfq_init()
768 q->slots = sfq_alloc(sizeof(q->slots[0]) * q->maxflows); in sfq_init()
[all …]
A Dsch_netem.c291 return q->loss && q->loss >= get_crandom(&q->loss_cor); in loss_event()
373 rtnl_kfree_skbs(q->t_head, q->t_tail); in tfifo_reset()
451 if (q->duplicate && q->duplicate >= get_crandom(&q->dup_cor)) in netem_enqueue()
470 if (q->latency || q->jitter || q->rate) in netem_enqueue()
494 if (q->corrupt && q->corrupt >= get_crandom(&q->corrupt_cor)) { in netem_enqueue()
536 delay = tabledist(q->latency, q->jitter, in netem_enqueue()
537 &q->delay_cor, q->delay_dist); in netem_enqueue()
645 q->slot.bytes_left = q->slot_config.max_bytes; in get_slot_next()
737 skb = q->qdisc->ops->dequeue(q->qdisc); in netem_dequeue()
748 skb = q->qdisc->ops->dequeue(q->qdisc); in netem_dequeue()
[all …]
A Dsch_sfb.c192 memset(&q->bins, 0, sizeof(q->bins)); in sfb_zero_all_buckets()
202 const struct sfb_bucket *b = &q->bins[q->slot].bins[0][0]; in sfb_compute_qlen()
226 sfb_init_perturbation(q->slot, q); in sfb_swap_slot()
227 q->slot ^= 1; in sfb_swap_slot()
236 if (q->penalty_rate == 0 || q->penalty_burst == 0) in sfb_rate_limit()
242 q->tokens_avail = (age * q->penalty_rate) / HZ; in sfb_rate_limit()
243 if (q->tokens_avail > q->penalty_burst) in sfb_rate_limit()
244 q->tokens_avail = q->penalty_burst; in sfb_rate_limit()
295 if (unlikely(sch->q.qlen >= q->limit)) { in sfb_enqueue()
460 q->slot = 0; in sfb_reset()
[all …]
A Dsch_fq_pie.c159 q->overmemory++; in fq_pie_qdisc_enqueue()
183 sch->q.qlen++; in fq_pie_qdisc_enqueue()
256 sch->q.qlen--; in fq_pie_qdisc_dequeue()
262 if (head == &q->new_flows && !list_empty(&q->old_flows)) in fq_pie_qdisc_dequeue()
304 if (!q->flows_cnt || q->flows_cnt > 65536) { in fq_pie_change()
371 struct fq_pie_sched_data *q = from_timer(q, t, adapt_timer); in fq_pie_timer() local
380 pie_calculate_probability(&q->p_params, &q->flows[idx].vars, in fq_pie_timer()
385 mod_timer(&q->adapt_timer, jiffies + q->p_params.tupdate); in fq_pie_timer()
401 q->sch = sch; in fq_pie_init()
417 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in fq_pie_init()
[all …]
A Dsch_red.c78 q->vars.qavg = red_calc_qavg(&q->parms, in red_enqueue()
85 switch (red_action(&q->parms, &q->vars, q->vars.qavg)) { in red_enqueue()
111 if (red_use_harddrop(q) || !red_use_ecn(q)) { in red_enqueue()
198 opt.set.min = q->parms.qth_min >> q->parms.Wlog; in red_offload()
199 opt.set.max = q->parms.qth_max >> q->parms.Wlog; in red_offload()
302 if (!q->qdisc->q.qlen) in __red_change()
327 red_adaptative_algo(&q->parms, &q->vars); in red_adaptative_timer()
414 .qth_min = q->parms.qth_min >> q->parms.Wlog, in red_dump()
415 .qth_max = q->parms.qth_max >> q->parms.Wlog, in red_dump()
461 st.early = q->stats.prob_drop + q->stats.forced_drop; in red_dump_stats()
[all …]
A Dsch_fq_codel.c180 sch->q.qlen -= i; in fq_codel_drop()
216 memory_limited = q->memory_usage > q->memory_limit; in fq_codel_enqueue()
265 q->backlogs[flow - q->flows] -= qdisc_pkt_len(skb); in dequeue_func()
267 sch->q.qlen--; in dequeue_func()
309 if ((head == &q->new_flows) && !list_empty(&q->old_flows)) in fq_codel_dequeue()
320 if (q->cstats.drop_count && sch->q.qlen) { in fq_codel_dequeue()
349 memset(q->backlogs, 0, q->flows_cnt * sizeof(u32)); in fq_codel_reset()
380 if (q->flows) in fq_codel_change()
435 q->memory_usage > q->memory_limit) { in fq_codel_change()
484 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in fq_codel_init()
[all …]
/linux-6.3-rc2/drivers/spi/
A Dspi-fsl-qspi.c346 reg = qspi_readl(q, q->iobase + QUADSPI_FR); in fsl_qspi_irq_handler()
347 qspi_writel(q, reg, q->iobase + QUADSPI_FR); in fsl_qspi_irq_handler()
512 reg = qspi_readl(q, q->iobase + QUADSPI_MCR); in fsl_qspi_invalidate()
514 qspi_writel(q, reg, q->iobase + QUADSPI_MCR); in fsl_qspi_invalidate()
523 qspi_writel(q, reg, q->iobase + QUADSPI_MCR); in fsl_qspi_invalidate()
555 q->ahb_addr + q->selected * q->devtype_data->ahb_buf_size, in fsl_qspi_read_ahb()
665 qspi_writel(q, qspi_readl(q, base + QUADSPI_MCR) | in fsl_qspi_exec_op()
754 qspi_writel(q, qspi_readl(q, base + QUADSPI_FLSHCR) & in fsl_qspi_default_setup()
802 qspi_writel(q, 0xffffffff, q->iobase + QUADSPI_FR); in fsl_qspi_default_setup()
884 q->ahb_addr = devm_ioremap(dev, q->memmap_phy, in fsl_qspi_probe()
[all …]
/linux-6.3-rc2/block/
A Dblk-pm.c33 q->dev = dev; in blk_pm_runtime_init()
34 q->rpm_status = RPM_ACTIVE; in blk_pm_runtime_init()
65 if (!q->dev) in blk_pre_runtime_suspend()
80 blk_set_pm_only(q); in blk_pre_runtime_suspend()
94 blk_mq_unfreeze_queue(q); in blk_pre_runtime_suspend()
102 blk_clear_pm_only(q); in blk_pre_runtime_suspend()
124 if (!q->dev) in blk_post_runtime_suspend()
137 blk_clear_pm_only(q); in blk_post_runtime_suspend()
154 if (!q->dev) in blk_pre_runtime_resume()
203 if (!q->dev) in blk_set_runtime_active()
[all …]
A Dblk-sysfs.c75 if (!queue_is_mq(q)) in queue_requests_store()
96 if (!q->disk) in queue_ra_show()
108 if (!q->disk) in queue_ra_store()
268 if (q->disk) in queue_max_sectors_store()
426 if (!q->mq_ops || !q->mq_ops->poll) in queue_poll_delay_store()
480 if (!wbt_rq_qos(q)) in queue_wb_lat_show()
700 (!q->mq_ops || !q->mq_ops->timeout)) in queue_attr_visible()
811 if (queue_is_mq(q)) in blk_register_queue()
819 if (q->elevator) { in blk_register_queue()
835 if (q->elevator) in blk_register_queue()
[all …]
A Delevator.c62 struct request_queue *q = rq->q; in elv_iosched_allow_bio_merge() local
163 ioc_clear_queue(q); in elevator_exit()
294 if (q->last_merge && elv_bio_merge_ok(q->last_merge, bio)) { in elv_merge()
344 if (q->last_merge && blk_attempt_req_merge(q, q->last_merge, rq)) { in elv_attempt_insert_merge()
558 (q->tag_set && (q->tag_set->flags & BLK_MQ_F_NO_SCHED))) in elv_support_iosched()
569 if (q->tag_set && q->tag_set->flags & BLK_MQ_F_NO_SCHED_BY_DEFAULT) in elevator_get_default()
666 if (q->elevator) { in elevator_switch()
668 elevator_exit(q); in elevator_switch()
702 elevator_exit(q); in elevator_disable()
705 q->nr_requests = q->tag_set->queue_depth; in elevator_disable()
[all …]
/linux-6.3-rc2/drivers/infiniband/sw/rxe/
A Drxe_queue.h112 prod = q->index; in queue_get_producer()
135 cons = q->index; in queue_get_consumer()
193 prod = q->index; in queue_advance_producer()
195 q->index = prod; in queue_advance_producer()
223 cons = (q->index + 1) & q->index_mask; in queue_advance_consumer()
224 q->index = cons; in queue_advance_consumer()
255 return q->buf->data + (prod << q->log2_elem_size); in queue_producer_addr()
263 return q->buf->data + (cons << q->log2_elem_size); in queue_consumer_addr()
268 return q->buf->data + ((index & q->index_mask) in queue_addr_from_index()
275 return (((u8 *)addr - q->buf->data) >> q->log2_elem_size) in queue_index_from_addr()
[all …]
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/
A Dpio.c76 return q; in parse_cookie()
130 q = kzalloc(sizeof(*q), GFP_KERNEL); in b43_setup_pioqueue_tx()
131 if (!q) in b43_setup_pioqueue_tx()
156 return q; in b43_setup_pioqueue_tx()
164 q = kzalloc(sizeof(*q), GFP_KERNEL); in b43_setup_pioqueue_rx()
165 if (!q) in b43_setup_pioqueue_rx()
175 return q; in b43_setup_pioqueue_rx()
195 if (!q) in b43_destroy_pioqueue_tx()
204 if (!q) in b43_destroy_pioqueue_rx()
523 B43_WARN_ON(q->buffer_used > q->buffer_size); in b43_pio_tx()
[all …]
/linux-6.3-rc2/drivers/s390/cio/
A Dqdio_main.c149 q->handler(q->irq_ptr->cdev, QDIO_ERROR_GET_BUF_STATE, q->nr, in qdio_do_eqbs()
150 q->first_to_check, count, q->irq_ptr->int_parm); in qdio_do_eqbs()
195 q->handler(q->irq_ptr->cdev, QDIO_ERROR_SET_BUF_STATE, q->nr, in qdio_do_sqbs()
196 q->first_to_check, count, q->irq_ptr->int_parm); in qdio_do_sqbs()
307 return qdio_siga_sync(q, 0, q->mask); in qdio_sync_input_queue()
312 return qdio_siga_sync(q, q->mask, 0); in qdio_sync_output_queue()
358 "%4x cc2 BB1:%1d", SCH_NO(q), q->nr); in qdio_siga_output()
466 inbound_handle_work(q, start, count, is_qebsm(q)); in get_inbound_buffer_frontier()
653 DBF_ERROR("%4x cc2 BBC:%1d", SCH_NO(q), q->nr); in qdio_kick_outbound_q()
667 DBF_ERROR("%4x cc2 BB2:%1d", SCH_NO(q), q->nr); in qdio_kick_outbound_q()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/
A Dkfd_queue.c30 if (!q) in print_queue_properties()
34 pr_debug("Queue Type: %u\n", q->type); in print_queue_properties()
35 pr_debug("Queue Size: %llu\n", q->queue_size); in print_queue_properties()
38 pr_debug("Queue Id: %u\n", q->queue_id); in print_queue_properties()
39 pr_debug("Queue Process Vmid: %u\n", q->vmid); in print_queue_properties()
46 void print_queue(struct queue *q) in print_queue() argument
48 if (!q) in print_queue()
61 pr_debug("Queue MQD Address: 0x%p\n", q->mqd); in print_queue()
77 *q = tmp_q; in init_queue()
81 void uninit_queue(struct queue *q) in uninit_queue() argument
[all …]

Completed in 89 milliseconds

12345678910>>...55