Home
last modified time | relevance | path

Searched refs:req (Results 826 - 850 of 5417) sorted by relevance

1...<<31323334353637383940>>...217

/third_party/musl/src/malloc/
H A Dlite_malloc.c63 size_t req = n - (end-cur) + PAGE_SIZE-1 & -PAGE_SIZE; in __simple_malloc() local
71 if (brk == end && req < SIZE_MAX-brk in __simple_malloc()
72 && !traverses_stack_p(brk, brk+req) in __simple_malloc()
73 && __syscall(SYS_brk, brk+req)==brk+req) { in __simple_malloc()
74 brk = end += req; in __simple_malloc()
77 req = n + PAGE_SIZE-1 & -PAGE_SIZE; in __simple_malloc()
80 if (req-n > req/8) { in __simple_malloc()
85 if (req < mi in __simple_malloc()
[all...]
/third_party/musl/porting/linux/user/src/malloc/
H A Dlite_malloc.c63 size_t req = n - (end-cur) + PAGE_SIZE-1 & -PAGE_SIZE; in __simple_malloc() local
71 if (brk == end && req < SIZE_MAX-brk in __simple_malloc()
72 && !traverses_stack_p(brk, brk+req) in __simple_malloc()
73 && __syscall(SYS_brk, brk+req)==brk+req) { in __simple_malloc()
74 brk = end += req; in __simple_malloc()
77 req = n + PAGE_SIZE-1 & -PAGE_SIZE; in __simple_malloc()
80 if (req-n > req/8) { in __simple_malloc()
85 if (req < mi in __simple_malloc()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/axis/
H A Dartpec6_crypto.c284 struct crypto_async_request *req; member
285 void (*complete)(struct crypto_async_request *req);
364 artpec6_crypto_complete_crypto(struct crypto_async_request *req);
366 artpec6_crypto_complete_cbc_encrypt(struct crypto_async_request *req);
368 artpec6_crypto_complete_cbc_decrypt(struct crypto_async_request *req);
370 artpec6_crypto_complete_aead(struct crypto_async_request *req);
372 artpec6_crypto_complete_hash(struct crypto_async_request *req);
456 static int artpec6_crypto_submit(struct artpec6_crypto_req_common *req) in artpec6_crypto_submit() argument
464 list_add_tail(&req->list, &ac->pending); in artpec6_crypto_submit()
465 artpec6_crypto_start_dma(req); in artpec6_crypto_submit()
1038 artpec6_crypto_common_init(struct artpec6_crypto_req_common *common, struct crypto_async_request *parent, void (*complete)(struct crypto_async_request *req), struct scatterlist *dstsg, unsigned int nbytes) artpec6_crypto_common_init() argument
1085 artpec6_crypto_encrypt(struct skcipher_request *req) artpec6_crypto_encrypt() argument
1130 artpec6_crypto_decrypt(struct skcipher_request *req) artpec6_crypto_decrypt() argument
1176 artpec6_crypto_ctr_crypt(struct skcipher_request *req, bool encrypt) artpec6_crypto_ctr_crypt() argument
1222 artpec6_crypto_ctr_encrypt(struct skcipher_request *req) artpec6_crypto_ctr_encrypt() argument
1227 artpec6_crypto_ctr_decrypt(struct skcipher_request *req) artpec6_crypto_ctr_decrypt() argument
1261 artpec6_crypto_aead_encrypt(struct aead_request *req) artpec6_crypto_aead_encrypt() argument
1282 artpec6_crypto_aead_decrypt(struct aead_request *req) artpec6_crypto_aead_decrypt() argument
2043 struct artpec6_crypto_req_common *req; artpec6_crypto_process_queue() local
2080 struct artpec6_crypto_req_common *req; artpec6_crypto_task() local
2149 artpec6_crypto_complete_crypto(struct crypto_async_request *req) artpec6_crypto_complete_crypto() argument
2155 artpec6_crypto_complete_cbc_decrypt(struct crypto_async_request *req) artpec6_crypto_complete_cbc_decrypt() argument
2167 artpec6_crypto_complete_cbc_encrypt(struct crypto_async_request *req) artpec6_crypto_complete_cbc_encrypt() argument
2178 artpec6_crypto_complete_aead(struct crypto_async_request *req) artpec6_crypto_complete_aead() argument
2216 artpec6_crypto_complete_hash(struct crypto_async_request *req) artpec6_crypto_complete_hash() argument
2257 artpec6_crypto_init_hash(struct ahash_request *req, u8 type, int hmac) artpec6_crypto_init_hash() argument
2290 artpec6_crypto_prepare_submit_hash(struct ahash_request *req) artpec6_crypto_prepare_submit_hash() argument
2323 artpec6_crypto_hash_final(struct ahash_request *req) artpec6_crypto_hash_final() argument
2332 artpec6_crypto_hash_update(struct ahash_request *req) artpec6_crypto_hash_update() argument
2341 artpec6_crypto_sha1_init(struct ahash_request *req) artpec6_crypto_sha1_init() argument
2346 artpec6_crypto_sha1_digest(struct ahash_request *req) artpec6_crypto_sha1_digest() argument
2357 artpec6_crypto_sha256_init(struct ahash_request *req) artpec6_crypto_sha256_init() argument
2362 artpec6_crypto_sha256_digest(struct ahash_request *req) artpec6_crypto_sha256_digest() argument
2372 artpec6_crypto_hmac_sha256_init(struct ahash_request *req) artpec6_crypto_hmac_sha256_init() argument
2377 artpec6_crypto_hmac_sha256_digest(struct ahash_request *req) artpec6_crypto_hmac_sha256_digest() argument
2432 artpec6_crypto_hash_export(struct ahash_request *req, void *out) artpec6_crypto_hash_export() argument
2460 artpec6_crypto_hash_import(struct ahash_request *req, const void *in) artpec6_crypto_hash_import() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/
H A Datmel-tdes.c112 struct skcipher_request *req; member
290 if (dd->req->iv && (valmr & TDES_MR_OPMOD_MASK) != TDES_MR_OPMOD_ECB) in atmel_tdes_write_ctrl()
291 atmel_tdes_write_n(dd, TDES_IV1R, (void *)dd->req->iv, 2); in atmel_tdes_write_ctrl()
379 struct atmel_tdes_reqctx *rctx = skcipher_request_ctx(dd->req); in atmel_tdes_crypt_pdc()
422 struct atmel_tdes_reqctx *rctx = skcipher_request_ctx(dd->req); in atmel_tdes_crypt_dma()
560 struct skcipher_request *req = dd->req; in atmel_tdes_set_iv_as_last_ciphertext_block() local
561 struct atmel_tdes_reqctx *rctx = skcipher_request_ctx(req); in atmel_tdes_set_iv_as_last_ciphertext_block()
562 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in atmel_tdes_set_iv_as_last_ciphertext_block()
565 if (req in atmel_tdes_set_iv_as_last_ciphertext_block()
578 struct skcipher_request *req = dd->req; atmel_tdes_finish_req() local
591 atmel_tdes_handle_queue(struct atmel_tdes_dev *dd, struct skcipher_request *req) atmel_tdes_handle_queue() argument
673 atmel_tdes_crypt(struct skcipher_request *req, unsigned long mode) atmel_tdes_crypt() argument
816 atmel_tdes_ecb_encrypt(struct skcipher_request *req) atmel_tdes_ecb_encrypt() argument
821 atmel_tdes_ecb_decrypt(struct skcipher_request *req) atmel_tdes_ecb_decrypt() argument
826 atmel_tdes_cbc_encrypt(struct skcipher_request *req) atmel_tdes_cbc_encrypt() argument
831 atmel_tdes_cbc_decrypt(struct skcipher_request *req) atmel_tdes_cbc_decrypt() argument
835 atmel_tdes_cfb_encrypt(struct skcipher_request *req) atmel_tdes_cfb_encrypt() argument
840 atmel_tdes_cfb_decrypt(struct skcipher_request *req) atmel_tdes_cfb_decrypt() argument
845 atmel_tdes_cfb8_encrypt(struct skcipher_request *req) atmel_tdes_cfb8_encrypt() argument
850 atmel_tdes_cfb8_decrypt(struct skcipher_request *req) atmel_tdes_cfb8_decrypt() argument
855 atmel_tdes_cfb16_encrypt(struct skcipher_request *req) atmel_tdes_cfb16_encrypt() argument
860 atmel_tdes_cfb16_decrypt(struct skcipher_request *req) atmel_tdes_cfb16_decrypt() argument
865 atmel_tdes_cfb32_encrypt(struct skcipher_request *req) atmel_tdes_cfb32_encrypt() argument
870 atmel_tdes_cfb32_decrypt(struct skcipher_request *req) atmel_tdes_cfb32_decrypt() argument
875 atmel_tdes_ofb_encrypt(struct skcipher_request *req) atmel_tdes_ofb_encrypt() argument
880 atmel_tdes_ofb_decrypt(struct skcipher_request *req) atmel_tdes_ofb_decrypt() argument
[all...]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_screen_ioctl.c110 c_arg.req = (vgpu10 ? drm_vmw_context_dx : drm_vmw_context_legacy); in vmw_ioctl_extended_context_create()
147 struct drm_vmw_surface_create_req *req = &s_arg.req; in vmw_ioctl_surface_create() local
159 req->flags = (uint32_t) flags; in vmw_ioctl_surface_create()
160 req->scanout = !!(usage & SVGA_SURFACE_USAGE_SCANOUT); in vmw_ioctl_surface_create()
161 req->format = (uint32_t) format; in vmw_ioctl_surface_create()
162 req->shareable = !!(usage & SVGA_SURFACE_USAGE_SHARED); in vmw_ioctl_surface_create()
170 req->mip_levels[iFace] = numMipLevels; in vmw_ioctl_surface_create()
182 req->mip_levels[iFace] = 0; in vmw_ioctl_surface_create()
185 req in vmw_ioctl_surface_create()
232 struct drm_vmw_gb_surface_create_ext_req *req = &s_arg.ext_arg.req; vmw_ioctl_gb_surface_create() local
280 struct drm_vmw_gb_surface_create_req *req = &s_arg.arg.req; vmw_ioctl_gb_surface_create() local
349 vmw_ioctl_surface_req(const struct vmw_winsys_screen *vws, const struct winsys_handle *whandle, struct drm_vmw_surface_arg *req, boolean *needs_unref) vmw_ioctl_surface_req() argument
426 struct drm_vmw_surface_arg *req = &s_arg.req; vmw_ioctl_gb_surface_ref() local
454 struct drm_vmw_surface_arg *req = &s_arg.req; vmw_ioctl_gb_surface_ref() local
616 struct drm_vmw_alloc_dmabuf_req *req = &arg.req; vmw_ioctl_region_create() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c4221 struct hwrm_func_qstats_ext_input *req; in bnxt_hwrm_func_qstat_ext() local
4229 rc = hwrm_req_init(bp, req, HWRM_FUNC_QSTATS_EXT); in bnxt_hwrm_func_qstat_ext()
4233 req->fid = cpu_to_le16(0xffff); in bnxt_hwrm_func_qstat_ext()
4234 req->flags = FUNC_QSTATS_EXT_REQ_FLAGS_COUNTER_MASK; in bnxt_hwrm_func_qstat_ext()
4236 resp = hwrm_req_hold(bp, req); in bnxt_hwrm_func_qstat_ext()
4237 rc = hwrm_req_send(bp, req); in bnxt_hwrm_func_qstat_ext()
4242 hwrm_req_drop(bp, req); in bnxt_hwrm_func_qstat_ext()
4712 struct hwrm_func_drv_rgtr_input *req; in bnxt_hwrm_func_drv_rgtr() local
4716 rc = hwrm_req_init(bp, req, HWRM_FUNC_DRV_RGTR); in bnxt_hwrm_func_drv_rgtr()
4720 req in bnxt_hwrm_func_drv_rgtr()
4803 struct hwrm_func_drv_unrgtr_input *req; bnxt_hwrm_func_drv_unrgtr() local
4817 struct hwrm_tunnel_dst_port_free_input *req; bnxt_hwrm_tunnel_dst_port_free() local
4859 struct hwrm_tunnel_dst_port_alloc_input *req; bnxt_hwrm_tunnel_dst_port_alloc() local
4898 struct hwrm_cfa_l2_set_rx_mask_input *req; bnxt_hwrm_cfa_l2_set_rx_mask() local
4919 struct hwrm_cfa_ntuple_filter_free_input *req; bnxt_hwrm_cfa_ntuple_filter_free() local
4953 struct hwrm_cfa_ntuple_filter_alloc_input *req; bnxt_hwrm_cfa_ntuple_filter_alloc() local
5024 struct hwrm_cfa_l2_filter_alloc_input *req; bnxt_hwrm_set_vnic_filter() local
5059 struct hwrm_cfa_l2_filter_free_input *req; bnxt_hwrm_clear_vnic_filter() local
5086 struct hwrm_vnic_tpa_cfg_input *req; bnxt_hwrm_vnic_set_tpa() local
5275 __bnxt_hwrm_vnic_set_rss(struct bnxt *bp, struct hwrm_vnic_rss_cfg_input *req, struct bnxt_vnic_info *vnic) __bnxt_hwrm_vnic_set_rss() argument
5300 struct hwrm_vnic_rss_cfg_input *req; bnxt_hwrm_vnic_set_rss() local
5320 struct hwrm_vnic_rss_cfg_input *req; bnxt_hwrm_vnic_set_rss_p5() local
5356 struct hwrm_vnic_rss_qcfg_input *req; bnxt_hwrm_update_rss_hash_cfg() local
5375 struct hwrm_vnic_plcmodes_cfg_input *req; bnxt_hwrm_vnic_set_hds() local
5402 struct hwrm_vnic_rss_cos_lb_ctx_free_input *req; bnxt_hwrm_vnic_ctx_free_one() local
5432 struct hwrm_vnic_rss_cos_lb_ctx_alloc_input *req; bnxt_hwrm_vnic_ctx_alloc() local
5459 struct hwrm_vnic_cfg_input *req; bnxt_hwrm_vnic_cfg() local
5533 struct hwrm_vnic_free_input *req; bnxt_hwrm_vnic_free_one() local
5561 struct hwrm_vnic_alloc_input *req; bnxt_hwrm_vnic_alloc() local
5599 struct hwrm_vnic_qcaps_input *req; bnxt_hwrm_vnic_qcaps() local
5647 struct hwrm_ring_grp_alloc_input *req; bnxt_hwrm_ring_grp_alloc() local
5681 struct hwrm_ring_grp_free_input *req; bnxt_hwrm_ring_grp_free() local
5708 struct hwrm_ring_alloc_input *req; hwrm_ring_alloc_send_msg() local
5826 struct hwrm_func_cfg_input *req; bnxt_hwrm_set_async_event_cr() local
5837 struct hwrm_func_vf_cfg_input *req; bnxt_hwrm_set_async_event_cr() local
6019 struct hwrm_ring_free_input *req; hwrm_ring_free_send_msg() local
6155 struct hwrm_func_qcfg_input *req; bnxt_hwrm_get_rings() local
6210 struct hwrm_func_qcfg_input *req; __bnxt_hwrm_get_tx_rings() local
6236 struct hwrm_func_cfg_input *req; __bnxt_hwrm_reserve_pf_rings() local
6289 struct hwrm_func_vf_cfg_input *req; __bnxt_hwrm_reserve_vf_rings() local
6333 struct hwrm_func_cfg_input *req; bnxt_hwrm_reserve_pf_rings() local
6360 struct hwrm_func_vf_cfg_input *req; bnxt_hwrm_reserve_vf_rings() local
6574 struct hwrm_func_vf_cfg_input *req; bnxt_hwrm_check_vf_rings() local
6599 struct hwrm_func_cfg_input *req; bnxt_hwrm_check_pf_rings() local
6641 struct hwrm_ring_aggint_qcaps_input *req; bnxt_hwrm_coal_params_qcaps() local
6691 bnxt_hwrm_set_coal_params(struct bnxt *bp, struct bnxt_coal *hw_coal, struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req) bnxt_hwrm_set_coal_params() argument
6750 struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req; __bnxt_hwrm_set_coal_nq() local
6807 *req; bnxt_hwrm_set_coal() local
6868 struct hwrm_stat_ctx_free_input *req; bnxt_hwrm_stat_ctx_free() local
6910 struct hwrm_stat_ctx_alloc_input *req; bnxt_hwrm_stat_ctx_alloc() local
6945 struct hwrm_func_qcfg_input *req; bnxt_hwrm_func_qcfg() local
7057 struct hwrm_func_backing_store_qcaps_input *req; bnxt_hwrm_func_backing_store_qcaps() local
7164 struct hwrm_func_backing_store_cfg_input *req; bnxt_hwrm_func_backing_store_cfg() local
7549 struct hwrm_func_resource_qcaps_input *req; bnxt_hwrm_func_resc_qcaps() local
7607 struct hwrm_port_mac_ptp_qcfg_input *req; __bnxt_hwrm_ptp_qcfg() local
7671 struct hwrm_func_qcaps_input *req; __bnxt_hwrm_func_qcaps() local
7779 struct hwrm_dbg_qcaps_input *req; bnxt_hwrm_dbg_qcaps() local
7833 struct hwrm_cfa_adv_flow_mgnt_qcaps_input *req; bnxt_hwrm_cfa_adv_flow_mgnt_qcaps() local
8007 struct hwrm_error_recovery_qcfg_input *req; bnxt_hwrm_error_recovery_qcfg() local
8070 struct hwrm_func_reset_input *req; bnxt_hwrm_func_reset() local
8095 struct hwrm_queue_qportcfg_input *req; bnxt_hwrm_queue_qportcfg() local
8145 struct hwrm_ver_get_input *req; bnxt_hwrm_poll() local
8164 struct hwrm_ver_get_input *req; bnxt_hwrm_ver_get() local
8284 struct hwrm_fw_set_time_input *req; bnxt_hwrm_fw_set_time() local
8392 struct hwrm_port_qstats_input *req; bnxt_hwrm_port_qstats() local
8573 struct hwrm_func_cfg_input *req; bnxt_hwrm_set_br_mode() local
8596 struct hwrm_func_cfg_input *req; bnxt_hwrm_set_cache_line_size() local
9586 struct hwrm_port_phy_qcaps_input *req; bnxt_hwrm_phy_qcaps() local
9650 struct hwrm_port_phy_qcfg_input *req; bnxt_update_link() local
9812 bnxt_hwrm_set_pause_common(struct bnxt *bp, struct hwrm_port_phy_cfg_input *req) bnxt_hwrm_set_pause_common() argument
9839 bnxt_hwrm_set_link_common(struct bnxt *bp, struct hwrm_port_phy_cfg_input *req) bnxt_hwrm_set_link_common() argument
9871 struct hwrm_port_phy_cfg_input *req; bnxt_hwrm_set_pause() local
9900 bnxt_hwrm_set_eee(struct bnxt *bp, struct hwrm_port_phy_cfg_input *req) bnxt_hwrm_set_eee() argument
9925 struct hwrm_port_phy_cfg_input *req; bnxt_hwrm_set_link_setting() local
9944 struct hwrm_port_phy_cfg_input *req; bnxt_hwrm_shutdown_link() local
10058 struct hwrm_func_drv_if_change_input *req; bnxt_hwrm_if_change() local
10147 struct hwrm_port_led_qcaps_input *req; bnxt_hwrm_port_led_qcaps() local
10190 struct hwrm_wol_filter_alloc_input *req; bnxt_hwrm_alloc_wol_fltr() local
10212 struct hwrm_wol_filter_free_input *req; bnxt_hwrm_free_wol_fltr() local
10229 struct hwrm_wol_filter_qcfg_input *req; bnxt_hwrm_get_wol_fltrs() local
10273 struct hwrm_temp_monitor_query_input *req; bnxt_show_temp() local
10308 struct hwrm_temp_monitor_query_input *req; bnxt_hwmon_open() local
10769 struct hwrm_port_phy_mdio_read_input *req; bnxt_hwrm_port_phy_read() local
10800 struct hwrm_port_phy_mdio_write_input *req; bnxt_hwrm_port_phy_write() local
11091 struct hwrm_cfa_l2_filter_free_input *req; bnxt_cfg_rx_mode() local
11494 struct hwrm_dbg_read_direct_input *req; bnxt_dbg_hwrm_rd_reg() local
11533 struct hwrm_dbg_ring_info_get_input *req; bnxt_dbg_hwrm_ring_info_get() local
11606 struct hwrm_ring_reset_input *req; bnxt_hwrm_rx_ring_reset() local
12050 struct hwrm_func_echo_response_input *req; bnxt_fw_echo_reply() local
12443 struct hwrm_func_qcfg_input *req; bnxt_hwrm_reset_permitted() local
12476 struct hwrm_fw_reset_input *req; bnxt_reset_all() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/ccp/
H A Dccp-crypto-aes-cmac.c26 struct ahash_request *req = ahash_request_cast(async_req); in ccp_aes_cmac_complete() local
27 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_aes_cmac_complete()
28 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_aes_cmac_complete()
46 if (req->result && rctx->final) in ccp_aes_cmac_complete()
47 memcpy(req->result, rctx->iv, digest_size); in ccp_aes_cmac_complete()
55 static int ccp_do_cmac_update(struct ahash_request *req, unsigned int nbytes, in ccp_do_cmac_update() argument
58 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_cmac_update()
60 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_do_cmac_update()
78 scatterwalk_map_and_copy(rctx->buf + rctx->buf_count, req->src, in ccp_do_cmac_update()
85 rctx->src = req in ccp_do_cmac_update()
183 ccp_aes_cmac_init(struct ahash_request *req) ccp_aes_cmac_init() argument
194 ccp_aes_cmac_update(struct ahash_request *req) ccp_aes_cmac_update() argument
199 ccp_aes_cmac_final(struct ahash_request *req) ccp_aes_cmac_final() argument
204 ccp_aes_cmac_finup(struct ahash_request *req) ccp_aes_cmac_finup() argument
209 ccp_aes_cmac_digest(struct ahash_request *req) ccp_aes_cmac_digest() argument
220 ccp_aes_cmac_export(struct ahash_request *req, void *out) ccp_aes_cmac_export() argument
239 ccp_aes_cmac_import(struct ahash_request *req, const void *in) ccp_aes_cmac_import() argument
[all...]
/kernel/linux/linux-6.6/drivers/mmc/core/
H A Dqueue.c44 struct request *req) in mmc_cqe_issue_type()
46 switch (req_op(req)) { in mmc_cqe_issue_type()
60 enum mmc_issue_type mmc_issue_type(struct mmc_queue *mq, struct request *req) in mmc_issue_type() argument
65 return mmc_cqe_issue_type(host, req); in mmc_issue_type()
67 if (req_op(req) == REQ_OP_READ || req_op(req) == REQ_OP_WRITE) in mmc_issue_type()
85 struct request *req = mmc_queue_req_to_req(mqrq); in mmc_cqe_recovery_notifier() local
86 struct request_queue *q = req->q; in mmc_cqe_recovery_notifier()
95 static enum blk_eh_timer_return mmc_cqe_timed_out(struct request *req) in mmc_cqe_timed_out() argument
97 struct mmc_queue_req *mqrq = req_to_mmc_queue_req(req); in mmc_cqe_timed_out()
43 mmc_cqe_issue_type(struct mmc_host *host, struct request *req) mmc_cqe_issue_type() argument
120 mmc_mq_timed_out(struct request *req) mmc_mq_timed_out() argument
203 mmc_mq_init_request(struct blk_mq_tag_set *set, struct request *req, unsigned int hctx_idx, unsigned int numa_node) mmc_mq_init_request() argument
218 mmc_mq_exit_request(struct blk_mq_tag_set *set, struct request *req, unsigned int hctx_idx) mmc_mq_exit_request() argument
230 struct request *req = bd->rq; mmc_mq_queue_rq() local
521 struct request *req = mmc_queue_req_to_req(mqrq); mmc_queue_map_sg() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/ccp/
H A Dccp-crypto-aes-cmac.c26 struct ahash_request *req = ahash_request_cast(async_req); in ccp_aes_cmac_complete() local
27 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_aes_cmac_complete()
28 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_aes_cmac_complete()
46 if (req->result && rctx->final) in ccp_aes_cmac_complete()
47 memcpy(req->result, rctx->iv, digest_size); in ccp_aes_cmac_complete()
55 static int ccp_do_cmac_update(struct ahash_request *req, unsigned int nbytes, in ccp_do_cmac_update() argument
58 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_cmac_update()
60 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_do_cmac_update()
78 scatterwalk_map_and_copy(rctx->buf + rctx->buf_count, req->src, in ccp_do_cmac_update()
85 rctx->src = req in ccp_do_cmac_update()
183 ccp_aes_cmac_init(struct ahash_request *req) ccp_aes_cmac_init() argument
194 ccp_aes_cmac_update(struct ahash_request *req) ccp_aes_cmac_update() argument
199 ccp_aes_cmac_final(struct ahash_request *req) ccp_aes_cmac_final() argument
204 ccp_aes_cmac_finup(struct ahash_request *req) ccp_aes_cmac_finup() argument
209 ccp_aes_cmac_digest(struct ahash_request *req) ccp_aes_cmac_digest() argument
220 ccp_aes_cmac_export(struct ahash_request *req, void *out) ccp_aes_cmac_export() argument
239 ccp_aes_cmac_import(struct ahash_request *req, const void *in) ccp_aes_cmac_import() argument
[all...]
/kernel/linux/linux-6.6/sound/xen/
H A Dxen_snd_front_evtchnl.c34 rp = channel->u.req.ring.sring->rsp_prod; in evtchnl_interrupt_req()
43 for (i = channel->u.req.ring.rsp_cons; i != rp; i++) { in evtchnl_interrupt_req()
44 resp = RING_GET_RESPONSE(&channel->u.req.ring, i); in evtchnl_interrupt_req()
53 channel->u.req.resp_status = resp->status; in evtchnl_interrupt_req()
54 complete(&channel->u.req.completion); in evtchnl_interrupt_req()
57 channel->u.req.resp_status = resp->status; in evtchnl_interrupt_req()
58 channel->u.req.resp.hw_param = in evtchnl_interrupt_req()
60 complete(&channel->u.req.completion); in evtchnl_interrupt_req()
71 channel->u.req.ring.rsp_cons = i; in evtchnl_interrupt_req()
72 if (i != channel->u.req in evtchnl_interrupt_req()
[all...]
/third_party/mesa3d/src/freedreno/drm/virtio/
H A Dvirtio_device.c104 struct msm_ccmd_set_debuginfo_req *req; in set_debuginfo() local
106 unsigned req_len = align(sizeof(*req) + comm_len + cmdline_len, 4); in set_debuginfo()
108 req = malloc(req_len); in set_debuginfo()
110 req->hdr = MSM_CCMD(SET_DEBUGINFO, req_len); in set_debuginfo()
111 req->comm_len = comm_len; in set_debuginfo()
112 req->cmdline_len = cmdline_len; in set_debuginfo()
114 memcpy(&req->payload[0], comm, comm_len); in set_debuginfo()
115 memcpy(&req->payload[comm_len], cmdline, cmdline_len); in set_debuginfo()
117 virtio_execbuf(dev, &req->hdr, false); in set_debuginfo()
119 free(req); in set_debuginfo()
216 virtio_alloc_rsp(struct fd_device *dev, struct msm_ccmd_req *req, uint32_t sz) virtio_alloc_rsp() argument
282 virtio_execbuf_fenced(struct fd_device *dev, struct msm_ccmd_req *req, uint32_t *handles, uint32_t num_handles, int in_fence_fd, int *out_fence_fd, int ring_idx) virtio_execbuf_fenced() argument
332 virtio_execbuf(struct fd_device *dev, struct msm_ccmd_req *req, bool sync) virtio_execbuf() argument
374 virtio_host_sync(struct fd_device *dev, const struct msm_ccmd_req *req) virtio_host_sync() argument
396 struct msm_ccmd_ioctl_simple_req *req = (void *)buf; virtio_simple_ioctl() local
[all...]
/third_party/mesa3d/src/asahi/lib/
H A Dwrap.c85 const struct agx_allocate_resource_req *req = inputStruct; in wrap_Method() local
87 req2->mode = (req->mode & 0x800) | 0x430; in wrap_Method()
89 bool suballocated = req->mode & 0x800; in wrap_Method()
92 printf(" Mode: 0x%X%s\n", req->mode & ~0x800, in wrap_Method()
94 printf(" CPU fixed: 0x%" PRIx64 "\n", req->cpu_fixed); in wrap_Method()
95 printf(" CPU fixed (parent): 0x%" PRIx64 "\n", req->cpu_fixed_parent); in wrap_Method()
96 printf(" Size: 0x%X\n", req->size); in wrap_Method()
97 printf(" Flags: 0x%X\n", req->flags); in wrap_Method()
100 printf(" Parent: %u\n", req->parent); in wrap_Method()
102 assert(req in wrap_Method()
137 const struct agx_submit_cmdbuf_req *req = inputStruct; wrap_Method() local
203 const struct agx_allocate_resource_req *req = inputStruct; wrap_Method() local
[all...]
/third_party/nghttp2/src/
H A Dshrpx_mruby_module_request.cc53 const auto &req = downstream->request(); in request_get_http_version_major() local
54 return mrb_fixnum_value(req.http_major); in request_get_http_version_major()
62 const auto &req = downstream->request(); in request_get_http_version_minor() local
63 return mrb_fixnum_value(req.http_minor); in request_get_http_version_minor()
71 const auto &req = downstream->request(); in request_get_method() local
72 auto method = http2::to_method_string(req.method); in request_get_method()
82 auto &req = downstream->request(); in request_set_method() local
98 req.method = token; in request_set_method()
108 const auto &req = downstream->request(); in request_get_authority() local
110 return mrb_str_new(mrb, req in request_get_authority()
118 auto &req = downstream->request(); request_set_authority() local
142 const auto &req = downstream->request(); request_get_scheme() local
152 auto &req = downstream->request(); request_set_scheme() local
176 const auto &req = downstream->request(); request_get_path() local
186 auto &req = downstream->request(); request_set_path() local
207 const auto &req = downstream->request(); request_get_headers() local
216 auto &req = downstream->request(); request_mod_header() local
302 auto &req = downstream->request(); request_clear_headers() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Dlpc32xx_udc.c176 struct usb_request req; member
476 struct lpc32xx_request *req; in proc_ep_show() local
488 list_for_each_entry(req, &ep->queue, queue) { in proc_ep_show()
489 u32 length = req->req.actual; in proc_ep_show()
492 &req->req, length, in proc_ep_show()
493 req->req.length, req in proc_ep_show()
978 struct lpc32xx_request *req; udc_ep_in_req_dma() local
1004 struct lpc32xx_request *req; udc_ep_out_req_dma() local
1398 done(struct lpc32xx_ep *ep, struct lpc32xx_request *req, int status) done() argument
1427 struct lpc32xx_request *req; nuke() local
1443 struct lpc32xx_request *req; udc_ep0_in_req() local
1481 struct lpc32xx_request *req; udc_ep0_out_req() local
1709 struct lpc32xx_request *req; lpc32xx_ep_alloc_request() local
1726 struct lpc32xx_request *req; lpc32xx_ep_free_request() local
1737 struct lpc32xx_request *req; lpc32xx_ep_queue() local
1834 struct lpc32xx_request *req; lpc32xx_ep_dequeue() local
1935 struct lpc32xx_request *req; udc_handle_eps() local
1983 struct lpc32xx_request *req; udc_handle_dma_ep() local
2188 u16 wIndex, wValue, reqtype, req, tmp; udc_handle_ep0_setup() local
[all...]
/kernel/linux/linux-6.6/fs/ceph/
H A Daddr.c244 static void finish_netfs_read(struct ceph_osd_request *req) in finish_netfs_read() argument
246 struct inode *inode = req->r_inode; in finish_netfs_read()
248 struct ceph_osd_data *osd_data = osd_req_op_extent_osd_data(req, 0); in finish_netfs_read()
249 struct netfs_io_subrequest *subreq = req->r_priv; in finish_netfs_read()
250 struct ceph_osd_req_op *op = &req->r_ops[0]; in finish_netfs_read()
251 int err = req->r_result; in finish_netfs_read()
254 ceph_update_read_metrics(&fsc->mdsc->metric, req->r_start_latency, in finish_netfs_read()
255 req->r_end_latency, osd_data->length, err); in finish_netfs_read()
257 dout("%s: result %d subreq->len=%zu i_size=%lld\n", __func__, req->r_result, in finish_netfs_read()
258 subreq->len, i_size_read(req in finish_netfs_read()
297 struct ceph_mds_request *req; ceph_netfs_issue_op_inline() local
352 struct ceph_osd_request *req = NULL; ceph_netfs_issue_read() local
669 struct ceph_osd_request *req; writepage_nounlock() local
828 writepages_finish(struct ceph_osd_request *req) writepages_finish() argument
936 struct ceph_osd_request *req = NULL; ceph_writepages_start() local
1827 struct ceph_osd_request *req = NULL; ceph_uninline_data() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-dbgcap.c134 static void xhci_dbc_giveback(struct dbc_request *req, int status)
138 struct xhci_dbc *dbc = req->dbc;
141 list_del_init(&req->list_pending);
142 req->trb_dma = 0;
143 req->trb = NULL;
145 if (req->status == -EINPROGRESS)
146 req->status = status;
148 trace_xhci_dbc_giveback_request(req); variable
151 req->dma,
152 req
161 xhci_dbc_flush_single_request(struct dbc_request *req) xhci_dbc_flush_single_request() argument
176 struct dbc_request *req, *tmp; xhci_dbc_flush_endpoint_requests() local
191 struct dbc_request *req; dbc_alloc_request() local
215 dbc_free_request(struct dbc_request *req) dbc_free_request() argument
245 xhci_dbc_queue_bulk_tx(struct dbc_ep *dep, struct dbc_request *req) xhci_dbc_queue_bulk_tx() argument
295 dbc_ep_do_queue(struct dbc_request *req) dbc_ep_do_queue() argument
332 dbc_ep_queue(struct dbc_request *req) dbc_ep_queue() argument
690 struct dbc_request *req = NULL, *r; dbc_handle_xfer_event() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-dbgcap.c134 static void xhci_dbc_giveback(struct dbc_request *req, int status)
138 struct xhci_dbc *dbc = req->dbc;
141 list_del_init(&req->list_pending);
142 req->trb_dma = 0;
143 req->trb = NULL;
145 if (req->status == -EINPROGRESS)
146 req->status = status;
148 trace_xhci_dbc_giveback_request(req); variable
151 req->dma,
152 req
161 xhci_dbc_flush_single_request(struct dbc_request *req) xhci_dbc_flush_single_request() argument
176 struct dbc_request *req, *tmp; xhci_dbc_flush_endpoint_requests() local
191 struct dbc_request *req; dbc_alloc_request() local
215 dbc_free_request(struct dbc_request *req) dbc_free_request() argument
245 xhci_dbc_queue_bulk_tx(struct dbc_ep *dep, struct dbc_request *req) xhci_dbc_queue_bulk_tx() argument
295 dbc_ep_do_queue(struct dbc_request *req) dbc_ep_do_queue() argument
332 dbc_ep_queue(struct dbc_request *req) dbc_ep_queue() argument
690 struct dbc_request *req = NULL, *r; dbc_handle_xfer_event() local
[all...]
/kernel/linux/linux-6.6/net/9p/
H A Dtrans_virtio.c132 struct p9_req_t *req; in req_done() local
139 while ((req = virtqueue_get_buf(chan->vq, &len)) != NULL) { in req_done()
146 req->rc.size = len; in req_done()
147 p9_client_cb(chan->client, req, REQ_STATUS_RCVD); in req_done()
193 static int p9_virtio_cancel(struct p9_client *client, struct p9_req_t *req) in p9_virtio_cancel() argument
198 /* Reply won't come, so drop req ref */
199 static int p9_virtio_cancelled(struct p9_client *client, struct p9_req_t *req) in p9_virtio_cancelled() argument
201 p9_req_put(client, req); in p9_virtio_cancelled()
250 * @req: request to be issued
255 p9_virtio_request(struct p9_client *client, struct p9_req_t *req) in p9_virtio_request() argument
380 handle_rerror(struct p9_req_t *req, int in_hdr_len, size_t offs, struct page **pages) handle_rerror() argument
421 p9_virtio_zc_request(struct p9_client *client, struct p9_req_t *req, struct iov_iter *uidata, struct iov_iter *uodata, int inlen, int outlen, int in_hdr_len) p9_virtio_zc_request() argument
[all...]
/third_party/node/test/internet/
H A Dtest-dns-ipv4.js38 function checkWrap(req) {
39 assert.ok(typeof req === 'object');
53 const req = dns.resolve4(
60 checkWrap(req);
75 const req = dns.reverse(
82 checkWrap(req);
93 const req = dns.lookup(
100 checkWrap(req);
111 const req = dns.lookup(
118 checkWrap(req);
[all...]
/kernel/linux/linux-5.10/drivers/crypto/stm32/
H A Dstm32-cryp.c138 struct skcipher_request *req; member
290 struct skcipher_request *req = cryp->req; in stm32_cryp_get_iv() local
291 __be32 *tmp = (void *)req->iv; in stm32_cryp_get_iv()
602 stm32_cryp_hw_write_iv(cryp, (__be32 *)cryp->req->iv); in stm32_cryp_hw_init()
632 crypto_finalize_skcipher_request(cryp->engine, cryp->req, in stm32_cryp_finish_req()
677 static int stm32_cryp_crypt(struct skcipher_request *req, unsigned long mode) in stm32_cryp_crypt() argument
680 crypto_skcipher_reqtfm(req)); in stm32_cryp_crypt()
681 struct stm32_cryp_reqctx *rctx = skcipher_request_ctx(req); in stm32_cryp_crypt()
689 return crypto_transfer_skcipher_request_to_engine(cryp->engine, req); in stm32_cryp_crypt()
692 stm32_cryp_aead_crypt(struct aead_request *req, unsigned long mode) stm32_cryp_aead_crypt() argument
794 stm32_cryp_aes_ecb_encrypt(struct skcipher_request *req) stm32_cryp_aes_ecb_encrypt() argument
805 stm32_cryp_aes_ecb_decrypt(struct skcipher_request *req) stm32_cryp_aes_ecb_decrypt() argument
816 stm32_cryp_aes_cbc_encrypt(struct skcipher_request *req) stm32_cryp_aes_cbc_encrypt() argument
827 stm32_cryp_aes_cbc_decrypt(struct skcipher_request *req) stm32_cryp_aes_cbc_decrypt() argument
838 stm32_cryp_aes_ctr_encrypt(struct skcipher_request *req) stm32_cryp_aes_ctr_encrypt() argument
846 stm32_cryp_aes_ctr_decrypt(struct skcipher_request *req) stm32_cryp_aes_ctr_decrypt() argument
854 stm32_cryp_aes_gcm_encrypt(struct aead_request *req) stm32_cryp_aes_gcm_encrypt() argument
859 stm32_cryp_aes_gcm_decrypt(struct aead_request *req) stm32_cryp_aes_gcm_decrypt() argument
873 stm32_cryp_aes_ccm_encrypt(struct aead_request *req) stm32_cryp_aes_ccm_encrypt() argument
884 stm32_cryp_aes_ccm_decrypt(struct aead_request *req) stm32_cryp_aes_ccm_decrypt() argument
895 stm32_cryp_des_ecb_encrypt(struct skcipher_request *req) stm32_cryp_des_ecb_encrypt() argument
906 stm32_cryp_des_ecb_decrypt(struct skcipher_request *req) stm32_cryp_des_ecb_decrypt() argument
917 stm32_cryp_des_cbc_encrypt(struct skcipher_request *req) stm32_cryp_des_cbc_encrypt() argument
928 stm32_cryp_des_cbc_decrypt(struct skcipher_request *req) stm32_cryp_des_cbc_decrypt() argument
939 stm32_cryp_tdes_ecb_encrypt(struct skcipher_request *req) stm32_cryp_tdes_ecb_encrypt() argument
950 stm32_cryp_tdes_ecb_decrypt(struct skcipher_request *req) stm32_cryp_tdes_ecb_decrypt() argument
961 stm32_cryp_tdes_cbc_encrypt(struct skcipher_request *req) stm32_cryp_tdes_cbc_encrypt() argument
972 stm32_cryp_tdes_cbc_decrypt(struct skcipher_request *req) stm32_cryp_tdes_cbc_decrypt() argument
983 stm32_cryp_prepare_req(struct skcipher_request *req, struct aead_request *areq) stm32_cryp_prepare_req() argument
1071 struct skcipher_request *req = container_of(areq, stm32_cryp_prepare_cipher_req() local
1080 struct skcipher_request *req = container_of(areq, stm32_cryp_cipher_one_req() local
1095 struct aead_request *req = container_of(areq, struct aead_request, stm32_cryp_prepare_aead_req() local
1103 struct aead_request *req = container_of(areq, struct aead_request, stm32_cryp_aead_one_req() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Dlpc32xx_udc.c175 struct usb_request req; member
475 struct lpc32xx_request *req; in proc_ep_show() local
487 list_for_each_entry(req, &ep->queue, queue) { in proc_ep_show()
488 u32 length = req->req.actual; in proc_ep_show()
491 &req->req, length, in proc_ep_show()
492 req->req.length, req in proc_ep_show()
977 struct lpc32xx_request *req; udc_ep_in_req_dma() local
1003 struct lpc32xx_request *req; udc_ep_out_req_dma() local
1397 done(struct lpc32xx_ep *ep, struct lpc32xx_request *req, int status) done() argument
1426 struct lpc32xx_request *req; nuke() local
1442 struct lpc32xx_request *req; udc_ep0_in_req() local
1480 struct lpc32xx_request *req; udc_ep0_out_req() local
1708 struct lpc32xx_request *req; lpc32xx_ep_alloc_request() local
1725 struct lpc32xx_request *req; lpc32xx_ep_free_request() local
1736 struct lpc32xx_request *req; lpc32xx_ep_queue() local
1833 struct lpc32xx_request *req = NULL, *iter; lpc32xx_ep_dequeue() local
1936 struct lpc32xx_request *req; udc_handle_eps() local
1984 struct lpc32xx_request *req; udc_handle_dma_ep() local
2189 u16 wIndex, wValue, reqtype, req, tmp; udc_handle_ep0_setup() local
[all...]
H A Dpch_udc.c381 * @req: embedded ep request
391 struct usb_request req; member
1419 * @req: Reference to the request structure
1422 static void complete_req(struct pch_udc_ep *ep, struct pch_udc_request *req,
1430 list_del_init(&req->queue);
1433 if (req->req.status == -EINPROGRESS)
1434 req->req.status = status;
1436 status = req
1455 struct pch_udc_request *req; empty_req_queue() local
1473 pch_udc_free_dma_chain(struct pch_udc_dev *dev, struct pch_udc_request *req) pch_udc_free_dma_chain() argument
1504 pch_udc_create_dma_chain(struct pch_udc_ep *ep, struct pch_udc_request *req, unsigned long buf_len, gfp_t gfp_flags) pch_udc_create_dma_chain() argument
1560 prepare_dma(struct pch_udc_ep *ep, struct pch_udc_request *req, gfp_t gfp) prepare_dma() argument
1583 process_zlp(struct pch_udc_ep *ep, struct pch_udc_request *req) process_zlp() argument
1609 pch_udc_start_rxrequest(struct pch_udc_ep *ep, struct pch_udc_request *req) pch_udc_start_rxrequest() argument
1714 struct pch_udc_request *req; pch_udc_alloc_request() local
1754 struct pch_udc_request *req; pch_udc_free_request() local
1791 struct pch_udc_request *req; pch_udc_pcd_queue() local
1861 struct pch_udc_request *req; pch_udc_pcd_dequeue() local
2015 struct pch_udc_request *req; pch_udc_start_next_txrequest() local
2054 struct pch_udc_request *req; pch_udc_complete_transfer() local
2094 struct pch_udc_request *req; pch_udc_complete_receiver() local
2202 struct pch_udc_request *req = NULL; pch_udc_svc_data_out() local
[all...]
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Dwmt-sdmmc.c201 struct mmc_request *req; member
296 struct mmc_request *req; in wmt_complete_data_request() local
297 req = priv->req; in wmt_complete_data_request()
299 req->data->bytes_xfered = req->data->blksz * req->data->blocks; in wmt_complete_data_request()
302 if (req->data->flags & MMC_DATA_WRITE) in wmt_complete_data_request()
303 dma_unmap_sg(mmc_dev(priv->mmc), req->data->sg, in wmt_complete_data_request()
304 req in wmt_complete_data_request()
559 wmt_mci_request(struct mmc_host *mmc, struct mmc_request *req) wmt_mci_request() argument
[all...]
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dwmt-sdmmc.c200 struct mmc_request *req; member
295 struct mmc_request *req; in wmt_complete_data_request() local
296 req = priv->req; in wmt_complete_data_request()
298 req->data->bytes_xfered = req->data->blksz * req->data->blocks; in wmt_complete_data_request()
301 if (req->data->flags & MMC_DATA_WRITE) in wmt_complete_data_request()
302 dma_unmap_sg(mmc_dev(priv->mmc), req->data->sg, in wmt_complete_data_request()
303 req in wmt_complete_data_request()
558 wmt_mci_request(struct mmc_host *mmc, struct mmc_request *req) wmt_mci_request() argument
[all...]
/kernel/linux/linux-6.6/drivers/virt/coco/sev-guest/
H A Dsev-guest.c64 } req; member
218 struct aead_request *req; in enc_dec_message() local
221 req = aead_request_alloc(crypto->tfm, GFP_KERNEL); in enc_dec_message()
222 if (!req) in enc_dec_message()
243 aead_request_set_ad(req, AAD_LEN); in enc_dec_message()
244 aead_request_set_tfm(req, crypto->tfm); in enc_dec_message()
245 aead_request_set_callback(req, 0, crypto_req_done, &wait); in enc_dec_message()
247 aead_request_set_crypt(req, src, dst, len, crypto->iv); in enc_dec_message()
248 ret = crypto_wait_req(enc ? crypto_aead_encrypt(req) : crypto_aead_decrypt(req), in enc_dec_message()
283 struct snp_guest_msg *req = &snp_dev->secret_request; verify_and_dec_payload() local
316 struct snp_guest_msg *req = &snp_dev->secret_request; enc_payload() local
481 struct snp_report_req *req = &snp_dev->req.report; get_report() local
519 struct snp_derived_key_req *req = &snp_dev->req.derived_key; get_derived_key() local
560 struct snp_ext_report_req *req = &snp_dev->req.ext_report; get_ext_report() local
[all...]

Completed in 47 milliseconds

1...<<31323334353637383940>>...217