| /linux/include/soc/fsl/ |
| H A D | dpaa2-global.h | 20 struct dq { struct 33 } dq; member 68 static inline u32 dpaa2_dq_flags(const struct dpaa2_dq *dq) in dpaa2_dq_flags() argument 70 return dq->dq.stat; in dpaa2_dq_flags() 80 static inline int dpaa2_dq_is_pull(const struct dpaa2_dq *dq) in dpaa2_dq_is_pull() argument 82 return (int)(dpaa2_dq_flags(dq) & DPAA2_DQ_STAT_VOLATILE); in dpaa2_dq_is_pull() 91 static inline bool dpaa2_dq_is_pull_complete(const struct dpaa2_dq *dq) in dpaa2_dq_is_pull_complete() argument 93 return !!(dpaa2_dq_flags(dq) & DPAA2_DQ_STAT_EXPIRED); in dpaa2_dq_is_pull_complete() 104 static inline u16 dpaa2_dq_seqnum(const struct dpaa2_dq *dq) in dpaa2_dq_seqnum() argument 106 return le16_to_cpu(dq->dq.seqnum); in dpaa2_dq_seqnum() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | quota.c | 84 struct xfs_dquot *dq, in xchk_quota_item_bmap() argument 97 if (dq->q_fileoffset != offset) { in xchk_quota_item_bmap() 113 if (XFS_FSB_TO_DADDR(mp, irec.br_startblock) != dq->q_blkno) in xchk_quota_item_bmap() 142 struct xfs_dquot *dq) in xchk_quota_item() argument 160 mutex_lock(&dq->q_qlock); in xchk_quota_item() 166 offset = dq->q_id / qi->qi_dqperchunk; in xchk_quota_item() 167 if (dq->q_id && dq->q_id <= sqi->last_id) in xchk_quota_item() 170 sqi->last_id = dq->q_id; in xchk_quota_item() 172 error = xchk_quota_item_bmap(sc, dq, offse in xchk_quota_item() 309 struct xfs_dquot *dq; xchk_quota() local [all...] |
| H A D | quota_repair.c | 58 struct xfs_dquot *dq, in xrep_quota_item_fill_bmap_hole() argument 74 error = xfs_bmapi_write(sc->tp, sc->ip, dq->q_fileoffset, in xrep_quota_item_fill_bmap_hole() 80 dq->q_blkno = XFS_FSB_TO_DADDR(mp, irec->br_startblock); in xrep_quota_item_fill_bmap_hole() 82 trace_xrep_dquot_item_fill_bmap_hole(sc->mp, dq->q_type, dq->q_id); in xrep_quota_item_fill_bmap_hole() 85 error = xfs_trans_get_buf(sc->tp, mp->m_ddev_targp, dq->q_blkno, in xrep_quota_item_fill_bmap_hole() 91 xfs_qm_init_dquot_blk(sc->tp, dq->q_id, dq->q_type, bp); in xrep_quota_item_fill_bmap_hole() 108 struct xfs_dquot *dq, in xrep_quota_item_bmap() argument 114 xfs_fileoff_t offset = dq in xrep_quota_item_bmap() 172 xrep_quota_item(struct xrep_quota_info * rqi,struct xfs_dquot * dq) xrep_quota_item() argument 514 struct xfs_dquot *dq; xrep_quota_problems() local [all...] |
| H A D | quotacheck.c | 557 struct xfs_dquot *dq) in xqcheck_compare_dquot() argument 568 mutex_lock(&dq->q_qlock); in xqcheck_compare_dquot() 570 error = xfarray_load_sparse(counts, dq->q_id, &xcdq); in xqcheck_compare_dquot() 574 if (xcdq.icount != dq->q_ino.count) in xqcheck_compare_dquot() 575 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id); in xqcheck_compare_dquot() 577 if (xcdq.bcount != dq->q_blk.count) in xqcheck_compare_dquot() 578 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id); in xqcheck_compare_dquot() 580 if (xcdq.rtbcount != dq->q_rtb.count) in xqcheck_compare_dquot() 581 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id); in xqcheck_compare_dquot() 584 error = xfarray_store(counts, dq->q_id, &xcdq); in xqcheck_compare_dquot() [all …]
|
| H A D | dqiterate.c | 151 struct xfs_dquot *dq; in xchk_dquot_iter_advance_incore() 157 nr_found = radix_tree_gang_lookup(tree, (void **)&dq, cursor->id, 1); in xchk_dquot_iter_advance_incore() 159 *next_incore_id = dq->q_id; in xchk_dquot_iter_advance_incore() 177 struct xfs_dquot *dq = NULL; in xchk_dquot_iter() 205 error = xfs_qm_dqget(mp, cursor->id, cursor->dqtype, false, &dq); in xchk_dquot_iter() 209 cursor->id = (uint64_t)dq->q_id + 1; in xchk_dquot_iter() 210 *dqpp = dq; in xchk_dquot_iter() 150 struct xfs_dquot *dq; xchk_dquot_iter_advance_incore() local 176 struct xfs_dquot *dq = NULL; xchk_dquot_iter() local
|
| /linux/lib/raid/raid6/riscv/ |
| H A D | recov_rvv.c | 14 u8 *dq, const u8 *pbmul, in __raid6_2data_recov_rvv() argument 77 [dq]"r"(dq), in __raid6_2data_recov_rvv() 88 dq += 16; in __raid6_2data_recov_rvv() 93 u8 *dq, const u8 *qmul) in __raid6_datap_recov_rvv() argument 136 [dq]"r"(dq), in __raid6_datap_recov_rvv() 144 dq += 16; in __raid6_datap_recov_rvv() 151 u8 *p, *q, *dp, *dq; in raid6_2data_recov_rvv() local 166 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_rvv() 168 ptrs[disks - 1] = dq; in raid6_2data_recov_rvv() 174 ptrs[failb] = dq; in raid6_2data_recov_rvv() [all …]
|
| /linux/drivers/soc/fsl/dpio/ |
| H A D | qbman-portal.h | 219 void qbman_swp_dqrr_consume(struct qbman_swp *s, const struct dpaa2_dq *dq); 221 int qbman_result_has_new_result(struct qbman_swp *p, const struct dpaa2_dq *dq); 308 static inline int qbman_result_is_DQ(const struct dpaa2_dq *dq) in qbman_result_is_DQ() argument 310 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_DQ); in qbman_result_is_DQ() 318 static inline int qbman_result_is_SCN(const struct dpaa2_dq *dq) in qbman_result_is_SCN() argument 320 return !qbman_result_is_DQ(dq); in qbman_result_is_SCN() 324 static inline int qbman_result_is_FQDAN(const struct dpaa2_dq *dq) in qbman_result_is_FQDAN() argument 326 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_FQDAN); in qbman_result_is_FQDAN() 330 static inline int qbman_result_is_CDAN(const struct dpaa2_dq *dq) in qbman_result_is_CDAN() argument 332 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_CDAN); in qbman_result_is_CDAN() [all …]
|
| H A D | dpio-service.c | 228 const struct dpaa2_dq *dq; in dpaa2_io_irq() local 240 dq = qbman_swp_dqrr_next(swp); in dpaa2_io_irq() 241 while (dq) { in dpaa2_io_irq() 242 if (qbman_result_is_SCN(dq)) { in dpaa2_io_irq() 246 q64 = qbman_result_SCN_ctx(dq); in dpaa2_io_irq() 252 qbman_swp_dqrr_consume(swp, dq); in dpaa2_io_irq() 256 dq = qbman_swp_dqrr_next(swp); in dpaa2_io_irq()
|
| H A D | qbman-portal.c | 1218 verb = p->dq.verb; in qbman_swp_dqrr_next_direct() 1246 flags = p->dq.stat; in qbman_swp_dqrr_next_direct() 1310 verb = p->dq.verb; in qbman_swp_dqrr_next_mem_back() 1338 flags = p->dq.stat; in qbman_swp_dqrr_next_mem_back() 1356 void qbman_swp_dqrr_consume(struct qbman_swp *s, const struct dpaa2_dq *dq) in qbman_swp_dqrr_consume() argument 1358 qbman_write_register(s, QBMAN_CINH_SWP_DCAP, QBMAN_IDX_FROM_DQRR(dq)); in qbman_swp_dqrr_consume() 1378 int qbman_result_has_new_result(struct qbman_swp *s, const struct dpaa2_dq *dq) in qbman_result_has_new_result() argument 1380 if (dq->dq.tok != QMAN_DQ_TOKEN_VALID) in qbman_result_has_new_result() 1388 ((struct dpaa2_dq *)dq)->dq.tok = 0; in qbman_result_has_new_result() 1395 if (s->vdq.storage == dq) { in qbman_result_has_new_result()
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | cn66xx_regs.h | 311 #define CN6XXX_DMA_CNT(dq) \ argument 312 (CN6XXX_DMA_CNT_START + ((dq) * CN6XXX_DMA_OFFSET)) 314 #define CN6XXX_DMA_INT_LEVEL(dq) \ argument 315 (CN6XXX_DMA_INT_LEVEL_START + ((dq) * CN6XXX_DMA_OFFSET)) 317 #define CN6XXX_DMA_PKT_INT_LEVEL(dq) \ argument 318 (CN6XXX_DMA_INT_LEVEL_START + ((dq) * CN6XXX_DMA_OFFSET)) 320 #define CN6XXX_DMA_TIME_INT_LEVEL(dq) \ argument 321 (CN6XXX_DMA_INT_LEVEL_START + 4 + ((dq) * CN6XXX_DMA_OFFSET)) 323 #define CN6XXX_DMA_TIM(dq) \ argument 324 (CN6XXX_DMA_TIM_START + ((dq) * CN6XXX_DMA_OFFSET))
|
| H A D | cn23xx_pf_regs.h | 366 #define CN23XX_DMA_CNT(dq) \ argument 367 (CN23XX_DMA_CNT_START + ((dq) * CN23XX_DMA_OFFSET)) 369 #define CN23XX_DMA_INT_LEVEL(dq) \ argument 370 (CN23XX_DMA_INT_LEVEL_START + ((dq) * CN23XX_DMA_OFFSET)) 372 #define CN23XX_DMA_PKT_INT_LEVEL(dq) \ argument 373 (CN23XX_DMA_INT_LEVEL_START + ((dq) * CN23XX_DMA_OFFSET)) 375 #define CN23XX_DMA_TIME_INT_LEVEL(dq) \ argument 376 (CN23XX_DMA_INT_LEVEL_START + 4 + ((dq) * CN23XX_DMA_OFFSET)) 378 #define CN23XX_DMA_TIM(dq) \ argument 379 (CN23XX_DMA_TIM_START + ((dq) * CN23XX_DMA_OFFSET))
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_msgtype50.c | 104 unsigned char dq[64]; member 117 unsigned char dq[128]; member 130 unsigned char dq[256]; member 267 unsigned char *p, *q, *dp, *dq, *u, *inp; in ICACRT_msg_to_type50CRT_msg() local 289 dq = crb1->dq + sizeof(crb1->dq) - short_len; in ICACRT_msg_to_type50CRT_msg() 303 dq = crb2->dq + sizeof(crb2->dq) - short_len; in ICACRT_msg_to_type50CRT_msg() 318 dq = crb3->dq + sizeof(crb3->dq) - short_len; in ICACRT_msg_to_type50CRT_msg() 332 copy_from_user(dq, crt->bq_key, short_len) || in ICACRT_msg_to_type50CRT_msg()
|
| /linux/fs/xfs/ |
| H A D | xfs_dquot.c | 120 struct xfs_dquot *dq) in xfs_qm_adjust_dqlimits() argument 122 struct xfs_mount *mp = dq->q_mount; in xfs_qm_adjust_dqlimits() 124 struct xfs_def_quota *defq = xfs_get_defquota(q, xfs_dquot_type(dq)); in xfs_qm_adjust_dqlimits() 127 if (!dq->q_blk.softlimit) { in xfs_qm_adjust_dqlimits() 128 dq->q_blk.softlimit = defq->blk.soft; in xfs_qm_adjust_dqlimits() 131 if (!dq->q_blk.hardlimit) { in xfs_qm_adjust_dqlimits() 132 dq->q_blk.hardlimit = defq->blk.hard; in xfs_qm_adjust_dqlimits() 135 if (!dq->q_ino.softlimit) in xfs_qm_adjust_dqlimits() 136 dq->q_ino.softlimit = defq->ino.soft; in xfs_qm_adjust_dqlimits() 137 if (!dq in xfs_qm_adjust_dqlimits() 212 xfs_qm_adjust_dqtimers(struct xfs_dquot * dq) xfs_qm_adjust_dqtimers() argument [all...] |
| H A D | xfs_iomap.c | 379 struct xfs_dquot *dq = xfs_inode_dquot(ip, type); in xfs_quota_need_throttle() 383 if (!dq || !xfs_this_quota_on(ip->i_mount, type)) in xfs_quota_need_throttle() 387 res = &dq->q_rtb; in xfs_quota_need_throttle() 388 pre = &dq->q_rtb_prealloc; in xfs_quota_need_throttle() 390 res = &dq->q_blk; in xfs_quota_need_throttle() 391 pre = &dq->q_blk_prealloc; in xfs_quota_need_throttle() 413 struct xfs_dquot *dq = xfs_inode_dquot(ip, type); in xfs_quota_calc_throttle() 419 if (!dq) { in xfs_quota_calc_throttle() 423 res = &dq->q_rtb; in xfs_quota_calc_throttle() 424 pre = &dq in xfs_quota_calc_throttle() 371 struct xfs_dquot *dq = xfs_inode_dquot(ip, type); xfs_quota_need_throttle() local 405 struct xfs_dquot *dq = xfs_inode_dquot(ip, type); xfs_quota_calc_throttle() local [all...] |
| /linux/fs/ntfs/ |
| H A D | bitmap.c | 77 u32 dq = bdev_discard_granularity(vol->sb->s_bdev); in ntfs_trim_fs() 80 if (!dq) in ntfs_trim_fs() 81 dq = vol->cluster_size; in ntfs_trim_fs() 129 aligned_start = ALIGN(ntfs_cluster_to_bytes(vol, start), dq); in __ntfs_bitmap_set_bits_in_run() 130 aligned_end = ALIGN_DOWN(ntfs_cluster_to_bytes(vol, end), dq); in __ntfs_bitmap_set_bits_in_run() 25 u32 dq = bdev_discard_granularity(vol->sb->s_bdev); ntfs_trim_fs() local
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_main.c | 432 struct hisi_sas_dq *dq, in hisi_sas_task_deliver() argument 440 spin_lock(&dq->lock); in hisi_sas_task_deliver() 441 wr_q_index = dq->wr_point; in hisi_sas_task_deliver() 442 dq->wr_point = (dq->wr_point + 1) % HISI_SAS_QUEUE_SLOTS; in hisi_sas_task_deliver() 443 list_add_tail(&slot->delivery, &dq->list); in hisi_sas_task_deliver() 444 spin_unlock(&dq->lock); in hisi_sas_task_deliver() 449 dlvry_queue = dq->id; in hisi_sas_task_deliver() 488 spin_lock(&dq->lock); in hisi_sas_task_deliver() 489 hisi_hba->hw->start_delivery(dq); in hisi_sas_task_deliver() 500 struct hisi_sas_dq *dq = NULL; hisi_sas_queue_command() local 701 struct hisi_sas_dq *dq = &hisi_hba->dq[queue]; hisi_sas_alloc_dev() local 2192 struct hisi_sas_dq *dq = &hisi_hba->dq[i]; hisi_sas_init_mem() local 2244 struct hisi_sas_dq *dq = &hisi_hba->dq[i]; hisi_sas_alloc() local [all...] |
| H A D | hisi_sas.h | 236 struct hisi_sas_dq *dq; 329 void (*start_delivery)(struct hisi_sas_dq *dq); 372 struct hisi_sas_dq *dq; 441 struct hisi_sas_dq dq[HISI_SAS_MAX_QUEUES]; 235 struct hisi_sas_dq *dq; global() member 371 struct hisi_sas_dq *dq; global() member 440 struct hisi_sas_dq dq[HISI_SAS_MAX_QUEUES]; global() member
|
| /linux/drivers/media/common/saa7146/ |
| H A D | saa7146_vbi.c | 293 struct saa7146_dmaqueue *dq = &dev->vv_data->vbi_dmaq; in return_buffers() local 296 if (dq->curr) { in return_buffers() 297 buf = dq->curr; in return_buffers() 298 dq->curr = NULL; in return_buffers() 301 while (!list_empty(&dq->queue)) { in return_buffers() 302 buf = list_entry(dq->queue.next, struct saa7146_buf, list); in return_buffers()
|
| H A D | saa7146_video.c | 649 struct saa7146_dmaqueue *dq = &dev->vv_data->video_dmaq; in return_buffers() 652 if (dq->curr) { 653 buf = dq->curr; in start_streaming() 654 dq->curr = NULL; in start_streaming() 657 while (!list_empty(&dq->queue)) { in start_streaming() 658 buf = list_entry(dq->queue.next, struct saa7146_buf, list); in start_streaming() 680 struct saa7146_dmaqueue *dq = &dev->vv_data->video_dmaq; 682 timer_delete(&dq->timeout); 638 struct saa7146_dmaqueue *dq = &dev->vv_data->video_dmaq; return_buffers() local 669 struct saa7146_dmaqueue *dq = &dev->vv_data->video_dmaq; stop_streaming() local
|
| /linux/drivers/soc/fsl/qbman/ |
| H A D | qman_test_api.c | 212 const struct qm_dqrr_entry *dq, in cb_dqrr() argument 215 if (WARN_ON(fd_neq(&fd_dq, &dq->fd))) { in cb_dqrr() 220 if (!(dq->stat & QM_DQRR_STAT_UNSCHEDULED) && !fd_neq(&fd_dq, &fd)) { in cb_dqrr()
|
| H A D | qman.c | 694 const struct qm_dqrr_entry *dq, in qm_dqrr_cdc_consume_1ptr() argument 698 int idx = dqrr_ptr2idx(dq); in qm_dqrr_cdc_consume_1ptr() 701 DPAA_ASSERT((dqrr->ring + idx) == dq); in qm_dqrr_cdc_consume_1ptr() 1610 const struct qm_dqrr_entry *dq; in __poll_portal_fast() local 1617 dq = qm_dqrr_current(&p->p); in __poll_portal_fast() 1618 if (!dq) in __poll_portal_fast() 1621 if (dq->stat & QM_DQRR_STAT_UNSCHEDULED) { in __poll_portal_fast() 1634 if (dq->stat & QM_DQRR_STAT_FQ_EMPTY) in __poll_portal_fast() 1642 res = fq->cb.dqrr(p, fq, dq, sched_napi); in __poll_portal_fast() 1646 if (dq->stat & QM_DQRR_STAT_DQCR_EXPIRED) in __poll_portal_fast() [all …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | kvm-transform.sh | 56 awk -v dq='"' '/./ { print "\tbootarg[" NR "] = " dq $1 dq ";" }' >> $T/bootarg.awk 58 awk -v dq='"' '/./ { print "\tbootpar[" NR "] = " dq $1 dq ";" }' >> $T/bootarg.awk
|
| /linux/drivers/s390/block/ |
| H A D | dasd.c | 2966 struct dasd_queue *dq; in dasd_block_tasklet() 2986 dq = cqr->dq; in dasd_block_tasklet() 2987 spin_lock_irq(&dq->lock); in dasd_block_tasklet() 2990 spin_unlock_irq(&dq->lock); in dasd_block_tasklet() 3022 spin_lock_irq(&cqr->dq->lock); in _dasd_requeue_request() 3025 spin_unlock_irq(&cqr->dq->lock); in _dasd_requeue_request() 3101 spin_lock_irqsave(&cqr->dq->lock, flags); in dasd_flush_block_queue() 3105 spin_unlock_irqrestore(&cqr->dq->lock, flags); in dasd_flush_block_queue() 3137 struct dasd_queue *dq in do_dasd_request() 2965 struct dasd_queue *dq; dasd_block_tasklet() local 3136 struct dasd_queue *dq = hctx->driver_data; do_dasd_request() local 3318 struct dasd_queue *dq = kzalloc_obj(*dq); dasd_init_hctx() local [all...] |
| /linux/drivers/dma/fsl-dpaa2-qdma/ |
| H A D | dpaa2-qdma.c | 400 struct dpaa2_dq *dq; in dpaa2_qdma_fqdan_cb() local 414 dq = dpaa2_io_store_next(ppriv->store, &is_last); in dpaa2_qdma_fqdan_cb() 415 } while (!is_last && !dq); in dpaa2_qdma_fqdan_cb() 416 if (!dq) { in dpaa2_qdma_fqdan_cb() 422 fd = dpaa2_dq_fd(dq); in dpaa2_qdma_fqdan_cb()
|
| /linux/drivers/crypto/caam/ |
| H A D | caampkc.h | 76 u8 *dq; member
|