Home
last modified time | relevance | path

Searched refs:dq (Results 1 – 20 of 20) sorted by relevance

/linux-4.1.27/lib/raid6/
Drecov_avx2.c25 u8 *p, *q, *dp, *dq; in raid6_2data_recov_avx2() local
39 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_avx2()
41 ptrs[disks-1] = dq; in raid6_2data_recov_avx2()
47 ptrs[failb] = dq; in raid6_2data_recov_avx2()
67 asm volatile("vpxor %0, %%ymm1, %%ymm1" : : "m" (dq[0])); in raid6_2data_recov_avx2()
68 asm volatile("vpxor %0, %%ymm9, %%ymm9" : : "m" (dq[32])); in raid6_2data_recov_avx2()
126 asm volatile("vmovdqa %%ymm1, %0" : "=m" (dq[0])); in raid6_2data_recov_avx2()
127 asm volatile("vmovdqa %%ymm13,%0" : "=m" (dq[32])); in raid6_2data_recov_avx2()
138 dq += 64; in raid6_2data_recov_avx2()
142 asm volatile("vpxor %0, %%ymm1, %%ymm1" : : "m" (*dq)); in raid6_2data_recov_avx2()
[all …]
Drecov_ssse3.c25 u8 *p, *q, *dp, *dq; in raid6_2data_recov_ssse3() local
41 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_ssse3()
43 ptrs[disks-1] = dq; in raid6_2data_recov_ssse3()
49 ptrs[failb] = dq; in raid6_2data_recov_ssse3()
77 asm volatile("pxor %0,%%xmm1" : : "m" (dq[0])); in raid6_2data_recov_ssse3()
78 asm volatile("pxor %0,%%xmm9" : : "m" (dq[16])); in raid6_2data_recov_ssse3()
130 asm volatile("movdqa %%xmm1,%0" : "=m" (dq[0])); in raid6_2data_recov_ssse3()
131 asm volatile("movdqa %%xmm9,%0" : "=m" (dq[16])); in raid6_2data_recov_ssse3()
142 dq += 32; in raid6_2data_recov_ssse3()
146 asm volatile("pxor %0,%%xmm1" : : "m" (*dq)); in raid6_2data_recov_ssse3()
[all …]
Drecov.c28 u8 *p, *q, *dp, *dq; in raid6_2data_recov_intx1() local
42 dq = (u8 *)ptrs[failb]; in raid6_2data_recov_intx1()
44 ptrs[disks-1] = dq; in raid6_2data_recov_intx1()
50 ptrs[failb] = dq; in raid6_2data_recov_intx1()
61 qx = qmul[*q ^ *dq]; in raid6_2data_recov_intx1()
62 *dq++ = db = pbmul[px] ^ qx; /* Reconstructed B */ in raid6_2data_recov_intx1()
72 u8 *p, *q, *dq; in raid6_datap_recov_intx1() local
80 dq = (u8 *)ptrs[faila]; in raid6_datap_recov_intx1()
82 ptrs[disks-1] = dq; in raid6_datap_recov_intx1()
87 ptrs[faila] = dq; in raid6_datap_recov_intx1()
[all …]
/linux-4.1.27/crypto/async_tx/
Dasync_raid6_recov.c203 struct page *p, *q, *g, *dp, *dq; in __2data_recov_5() local
233 dq = blocks[failb]; in __2data_recov_5()
238 tx = async_mult(dq, g, raid6_gfexp[good], bytes, submit); in __2data_recov_5()
248 srcs[0] = dq; in __2data_recov_5()
252 tx = async_xor(dq, srcs, 0, 2, bytes, submit); in __2data_recov_5()
256 srcs[1] = dq; in __2data_recov_5()
260 tx = async_sum_product(dq, srcs, coef, bytes, submit); in __2data_recov_5()
264 srcs[1] = dq; in __2data_recov_5()
277 struct page *p, *q, *dp, *dq; in __2data_recov_n() local
295 dq = blocks[failb]; in __2data_recov_n()
[all …]
/linux-4.1.27/drivers/s390/crypto/
Dzcrypt_msgtype50.c125 unsigned char dq[64]; member
138 unsigned char dq[128]; member
151 unsigned char dq[256]; member
248 unsigned char *p, *q, *dp, *dq, *u, *inp; in ICACRT_msg_to_type50CRT_msg() local
269 dq = crb1->dq + sizeof(crb1->dq) - short_len; in ICACRT_msg_to_type50CRT_msg()
282 dq = crb2->dq + sizeof(crb2->dq) - short_len; in ICACRT_msg_to_type50CRT_msg()
296 dq = crb3->dq + sizeof(crb3->dq) - short_len; in ICACRT_msg_to_type50CRT_msg()
309 copy_from_user(dq, crt->bq_key, short_len) || in ICACRT_msg_to_type50CRT_msg()
Dzcrypt_cex2a.h95 unsigned char dq[64]; member
108 unsigned char dq[128]; member
121 unsigned char dq[256]; member
Dzcrypt_pcica.c137 unsigned char *p, *q, *dp, *dq, *u, *inp; in ICACRT_msg_to_type4CRT_msg() local
155 dq = scr->dq + sizeof(scr->dq) - short_len; in ICACRT_msg_to_type4CRT_msg()
169 dq = lcr->dq + sizeof(lcr->dq) - short_len; in ICACRT_msg_to_type4CRT_msg()
177 copy_from_user(dq, crt->bq_key, short_len) || in ICACRT_msg_to_type4CRT_msg()
Dzcrypt_pcica.h77 unsigned char dq[64]; member
88 unsigned char dq[128]; member
/linux-4.1.27/fs/xfs/
Dxfs_iomap.c373 struct xfs_dquot *dq = xfs_inode_dquot(ip, type); in xfs_quota_need_throttle() local
375 if (!dq || !xfs_this_quota_on(ip->i_mount, type)) in xfs_quota_need_throttle()
379 if (!dq->q_prealloc_hi_wmark) in xfs_quota_need_throttle()
383 if (dq->q_res_bcount + alloc_blocks < dq->q_prealloc_lo_wmark) in xfs_quota_need_throttle()
399 struct xfs_dquot *dq = xfs_inode_dquot(ip, type); in xfs_quota_calc_throttle() local
402 if (!dq || dq->q_res_bcount >= dq->q_prealloc_hi_wmark) { in xfs_quota_calc_throttle()
408 freesp = dq->q_prealloc_hi_wmark - dq->q_res_bcount; in xfs_quota_calc_throttle()
409 if (freesp < dq->q_low_space[XFS_QLOWSP_5_PCNT]) { in xfs_quota_calc_throttle()
411 if (freesp < dq->q_low_space[XFS_QLOWSP_3_PCNT]) in xfs_quota_calc_throttle()
413 if (freesp < dq->q_low_space[XFS_QLOWSP_1_PCNT]) in xfs_quota_calc_throttle()
Dxfs_icache.c1317 struct xfs_dquot *dq; in xfs_inode_free_quota_eofblocks() local
1331 dq = xfs_inode_dquot(ip, XFS_DQ_USER); in xfs_inode_free_quota_eofblocks()
1332 if (dq && xfs_dquot_lowsp(dq)) { in xfs_inode_free_quota_eofblocks()
1340 dq = xfs_inode_dquot(ip, XFS_DQ_GROUP); in xfs_inode_free_quota_eofblocks()
1341 if (dq && xfs_dquot_lowsp(dq)) { in xfs_inode_free_quota_eofblocks()
Dxfs_dquot.c91 struct xfs_dquot *dq) in xfs_qm_adjust_dqlimits() argument
94 struct xfs_disk_dquot *d = &dq->q_core; in xfs_qm_adjust_dqlimits()
117 xfs_dquot_set_prealloc_limits(dq); in xfs_qm_adjust_dqlimits()
/linux-4.1.27/drivers/ata/
Dsata_nv.c1729 struct defer_queue *dq = &pp->defer_queue; in nv_swncq_qc_to_dq() local
1732 WARN_ON(dq->tail - dq->head == ATA_MAX_QUEUE); in nv_swncq_qc_to_dq()
1733 dq->defer_bits |= (1 << qc->tag); in nv_swncq_qc_to_dq()
1734 dq->tag[dq->tail++ & (ATA_MAX_QUEUE - 1)] = qc->tag; in nv_swncq_qc_to_dq()
1740 struct defer_queue *dq = &pp->defer_queue; in nv_swncq_qc_from_dq() local
1743 if (dq->head == dq->tail) /* null queue */ in nv_swncq_qc_from_dq()
1746 tag = dq->tag[dq->head & (ATA_MAX_QUEUE - 1)]; in nv_swncq_qc_from_dq()
1747 dq->tag[dq->head++ & (ATA_MAX_QUEUE - 1)] = ATA_TAG_POISON; in nv_swncq_qc_from_dq()
1748 WARN_ON(!(dq->defer_bits & (1 << tag))); in nv_swncq_qc_from_dq()
1749 dq->defer_bits &= ~(1 << tag); in nv_swncq_qc_from_dq()
[all …]
/linux-4.1.27/drivers/atm/
Dfirestream.c633 static struct FS_BPENTRY dq[60]; variable
1202 dq[qd].flags = td->flags; in fs_send()
1203 dq[qd].next = td->next; in fs_send()
1204 dq[qd].bsa = td->bsa; in fs_send()
1205 dq[qd].skb = td->skb; in fs_send()
1206 dq[qd].dev = td->dev; in fs_send()
1958 i, da[qd], dq[qd].flags, dq[qd].bsa, dq[qd].skb, dq[qd].dev); in firestream_remove_one()
/linux-4.1.27/drivers/block/
Dnvme-core.c2432 static void nvme_wait_dq(struct nvme_delq_ctx *dq, struct nvme_dev *dev) in nvme_wait_dq() argument
2434 dq->waiter = current; in nvme_wait_dq()
2439 if (!atomic_read(&dq->refcount)) in nvme_wait_dq()
2453 flush_kthread_worker(dq->worker); in nvme_wait_dq()
2461 static void nvme_put_dq(struct nvme_delq_ctx *dq) in nvme_put_dq() argument
2463 atomic_dec(&dq->refcount); in nvme_put_dq()
2464 if (dq->waiter) in nvme_put_dq()
2465 wake_up_process(dq->waiter); in nvme_put_dq()
2468 static struct nvme_delq_ctx *nvme_get_dq(struct nvme_delq_ctx *dq) in nvme_get_dq() argument
2470 atomic_inc(&dq->refcount); in nvme_get_dq()
[all …]
/linux-4.1.27/drivers/scsi/
Dqlogicpti.c1196 struct scsi_cmnd *dq; in qpti_intr() local
1199 dq = qlogicpti_intr_handler(qpti); in qpti_intr()
1201 if (dq != NULL) { in qpti_intr()
1205 next = (struct scsi_cmnd *) dq->host_scribble; in qpti_intr()
1206 dq->scsi_done(dq); in qpti_intr()
1207 dq = next; in qpti_intr()
1208 } while (dq != NULL); in qpti_intr()
/linux-4.1.27/drivers/scsi/be2iscsi/
Dbe_cmds.c1143 struct be_queue_info *dq, int length, in be_cmd_create_default_pdu_queue() argument
1149 struct be_dma_mem *q_mem = &dq->dma_mem; in be_cmd_create_default_pdu_queue()
1208 dq->id = le16_to_cpu(resp->id); in be_cmd_create_default_pdu_queue()
1209 dq->created = true; in be_cmd_create_default_pdu_queue()
1216 defq_ring->id = dq->id; in be_cmd_create_default_pdu_queue()
Dbe_cmds.h749 struct be_queue_info *dq, int length,
Dbe_main.c3357 struct be_queue_info *dq, *cq; in beiscsi_create_def_hdr() local
3363 dq = &phwi_context->be_def_hdrq[ulp_num]; in beiscsi_create_def_hdr()
3365 mem = &dq->dma_mem; in beiscsi_create_def_hdr()
3370 ret = be_fill_queue(dq, mem_descr->mem_array[0].size / in beiscsi_create_def_hdr()
3382 ret = be_cmd_create_default_pdu_queue(&phba->ctrl, cq, dq, in beiscsi_create_def_hdr()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-lmcx-defs.h1532 uint64_t dq:5; member
1538 uint64_t dq:5;
1546 uint64_t dq:4; member
1556 uint64_t dq:4;
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_sli.c456 lpfc_sli4_rq_put(struct lpfc_queue *hq, struct lpfc_queue *dq, in lpfc_sli4_rq_put() argument
465 if (unlikely(!hq) || unlikely(!dq)) in lpfc_sli4_rq_put()
469 temp_drqe = dq->qe[dq->host_index].rqe; in lpfc_sli4_rq_put()
471 if (hq->type != LPFC_HRQ || dq->type != LPFC_DRQ) in lpfc_sli4_rq_put()
473 if (hq->host_index != dq->host_index) in lpfc_sli4_rq_put()
479 lpfc_sli_pcimem_bcopy(drqe, temp_drqe, dq->entry_size); in lpfc_sli4_rq_put()
483 dq->host_index = ((dq->host_index + 1) % dq->entry_count); in lpfc_sli4_rq_put()
517 lpfc_sli4_rq_release(struct lpfc_queue *hq, struct lpfc_queue *dq) in lpfc_sli4_rq_release() argument
520 if (unlikely(!hq) || unlikely(!dq)) in lpfc_sli4_rq_release()
523 if ((hq->type != LPFC_HRQ) || (dq->type != LPFC_DRQ)) in lpfc_sli4_rq_release()
[all …]