/kernel/linux/linux-5.10/crypto/ |
D | gf128mul.c | 56 #define gf128mul_dat(q) { \ argument 57 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),\ [all …]
|
/kernel/linux/linux-4.19/crypto/ |
D | gf128mul.c | 56 #define gf128mul_dat(q) { \ argument 57 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),\ [all …]
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | tls-offload-layers.svg | 1 …q-0.609375 -0.359375 -1.203125 -0.359375q-0.546875 0 -0.96875 0.328125q-0.421875 0.328125 -0.60937…
|
/kernel/linux/linux-4.19/net/xdp/ |
D | xsk_queue.h | 47 static inline u64 xskq_nb_invalid_descs(struct xsk_queue *q) in xskq_nb_invalid_descs() argument 49 return q ? q->invalid_descs : 0; in xskq_nb_invalid_descs() 52 static inline u32 xskq_nb_avail(struct xsk_queue *q, u32 dcnt) in xskq_nb_avail() argument 54 u32 entries = q->prod_tail - q->cons_tail; in xskq_nb_avail() 58 q->prod_tail = READ_ONCE(q->ring->producer); in xskq_nb_avail() 59 entries = q->prod_tail - q->cons_tail; in xskq_nb_avail() 65 static inline u32 xskq_nb_free(struct xsk_queue *q, u32 producer, u32 dcnt) in xskq_nb_free() argument 67 u32 free_entries = q->nentries - (producer - q->cons_tail); in xskq_nb_free() 73 q->cons_tail = READ_ONCE(q->ring->consumer); in xskq_nb_free() 74 return q->nentries - (producer - q->cons_tail); in xskq_nb_free() [all …]
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
D | videobuf-core.c | 50 #define CALL(q, f, arg...) \ argument 51 ((q->int_ops->f) ? q->int_ops->f(arg) : 0) 52 #define CALLPTR(q, f, arg...) \ argument 53 ((q->int_ops->f) ? q->int_ops->f(arg) : NULL) 55 struct videobuf_buffer *videobuf_alloc_vb(struct videobuf_queue *q) in videobuf_alloc_vb() argument 59 BUG_ON(q->msize < sizeof(*vb)); in videobuf_alloc_vb() 61 if (!q->int_ops || !q->int_ops->alloc_vb) { in videobuf_alloc_vb() 66 vb = q->int_ops->alloc_vb(q->msize); in videobuf_alloc_vb() 76 static int state_neither_active_nor_queued(struct videobuf_queue *q, in state_neither_active_nor_queued() argument 82 spin_lock_irqsave(q->irqlock, flags); in state_neither_active_nor_queued() [all …]
|
/kernel/linux/linux-4.19/drivers/media/v4l2-core/ |
D | videobuf-core.c | 52 #define CALL(q, f, arg...) \ argument 53 ((q->int_ops->f) ? q->int_ops->f(arg) : 0) 54 #define CALLPTR(q, f, arg...) \ argument 55 ((q->int_ops->f) ? q->int_ops->f(arg) : NULL) 57 struct videobuf_buffer *videobuf_alloc_vb(struct videobuf_queue *q) in videobuf_alloc_vb() argument 61 BUG_ON(q->msize < sizeof(*vb)); in videobuf_alloc_vb() 63 if (!q->int_ops || !q->int_ops->alloc_vb) { in videobuf_alloc_vb() 68 vb = q->int_ops->alloc_vb(q->msize); in videobuf_alloc_vb() 78 static int state_neither_active_nor_queued(struct videobuf_queue *q, in state_neither_active_nor_queued() argument 84 spin_lock_irqsave(q->irqlock, flags); in state_neither_active_nor_queued() [all …]
|
/kernel/linux/linux-5.10/sound/core/seq/ |
D | seq_queue.c | 50 static int queue_list_add(struct snd_seq_queue *q) in queue_list_add() argument 58 queue_list[i] = q; in queue_list_add() 59 q->queue = i; in queue_list_add() 71 struct snd_seq_queue *q; in queue_list_remove() local 75 q = queue_list[id]; in queue_list_remove() 76 if (q) { in queue_list_remove() 77 spin_lock(&q->owner_lock); in queue_list_remove() 78 if (q->owner == client) { in queue_list_remove() 80 q->klocked = 1; in queue_list_remove() 81 spin_unlock(&q->owner_lock); in queue_list_remove() [all …]
|
/kernel/linux/linux-4.19/sound/core/seq/ |
D | seq_queue.c | 63 static int queue_list_add(struct snd_seq_queue *q) in queue_list_add() argument 71 queue_list[i] = q; in queue_list_add() 72 q->queue = i; in queue_list_add() 84 struct snd_seq_queue *q; in queue_list_remove() local 88 q = queue_list[id]; in queue_list_remove() 89 if (q) { in queue_list_remove() 90 spin_lock(&q->owner_lock); in queue_list_remove() 91 if (q->owner == client) { in queue_list_remove() 93 q->klocked = 1; in queue_list_remove() 94 spin_unlock(&q->owner_lock); in queue_list_remove() [all …]
|
/kernel/linux/linux-4.19/drivers/isdn/hardware/eicon/ |
D | dqueue.c | 17 diva_data_q_init(diva_um_idi_data_queue_t *q, in diva_data_q_init() argument 22 q->max_length = max_length; in diva_data_q_init() 23 q->segments = max_segments; in diva_data_q_init() 25 for (i = 0; i < q->segments; i++) { in diva_data_q_init() 26 q->data[i] = NULL; in diva_data_q_init() 27 q->length[i] = 0; in diva_data_q_init() 29 q->read = q->write = q->count = q->segment_pending = 0; in diva_data_q_init() 31 for (i = 0; i < q->segments; i++) { in diva_data_q_init() 32 if (!(q->data[i] = diva_os_malloc(0, q->max_length))) { in diva_data_q_init() 33 diva_data_q_finit(q); in diva_data_q_init() [all …]
|
/kernel/linux/linux-4.19/drivers/s390/cio/ |
D | qdio_main.c | 112 static int qdio_do_eqbs(struct qdio_q *q, unsigned char *state, in qdio_do_eqbs() argument 115 int tmp_count = count, tmp_start = start, nr = q->nr; in qdio_do_eqbs() 118 qperf_inc(q, eqbs); in qdio_do_eqbs() 120 if (!q->is_input_q) in qdio_do_eqbs() 121 nr += q->irq_ptr->nr_input_qs; in qdio_do_eqbs() 123 ccq = do_eqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count, in qdio_do_eqbs() 133 qperf_inc(q, eqbs_partial); in qdio_do_eqbs() 134 DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS part:%02x", in qdio_do_eqbs() 139 DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS again:%2d", ccq); in qdio_do_eqbs() 142 DBF_ERROR("%4x ccq:%3d", SCH_NO(q), ccq); in qdio_do_eqbs() [all …]
|
/kernel/linux/linux-4.19/sound/core/seq/oss/ |
D | seq_oss_readq.c | 48 struct seq_oss_readq *q; in snd_seq_oss_readq_new() local 50 q = kzalloc(sizeof(*q), GFP_KERNEL); in snd_seq_oss_readq_new() 51 if (!q) in snd_seq_oss_readq_new() 54 q->q = kcalloc(maxlen, sizeof(union evrec), GFP_KERNEL); in snd_seq_oss_readq_new() 55 if (!q->q) { in snd_seq_oss_readq_new() 56 kfree(q); in snd_seq_oss_readq_new() 60 q->maxlen = maxlen; in snd_seq_oss_readq_new() 61 q->qlen = 0; in snd_seq_oss_readq_new() 62 q->head = q->tail = 0; in snd_seq_oss_readq_new() 63 init_waitqueue_head(&q->midi_sleep); in snd_seq_oss_readq_new() [all …]
|
/kernel/linux/linux-5.10/sound/core/seq/oss/ |
D | seq_oss_readq.c | 35 struct seq_oss_readq *q; in snd_seq_oss_readq_new() local 37 q = kzalloc(sizeof(*q), GFP_KERNEL); in snd_seq_oss_readq_new() 38 if (!q) in snd_seq_oss_readq_new() 41 q->q = kcalloc(maxlen, sizeof(union evrec), GFP_KERNEL); in snd_seq_oss_readq_new() 42 if (!q->q) { in snd_seq_oss_readq_new() 43 kfree(q); in snd_seq_oss_readq_new() 47 q->maxlen = maxlen; in snd_seq_oss_readq_new() 48 q->qlen = 0; in snd_seq_oss_readq_new() 49 q->head = q->tail = 0; in snd_seq_oss_readq_new() 50 init_waitqueue_head(&q->midi_sleep); in snd_seq_oss_readq_new() [all …]
|
/kernel/linux/linux-4.19/net/sched/ |
D | sch_choke.c | 80 static unsigned int choke_len(const struct choke_sched_data *q) in choke_len() argument 82 return (q->tail - q->head) & q->tab_mask; in choke_len() 86 static int use_ecn(const struct choke_sched_data *q) in use_ecn() argument 88 return q->flags & TC_RED_ECN; in use_ecn() 92 static int use_harddrop(const struct choke_sched_data *q) in use_harddrop() argument 94 return q->flags & TC_RED_HARDDROP; in use_harddrop() 98 static void choke_zap_head_holes(struct choke_sched_data *q) in choke_zap_head_holes() argument 101 q->head = (q->head + 1) & q->tab_mask; in choke_zap_head_holes() 102 if (q->head == q->tail) in choke_zap_head_holes() 104 } while (q->tab[q->head] == NULL); in choke_zap_head_holes() [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | sch_choke.c | 76 static unsigned int choke_len(const struct choke_sched_data *q) in choke_len() argument 78 return (q->tail - q->head) & q->tab_mask; in choke_len() 82 static int use_ecn(const struct choke_sched_data *q) in use_ecn() argument 84 return q->flags & TC_RED_ECN; in use_ecn() 88 static int use_harddrop(const struct choke_sched_data *q) in use_harddrop() argument 90 return q->flags & TC_RED_HARDDROP; in use_harddrop() 94 static void choke_zap_head_holes(struct choke_sched_data *q) in choke_zap_head_holes() argument 97 q->head = (q->head + 1) & q->tab_mask; in choke_zap_head_holes() 98 if (q->head == q->tail) in choke_zap_head_holes() 100 } while (q->tab[q->head] == NULL); in choke_zap_head_holes() [all …]
|
/kernel/linux/linux-5.10/net/xdp/ |
D | xsk_queue.h | 112 static inline bool xskq_cons_read_addr_unchecked(struct xsk_queue *q, u64 *addr) in xskq_cons_read_addr_unchecked() argument 114 struct xdp_umem_ring *ring = (struct xdp_umem_ring *)q->ring; in xskq_cons_read_addr_unchecked() 116 if (q->cached_cons != q->cached_prod) { in xskq_cons_read_addr_unchecked() 117 u32 idx = q->cached_cons & q->ring_mask; in xskq_cons_read_addr_unchecked() 173 static inline bool xskq_cons_is_valid_desc(struct xsk_queue *q, in xskq_cons_is_valid_desc() argument 178 q->invalid_descs++; in xskq_cons_is_valid_desc() 184 static inline bool xskq_cons_read_desc(struct xsk_queue *q, in xskq_cons_read_desc() argument 188 while (q->cached_cons != q->cached_prod) { in xskq_cons_read_desc() 189 struct xdp_rxtx_ring *ring = (struct xdp_rxtx_ring *)q->ring; in xskq_cons_read_desc() 190 u32 idx = q->cached_cons & q->ring_mask; in xskq_cons_read_desc() [all …]
|
/kernel/linux/linux-4.19/drivers/mtd/spi-nor/ |
D | fsl-quadspi.c | 302 static inline int needs_swap_endian(struct fsl_qspi *q) in needs_swap_endian() argument 304 return q->devtype_data->driver_data & QUADSPI_QUIRK_SWAP_ENDIAN; in needs_swap_endian() 307 static inline int needs_4x_clock(struct fsl_qspi *q) in needs_4x_clock() argument 309 return q->devtype_data->driver_data & QUADSPI_QUIRK_4X_INT_CLK; in needs_4x_clock() 312 static inline int needs_fill_txfifo(struct fsl_qspi *q) in needs_fill_txfifo() argument 314 return q->devtype_data->driver_data & QUADSPI_QUIRK_TKT253890; in needs_fill_txfifo() 317 static inline int needs_wakeup_wait_mode(struct fsl_qspi *q) in needs_wakeup_wait_mode() argument 319 return q->devtype_data->driver_data & QUADSPI_QUIRK_TKT245618; in needs_wakeup_wait_mode() 328 static void qspi_writel(struct fsl_qspi *q, u32 val, void __iomem *addr) in qspi_writel() argument 330 if (q->big_endian) in qspi_writel() [all …]
|
/kernel/linux/linux-5.10/block/ |
D | blk-sysfs.c | 61 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show() argument 63 return queue_var_show(q->nr_requests, (page)); in queue_requests_show() 67 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store() argument 72 if (!queue_is_mq(q)) in queue_requests_store() 82 err = blk_mq_update_nr_requests(q, nr); in queue_requests_store() 89 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show() argument 91 unsigned long ra_kb = q->backing_dev_info->ra_pages << in queue_ra_show() 98 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store() argument 106 q->backing_dev_info->ra_pages = ra_kb >> (PAGE_SHIFT - 10); in queue_ra_store() 111 static ssize_t queue_max_sectors_show(struct request_queue *q, char *page) in queue_max_sectors_show() argument [all …]
|
D | blk-pm.c | 31 void blk_pm_runtime_init(struct request_queue *q, struct device *dev) in blk_pm_runtime_init() argument 33 q->dev = dev; in blk_pm_runtime_init() 34 q->rpm_status = RPM_ACTIVE; in blk_pm_runtime_init() 35 pm_runtime_set_autosuspend_delay(q->dev, -1); in blk_pm_runtime_init() 36 pm_runtime_use_autosuspend(q->dev); in blk_pm_runtime_init() 61 int blk_pre_runtime_suspend(struct request_queue *q) in blk_pre_runtime_suspend() argument 65 if (!q->dev) in blk_pre_runtime_suspend() 68 WARN_ON_ONCE(q->rpm_status != RPM_ACTIVE); in blk_pre_runtime_suspend() 70 spin_lock_irq(&q->queue_lock); in blk_pre_runtime_suspend() 71 q->rpm_status = RPM_SUSPENDING; in blk_pre_runtime_suspend() [all …]
|
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 37 #define dprintk(q, level, fmt, arg...) \ argument 40 pr_info("[%s] %s: " fmt, (q)->name, __func__, \ 93 #define log_qop(q, op) \ argument 94 dprintk(q, 2, "call_qop(%s)%s\n", #op, \ 95 (q)->ops->op ? "" : " (nop)") 97 #define call_qop(q, op, args...) \ argument 101 log_qop(q, op); \ 102 err = (q)->ops->op ? (q)->ops->op(args) : 0; \ 104 (q)->cnt_ ## op++; \ 108 #define call_void_qop(q, op, args...) \ argument [all …]
|
/kernel/linux/linux-4.19/block/ |
D | blk-core.c | 79 void blk_queue_flag_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_set() argument 83 spin_lock_irqsave(q->queue_lock, flags); in blk_queue_flag_set() 84 queue_flag_set(flag, q); in blk_queue_flag_set() 85 spin_unlock_irqrestore(q->queue_lock, flags); in blk_queue_flag_set() 94 void blk_queue_flag_clear(unsigned int flag, struct request_queue *q) in blk_queue_flag_clear() argument 98 spin_lock_irqsave(q->queue_lock, flags); in blk_queue_flag_clear() 99 queue_flag_clear(flag, q); in blk_queue_flag_clear() 100 spin_unlock_irqrestore(q->queue_lock, flags); in blk_queue_flag_clear() 112 bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_test_and_set() argument 117 spin_lock_irqsave(q->queue_lock, flags); in blk_queue_flag_test_and_set() [all …]
|
D | blk-sysfs.c | 61 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show() argument 63 return queue_var_show(q->nr_requests, (page)); in queue_requests_show() 67 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store() argument 72 if (!q->request_fn && !q->mq_ops) in queue_requests_store() 82 if (q->request_fn) in queue_requests_store() 83 err = blk_update_nr_requests(q, nr); in queue_requests_store() 85 err = blk_mq_update_nr_requests(q, nr); in queue_requests_store() 93 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show() argument 95 unsigned long ra_kb = q->backing_dev_info->ra_pages << in queue_ra_show() 102 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store() argument [all …]
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
D | qdio_main.c | 112 static int qdio_do_eqbs(struct qdio_q *q, unsigned char *state, in qdio_do_eqbs() argument 115 int tmp_count = count, tmp_start = start, nr = q->nr; in qdio_do_eqbs() 118 qperf_inc(q, eqbs); in qdio_do_eqbs() 120 if (!q->is_input_q) in qdio_do_eqbs() 121 nr += q->irq_ptr->nr_input_qs; in qdio_do_eqbs() 123 ccq = do_eqbs(q->irq_ptr->sch_token, state, nr, &tmp_start, &tmp_count, in qdio_do_eqbs() 133 qperf_inc(q, eqbs_partial); in qdio_do_eqbs() 134 DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "EQBS part:%02x", in qdio_do_eqbs() 139 DBF_DEV_EVENT(DBF_WARN, q->irq_ptr, "EQBS again:%2d", ccq); in qdio_do_eqbs() 142 DBF_ERROR("%4x ccq:%3d", SCH_NO(q), ccq); in qdio_do_eqbs() [all …]
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-fsl-qspi.c | 278 static inline int needs_swap_endian(struct fsl_qspi *q) in needs_swap_endian() argument 280 return q->devtype_data->quirks & QUADSPI_QUIRK_SWAP_ENDIAN; in needs_swap_endian() 283 static inline int needs_4x_clock(struct fsl_qspi *q) in needs_4x_clock() argument 285 return q->devtype_data->quirks & QUADSPI_QUIRK_4X_INT_CLK; in needs_4x_clock() 288 static inline int needs_fill_txfifo(struct fsl_qspi *q) in needs_fill_txfifo() argument 290 return q->devtype_data->quirks & QUADSPI_QUIRK_TKT253890; in needs_fill_txfifo() 293 static inline int needs_wakeup_wait_mode(struct fsl_qspi *q) in needs_wakeup_wait_mode() argument 295 return q->devtype_data->quirks & QUADSPI_QUIRK_TKT245618; in needs_wakeup_wait_mode() 298 static inline int needs_amba_base_offset(struct fsl_qspi *q) in needs_amba_base_offset() argument 300 return !(q->devtype_data->quirks & QUADSPI_QUIRK_BASE_INTERNAL); in needs_amba_base_offset() [all …]
|
/kernel/linux/linux-4.19/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 92 #define log_qop(q, op) \ argument 93 dprintk(2, "call_qop(%p, %s)%s\n", q, #op, \ 94 (q)->ops->op ? "" : " (nop)") 96 #define call_qop(q, op, args...) \ argument 100 log_qop(q, op); \ 101 err = (q)->ops->op ? (q)->ops->op(args) : 0; \ 103 (q)->cnt_ ## op++; \ 107 #define call_void_qop(q, op, args...) \ argument 109 log_qop(q, op); \ 110 if ((q)->ops->op) \ [all …]
|
/kernel/linux/linux-4.19/drivers/infiniband/sw/rxe/ |
D | rxe_queue.h | 86 void rxe_queue_reset(struct rxe_queue *q); 92 int rxe_queue_resize(struct rxe_queue *q, 104 static inline int next_index(struct rxe_queue *q, int index) in next_index() argument 106 return (index + 1) & q->buf->index_mask; in next_index() 109 static inline int queue_empty(struct rxe_queue *q) in queue_empty() argument 111 return ((q->buf->producer_index - q->buf->consumer_index) in queue_empty() 112 & q->index_mask) == 0; in queue_empty() 115 static inline int queue_full(struct rxe_queue *q) in queue_full() argument 117 return ((q->buf->producer_index + 1 - q->buf->consumer_index) in queue_full() 118 & q->index_mask) == 0; in queue_full() [all …]
|