/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_inner_feature.cpp | 110 uint8_t BundleInnerFeature::InstallInnerBundle(const uint8_t funcId, IpcIo *req, IpcIo *reply)
in InstallInnerBundle() argument 112 if ((req == nullptr) || (reply == nullptr)) {
in InstallInnerBundle() 117 char *reqPath = reinterpret_cast<char *>(ReadString(req, &length));
in InstallInnerBundle() 119 if (!(ReadRemoteObject(req, &svc))) {
in InstallInnerBundle() 129 uint8_t svcIdentityInfoRsp = GetSvcIdentityInfo(info, &svc, reqPath, req);
in InstallInnerBundle() 153 IpcIo *req)
in GetSvcIdentityInfo() 174 ReadInt32(req, &(info->installLocation));
in GetSvcIdentityInfo() 180 uint8_t BundleInnerFeature::UninstallInnerBundle(const uint8_t funcId, IpcIo *req, IpcIo *reply)
in UninstallInnerBundle() argument 182 if ((req == nullptr) || (reply == nullptr)) {
in UninstallInnerBundle() 187 char *bundleName = reinterpret_cast<char *>(ReadString(req, in UninstallInnerBundle() 152 GetSvcIdentityInfo(SvcIdentityInfo *info, const SvcIdentity *svc, const char *reqPath, IpcIo *req) GetSvcIdentityInfo() argument 231 SetExternalInstallMode(const uint8_t funcId, IpcIo *req, IpcIo *reply) SetExternalInstallMode() argument 245 SetInnerDebugMode(const uint8_t funcId, IpcIo *req, IpcIo *reply) SetInnerDebugMode() argument 259 SetInnerSignMode(const uint8_t funcId, IpcIo *req, IpcIo *reply) SetInnerSignMode() argument 274 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) Invoke() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes-xts.c | 64 struct skcipher_request *req = skcipher_request_cast(async_req); in ccp_aes_xts_complete() local 65 struct ccp_aes_req_ctx *rctx = skcipher_request_ctx(req); in ccp_aes_xts_complete() 70 memcpy(req->iv, rctx->iv, AES_BLOCK_SIZE); in ccp_aes_xts_complete() 104 static int ccp_aes_xts_crypt(struct skcipher_request *req, in ccp_aes_xts_crypt() argument 107 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ccp_aes_xts_crypt() 109 struct ccp_aes_req_ctx *rctx = skcipher_request_ctx(req); in ccp_aes_xts_crypt() 119 if (!req->iv) in ccp_aes_xts_crypt() 130 if (req->cryptlen == xts_unit_sizes[unit].size) { in ccp_aes_xts_crypt() 154 req->base.flags, in ccp_aes_xts_crypt() 155 req in ccp_aes_xts_crypt() 187 ccp_aes_xts_encrypt(struct skcipher_request *req) ccp_aes_xts_encrypt() argument 192 ccp_aes_xts_decrypt(struct skcipher_request *req) ccp_aes_xts_decrypt() argument [all...] |
/kernel/linux/linux-6.6/arch/arm64/crypto/ |
H A D | sm4-ce-gcm-glue.c | 73 static void gcm_calculate_auth_mac(struct aead_request *req, u8 ghash[]) in gcm_calculate_auth_mac() argument 75 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() 78 u32 assoclen = req->assoclen; in gcm_calculate_auth_mac() 82 scatterwalk_start(&walk, req->src); in gcm_calculate_auth_mac() 137 static int gcm_crypt(struct aead_request *req, struct skcipher_walk *walk, in gcm_crypt() argument 144 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_crypt() 151 lengths.a = cpu_to_be64(req->assoclen * 8); in gcm_crypt() 154 memcpy(iv, req->iv, GCM_IV_SIZE); in gcm_crypt() 159 if (req->assoclen) in gcm_crypt() 160 gcm_calculate_auth_mac(req, ghas in gcm_crypt() 198 gcm_encrypt(struct aead_request *req) gcm_encrypt() argument 217 gcm_decrypt(struct aead_request *req) gcm_decrypt() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes-xts.c | 64 struct skcipher_request *req = skcipher_request_cast(async_req); in ccp_aes_xts_complete() local 65 struct ccp_aes_req_ctx *rctx = skcipher_request_ctx_dma(req); in ccp_aes_xts_complete() 70 memcpy(req->iv, rctx->iv, AES_BLOCK_SIZE); in ccp_aes_xts_complete() 104 static int ccp_aes_xts_crypt(struct skcipher_request *req, in ccp_aes_xts_crypt() argument 107 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ccp_aes_xts_crypt() 109 struct ccp_aes_req_ctx *rctx = skcipher_request_ctx_dma(req); in ccp_aes_xts_crypt() 119 if (!req->iv) in ccp_aes_xts_crypt() 130 if (req->cryptlen == xts_unit_sizes[unit].size) { in ccp_aes_xts_crypt() 154 req->base.flags, in ccp_aes_xts_crypt() 155 req in ccp_aes_xts_crypt() 187 ccp_aes_xts_encrypt(struct skcipher_request *req) ccp_aes_xts_encrypt() argument 192 ccp_aes_xts_decrypt(struct skcipher_request *req) ccp_aes_xts_decrypt() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_switch.c | 25 struct npc_install_flow_req req = { 0 }; in rvu_switch_install_rx_rule() local 37 ether_addr_copy(req.packet.dmac, pfvf->mac_addr); in rvu_switch_install_rx_rule() 38 eth_broadcast_addr((u8 *)&req.mask.dmac); in rvu_switch_install_rx_rule() 39 req.hdr.pcifunc = 0; /* AF is requester */ in rvu_switch_install_rx_rule() 40 req.vf = pcifunc; in rvu_switch_install_rx_rule() 41 req.features = BIT_ULL(NPC_DMAC); in rvu_switch_install_rx_rule() 42 req.channel = pfvf->rx_chan_base; in rvu_switch_install_rx_rule() 43 req.chan_mask = chan_mask; in rvu_switch_install_rx_rule() 44 req.intf = pfvf->nix_rx_intf; in rvu_switch_install_rx_rule() 45 req in rvu_switch_install_rx_rule() 53 struct npc_install_flow_req req = { 0 }; rvu_switch_install_tx_rule() local [all...] |
/third_party/libuv/src/win/ |
H A D | internal.h | 81 int uv__tcp_write(uv_loop_t* loop, uv_write_t* req, uv_tcp_t* handle, 86 void uv__process_tcp_read_req(uv_loop_t* loop, uv_tcp_t* handle, uv_req_t* req); 88 uv_write_t* req); 90 uv_req_t* req); 92 uv_connect_t* req); 95 uv_shutdown_t* req); 112 void uv__process_udp_recv_req(uv_loop_t* loop, uv_udp_t* handle, uv_req_t* req); 114 uv_udp_send_t* req); 132 uv_write_t* req, 138 void uv__pipe_shutdown(uv_loop_t* loop, uv_pipe_t* handle, uv_shutdown_t* req); [all...] |
/third_party/libuv/test/ |
H A D | benchmark-pump.c | 190 static void write_cb(uv_write_t* req, int status) { in write_cb() argument 193 req_free((uv_req_t*) req); in write_cb() 198 do_write((uv_stream_t*) req->handle); in write_cb() 203 uv_write_t* req; in do_write() local 210 req = (uv_write_t*) req_alloc(); in do_write() 211 r = uv_write(req, stream, &buf, 1, write_cb); in do_write() 216 static void connect_cb(uv_connect_t* req, int status) { in connect_cb() argument 226 req_free((uv_req_t*) req); in connect_cb() 245 uv_connect_t* req; in maybe_connect_some() local 258 req in maybe_connect_some() 319 req_list_t* req; req_alloc() local 333 req_list_t* req = (req_list_t*) uv_req; req_free() local [all...] |
/third_party/libdrm/etnaviv/ |
H A D | etnaviv_bo.c | 103 struct drm_etnaviv_gem_new req = { in etna_bo_new() local 111 req.size = size; in etna_bo_new() 113 &req, sizeof(req)); in etna_bo_new() 118 bo = bo_from_handle(dev, size, req.handle, flags); in etna_bo_new() 136 struct drm_etnaviv_gem_info req = { in get_buffer_info() local 141 &req, sizeof(req)); in get_buffer_info() 147 bo->offset = req.offset; in get_buffer_info() 157 struct drm_gem_open req in etna_bo_from_name() local 251 struct drm_gem_flink req = { etna_bo_get_name() local 321 struct drm_etnaviv_gem_cpu_prep req = { etna_bo_cpu_prep() local 334 struct drm_etnaviv_gem_cpu_fini req = { etna_bo_cpu_fini() local [all...] |
/third_party/libfuse/example/ |
H A D | hello_ll_uds.c | 66 static void hello_ll_getattr(fuse_req_t req, fuse_ino_t ino, in hello_ll_getattr() argument 75 fuse_reply_err(req, ENOENT); in hello_ll_getattr() 77 fuse_reply_attr(req, &stbuf, 1.0); in hello_ll_getattr() 80 static void hello_ll_lookup(fuse_req_t req, fuse_ino_t parent, const char *name) in hello_ll_lookup() argument 85 fuse_reply_err(req, ENOENT); in hello_ll_lookup() 93 fuse_reply_entry(req, &e); in hello_ll_lookup() 102 static void dirbuf_add(fuse_req_t req, struct dirbuf *b, const char *name, in dirbuf_add() argument 107 b->size += fuse_add_direntry(req, NULL, 0, name, NULL, 0); in dirbuf_add() 111 fuse_add_direntry(req, b->p + oldsize, b->size - oldsize, name, &stbuf, in dirbuf_add() 117 static int reply_buf_limited(fuse_req_t req, cons argument 127 hello_ll_readdir(fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi) hello_ll_readdir() argument 146 hello_ll_open(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) hello_ll_open() argument 157 hello_ll_read(fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi) hello_ll_read() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/ |
H A D | cptvf_reqmanager.c | 123 struct cpt_request_info *req) in setup_sgio_list() 129 if (req->incnt > MAX_SG_IN_CNT || req->outcnt > MAX_SG_OUT_CNT) { in setup_sgio_list() 136 g_sz_bytes = ((req->incnt + 3) / 4) * sizeof(struct sglist_component); in setup_sgio_list() 137 info->gather_components = kzalloc(g_sz_bytes, req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in setup_sgio_list() 143 ret = setup_sgio_components(cptvf, req->in, in setup_sgio_list() 144 req->incnt, in setup_sgio_list() 153 s_sz_bytes = ((req->outcnt + 3) / 4) * sizeof(struct sglist_component); in setup_sgio_list() 154 info->scatter_components = kzalloc(s_sz_bytes, req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in setup_sgio_list() 160 ret = setup_sgio_components(cptvf, req in setup_sgio_list() 121 setup_sgio_list(struct cpt_vf *cptvf, struct cpt_info_buffer *info, struct cpt_request_info *req) setup_sgio_list() argument 275 struct cpt_request_info *req; do_request_cleanup() local 410 process_request(struct cpt_vf *cptvf, struct cpt_request_info *req) process_request() argument 558 cptvf_do_request(void *vfdev, struct cpt_request_info *req) cptvf_do_request() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/ |
H A D | cptvf_reqmanager.c | 123 struct cpt_request_info *req) in setup_sgio_list() 129 if (req->incnt > MAX_SG_IN_CNT || req->outcnt > MAX_SG_OUT_CNT) { in setup_sgio_list() 136 g_sz_bytes = ((req->incnt + 3) / 4) * sizeof(struct sglist_component); in setup_sgio_list() 137 info->gather_components = kzalloc(g_sz_bytes, req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in setup_sgio_list() 143 ret = setup_sgio_components(cptvf, req->in, in setup_sgio_list() 144 req->incnt, in setup_sgio_list() 153 s_sz_bytes = ((req->outcnt + 3) / 4) * sizeof(struct sglist_component); in setup_sgio_list() 154 info->scatter_components = kzalloc(s_sz_bytes, req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in setup_sgio_list() 160 ret = setup_sgio_components(cptvf, req in setup_sgio_list() 121 setup_sgio_list(struct cpt_vf *cptvf, struct cpt_info_buffer *info, struct cpt_request_info *req) setup_sgio_list() argument 271 struct cpt_request_info *req; do_request_cleanup() local 406 process_request(struct cpt_vf *cptvf, struct cpt_request_info *req) process_request() argument 554 cptvf_do_request(void *vfdev, struct cpt_request_info *req) cptvf_do_request() argument [all...] |
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | test_new_connection.c | 193 static void check_gzip(struct Request *req, char **nv) in check_gzip() argument 205 if(req->inflater) { in check_gzip() 208 rv = spdylay_gzip_inflate_new(&req->inflater); in check_gzip() 295 struct Request *req; in before_ctrl_send_callback() local 297 req = spdylay_session_get_stream_user_data(session, stream_id); in before_ctrl_send_callback() 298 if(req && req->stream_id == -1) { in before_ctrl_send_callback() 299 req->stream_id = stream_id; in before_ctrl_send_callback() 338 struct Request *req; in on_ctrl_recv_callback() local 360 req in on_ctrl_recv_callback() 383 struct Request *req; on_stream_close_callback() local 408 struct Request *req; on_data_chunk_recv_callback() local 594 submit_request(struct Connection *connection, struct Request *req) submit_request() argument 632 request_init(struct Request *req, const struct URI *uri) request_init() argument 642 request_free(struct Request *req) request_free() argument 659 struct Request req; fetch_uri() local [all...] |
H A D | test_notls.c | 172 static void check_gzip(struct Request *req, char **nv) in check_gzip() argument 184 if(req->inflater) { in check_gzip() 187 rv = spdylay_gzip_inflate_new(&req->inflater); in check_gzip() 292 struct Request *req; in before_ctrl_send_callback() local 294 req = spdylay_session_get_stream_user_data(session, stream_id); in before_ctrl_send_callback() 295 if(req && req->stream_id == -1) { in before_ctrl_send_callback() 296 req->stream_id = stream_id; in before_ctrl_send_callback() 335 struct Request *req; in on_ctrl_recv_callback() local 357 req in on_ctrl_recv_callback() 381 struct Request *req; on_stream_close_callback() local 406 struct Request *req; on_data_chunk_recv_callback() local 546 submit_request(struct Connection *connection, struct Request *req) submit_request() argument 584 request_init(struct Request *req, const struct URI *uri) request_init() argument 594 request_free(struct Request *req) request_free() argument 609 struct Request req; fetch_uri() local [all...] |
H A D | test_request_response.c | 175 static void check_gzip(struct Request *req, char **nv) in check_gzip() argument 187 if(req->inflater) { in check_gzip() 190 rv = spdylay_gzip_inflate_new(&req->inflater); in check_gzip() 277 struct Request *req; in before_ctrl_send_callback() local 279 req = spdylay_session_get_stream_user_data(session, stream_id); in before_ctrl_send_callback() 280 if(req && req->stream_id == -1) { in before_ctrl_send_callback() 281 req->stream_id = stream_id; in before_ctrl_send_callback() 320 struct Request *req; in on_ctrl_recv_callback() local 342 req in on_ctrl_recv_callback() 366 struct Request *req; on_stream_close_callback() local 391 struct Request *req; on_data_chunk_recv_callback() local 582 submit_request(struct Connection *connection, struct Request *req) submit_request() argument 620 request_init(struct Request *req, const struct URI *uri) request_init() argument 630 request_free(struct Request *req) request_free() argument 647 struct Request req; fetch_uri() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | atmel-tdes.c | 112 struct skcipher_request *req; member 298 if (dd->req->iv && (valmr & TDES_MR_OPMOD_MASK) != TDES_MR_OPMOD_ECB) in atmel_tdes_write_ctrl() 299 atmel_tdes_write_n(dd, TDES_IV1R, (void *)dd->req->iv, 2); in atmel_tdes_write_ctrl() 389 struct atmel_tdes_reqctx *rctx = skcipher_request_ctx(dd->req); in atmel_tdes_crypt_pdc() 432 struct atmel_tdes_reqctx *rctx = skcipher_request_ctx(dd->req); in atmel_tdes_crypt_dma() 570 struct skcipher_request *req = dd->req; in atmel_tdes_set_iv_as_last_ciphertext_block() local 571 struct atmel_tdes_reqctx *rctx = skcipher_request_ctx(req); in atmel_tdes_set_iv_as_last_ciphertext_block() 572 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in atmel_tdes_set_iv_as_last_ciphertext_block() 575 if (req in atmel_tdes_set_iv_as_last_ciphertext_block() 593 struct skcipher_request *req = dd->req; atmel_tdes_finish_req() local 606 atmel_tdes_handle_queue(struct atmel_tdes_dev *dd, struct skcipher_request *req) atmel_tdes_handle_queue() argument 689 atmel_tdes_crypt(struct skcipher_request *req, unsigned long mode) atmel_tdes_crypt() argument 828 atmel_tdes_ecb_encrypt(struct skcipher_request *req) atmel_tdes_ecb_encrypt() argument 833 atmel_tdes_ecb_decrypt(struct skcipher_request *req) atmel_tdes_ecb_decrypt() argument 838 atmel_tdes_cbc_encrypt(struct skcipher_request *req) atmel_tdes_cbc_encrypt() argument 843 atmel_tdes_cbc_decrypt(struct skcipher_request *req) atmel_tdes_cbc_decrypt() argument 847 atmel_tdes_cfb_encrypt(struct skcipher_request *req) atmel_tdes_cfb_encrypt() argument 852 atmel_tdes_cfb_decrypt(struct skcipher_request *req) atmel_tdes_cfb_decrypt() argument 857 atmel_tdes_cfb8_encrypt(struct skcipher_request *req) atmel_tdes_cfb8_encrypt() argument 862 atmel_tdes_cfb8_decrypt(struct skcipher_request *req) atmel_tdes_cfb8_decrypt() argument 867 atmel_tdes_cfb16_encrypt(struct skcipher_request *req) atmel_tdes_cfb16_encrypt() argument 872 atmel_tdes_cfb16_decrypt(struct skcipher_request *req) atmel_tdes_cfb16_decrypt() argument 877 atmel_tdes_cfb32_encrypt(struct skcipher_request *req) atmel_tdes_cfb32_encrypt() argument 882 atmel_tdes_cfb32_decrypt(struct skcipher_request *req) atmel_tdes_cfb32_decrypt() argument 887 atmel_tdes_ofb_encrypt(struct skcipher_request *req) atmel_tdes_ofb_encrypt() argument 892 atmel_tdes_ofb_decrypt(struct skcipher_request *req) atmel_tdes_ofb_decrypt() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 89 struct hpre_sqe req; member 231 struct hpre_sqe *msg = &hpre_req->req; in hpre_hw_data_init() 255 struct hpre_asym_request *req, in hpre_hw_data_clr_all() 260 struct hpre_sqe *sqe = &req->req; in hpre_hw_data_clr_all() 268 if (req->src) in hpre_hw_data_clr_all() 269 dma_free_coherent(dev, ctx->key_sz, req->src, tmp); in hpre_hw_data_clr_all() 278 if (req->dst) { in hpre_hw_data_clr_all() 280 scatterwalk_map_and_copy(req->dst, dst, 0, in hpre_hw_data_clr_all() 282 dma_free_coherent(dev, ctx->key_sz, req in hpre_hw_data_clr_all() 254 hpre_hw_data_clr_all(struct hpre_ctx *ctx, struct hpre_asym_request *req, struct scatterlist *dst, struct scatterlist *src) hpre_hw_data_clr_all() argument 291 struct hpre_asym_request *req; hpre_alg_res_post_hf() local 349 hpre_is_bd_timeout(struct hpre_asym_request *req, u64 overtime_thrhld) hpre_is_bd_timeout() argument 370 struct hpre_asym_request *req; hpre_dh_cb() local 391 struct hpre_asym_request *req; hpre_rsa_cb() local 414 struct hpre_asym_request *req = ctx->req_list[le16_to_cpu(sqe->tag)]; hpre_alg_cb() local 439 hpre_msg_request_set(struct hpre_ctx *ctx, void *req, bool is_rsa) hpre_msg_request_set() argument 514 hpre_dh_compute_value(struct kpp_request *req) hpre_dh_compute_value() argument 716 hpre_rsa_enc(struct akcipher_request *req) hpre_rsa_enc() argument 764 hpre_rsa_dec(struct akcipher_request *req) hpre_rsa_dec() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | fusb300_udc.c | 33 static void done(struct fusb300_ep *ep, struct fusb300_request *req, 251 struct fusb300_request *req; in fusb300_disable() local 259 req = list_entry(ep->queue.next, struct fusb300_request, queue); in fusb300_disable() 261 done(ep, req, -ECONNRESET); in fusb300_disable() 271 struct fusb300_request *req; in fusb300_alloc_request() local 273 req = kzalloc(sizeof(struct fusb300_request), gfp_flags); in fusb300_alloc_request() 274 if (!req) in fusb300_alloc_request() 276 INIT_LIST_HEAD(&req->queue); in fusb300_alloc_request() 278 return &req->req; in fusb300_alloc_request() 283 struct fusb300_request *req; fusb300_free_request() local 330 fusb300_wrcxf(struct fusb300_ep *ep, struct fusb300_request *req) fusb300_wrcxf() argument 399 ep0_queue(struct fusb300_ep *ep, struct fusb300_request *req) ep0_queue() argument 423 struct fusb300_request *req; fusb300_queue() local 456 struct fusb300_request *req; fusb300_dequeue() local 600 fusb300_rdfifo(struct fusb300_ep *ep, struct fusb300_request *req, u32 length) fusb300_rdfifo() argument 864 done(struct fusb300_ep *ep, struct fusb300_request *req, int status) done() argument 938 fusb300_set_idma(struct fusb300_ep *ep, struct fusb300_request *req) fusb300_set_idma() argument 961 struct fusb300_request *req = list_entry(ep->queue.next, in_ep_fifo_handler() local 972 struct fusb300_request *req = list_entry(ep->queue.next, out_ep_fifo_handler() local 1012 struct fusb300_request *req; fusb300_ep0out() local 1029 struct fusb300_request *req; fusb300_ep0in() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | fusb300_udc.c | 33 static void done(struct fusb300_ep *ep, struct fusb300_request *req, 251 struct fusb300_request *req; in fusb300_disable() local 259 req = list_entry(ep->queue.next, struct fusb300_request, queue); in fusb300_disable() 261 done(ep, req, -ECONNRESET); in fusb300_disable() 271 struct fusb300_request *req; in fusb300_alloc_request() local 273 req = kzalloc(sizeof(struct fusb300_request), gfp_flags); in fusb300_alloc_request() 274 if (!req) in fusb300_alloc_request() 276 INIT_LIST_HEAD(&req->queue); in fusb300_alloc_request() 278 return &req->req; in fusb300_alloc_request() 283 struct fusb300_request *req; fusb300_free_request() local 330 fusb300_wrcxf(struct fusb300_ep *ep, struct fusb300_request *req) fusb300_wrcxf() argument 399 ep0_queue(struct fusb300_ep *ep, struct fusb300_request *req) ep0_queue() argument 423 struct fusb300_request *req; fusb300_queue() local 456 struct fusb300_request *req; fusb300_dequeue() local 600 fusb300_rdfifo(struct fusb300_ep *ep, struct fusb300_request *req, u32 length) fusb300_rdfifo() argument 864 done(struct fusb300_ep *ep, struct fusb300_request *req, int status) done() argument 938 fusb300_set_idma(struct fusb300_ep *ep, struct fusb300_request *req) fusb300_set_idma() argument 961 struct fusb300_request *req = list_entry(ep->queue.next, in_ep_fifo_handler() local 972 struct fusb300_request *req = list_entry(ep->queue.next, out_ep_fifo_handler() local 1012 struct fusb300_request *req; fusb300_ep0out() local 1029 struct fusb300_request *req; fusb300_ep0in() local [all...] |
H A D | mv_udc_core.c | 136 actual = curr_req->req.length; in process_ep_req() 196 curr_req->req.actual = actual; in process_ep_req() 206 static void done(struct mv_ep *ep, struct mv_req *req, int status) 216 /* Removed the req from fsl_ep->queue */ 217 list_del_init(&req->queue); 219 /* req.status should be set as -EINPROGRESS in ep_queue() */ 220 if (req->req.status == -EINPROGRESS) 221 req->req 251 queue_dtd(struct mv_ep *ep, struct mv_req *req) queue_dtd() argument 334 build_dtd(struct mv_req *req, unsigned *length, dma_addr_t *dma, int *is_last) build_dtd() argument 403 req_to_dtd(struct mv_req *req) req_to_dtd() argument 598 struct mv_req *req; mv_alloc_request() local 612 struct mv_req *req = NULL; mv_free_request() local 685 struct mv_req *req = container_of(_req, struct mv_req, req); mv_ep_queue() local 749 mv_prime_ep(struct mv_ep *ep, struct mv_req *req) mv_prime_ep() argument 774 struct mv_req *req = NULL, *iter; mv_ep_dequeue() local 1305 struct mv_req *req = NULL; nuke() local 1425 struct mv_req *req = container_of(_req, struct mv_req, req); prime_status_complete() local 1445 struct mv_req *req; udc_prime_status() local 1721 ep0_req_complete(struct mv_udc *udc, struct mv_ep *ep0, struct mv_req *req) ep0_req_complete() argument [all...] |
H A D | net2272.c | 318 struct net2272_request *req; in net2272_alloc_request() local 323 req = kzalloc(sizeof(*req), gfp_flags); in net2272_alloc_request() 324 if (!req) in net2272_alloc_request() 327 INIT_LIST_HEAD(&req->queue); in net2272_alloc_request() 329 return &req->req; in net2272_alloc_request() 335 struct net2272_request *req; in net2272_free_request() local 340 req = container_of(_req, struct net2272_request, req); in net2272_free_request() 346 net2272_done(struct net2272_ep *ep, struct net2272_request *req, int status) net2272_done() argument 385 net2272_write_packet(struct net2272_ep *ep, u8 *buf, struct net2272_request *req, unsigned max) net2272_write_packet() argument 422 net2272_write_fifo(struct net2272_ep *ep, struct net2272_request *req) net2272_write_fifo() argument 493 net2272_read_packet(struct net2272_ep *ep, u8 *buf, struct net2272_request *req, unsigned avail) net2272_read_packet() argument 535 net2272_read_fifo(struct net2272_ep *ep, struct net2272_request *req) net2272_read_fifo() argument 612 struct net2272_request *req; net2272_pio_advance() local 702 net2272_kick_dma(struct net2272_ep *ep, struct net2272_request *req) net2272_kick_dma() argument 810 struct net2272_request *req; net2272_queue() local 911 struct net2272_request *req; net2272_dequeue_all() local 929 struct net2272_request *req = NULL, *iter; net2272_dequeue() local 1520 struct net2272_request *req; net2272_handle_dma() local 1598 struct net2272_request *req; net2272_handle_ep() local 1728 struct net2272_request *req; net2272_handle_stat0_irqs() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | hptiop.c | 41 struct hpt_iop_request_scsi_command *req); 48 u32 req = 0; in iop_wait_ready_itl() local 52 req = readl(&hba->u.itl.iop->inbound_queue); in iop_wait_ready_itl() 53 if (req != IOPMU_QUEUE_EMPTY) in iop_wait_ready_itl() 58 if (req != IOPMU_QUEUE_EMPTY) { in iop_wait_ready_itl() 59 writel(req, &hba->u.itl.iop->outbound_queue); in iop_wait_ready_itl() 88 u32 req; in hptiop_drain_outbound_queue_itl() local 90 while ((req = readl(&hba->u.itl.iop->outbound_queue)) != in hptiop_drain_outbound_queue_itl() 93 if (req & IOPMU_QUEUE_MASK_HOST_BITS) in hptiop_drain_outbound_queue_itl() 94 hptiop_request_callback_itl(hba, req); in hptiop_drain_outbound_queue_itl() 178 struct hpt_iop_request_scsi_command *req; hptiop_request_callback_mv() local 233 struct hpt_iop_request_scsi_command *req; hptiop_request_callback_mvfrey() local 301 struct hpt_iop_request_header __iomem *req = _req; iop_send_sync_request_itl() local 404 struct hpt_iop_request_get_config __iomem *req; iop_get_config_itl() local 431 struct hpt_iop_request_get_config *req = hba->u.mv.internal_req; iop_get_config_mv() local 476 struct hpt_iop_request_set_config __iomem *req; iop_set_config_itl() local 507 struct hpt_iop_request_set_config *req = hba->u.mv.internal_req; iop_set_config_mv() local 529 struct hpt_iop_request_set_config *req = iop_set_config_mvfrey() local 709 free_req(struct hptiop_hba *hba, struct hptiop_request *req) free_req() argument 716 hptiop_finish_scsi_req(struct hptiop_hba *hba, u32 tag, struct hpt_iop_request_scsi_command *req) hptiop_finish_scsi_req() argument 778 struct hpt_iop_request_scsi_command *req; hptiop_host_request_callback_itl() local 796 struct hpt_iop_request_header __iomem *req; hptiop_iop_request_callback_itl() local 1000 struct hpt_iop_request_scsi_command *req; hptiop_queuecommand_lck() local [all...] |
/kernel/linux/linux-6.6/drivers/block/ |
H A D | ublk_drv.c | 197 static inline unsigned int ublk_req_build_flags(struct request *req); 323 struct request *req; in ublk_report_zones() local 329 req = blk_mq_alloc_request(disk->queue, REQ_OP_DRV_IN, 0); in ublk_report_zones() 330 if (IS_ERR(req)) { in ublk_report_zones() 331 ret = PTR_ERR(req); in ublk_report_zones() 335 pdu = blk_mq_rq_to_pdu(req); in ublk_report_zones() 340 ret = blk_rq_map_kern(disk->queue, req, buffer, buffer_length, in ublk_report_zones() 343 blk_mq_free_request(req); in ublk_report_zones() 347 status = blk_execute_rq(req, 0); in ublk_report_zones() 349 blk_mq_free_request(req); in ublk_report_zones() 377 ublk_setup_iod_zoned(struct ublk_queue *ubq, struct request *req) ublk_setup_iod_zoned() argument 449 ublk_setup_iod_zoned(struct ublk_queue *ubq, struct request *req) ublk_setup_iod_zoned() argument 612 ublk_init_req_ref(const struct ublk_queue *ubq, struct request *req) ublk_init_req_ref() argument 622 ublk_get_req_ref(const struct ublk_queue *ubq, struct request *req) ublk_get_req_ref() argument 634 ublk_put_req_ref(const struct ublk_queue *ubq, struct request *req) ublk_put_req_ref() argument 818 ublk_advance_io_iter(const struct request *req, struct ublk_io_iter *iter, unsigned int offset) ublk_advance_io_iter() argument 839 ublk_copy_user_pages(const struct request *req, unsigned offset, struct iov_iter *uiter, int dir) ublk_copy_user_pages() argument 873 ublk_need_map_req(const struct request *req) ublk_need_map_req() argument 878 ublk_need_unmap_req(const struct request *req) ublk_need_unmap_req() argument 884 ublk_map_io(const struct ublk_queue *ubq, const struct request *req, struct ublk_io *io) ublk_map_io() argument 910 ublk_unmap_io(const struct ublk_queue *ubq, const struct request *req, struct ublk_io *io) ublk_unmap_io() argument 933 ublk_req_build_flags(struct request *req) ublk_req_build_flags() argument 961 ublk_setup_iod(struct ublk_queue *ubq, struct request *req) ublk_setup_iod() argument 1015 __ublk_complete_rq(struct request *req) __ublk_complete_rq() argument 1072 struct request *req = blk_mq_rq_from_pdu(data); ublk_complete_rq() local 1085 __ublk_fail_req(struct ublk_queue *ubq, struct ublk_io *io, struct request *req) __ublk_fail_req() argument 1129 __ublk_rq_task_work(struct request *req, unsigned issue_flags) __ublk_rq_task_work() argument 1399 struct request *req; ublk_commit_completion() local 1641 struct request *req = blk_mq_tag_to_rq(ub->tag_set.tags[q_id], tag); ublk_handle_need_get_data() local 1677 struct request *req; __ublk_ch_uring_cmd() local 1794 struct request *req; __ublk_check_and_get_req() local 1838 ublk_check_ubuf_dir(const struct request *req, int ubuf_dir) ublk_check_ubuf_dir() argument 1860 struct request *req; ublk_check_and_get_req() local 1907 struct request *req; ublk_ch_read_iter() local 1925 struct request *req; ublk_ch_write_iter() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | qmi.c | 1896 static void ath12k_host_cap_parse_mlo(struct qmi_wlanfw_host_cap_req_msg_v01 *req) in ath12k_host_cap_parse_mlo() argument 1898 req->mlo_capable_valid = 1; in ath12k_host_cap_parse_mlo() 1899 req->mlo_capable = 1; in ath12k_host_cap_parse_mlo() 1900 req->mlo_chip_id_valid = 1; in ath12k_host_cap_parse_mlo() 1901 req->mlo_chip_id = 0; in ath12k_host_cap_parse_mlo() 1902 req->mlo_group_id_valid = 1; in ath12k_host_cap_parse_mlo() 1903 req->mlo_group_id = 0; in ath12k_host_cap_parse_mlo() 1904 req->max_mlo_peer_valid = 1; in ath12k_host_cap_parse_mlo() 1908 req->max_mlo_peer = 32; in ath12k_host_cap_parse_mlo() 1909 req in ath12k_host_cap_parse_mlo() 1922 struct qmi_wlanfw_host_cap_req_msg_v01 req; ath12k_qmi_host_cap_send() local 2001 struct qmi_wlanfw_ind_register_req_msg_v01 *req; ath12k_qmi_fw_ind_register_send() local 2070 struct qmi_wlanfw_respond_mem_req_msg_v01 *req; ath12k_qmi_respond_fw_mem_request() local 2211 struct qmi_wlanfw_cap_req_msg_v01 req; ath12k_qmi_request_target_cap() local 2307 struct qmi_wlanfw_bdf_download_req_msg_v01 *req; ath12k_qmi_load_file_target_mem() local 2543 struct qmi_wlanfw_m3_info_req_msg_v01 req; ath12k_qmi_wlanfw_m3_info_send() local 2594 struct qmi_wlanfw_wlan_mode_req_msg_v01 req; ath12k_qmi_wlanfw_mode_send() local 2645 struct qmi_wlanfw_wlan_cfg_req_msg_v01 *req; ath12k_qmi_wlanfw_wlan_cfg_send() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | hptiop.c | 41 struct hpt_iop_request_scsi_command *req); 48 u32 req = 0; in iop_wait_ready_itl() local 52 req = readl(&hba->u.itl.iop->inbound_queue); in iop_wait_ready_itl() 53 if (req != IOPMU_QUEUE_EMPTY) in iop_wait_ready_itl() 58 if (req != IOPMU_QUEUE_EMPTY) { in iop_wait_ready_itl() 59 writel(req, &hba->u.itl.iop->outbound_queue); in iop_wait_ready_itl() 88 u32 req; in hptiop_drain_outbound_queue_itl() local 90 while ((req = readl(&hba->u.itl.iop->outbound_queue)) != in hptiop_drain_outbound_queue_itl() 93 if (req & IOPMU_QUEUE_MASK_HOST_BITS) in hptiop_drain_outbound_queue_itl() 94 hptiop_request_callback_itl(hba, req); in hptiop_drain_outbound_queue_itl() 178 struct hpt_iop_request_scsi_command *req; hptiop_request_callback_mv() local 233 struct hpt_iop_request_scsi_command *req; hptiop_request_callback_mvfrey() local 301 struct hpt_iop_request_header __iomem *req = _req; iop_send_sync_request_itl() local 404 struct hpt_iop_request_get_config __iomem *req; iop_get_config_itl() local 431 struct hpt_iop_request_get_config *req = hba->u.mv.internal_req; iop_get_config_mv() local 476 struct hpt_iop_request_set_config __iomem *req; iop_set_config_itl() local 507 struct hpt_iop_request_set_config *req = hba->u.mv.internal_req; iop_set_config_mv() local 529 struct hpt_iop_request_set_config *req = iop_set_config_mvfrey() local 709 free_req(struct hptiop_hba *hba, struct hptiop_request *req) free_req() argument 716 hptiop_finish_scsi_req(struct hptiop_hba *hba, u32 tag, struct hpt_iop_request_scsi_command *req) hptiop_finish_scsi_req() argument 779 struct hpt_iop_request_scsi_command *req; hptiop_host_request_callback_itl() local 797 struct hpt_iop_request_header __iomem *req; hptiop_iop_request_callback_itl() local 1002 struct hpt_iop_request_scsi_command *req; hptiop_queuecommand_lck() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | cn10k_macsec.c | 53 struct skcipher_request *req = NULL; in cn10k_ecb_aes_encrypt() local 65 req = skcipher_request_alloc(tfm, GFP_KERNEL); in cn10k_ecb_aes_encrypt() 66 if (!req) { in cn10k_ecb_aes_encrypt() 82 skcipher_request_set_callback(req, 0, crypto_req_done, &wait); in cn10k_ecb_aes_encrypt() 83 skcipher_request_set_crypt(req, &sg_src, &sg_dst, in cn10k_ecb_aes_encrypt() 86 err = crypto_skcipher_encrypt(req); in cn10k_ecb_aes_encrypt() 90 skcipher_request_free(req); in cn10k_ecb_aes_encrypt() 145 struct mcs_alloc_rsrc_req *req; in cn10k_mcs_alloc_rsrc() local 151 req = otx2_mbox_alloc_msg_mcs_alloc_resources(mbox); in cn10k_mcs_alloc_rsrc() 152 if (!req) in cn10k_mcs_alloc_rsrc() 205 struct mcs_free_rsrc_req *req; cn10k_mcs_free_rsrc() local 262 struct mcs_secy_plcy_write_req *req; cn10k_mcs_write_rx_secy() local 316 struct mcs_flowid_entry_write_req *req; cn10k_mcs_write_rx_flowid() local 384 cn10k_mcs_write_keys(struct otx2_nic *pfvf, struct macsec_secy *secy, struct mcs_sa_plcy_write_req *req, u8 *sak, u8 *salt, ssci_t ssci) cn10k_mcs_write_keys() argument 474 struct mcs_pn_table_write_req *req; cn10k_mcs_write_rx_sa_pn() local 501 struct mcs_secy_plcy_write_req *req; cn10k_mcs_write_tx_secy() local 583 struct mcs_flowid_entry_write_req *req; cn10k_mcs_write_tx_flowid() local 699 struct mcs_pn_table_write_req *req; cn10k_write_tx_sa_pn() local 725 struct mcs_flowid_ena_dis_entry *req; cn10k_mcs_ena_dis_flowid() local 754 struct mcs_stats_req *req; cn10k_mcs_sa_stats() local 809 struct mcs_stats_req *req; cn10k_mcs_sc_stats() local 865 struct mcs_stats_req *req; cn10k_mcs_secy_stats() local 1771 struct mcs_intr_cfg *req; cn10k_mcs_init() local [all...] |