/kernel/linux/linux-5.10/drivers/md/ |
D | dm-writecache.c | 101 #define WC_MODE_PMEM(wc) ((wc)->pmem_mode) argument 102 #define WC_MODE_FUA(wc) ((wc)->writeback_fua) argument 104 #define WC_MODE_PMEM(wc) false argument 105 #define WC_MODE_FUA(wc) false argument 107 #define WC_MODE_SORT_FREELIST(wc) (!WC_MODE_PMEM(wc)) argument 206 struct dm_writecache *wc; member 215 struct dm_writecache *wc; member 224 static void wc_lock(struct dm_writecache *wc) in wc_lock() argument 226 mutex_lock(&wc->lock); in wc_lock() 229 static void wc_unlock(struct dm_writecache *wc) in wc_unlock() argument [all …]
|
/kernel/linux/linux-5.10/include/math-emu/ |
D | op-common.h | 27 #define _FP_DECL(wc, X) \ argument 29 _FP_FRAC_DECL_##wc(X) 36 #define _FP_UNPACK_CANONICAL(fs, wc, X) \ argument 42 _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ 48 if (_FP_FRAC_ZEROP_##wc(X)) \ 54 _FP_FRAC_CLZ_##wc(_shift, X); \ 56 _FP_FRAC_SLL_##wc(X, (_shift+_FP_WORKBITS)); \ 69 if (_FP_FRAC_ZEROP_##wc(X)) \ 89 #define _FP_PACK_CANONICAL(fs, wc, X) \ argument 97 _FP_ROUND(wc, X); \ [all …]
|
D | soft-fp.h | 135 #define _FP_ROUND_NEAREST(wc, X) \ argument 137 if ((_FP_FRAC_LOW_##wc(X) & 15) != _FP_WORK_ROUND) \ 138 _FP_FRAC_ADDI_##wc(X, _FP_WORK_ROUND); \ 141 #define _FP_ROUND_ZERO(wc, X) (void)0 argument 143 #define _FP_ROUND_PINF(wc, X) \ argument 145 if (!X##_s && (_FP_FRAC_LOW_##wc(X) & 7)) \ 146 _FP_FRAC_ADDI_##wc(X, _FP_WORK_LSB); \ 149 #define _FP_ROUND_MINF(wc, X) \ argument 151 if (X##_s && (_FP_FRAC_LOW_##wc(X) & 7)) \ 152 _FP_FRAC_ADDI_##wc(X, _FP_WORK_LSB); \ [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | cq.c | 511 struct ib_wc *wc) in mlx4_ib_handle_error_cqe() argument 525 wc->status = IB_WC_LOC_LEN_ERR; in mlx4_ib_handle_error_cqe() 528 wc->status = IB_WC_LOC_QP_OP_ERR; in mlx4_ib_handle_error_cqe() 531 wc->status = IB_WC_LOC_PROT_ERR; in mlx4_ib_handle_error_cqe() 534 wc->status = IB_WC_WR_FLUSH_ERR; in mlx4_ib_handle_error_cqe() 537 wc->status = IB_WC_MW_BIND_ERR; in mlx4_ib_handle_error_cqe() 540 wc->status = IB_WC_BAD_RESP_ERR; in mlx4_ib_handle_error_cqe() 543 wc->status = IB_WC_LOC_ACCESS_ERR; in mlx4_ib_handle_error_cqe() 546 wc->status = IB_WC_REM_INV_REQ_ERR; in mlx4_ib_handle_error_cqe() 549 wc->status = IB_WC_REM_ACCESS_ERR; in mlx4_ib_handle_error_cqe() [all …]
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | aops.c | 794 static void ocfs2_unlock_pages(struct ocfs2_write_ctxt *wc) in ocfs2_unlock_pages() argument 803 if (wc->w_target_locked) { in ocfs2_unlock_pages() 804 BUG_ON(!wc->w_target_page); in ocfs2_unlock_pages() 805 for (i = 0; i < wc->w_num_pages; i++) { in ocfs2_unlock_pages() 806 if (wc->w_target_page == wc->w_pages[i]) { in ocfs2_unlock_pages() 807 wc->w_pages[i] = NULL; in ocfs2_unlock_pages() 811 mark_page_accessed(wc->w_target_page); in ocfs2_unlock_pages() 812 put_page(wc->w_target_page); in ocfs2_unlock_pages() 814 ocfs2_unlock_and_free_pages(wc->w_pages, wc->w_num_pages); in ocfs2_unlock_pages() 833 struct ocfs2_write_ctxt *wc) in ocfs2_free_write_ctxt() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
D | bfa_cs.h | 73 bfa_wc_up(struct bfa_wc *wc) in bfa_wc_up() argument 75 wc->wc_count++; in bfa_wc_up() 79 bfa_wc_down(struct bfa_wc *wc) in bfa_wc_down() argument 81 wc->wc_count--; in bfa_wc_down() 82 if (wc->wc_count == 0) in bfa_wc_down() 83 wc->wc_resume(wc->wc_cbarg); in bfa_wc_down() 88 bfa_wc_init(struct bfa_wc *wc, bfa_wc_resume_t wc_resume, void *wc_cbarg) in bfa_wc_init() argument 90 wc->wc_resume = wc_resume; in bfa_wc_init() 91 wc->wc_cbarg = wc_cbarg; in bfa_wc_init() 92 wc->wc_count = 0; in bfa_wc_init() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
D | siw_cq.c | 48 int siw_reap_cqe(struct siw_cq *cq, struct ib_wc *wc) in siw_reap_cqe() argument 57 memset(wc, 0, sizeof(*wc)); in siw_reap_cqe() 58 wc->wr_id = cqe->id; in siw_reap_cqe() 59 wc->byte_len = cqe->bytes; in siw_reap_cqe() 68 wc->ex.invalidate_rkey = cqe->inval_stag; in siw_reap_cqe() 69 wc->wc_flags = IB_WC_WITH_INVALIDATE; in siw_reap_cqe() 71 wc->qp = cqe->base_qp; in siw_reap_cqe() 72 wc->opcode = map_wc_opcode[cqe->opcode]; in siw_reap_cqe() 73 wc->status = map_cqe_status[cqe->status].ib; in siw_reap_cqe() 95 wc->opcode = map_wc_opcode[opcode]; in siw_reap_cqe() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | cq.c | 117 static void handle_good_req(struct ib_wc *wc, struct mlx5_cqe64 *cqe, in handle_good_req() argument 120 wc->wc_flags = 0; in handle_good_req() 123 wc->wc_flags |= IB_WC_WITH_IMM; in handle_good_req() 126 wc->opcode = IB_WC_RDMA_WRITE; in handle_good_req() 129 wc->wc_flags |= IB_WC_WITH_IMM; in handle_good_req() 133 wc->opcode = IB_WC_SEND; in handle_good_req() 136 wc->opcode = IB_WC_RDMA_READ; in handle_good_req() 137 wc->byte_len = be32_to_cpu(cqe->byte_cnt); in handle_good_req() 140 wc->opcode = IB_WC_COMP_SWAP; in handle_good_req() 141 wc->byte_len = 8; in handle_good_req() [all …]
|
D | gsi.c | 37 struct ib_wc wc; member 61 WARN_ON_ONCE(mlx5_ib_generate_wc(gsi_cq, &wr->wc)); in generate_completions() 68 static void handle_single_completion(struct ib_cq *cq, struct ib_wc *wc) in handle_single_completion() argument 72 container_of(wc->wr_cqe, struct mlx5_ib_gsi_wr, cqe); in handle_single_completion() 79 wr_id = wr->wc.wr_id; in handle_single_completion() 80 wr->wc = *wc; in handle_single_completion() 81 wr->wc.wr_id = wr_id; in handle_single_completion() 82 wr->wc.qp = &mqp->ibqp; in handle_single_completion() 389 struct ib_ud_wr *wr, struct ib_wc *wc) in mlx5_ib_add_outstanding_wr() argument 404 if (!wc) { in mlx5_ib_add_outstanding_wr() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 62 struct ib_wc wc; in qib_ud_loopback() local 125 memset(&wc, 0, sizeof(wc)); in qib_ud_loopback() 126 wc.byte_len = length + sizeof(struct ib_grh); in qib_ud_loopback() 129 wc.wc_flags = IB_WC_WITH_IMM; in qib_ud_loopback() 130 wc.ex.imm_data = swqe->wr.ex.imm_data; in qib_ud_loopback() 155 if (unlikely(wc.byte_len > qp->r_len)) { in qib_ud_loopback() 168 wc.wc_flags |= IB_WC_GRH; in qib_ud_loopback() 201 wc.wr_id = qp->r_wr_id; in qib_ud_loopback() 202 wc.status = IB_WC_SUCCESS; in qib_ud_loopback() 203 wc.opcode = IB_WC_RECV; in qib_ud_loopback() [all …]
|
D | qib_uc.c | 245 struct ib_wc wc; in qib_uc_rcv() local 367 wc.ex.imm_data = ohdr->u.imm_data; in qib_uc_rcv() 369 wc.wc_flags = IB_WC_WITH_IMM; in qib_uc_rcv() 373 wc.ex.imm_data = 0; in qib_uc_rcv() 374 wc.wc_flags = 0; in qib_uc_rcv() 384 wc.byte_len = tlen + qp->r_rcv_len; in qib_uc_rcv() 385 if (unlikely(wc.byte_len > qp->r_len)) in qib_uc_rcv() 387 wc.opcode = IB_WC_RECV; in qib_uc_rcv() 391 wc.wr_id = qp->r_wr_id; in qib_uc_rcv() 392 wc.status = IB_WC_SUCCESS; in qib_uc_rcv() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | trace_cq.h | 112 TP_PROTO(struct rvt_cq *cq, struct ib_wc *wc, u32 idx), 113 TP_ARGS(cq, wc, idx), 127 __entry->wr_id = wc->wr_id; 128 __entry->status = wc->status; 129 __entry->opcode = wc->opcode; 130 __entry->length = wc->byte_len; 131 __entry->qpn = wc->qp->qp_num; 133 __entry->flags = wc->wc_flags; 134 __entry->imm = be32_to_cpu(wc->ex.imm_data); 152 TP_PROTO(struct rvt_cq *cq, struct ib_wc *wc, u32 idx), [all …]
|
/kernel/linux/linux-5.10/fs/ntfs/ |
D | unistr.c | 250 wchar_t wc; in ntfs_nlstoucs() local 259 &wc); in ntfs_nlstoucs() 262 if (likely(wc)) { in ntfs_nlstoucs() 263 ucs[o++] = cpu_to_le16(wc); in ntfs_nlstoucs() 327 int i, o, ns_len, wc; in ntfs_ucstonls() local 334 wc = -ENAMETOOLONG; in ntfs_ucstonls() 344 retry: wc = nls->uni2char(le16_to_cpu(ins[i]), ns + o, in ntfs_ucstonls() 346 if (wc > 0) { in ntfs_ucstonls() 347 o += wc; in ntfs_ucstonls() 349 } else if (!wc) in ntfs_ucstonls() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_cq.c | 320 struct ib_wc *wc) in pvrdma_poll_one() argument 353 wc->opcode = pvrdma_wc_opcode_to_ib(cqe->opcode); in pvrdma_poll_one() 354 wc->status = pvrdma_wc_status_to_ib(cqe->status); in pvrdma_poll_one() 355 wc->wr_id = cqe->wr_id; in pvrdma_poll_one() 356 wc->qp = &(*cur_qp)->ibqp; in pvrdma_poll_one() 357 wc->byte_len = cqe->byte_len; in pvrdma_poll_one() 358 wc->ex.imm_data = cqe->imm_data; in pvrdma_poll_one() 359 wc->src_qp = cqe->src_qp; in pvrdma_poll_one() 360 wc->wc_flags = pvrdma_wc_flags_to_ib(cqe->wc_flags); in pvrdma_poll_one() 361 wc->pkey_index = cqe->pkey_index; in pvrdma_poll_one() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
D | bfa_cs.h | 253 bfa_wc_up(struct bfa_wc_s *wc) in bfa_wc_up() argument 255 wc->wc_count++; in bfa_wc_up() 259 bfa_wc_down(struct bfa_wc_s *wc) in bfa_wc_down() argument 261 wc->wc_count--; in bfa_wc_down() 262 if (wc->wc_count == 0) in bfa_wc_down() 263 wc->wc_resume(wc->wc_cbarg); in bfa_wc_down() 270 bfa_wc_init(struct bfa_wc_s *wc, bfa_wc_resume_t wc_resume, void *wc_cbarg) in bfa_wc_init() argument 272 wc->wc_resume = wc_resume; in bfa_wc_init() 273 wc->wc_cbarg = wc_cbarg; in bfa_wc_init() 274 wc->wc_count = 0; in bfa_wc_init() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | ud.c | 83 struct ib_wc wc; in ud_loopback() local 149 memset(&wc, 0, sizeof(wc)); in ud_loopback() 150 wc.byte_len = length + sizeof(struct ib_grh); in ud_loopback() 153 wc.wc_flags = IB_WC_WITH_IMM; in ud_loopback() 154 wc.ex.imm_data = swqe->wr.ex.imm_data; in ud_loopback() 179 if (unlikely(wc.byte_len > qp->r_len)) { in ud_loopback() 216 wc.wc_flags |= IB_WC_GRH; in ud_loopback() 235 wc.wr_id = qp->r_wr_id; in ud_loopback() 236 wc.status = IB_WC_SUCCESS; in ud_loopback() 237 wc.opcode = IB_WC_RECV; in ud_loopback() [all …]
|
D | uc.c | 316 struct ib_wc wc; in hfi1_uc_rcv() local 435 wc.ex.imm_data = ohdr->u.imm_data; in hfi1_uc_rcv() 436 wc.wc_flags = IB_WC_WITH_IMM; in hfi1_uc_rcv() 440 wc.ex.imm_data = 0; in hfi1_uc_rcv() 441 wc.wc_flags = 0; in hfi1_uc_rcv() 449 wc.byte_len = tlen + qp->r_rcv_len; in hfi1_uc_rcv() 450 if (unlikely(wc.byte_len > qp->r_len)) in hfi1_uc_rcv() 452 wc.opcode = IB_WC_RECV; in hfi1_uc_rcv() 456 wc.wr_id = qp->r_wr_id; in hfi1_uc_rcv() 457 wc.status = IB_WC_SUCCESS; in hfi1_uc_rcv() [all …]
|
/kernel/linux/linux-5.10/arch/c6x/platforms/ |
D | cache.c | 138 unsigned int wc = 0; in cache_block_operation() local 140 for (; wcnt; wcnt -= wc, start += wc) { in cache_block_operation() 160 wc = 0xffff; in cache_block_operation() 162 wc = wcnt; in cache_block_operation() 165 imcr_set(wc_reg, wc & 0xffff); in cache_block_operation() 183 unsigned int wc = 0; in cache_block_operation_nowait() local 185 for (; wcnt; wcnt -= wc, start += wc) { in cache_block_operation_nowait() 192 wc = 0xffff; in cache_block_operation_nowait() 194 wc = wcnt; in cache_block_operation_nowait() 197 imcr_set(wc_reg, wc & 0xffff); in cache_block_operation_nowait()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
D | frwr_ops.c | 360 static void frwr_wc_fastreg(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_fastreg() argument 362 struct ib_cqe *cqe = wc->wr_cqe; in frwr_wc_fastreg() 367 trace_xprtrdma_wc_fastreg(wc, frwr); in frwr_wc_fastreg() 370 rpcrdma_flush_disconnect(cq->cq_context, wc); in frwr_wc_fastreg() 430 static void __frwr_release_mr(struct ib_wc *wc, struct rpcrdma_mr *mr) in __frwr_release_mr() argument 432 if (wc->status != IB_WC_SUCCESS) in __frwr_release_mr() 444 static void frwr_wc_localinv(struct ib_cq *cq, struct ib_wc *wc) in frwr_wc_localinv() argument 446 struct ib_cqe *cqe = wc->wr_cqe; in frwr_wc_localinv() 452 trace_xprtrdma_wc_li(wc, frwr); in frwr_wc_localinv() 453 __frwr_release_mr(wc, mr); in frwr_wc_localinv() [all …]
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_wr.c | 81 static inline void smc_wr_tx_process_cqe(struct ib_wc *wc) in smc_wr_tx_process_cqe() argument 87 link = wc->qp->qp_context; in smc_wr_tx_process_cqe() 89 if (wc->opcode == IB_WC_REG_MR) { in smc_wr_tx_process_cqe() 90 if (wc->status) in smc_wr_tx_process_cqe() 98 pnd_snd_idx = smc_wr_tx_find_pending_index(link, wc->wr_id); in smc_wr_tx_process_cqe() 101 link->wr_tx_pends[pnd_snd_idx].wc_status = wc->status; in smc_wr_tx_process_cqe() 112 if (wc->status) { in smc_wr_tx_process_cqe() 117 pnd_snd.handler(&pnd_snd.priv, link, wc->status); in smc_wr_tx_process_cqe() 124 struct ib_wc wc[SMC_WR_MAX_POLL_CQE]; in smc_wr_tx_tasklet_fn() local 131 memset(&wc, 0, sizeof(wc)); in smc_wr_tx_tasklet_fn() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 562 void iser_login_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_login_rsp() argument 564 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_login_rsp() 566 struct iser_login_desc *desc = iser_login(wc->wr_cqe); in iser_login_rsp() 571 if (unlikely(wc->status != IB_WC_SUCCESS)) { in iser_login_rsp() 572 iser_err_comp(wc, "login_rsp"); in iser_login_rsp() 582 length = wc->byte_len - ISER_HEADERS_LEN; in iser_login_rsp() 612 struct ib_wc *wc, in iser_check_remote_inv() argument 615 if (wc->wc_flags & IB_WC_WITH_INVALIDATE) { in iser_check_remote_inv() 617 u32 rkey = wc->ex.invalidate_rkey; in iser_check_remote_inv() 654 void iser_task_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_task_rsp() argument [all …]
|
/kernel/linux/linux-5.10/sound/isa/wavefront/ |
D | wavefront_synth.c | 1508 wavefront_control *wc) in wavefront_synth_control() argument 1516 "cmd 0x%x\n", wc->cmd); in wavefront_synth_control() 1520 switch (wc->cmd) { in wavefront_synth_control() 1535 wc->rbuf[0] = dev->interrupts_are_midi; in wavefront_synth_control() 1539 dev->rom_samples_rdonly = wc->wbuf[0]; in wavefront_synth_control() 1540 wc->status = 0; in wavefront_synth_control() 1544 i = wc->wbuf[0] | (wc->wbuf[1] << 7); in wavefront_synth_control() 1548 wc->status = EINVAL; in wavefront_synth_control() 1551 wc->rbuf[0] = dev->sample_status[i]; in wavefront_synth_control() 1552 wc->status = 0; in wavefront_synth_control() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 755 struct ib_wc *wc, struct c4iw_srq *srq) in __c4iw_poll_cq_one() argument 769 wc->wr_id = cookie; in __c4iw_poll_cq_one() 770 wc->qp = qhp ? &qhp->ibqp : NULL; in __c4iw_poll_cq_one() 771 wc->vendor_err = CQE_STATUS(&cqe); in __c4iw_poll_cq_one() 772 wc->wc_flags = 0; in __c4iw_poll_cq_one() 790 wc->byte_len = CQE_LEN(&cqe); in __c4iw_poll_cq_one() 792 wc->byte_len = 0; in __c4iw_poll_cq_one() 796 wc->opcode = IB_WC_RECV; in __c4iw_poll_cq_one() 800 wc->opcode = IB_WC_RECV; in __c4iw_poll_cq_one() 801 wc->ex.invalidate_rkey = CQE_WRID_STAG(&cqe); in __c4iw_poll_cq_one() [all …]
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | extent-tree.c | 4751 struct walk_control *wc, in reada_walk_down() argument 4766 if (path->slots[wc->level] < wc->reada_slot) { in reada_walk_down() 4767 wc->reada_count = wc->reada_count * 2 / 3; in reada_walk_down() 4768 wc->reada_count = max(wc->reada_count, 2); in reada_walk_down() 4770 wc->reada_count = wc->reada_count * 3 / 2; in reada_walk_down() 4771 wc->reada_count = min_t(int, wc->reada_count, in reada_walk_down() 4775 eb = path->nodes[wc->level]; in reada_walk_down() 4778 for (slot = path->slots[wc->level]; slot < nritems; slot++) { in reada_walk_down() 4779 if (nread >= wc->reada_count) in reada_walk_down() 4786 if (slot == path->slots[wc->level]) in reada_walk_down() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func_traceonoff_triggers.tc | 26 grep -v '^#' trace | wc -l 57 x=`grep '^\.schedule$' available_filter_functions | wc -l` 75 cnt=`grep schedule set_ftrace_filter | wc -l` 110 cnt=`grep schedule set_ftrace_filter | wc -l` 122 cnt=`grep schedule set_ftrace_filter | wc -l` 140 cnt=`grep schedule set_ftrace_filter | wc -l`
|