| /linux/fs/netfs/ |
| H A D | read_pgpriv2.c | 19 static void netfs_pgpriv2_copy_folio(struct netfs_io_request *creq, struct folio *folio) in netfs_pgpriv2_copy_folio() argument 21 struct netfs_io_stream *cache = &creq->io_streams[1]; in netfs_pgpriv2_copy_folio() 32 i_size = i_size_read(creq->inode); in netfs_pgpriv2_copy_folio() 41 if (fpos + fsize > creq->i_size) in netfs_pgpriv2_copy_folio() 42 creq->i_size = i_size; in netfs_pgpriv2_copy_folio() 56 if (rolling_buffer_append(&creq->buffer, folio, 0, creq->gfp) < 0) { in netfs_pgpriv2_copy_folio() 58 clear_bit(NETFS_RREQ_FOLIO_COPY_TO_CACHE, &creq->flags); in netfs_pgpriv2_copy_folio() 74 creq->buffer.iter.iov_offset = cache->submit_off; in netfs_pgpriv2_copy_folio() 76 atomic64_set(&creq->issued_to, fpos + cache->submit_off); in netfs_pgpriv2_copy_folio() 78 part = netfs_advance_write(creq, cache, fpos + cache->submit_off, in netfs_pgpriv2_copy_folio() [all …]
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | qplib_rcfw.c | 168 bnxt_qplib_service_creq(&rcfw->creq.creq_tasklet); in __wait_for_resp() 209 bnxt_qplib_service_creq(&rcfw->creq.creq_tasklet); in __block_for_resp() 406 bnxt_qplib_service_creq(&rcfw->creq.creq_tasklet); in __poll_for_resp() 615 rc = rcfw->creq.aeq_handler(rcfw, (void *)func_event, NULL); in bnxt_qplib_process_func_event() 648 rc = rcfw->creq.aeq_handler(rcfw, qp_event, qp); in bnxt_qplib_process_qp_event() 735 struct bnxt_qplib_rcfw *rcfw = from_tasklet(rcfw, t, creq.creq_tasklet); in bnxt_qplib_service_creq() 736 struct bnxt_qplib_creq_ctx *creq = &rcfw->creq; in bnxt_qplib_service_creq() local 738 struct bnxt_qplib_hwq *hwq = &creq->hwq; in bnxt_qplib_service_creq() 747 if (!CREQ_CMP_VALID(creqe, creq->creq_db.dbinfo.flags)) in bnxt_qplib_service_creq() 761 creq->stats.creq_qp_event_processed++; in bnxt_qplib_service_creq() [all …]
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_req.h | 213 struct se_crypto_request creq; member 623 struct se_crypto_request *creq = &nkreq->creq; in alloc_src_req_buf() local 625 nkreq->src = alloc_req_buf(nents, ivsize, creq->gfp); in alloc_src_req_buf() 648 struct se_crypto_request *creq = &nkreq->creq; in nitrox_creq_set_src_sg() local 650 creq->src = nitrox_creq_src_sg(iv, ivsize); in nitrox_creq_set_src_sg() 651 sg = creq->src; in nitrox_creq_set_src_sg() 670 struct se_crypto_request *creq = &nkreq->creq; in alloc_dst_req_buf() local 672 nkreq->dst = alloc_req_buf(nents, extralen, creq->gfp); in alloc_dst_req_buf() 681 struct se_crypto_request *creq = &nkreq->creq; in nitrox_creq_set_orh() local 683 creq->orh = (u64 *)(nkreq->dst); in nitrox_creq_set_orh() [all …]
|
| H A D | nitrox_aead.c | 153 struct se_crypto_request *creq = &rctx->nkreq.creq; in nitrox_set_creq() local 157 creq->flags = rctx->flags; in nitrox_set_creq() 158 creq->gfp = (rctx->flags & CRYPTO_TFM_REQ_MAY_SLEEP) ? GFP_KERNEL : in nitrox_set_creq() 161 creq->ctrl.value = 0; in nitrox_set_creq() 162 creq->opcode = FLEXI_CRYPTO_ENCRYPT_HMAC; in nitrox_set_creq() 163 creq->ctrl.s.arg = rctx->ctrl_arg; in nitrox_set_creq() 165 creq->gph.param0 = cpu_to_be16(rctx->cryptlen); in nitrox_set_creq() 166 creq->gph.param1 = cpu_to_be16(rctx->cryptlen + rctx->assoclen); in nitrox_set_creq() 167 creq->gph.param2 = cpu_to_be16(rctx->ivsize + rctx->assoclen); in nitrox_set_creq() 170 creq->gph.param3 = cpu_to_be16(param3.param); in nitrox_set_creq() [all …]
|
| H A D | nitrox_skcipher.c | 92 if (nkreq->creq.ctrl.s.arg == ENCRYPT) { in nitrox_cbc_cipher_callback() 253 struct se_crypto_request *creq; in nitrox_skcipher_crypt() local 256 creq = &nkreq->creq; in nitrox_skcipher_crypt() 257 creq->flags = skreq->base.flags; in nitrox_skcipher_crypt() 258 creq->gfp = (skreq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ? in nitrox_skcipher_crypt() 262 creq->ctrl.value = 0; in nitrox_skcipher_crypt() 263 creq->opcode = FLEXI_CRYPTO_ENCRYPT_HMAC; in nitrox_skcipher_crypt() 264 creq->ctrl.s.arg = (enc ? ENCRYPT : DECRYPT); in nitrox_skcipher_crypt() 266 creq->gph.param0 = cpu_to_be16(skreq->cryptlen); in nitrox_skcipher_crypt() 267 creq->gph.param1 = 0; in nitrox_skcipher_crypt() [all …]
|
| H A D | nitrox_reqmgr.c | 214 struct se_crypto_request *creq) in softreq_map_iobuf() argument 218 ret = dma_map_inbufs(sr, creq); in softreq_map_iobuf() 222 ret = dma_map_outbufs(sr, creq); in softreq_map_iobuf()
|
| /linux/tools/net/ynl/samples/ |
| H A D | ethtool.c | |
| /linux/drivers/infiniband/hw/bng_re/ |
| H A D | bng_dev.c | 264 bng_re_net_ring_free(rdev, rdev->rcfw.creq.ring_id, in bng_re_dev_uninit() 279 struct bng_re_creq_ctx *creq; in bng_re_dev_init() local 334 creq = &rdev->rcfw.creq; in bng_re_dev_init() 335 rattr.dma_arr = creq->hwq.pbl[BNG_PBL_LVL_0].pg_map_arr; in bng_re_dev_init() 336 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bng_re_dev_init() 341 rc = bng_re_net_ring_alloc(rdev, &rattr, &creq->ring_id); in bng_re_dev_init() 393 bng_re_net_ring_free(rdev, rdev->rcfw.creq.ring_id, type); in bng_re_dev_init()
|
| H A D | bng_fw.h | 121 struct bng_re_creq_ctx creq; member
|
| /linux/drivers/crypto/ccree/ |
| H A D | cc_request_mgr.c | 47 struct cc_crypto_req creq; member 348 struct cc_crypto_req *creq; in cc_proc_backlog() local 362 creq = &bli->creq; in cc_proc_backlog() 363 req = creq->user_arg; in cc_proc_backlog() 370 creq->user_cb(dev, req, -EINPROGRESS); in cc_proc_backlog() 387 cc_do_send_request(drvdata, &bli->creq, bli->desc, bli->len, in cc_proc_backlog() 435 memcpy(&bli->creq, cc_req, sizeof(*cc_req)); in cc_send_request()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_surface.c | 1451 rep->creq = rep_ext.creq.base; in vmw_gb_surface_reference_ioctl() 1737 rep->creq.base.svga3d_flags = SVGA3D_FLAGS_LOWER_32(metadata->flags); in vmw_gb_surface_reference_internal() 1738 rep->creq.base.format = metadata->format; in vmw_gb_surface_reference_internal() 1739 rep->creq.base.mip_levels = metadata->mip_levels[0]; in vmw_gb_surface_reference_internal() 1740 rep->creq.base.drm_surface_flags = 0; in vmw_gb_surface_reference_internal() 1741 rep->creq.base.multisample_count = metadata->multisample_count; in vmw_gb_surface_reference_internal() 1742 rep->creq.base.autogen_filter = metadata->autogen_filter; in vmw_gb_surface_reference_internal() 1743 rep->creq.base.array_size = metadata->array_size; in vmw_gb_surface_reference_internal() 1744 rep->creq.base.buffer_handle = backup_handle; in vmw_gb_surface_reference_internal() 1745 rep->creq.base.base_size = metadata->base_size; in vmw_gb_surface_reference_internal() [all …]
|
| /linux/net/wireless/ |
| H A D | scan.c | 3544 struct cfg80211_scan_request_int *creq; in cfg80211_wext_siwscan() local 3574 creq = kzalloc(struct_size(creq, req.channels, n_channels) + in cfg80211_wext_siwscan() 3577 if (!creq) in cfg80211_wext_siwscan() 3580 creq->req.wiphy = wiphy; in cfg80211_wext_siwscan() 3581 creq->req.wdev = dev->ieee80211_ptr; in cfg80211_wext_siwscan() 3583 creq->req.ssids = (void *)creq + in cfg80211_wext_siwscan() 3584 struct_size(creq, req.channels, n_channels); in cfg80211_wext_siwscan() 3585 creq->req.n_channels = n_channels; in cfg80211_wext_siwscan() 3586 creq->req.n_ssids = 1; in cfg80211_wext_siwscan() 3587 creq->req.scan_start = jiffies; in cfg80211_wext_siwscan() [all …]
|
| /linux/include/trace/events/ |
| H A D | netfs.h | 575 const struct netfs_io_request *creq), 577 TP_ARGS(rreq, creq), 581 __field(unsigned int, creq) 590 __entry->creq = creq->debug_id; 597 __entry->creq,
|
| /linux/include/uapi/drm/ |
| H A D | vmwgfx_drm.h | 1011 struct drm_vmw_gb_surface_create_req creq; member 1218 struct drm_vmw_gb_surface_create_ext_req creq; member
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_tc.c | 350 struct nix_mcast_grp_create_req *creq; in otx2_tc_update_mcast() local 356 creq = otx2_mbox_alloc_msg_nix_mcast_grp_create(&nic->mbox); in otx2_tc_update_mcast() 357 if (!creq) { in otx2_tc_update_mcast() 362 creq->dir = NIX_MCAST_INGRESS; in otx2_tc_update_mcast() 372 &creq->hdr); in otx2_tc_update_mcast()
|