/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
H A D | setsockopt09.c | 48 struct tpacket_req3 req = { in run() local 56 req.tp_block_nr = 256; in run() 57 req.tp_frame_nr = req.tp_block_size * req.tp_block_nr; in run() 58 req.tp_frame_nr /= req.tp_frame_size; in run() 73 SAFE_SETSOCKOPT(sock, SOL_PACKET, PACKET_RX_RING, &req, in run() 74 sizeof(req)); in run() 75 req in run() [all...] |
/third_party/node/deps/uv/src/ |
H A D | uv-data-getter-setters.c | 65 uv_req_type uv_req_get_type(const uv_req_t* req) { in uv_req_get_type() argument 66 return req->type; in uv_req_get_type() 69 void* uv_req_get_data(const uv_req_t* req) { in uv_req_get_data() argument 70 return req->data; in uv_req_get_data() 73 void uv_req_set_data(uv_req_t* req, void* data) { in uv_req_set_data() argument 74 req->data = data; in uv_req_set_data() 93 uv_fs_type uv_fs_get_type(const uv_fs_t* req) { in uv_fs_get_type() argument 94 return req->fs_type; in uv_fs_get_type() 97 ssize_t uv_fs_get_result(const uv_fs_t* req) { in uv_fs_get_result() argument 98 return req in uv_fs_get_result() 101 uv_fs_get_ptr(const uv_fs_t* req) uv_fs_get_ptr() argument 105 uv_fs_get_path(const uv_fs_t* req) uv_fs_get_path() argument 109 uv_fs_get_statbuf(uv_fs_t* req) uv_fs_get_statbuf() argument [all...] |
/foundation/multimedia/camera_lite/services/server/include/ |
H A D | camera_server.h | 29 static void CameraServerRequestHandle(int funcId, void *origin, IpcIo *req, IpcIo *reply); 31 void GetCameraAbility(IpcIo *req, IpcIo *reply); 32 void GetCameraInfo(IpcIo *req, IpcIo *reply); 33 void GetCameraIdList(IpcIo *req, IpcIo *reply); 34 void CreateCamera(IpcIo *req, IpcIo *reply); 35 void CloseCamera(IpcIo *req, IpcIo *reply); 36 void SetCameraConfig(IpcIo *req, IpcIo *reply); 37 void SetFrameConfig(IpcIo *req, IpcIo *reply); 38 void TriggerLoopingCapture(IpcIo *req, IpcIo *reply); 39 void StopLoopingCapture(IpcIo *req, IpcI [all...] |
/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | acompress.h | 39 int (*compress)(struct acomp_req *req); 40 int (*decompress)(struct acomp_req *req); 56 static inline void *acomp_request_ctx(struct acomp_req *req) in acomp_request_ctx() argument 58 return req->__ctx; in acomp_request_ctx() 66 static inline void acomp_request_complete(struct acomp_req *req, in acomp_request_complete() argument 69 crypto_request_complete(&req->base, err); in acomp_request_complete() 74 struct acomp_req *req; in __acomp_request_alloc() local 76 req = kzalloc(sizeof(*req) + crypto_acomp_reqsize(tfm), GFP_KERNEL); in __acomp_request_alloc() 77 if (likely(req)) in __acomp_request_alloc() 82 __acomp_request_free(struct acomp_req *req) __acomp_request_free() argument [all...] |
/kernel/linux/linux-5.10/arch/arm64/crypto/ |
H A D | aes-glue.c | 173 static int __maybe_unused ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() argument 175 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() 181 err = skcipher_walk_virt(&walk, req, false); in ecb_encrypt() 193 static int __maybe_unused ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() argument 195 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() 201 err = skcipher_walk_virt(&walk, req, false); in ecb_decrypt() 213 static int cbc_encrypt_walk(struct skcipher_request *req, in cbc_encrypt_walk() argument 216 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt_walk() 231 static int __maybe_unused cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() argument 236 err = skcipher_walk_virt(&walk, req, fals in cbc_encrypt() 242 cbc_decrypt_walk(struct skcipher_request *req, struct skcipher_walk *walk) cbc_decrypt_walk() argument 260 cbc_decrypt(struct skcipher_request *req) cbc_decrypt() argument 271 cts_cbc_encrypt(struct skcipher_request *req) cts_cbc_encrypt() argument 328 cts_cbc_decrypt(struct skcipher_request *req) cts_cbc_decrypt() argument 401 essiv_cbc_encrypt(struct skcipher_request *req) essiv_cbc_encrypt() argument 423 essiv_cbc_decrypt(struct skcipher_request *req) essiv_cbc_decrypt() argument 445 ctr_encrypt(struct skcipher_request *req) ctr_encrypt() argument 499 ctr_encrypt_sync(struct skcipher_request *req) ctr_encrypt_sync() argument 507 xts_encrypt(struct skcipher_request *req) xts_encrypt() argument 579 xts_decrypt(struct skcipher_request *req) xts_decrypt() argument [all...] |
/kernel/linux/linux-6.6/arch/arm64/crypto/ |
H A D | aes-glue.c | 179 static int __maybe_unused ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() argument 181 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() 187 err = skcipher_walk_virt(&walk, req, false); in ecb_encrypt() 199 static int __maybe_unused ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() argument 201 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() 207 err = skcipher_walk_virt(&walk, req, false); in ecb_decrypt() 219 static int cbc_encrypt_walk(struct skcipher_request *req, in cbc_encrypt_walk() argument 222 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt_walk() 237 static int __maybe_unused cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() argument 242 err = skcipher_walk_virt(&walk, req, fals in cbc_encrypt() 248 cbc_decrypt_walk(struct skcipher_request *req, struct skcipher_walk *walk) cbc_decrypt_walk() argument 266 cbc_decrypt(struct skcipher_request *req) cbc_decrypt() argument 277 cts_cbc_encrypt(struct skcipher_request *req) cts_cbc_encrypt() argument 334 cts_cbc_decrypt(struct skcipher_request *req) cts_cbc_decrypt() argument 407 essiv_cbc_encrypt(struct skcipher_request *req) essiv_cbc_encrypt() argument 429 essiv_cbc_decrypt(struct skcipher_request *req) essiv_cbc_decrypt() argument 451 xctr_encrypt(struct skcipher_request *req) xctr_encrypt() argument 497 ctr_encrypt(struct skcipher_request *req) ctr_encrypt() argument 541 xts_encrypt(struct skcipher_request *req) xts_encrypt() argument 613 xts_decrypt(struct skcipher_request *req) xts_decrypt() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 118 static inline int sec_alloc_queue_id(struct sec_ctx *ctx, struct sec_req *req) in sec_alloc_queue_id() argument 120 if (req->c_req.encrypt) in sec_alloc_queue_id() 128 static inline void sec_free_queue_id(struct sec_ctx *ctx, struct sec_req *req) in sec_free_queue_id() argument 130 if (req->c_req.encrypt) in sec_free_queue_id() 136 static int sec_alloc_req_id(struct sec_req *req, struct sec_qp_ctx *qp_ctx) in sec_alloc_req_id() argument 144 dev_err(req->ctx->dev, "alloc req id fail!\n"); in sec_alloc_req_id() 148 req->qp_ctx = qp_ctx; in sec_alloc_req_id() 149 qp_ctx->req_list[req_id] = req; in sec_alloc_req_id() 154 static void sec_free_req_id(struct sec_req *req) in sec_free_req_id() argument 200 sec_cb_status_check(struct sec_req *req, struct bd_status *status) sec_cb_status_check() argument 237 struct sec_req *req; sec_req_cb() local 274 sec_bd_send(struct sec_ctx *ctx, struct sec_req *req) sec_bd_send() argument 890 sec_cipher_pbuf_map(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src) sec_cipher_pbuf_map() argument 928 sec_cipher_pbuf_unmap(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *dst) sec_cipher_pbuf_unmap() argument 948 sec_aead_mac_init(struct sec_aead_req *req) sec_aead_mac_init() argument 968 sec_cipher_map(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src, struct scatterlist *dst) sec_cipher_map() argument 1037 sec_cipher_unmap(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src, struct scatterlist *dst) sec_cipher_unmap() argument 1053 sec_skcipher_sgl_map(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_sgl_map() argument 1060 sec_skcipher_sgl_unmap(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_sgl_unmap() argument 1226 sec_aead_sgl_map(struct sec_ctx *ctx, struct sec_req *req) sec_aead_sgl_map() argument 1233 sec_aead_sgl_unmap(struct sec_ctx *ctx, struct sec_req *req) sec_aead_sgl_unmap() argument 1240 sec_request_transfer(struct sec_ctx *ctx, struct sec_req *req) sec_request_transfer() argument 1261 sec_request_untransfer(struct sec_ctx *ctx, struct sec_req *req) sec_request_untransfer() argument 1266 sec_skcipher_copy_iv(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_copy_iv() argument 1274 sec_skcipher_bd_fill(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_bd_fill() argument 1325 sec_skcipher_bd_fill_v3(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_bd_fill_v3() argument 1387 sec_update_iv(struct sec_req *req, enum sec_alg_type alg_type) sec_update_iv() argument 1441 sec_skcipher_callback(struct sec_ctx *ctx, struct sec_req *req, int err) sec_skcipher_callback() argument 1469 set_aead_auth_iv(struct sec_ctx *ctx, struct sec_req *req) set_aead_auth_iv() argument 1512 sec_aead_set_iv(struct sec_ctx *ctx, struct sec_req *req) sec_aead_set_iv() argument 1539 sec_auth_bd_fill_xcm(struct sec_auth_ctx *ctx, int dir, struct sec_req *req, struct sec_sqe *sec_sqe) sec_auth_bd_fill_xcm() argument 1565 sec_auth_bd_fill_xcm_v3(struct sec_auth_ctx *ctx, int dir, struct sec_req *req, struct sec_sqe3 *sqe3) sec_auth_bd_fill_xcm_v3() argument 1590 sec_auth_bd_fill_ex(struct sec_auth_ctx *ctx, int dir, struct sec_req *req, struct sec_sqe *sec_sqe) sec_auth_bd_fill_ex() argument 1623 sec_aead_bd_fill(struct sec_ctx *ctx, struct sec_req *req) sec_aead_bd_fill() argument 1644 sec_auth_bd_fill_ex_v3(struct sec_auth_ctx *ctx, int dir, struct sec_req *req, struct sec_sqe3 *sqe3) sec_auth_bd_fill_ex_v3() argument 1678 sec_aead_bd_fill_v3(struct sec_ctx *ctx, struct sec_req *req) sec_aead_bd_fill_v3() argument 1701 sec_aead_callback(struct sec_ctx *c, struct sec_req *req, int err) sec_aead_callback() argument 1745 sec_request_uninit(struct sec_ctx *ctx, struct sec_req *req) sec_request_uninit() argument 1751 sec_request_init(struct sec_ctx *ctx, struct sec_req *req) sec_request_init() argument 1769 sec_process(struct sec_ctx *ctx, struct sec_req *req) sec_process() argument 2112 struct sec_req *req = skcipher_request_ctx(sk_req); sec_skcipher_crypto() local 2260 struct aead_request *req = sreq->aead_req.aead_req; sec_aead_spec_check() local 2308 struct aead_request *req = sreq->aead_req.aead_req; sec_aead_param_check() local 2383 struct sec_req *req = aead_request_ctx(a_req); sec_aead_crypto() local [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | mds_client.c | 804 static void put_request_session(struct ceph_mds_request *req) in put_request_session() argument 806 if (req->r_session) { in put_request_session() 807 ceph_put_mds_session(req->r_session); in put_request_session() 808 req->r_session = NULL; in put_request_session() 841 struct ceph_mds_request *req = container_of(kref, in ceph_mdsc_release_request() local 844 ceph_mdsc_release_dir_caps_no_check(req); in ceph_mdsc_release_request() 845 destroy_reply_info(&req->r_reply_info); in ceph_mdsc_release_request() 846 if (req->r_request) in ceph_mdsc_release_request() 847 ceph_msg_put(req->r_request); in ceph_mdsc_release_request() 848 if (req in ceph_mdsc_release_request() 895 struct ceph_mds_request *req; lookup_get_request() local 910 __register_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req, struct inode *dir) __register_request() argument 949 __unregister_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) __unregister_request() argument 1028 __choose_mds(struct ceph_mds_client *mdsc, struct ceph_mds_request *req, bool *random) __choose_mds() argument 1513 struct ceph_mds_request *req; cleanup_session_requests() local 2290 ceph_alloc_readdir_reply_buffer(struct ceph_mds_request *req, struct inode *dir) ceph_alloc_readdir_reply_buffer() argument 2334 struct ceph_mds_request *req; ceph_mdsc_create_request() local 2549 create_request_message(struct ceph_mds_client *mdsc, struct ceph_mds_request *req, int mds, bool drop_cap_releases) create_request_message() argument 2692 complete_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) complete_request() argument 2705 __prepare_send_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req, int mds, bool drop_cap_releases) __prepare_send_request() argument 2792 __send_request(struct ceph_mds_client *mdsc, struct ceph_mds_session *session, struct ceph_mds_request *req, bool drop_cap_releases) __send_request() argument 2812 __do_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) __do_request() argument 2937 struct ceph_mds_request *req; __wake_requests() local 2957 struct ceph_mds_request *req; kick_requests() local 2977 ceph_mdsc_submit_request(struct ceph_mds_client *mdsc, struct inode *dir, struct ceph_mds_request *req) ceph_mdsc_submit_request() argument 3026 ceph_mdsc_wait_request(struct ceph_mds_client *mdsc, struct ceph_mds_request *req) ceph_mdsc_wait_request() argument 3080 ceph_mdsc_do_request(struct ceph_mds_client *mdsc, struct inode *dir, struct ceph_mds_request *req) ceph_mdsc_do_request() argument 3100 ceph_invalidate_dir_request(struct ceph_mds_request *req) ceph_invalidate_dir_request() argument 3126 struct ceph_mds_request *req; handle_reply() local 3324 struct ceph_mds_request *req; handle_forward() local 3551 ceph_mdsc_release_dir_caps(struct ceph_mds_request *req) ceph_mdsc_release_dir_caps() argument 3562 ceph_mdsc_release_dir_caps_no_check(struct ceph_mds_request *req) ceph_mdsc_release_dir_caps_no_check() argument 3580 struct ceph_mds_request *req, *nreq; replay_unsafe_requests() local 4650 struct ceph_mds_request *req; wait_requests() local 4725 struct ceph_mds_request *req = NULL, *nextreq; wait_unsafe_requests() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_ahash.c | 20 static bool rk_ahash_need_fallback(struct ahash_request *req) in rk_ahash_need_fallback() argument 24 sg = req->src; in rk_ahash_need_fallback() 54 static int zero_message_process(struct ahash_request *req) in zero_message_process() argument 56 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() 61 memcpy(req->result, sha1_zero_message_hash, rk_digest_size); in zero_message_process() 64 memcpy(req->result, sha256_zero_message_hash, rk_digest_size); in zero_message_process() 67 memcpy(req->result, md5_zero_message_hash, rk_digest_size); in zero_message_process() 76 static void rk_ahash_reg_init(struct ahash_request *req) in rk_ahash_reg_init() argument 78 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_reg_init() 79 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_reg_init() 111 rk_ahash_init(struct ahash_request *req) rk_ahash_init() argument 124 rk_ahash_update(struct ahash_request *req) rk_ahash_update() argument 139 rk_ahash_final(struct ahash_request *req) rk_ahash_final() argument 153 rk_ahash_finup(struct ahash_request *req) rk_ahash_finup() argument 170 rk_ahash_import(struct ahash_request *req, const void *in) rk_ahash_import() argument 183 rk_ahash_export(struct ahash_request *req, void *out) rk_ahash_export() argument 196 rk_ahash_digest(struct ahash_request *req) rk_ahash_digest() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_pax.c | 93 static struct wpabuf * eap_pax_alloc_resp(const struct eap_pax_hdr *req, in eap_pax_alloc_resp() argument 107 pax->mac_id = req->mac_id; in eap_pax_alloc_resp() 108 pax->dh_group_id = req->dh_group_id; in eap_pax_alloc_resp() 109 pax->public_key_id = req->public_key_id; in eap_pax_alloc_resp() 117 const struct eap_pax_hdr *req, in eap_pax_process_std_1() 134 if (req->flags & EAP_PAX_FLAGS_CE) { in eap_pax_process_std_1() 141 left = req_plen - sizeof(*req); in eap_pax_process_std_1() 150 pos = (const u8 *) (req + 1); in eap_pax_process_std_1() 180 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e, in eap_pax_process_std_1() 191 resp = eap_pax_alloc_resp(req, i in eap_pax_process_std_1() 115 eap_pax_process_std_1(struct eap_pax_data *data, struct eap_method_ret *ret, u8 id, const struct eap_pax_hdr *req, size_t req_plen) eap_pax_process_std_1() argument 231 eap_pax_process_std_3(struct eap_pax_data *data, struct eap_method_ret *ret, u8 id, const struct eap_pax_hdr *req, size_t req_plen) eap_pax_process_std_3() argument 337 const struct eap_pax_hdr *req; eap_pax_process() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_pax.c | 93 static struct wpabuf * eap_pax_alloc_resp(const struct eap_pax_hdr *req, in eap_pax_alloc_resp() argument 107 pax->mac_id = req->mac_id; in eap_pax_alloc_resp() 108 pax->dh_group_id = req->dh_group_id; in eap_pax_alloc_resp() 109 pax->public_key_id = req->public_key_id; in eap_pax_alloc_resp() 117 const struct eap_pax_hdr *req, in eap_pax_process_std_1() 134 if (req->flags & EAP_PAX_FLAGS_CE) { in eap_pax_process_std_1() 141 left = req_plen - sizeof(*req); in eap_pax_process_std_1() 150 pos = (const u8 *) (req + 1); in eap_pax_process_std_1() 180 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e, in eap_pax_process_std_1() 191 resp = eap_pax_alloc_resp(req, i in eap_pax_process_std_1() 115 eap_pax_process_std_1(struct eap_pax_data *data, struct eap_method_ret *ret, u8 id, const struct eap_pax_hdr *req, size_t req_plen) eap_pax_process_std_1() argument 231 eap_pax_process_std_3(struct eap_pax_data *data, struct eap_method_ret *ret, u8 id, const struct eap_pax_hdr *req, size_t req_plen) eap_pax_process_std_3() argument 337 const struct eap_pax_hdr *req; eap_pax_process() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
H A D | cc_aead.c | 870 static void cc_proc_digest_desc(struct aead_request *req, in cc_proc_digest_desc() argument 874 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_proc_digest_desc() 876 struct aead_req_ctx *req_ctx = aead_request_ctx(req); in cc_proc_digest_desc() 920 static void cc_set_cipher_desc(struct aead_request *req, in cc_set_cipher_desc() argument 924 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_cipher_desc() 926 struct aead_req_ctx *req_ctx = aead_request_ctx(req); in cc_set_cipher_desc() 965 static void cc_proc_cipher(struct aead_request *req, struct cc_hw_desc desc[], in cc_proc_cipher() argument 968 struct aead_req_ctx *req_ctx = aead_request_ctx(req); in cc_proc_cipher() 975 cc_set_cipher_desc(req, desc, &idx); in cc_proc_cipher() 976 cc_proc_cipher_desc(req, data_flow_mod in cc_proc_cipher() 988 cc_set_hmac_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_set_hmac_desc() argument 1021 cc_set_xcbc_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_set_xcbc_desc() argument 1081 cc_proc_header_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_proc_header_desc() argument 1096 cc_proc_scheme_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_proc_scheme_desc() argument 1158 cc_mlli_to_sram(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_mlli_to_sram() argument 1210 cc_hmac_authenc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_hmac_authenc() argument 1263 cc_xcbc_authenc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_xcbc_authenc() argument 1311 validate_data_size(struct cc_aead_ctx *ctx, enum drv_crypto_direction direct, struct aead_request *req) validate_data_size() argument 1409 cc_ccm(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_ccm() argument 1531 config_ccm_adata(struct aead_request *req) config_ccm_adata() argument 1590 cc_proc_rfc4309_ccm(struct aead_request *req) cc_proc_rfc4309_ccm() argument 1613 cc_set_ghash_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_set_ghash_desc() argument 1691 cc_set_gctr_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_set_gctr_desc() argument 1727 cc_proc_gcm_result(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_proc_gcm_result() argument 1792 cc_gcm(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_gcm() argument 1829 config_gcm_context(struct aead_request *req) config_gcm_context() argument 1878 cc_proc_rfc4_gcm(struct aead_request *req) cc_proc_rfc4_gcm() argument 1891 cc_proc_aead(struct aead_request *req, enum drv_crypto_direction direct) cc_proc_aead() argument 2020 cc_aead_encrypt(struct aead_request *req) cc_aead_encrypt() argument 2038 cc_rfc4309_ccm_encrypt(struct aead_request *req) cc_rfc4309_ccm_encrypt() argument 2064 cc_aead_decrypt(struct aead_request *req) cc_aead_decrypt() argument 2082 cc_rfc4309_ccm_decrypt(struct aead_request *req) cc_rfc4309_ccm_decrypt() argument 2194 cc_rfc4106_gcm_encrypt(struct aead_request *req) cc_rfc4106_gcm_encrypt() argument 2218 cc_rfc4543_gcm_encrypt(struct aead_request *req) cc_rfc4543_gcm_encrypt() argument 2245 cc_rfc4106_gcm_decrypt(struct aead_request *req) cc_rfc4106_gcm_decrypt() argument 2269 cc_rfc4543_gcm_decrypt(struct aead_request *req) cc_rfc4543_gcm_decrypt() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ccree/ |
H A D | cc_aead.c | 870 static void cc_proc_digest_desc(struct aead_request *req, in cc_proc_digest_desc() argument 874 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_proc_digest_desc() 876 struct aead_req_ctx *req_ctx = aead_request_ctx_dma(req); in cc_proc_digest_desc() 920 static void cc_set_cipher_desc(struct aead_request *req, in cc_set_cipher_desc() argument 924 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_cipher_desc() 926 struct aead_req_ctx *req_ctx = aead_request_ctx_dma(req); in cc_set_cipher_desc() 965 static void cc_proc_cipher(struct aead_request *req, struct cc_hw_desc desc[], in cc_proc_cipher() argument 968 struct aead_req_ctx *req_ctx = aead_request_ctx_dma(req); in cc_proc_cipher() 975 cc_set_cipher_desc(req, desc, &idx); in cc_proc_cipher() 976 cc_proc_cipher_desc(req, data_flow_mod in cc_proc_cipher() 988 cc_set_hmac_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_set_hmac_desc() argument 1021 cc_set_xcbc_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_set_xcbc_desc() argument 1081 cc_proc_header_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_proc_header_desc() argument 1096 cc_proc_scheme_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_proc_scheme_desc() argument 1158 cc_mlli_to_sram(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_mlli_to_sram() argument 1210 cc_hmac_authenc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_hmac_authenc() argument 1263 cc_xcbc_authenc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_xcbc_authenc() argument 1311 validate_data_size(struct cc_aead_ctx *ctx, enum drv_crypto_direction direct, struct aead_request *req) validate_data_size() argument 1409 cc_ccm(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_ccm() argument 1531 config_ccm_adata(struct aead_request *req) config_ccm_adata() argument 1590 cc_proc_rfc4309_ccm(struct aead_request *req) cc_proc_rfc4309_ccm() argument 1613 cc_set_ghash_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_set_ghash_desc() argument 1691 cc_set_gctr_desc(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_set_gctr_desc() argument 1727 cc_proc_gcm_result(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_proc_gcm_result() argument 1792 cc_gcm(struct aead_request *req, struct cc_hw_desc desc[], unsigned int *seq_size) cc_gcm() argument 1829 config_gcm_context(struct aead_request *req) config_gcm_context() argument 1878 cc_proc_rfc4_gcm(struct aead_request *req) cc_proc_rfc4_gcm() argument 1891 cc_proc_aead(struct aead_request *req, enum drv_crypto_direction direct) cc_proc_aead() argument 2020 cc_aead_encrypt(struct aead_request *req) cc_aead_encrypt() argument 2038 cc_rfc4309_ccm_encrypt(struct aead_request *req) cc_rfc4309_ccm_encrypt() argument 2064 cc_aead_decrypt(struct aead_request *req) cc_aead_decrypt() argument 2082 cc_rfc4309_ccm_decrypt(struct aead_request *req) cc_rfc4309_ccm_decrypt() argument 2194 cc_rfc4106_gcm_encrypt(struct aead_request *req) cc_rfc4106_gcm_encrypt() argument 2218 cc_rfc4543_gcm_encrypt(struct aead_request *req) cc_rfc4543_gcm_encrypt() argument 2245 cc_rfc4106_gcm_decrypt(struct aead_request *req) cc_rfc4106_gcm_decrypt() argument 2269 cc_rfc4543_gcm_decrypt(struct aead_request *req) cc_rfc4543_gcm_decrypt() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | fsl_udc_core.c | 156 static void done(struct fsl_ep *ep, struct fsl_req *req, int status) 166 /* Removed the req from fsl_ep->queue */ 167 list_del_init(&req->queue); 169 /* req.status should be set as -EINPROGRESS in ep_queue() */ 170 if (req->req.status == -EINPROGRESS) 171 req->req.status = status; 173 status = req->req 215 struct fsl_req *req = NULL; nuke() local 678 struct fsl_req *req = NULL; fsl_alloc_request() local 692 struct fsl_req *req = NULL; fsl_free_request() local 722 fsl_queue_td(struct fsl_ep *ep, struct fsl_req *req) fsl_queue_td() argument 773 fsl_build_dtd(struct fsl_req *req, unsigned *length, dma_addr_t *dma, int *is_last, gfp_t gfp_flags) fsl_build_dtd() argument 833 fsl_req_to_dtd(struct fsl_req *req, gfp_t gfp_flags) fsl_req_to_dtd() argument 870 struct fsl_req *req = container_of(_req, struct fsl_req, req); fsl_ep_queue() local 924 struct fsl_req *req; fsl_ep_dequeue() local 1252 fsl_noop_complete(struct usb_ep *ep, struct usb_request *req) fsl_noop_complete() argument 1271 struct fsl_req *req = udc->status_req; ep0_prime_status() local 1334 struct fsl_req *req; ch9getstatus() local 1521 ep0_req_complete(struct fsl_udc *udc, struct fsl_ep *ep0, struct fsl_req *req) ep0_req_complete() argument 2025 struct fsl_req *req; fsl_proc_read() local [all...] |
H A D | fotg210-udc.c | 58 static void fotg210_done(struct fotg210_ep *ep, struct fotg210_request *req, in fotg210_done() argument 61 list_del_init(&req->queue); in fotg210_done() 65 req->req.status = -ESHUTDOWN; in fotg210_done() 67 req->req.status = status; in fotg210_done() 70 usb_gadget_giveback_request(&ep->ep, &req->req); in fotg210_done() 212 struct fotg210_request *req; in fotg210_ep_disable() local 220 req in fotg210_ep_disable() 233 struct fotg210_request *req; fotg210_ep_alloc_request() local 247 struct fotg210_request *req; fotg210_ep_free_request() local 326 fotg210_start_dma(struct fotg210_ep *ep, struct fotg210_request *req) fotg210_start_dma() argument 374 fotg210_ep0_queue(struct fotg210_ep *ep, struct fotg210_request *req) fotg210_ep0_queue() argument 397 struct fotg210_request *req; fotg210_ep_queue() local 430 struct fotg210_request *req; fotg210_ep_dequeue() local 795 struct fotg210_request *req; fotg210_ep0out() local 815 struct fotg210_request *req; fotg210_ep0in() local 840 struct fotg210_request *req = list_entry(ep->queue.next, fotg210_in_fifo_handler() local 850 struct fotg210_request *req = list_entry(ep->queue.next, fotg210_out_fifo_handler() local [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | lrw.c | 140 static int lrw_xor_tweak(struct skcipher_request *req, bool second_pass) in lrw_xor_tweak() argument 143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in lrw_xor_tweak() 145 struct lrw_request_ctx *rctx = skcipher_request_ctx(req); in lrw_xor_tweak() 153 req = &rctx->subreq; in lrw_xor_tweak() 155 skcipher_request_set_tfm(req, tfm); in lrw_xor_tweak() 158 err = skcipher_walk_virt(&w, req, false); in lrw_xor_tweak() 198 static int lrw_xor_tweak_pre(struct skcipher_request *req) in lrw_xor_tweak_pre() argument 200 return lrw_xor_tweak(req, false); in lrw_xor_tweak_pre() 203 static int lrw_xor_tweak_post(struct skcipher_request *req) in lrw_xor_tweak_post() argument 205 return lrw_xor_tweak(req, tru in lrw_xor_tweak_post() 210 struct skcipher_request *req = areq->data; lrw_crypt_done() local 222 lrw_init_crypt(struct skcipher_request *req) lrw_init_crypt() argument 243 lrw_encrypt(struct skcipher_request *req) lrw_encrypt() argument 254 lrw_decrypt(struct skcipher_request *req) lrw_decrypt() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
H A D | ce6230.c | 12 static int ce6230_ctrl_msg(struct dvb_usb_device *d, struct usb_req *req) in ce6230_ctrl_msg() argument 22 request = req->cmd; in ce6230_ctrl_msg() 23 value = req->value; in ce6230_ctrl_msg() 24 index = req->index; in ce6230_ctrl_msg() 26 switch (req->cmd) { in ce6230_ctrl_msg() 39 KBUILD_MODNAME, req->cmd); in ce6230_ctrl_msg() 44 buf = kmalloc(req->data_len, GFP_KERNEL); in ce6230_ctrl_msg() 52 memcpy(buf, req->data, req->data_len); in ce6230_ctrl_msg() 62 buf, req in ce6230_ctrl_msg() 90 struct usb_req req; ce6230_i2c_master_xfer() local [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/ |
H A D | ce6230.c | 12 static int ce6230_ctrl_msg(struct dvb_usb_device *d, struct usb_req *req) in ce6230_ctrl_msg() argument 22 request = req->cmd; in ce6230_ctrl_msg() 23 value = req->value; in ce6230_ctrl_msg() 24 index = req->index; in ce6230_ctrl_msg() 26 switch (req->cmd) { in ce6230_ctrl_msg() 39 KBUILD_MODNAME, req->cmd); in ce6230_ctrl_msg() 44 buf = kmalloc(req->data_len, GFP_KERNEL); in ce6230_ctrl_msg() 52 memcpy(buf, req->data, req->data_len); in ce6230_ctrl_msg() 62 buf, req in ce6230_ctrl_msg() 90 struct usb_req req; ce6230_i2c_master_xfer() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | lrw.c | 140 static int lrw_xor_tweak(struct skcipher_request *req, bool second_pass) in lrw_xor_tweak() argument 143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in lrw_xor_tweak() 145 struct lrw_request_ctx *rctx = skcipher_request_ctx(req); in lrw_xor_tweak() 153 req = &rctx->subreq; in lrw_xor_tweak() 155 skcipher_request_set_tfm(req, tfm); in lrw_xor_tweak() 158 err = skcipher_walk_virt(&w, req, false); in lrw_xor_tweak() 198 static int lrw_xor_tweak_pre(struct skcipher_request *req) in lrw_xor_tweak_pre() argument 200 return lrw_xor_tweak(req, false); in lrw_xor_tweak_pre() 203 static int lrw_xor_tweak_post(struct skcipher_request *req) in lrw_xor_tweak_post() argument 205 return lrw_xor_tweak(req, tru in lrw_xor_tweak_post() 210 struct skcipher_request *req = data; lrw_crypt_done() local 222 lrw_init_crypt(struct skcipher_request *req) lrw_init_crypt() argument 243 lrw_encrypt(struct skcipher_request *req) lrw_encrypt() argument 254 lrw_decrypt(struct skcipher_request *req) lrw_decrypt() argument [all...] |
/third_party/mesa3d/src/glx/ |
H A D | indirect_glx.c | 93 xGLXMakeCurrentReq *req; in SendMakeCurrentRequest() local 95 GetReq(GLXMakeCurrent, req); in SendMakeCurrentRequest() 96 req->reqType = opcode; in SendMakeCurrentRequest() 97 req->glxCode = X_GLXMakeCurrent; in SendMakeCurrentRequest() 98 req->drawable = draw; in SendMakeCurrentRequest() 99 req->context = gc_id; in SendMakeCurrentRequest() 100 req->oldContextTag = gc_tag; in SendMakeCurrentRequest() 111 xGLXMakeContextCurrentReq *req; in SendMakeCurrentRequest() local 113 GetReq(GLXMakeContextCurrent, req); in SendMakeCurrentRequest() 114 req in SendMakeCurrentRequest() 123 xGLXMakeCurrentReadSGIReq *req; SendMakeCurrentRequest() local 215 xGLXWaitGLReq *req; indirect_wait_gl() local 234 xGLXWaitXReq *req; indirect_wait_x() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 69 static inline int sec_alloc_queue_id(struct sec_ctx *ctx, struct sec_req *req) in sec_alloc_queue_id() argument 71 if (req->c_req.encrypt) in sec_alloc_queue_id() 79 static inline void sec_free_queue_id(struct sec_ctx *ctx, struct sec_req *req) in sec_free_queue_id() argument 81 if (req->c_req.encrypt) in sec_free_queue_id() 87 static int sec_alloc_req_id(struct sec_req *req, struct sec_qp_ctx *qp_ctx) in sec_alloc_req_id() argument 97 dev_err(req->ctx->dev, "alloc req id fail!\n"); in sec_alloc_req_id() 101 req->qp_ctx = qp_ctx; in sec_alloc_req_id() 102 qp_ctx->req_list[req_id] = req; in sec_alloc_req_id() 106 static void sec_free_req_id(struct sec_req *req) in sec_free_req_id() argument 124 sec_aead_verify(struct sec_req *req) sec_aead_verify() argument 151 struct sec_req *req; sec_req_cb() local 194 sec_bd_send(struct sec_ctx *ctx, struct sec_req *req) sec_bd_send() argument 685 sec_cipher_pbuf_map(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src) sec_cipher_pbuf_map() argument 720 sec_cipher_pbuf_unmap(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *dst) sec_cipher_pbuf_unmap() argument 743 sec_cipher_map(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src, struct scatterlist *dst) sec_cipher_map() argument 801 sec_cipher_unmap(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src, struct scatterlist *dst) sec_cipher_unmap() argument 817 sec_skcipher_sgl_map(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_sgl_map() argument 824 sec_skcipher_sgl_unmap(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_sgl_unmap() argument 935 sec_aead_sgl_map(struct sec_ctx *ctx, struct sec_req *req) sec_aead_sgl_map() argument 942 sec_aead_sgl_unmap(struct sec_ctx *ctx, struct sec_req *req) sec_aead_sgl_unmap() argument 949 sec_request_transfer(struct sec_ctx *ctx, struct sec_req *req) sec_request_transfer() argument 971 sec_request_untransfer(struct sec_ctx *ctx, struct sec_req *req) sec_request_untransfer() argument 976 sec_skcipher_copy_iv(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_copy_iv() argument 984 sec_skcipher_bd_fill(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_bd_fill() argument 1036 sec_update_iv(struct sec_req *req, enum sec_alg_type alg_type) sec_update_iv() argument 1083 sec_skcipher_callback(struct sec_ctx *ctx, struct sec_req *req, int err) sec_skcipher_callback() argument 1112 sec_aead_copy_iv(struct sec_ctx *ctx, struct sec_req *req) sec_aead_copy_iv() argument 1120 sec_auth_bd_fill_ex(struct sec_auth_ctx *ctx, int dir, struct sec_req *req, struct sec_sqe *sec_sqe) sec_auth_bd_fill_ex() argument 1153 sec_aead_bd_fill(struct sec_ctx *ctx, struct sec_req *req) sec_aead_bd_fill() argument 1170 sec_aead_callback(struct sec_ctx *c, struct sec_req *req, int err) sec_aead_callback() argument 1216 sec_request_uninit(struct sec_ctx *ctx, struct sec_req *req) sec_request_uninit() argument 1222 sec_request_init(struct sec_ctx *ctx, struct sec_req *req) sec_request_init() argument 1240 sec_process(struct sec_ctx *ctx, struct sec_req *req) sec_process() argument 1446 struct sec_req *req = skcipher_request_ctx(sk_req); sec_skcipher_crypto() local 1534 struct aead_request *req = sreq->aead_req.aead_req; sec_aead_param_check() local 1574 struct sec_req *req = aead_request_ctx(a_req); sec_aead_crypto() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/cdns3/ |
H A D | trace.h | 203 TP_PROTO(struct cdns3_request *req), 204 TP_ARGS(req), 206 __string(name, req->priv_ep->name) 207 __field(struct cdns3_request *, req) 222 __assign_str(name, req->priv_ep->name); 223 __entry->req = req; 224 __entry->buf = req->request.buf; 225 __entry->actual = req->request.actual; 226 __entry->length = req [all...] |
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
H A D | snic_res.h | 28 snic_icmnd_init(struct snic_host_req *req, u32 cmnd_id, u32 host_id, u64 ctx, in snic_icmnd_init() argument 33 snic_io_hdr_enc(&req->hdr, SNIC_REQ_ICMND, 0, cmnd_id, host_id, sg_cnt, in snic_icmnd_init() 36 req->u.icmnd.flags = cpu_to_le16(flags); in snic_icmnd_init() 37 req->u.icmnd.tgt_id = cpu_to_le64(tgt_id); in snic_icmnd_init() 38 memcpy(&req->u.icmnd.lun_id, lun, LUN_ADDR_LEN); in snic_icmnd_init() 39 req->u.icmnd.cdb_len = cdb_len; in snic_icmnd_init() 40 memset(req->u.icmnd.cdb, 0, SNIC_CDB_LEN); in snic_icmnd_init() 41 memcpy(req->u.icmnd.cdb, scsi_cdb, cdb_len); in snic_icmnd_init() 42 req->u.icmnd.data_len = cpu_to_le32(data_len); in snic_icmnd_init() 43 req in snic_icmnd_init() 49 snic_itmf_init(struct snic_host_req *req, u32 cmnd_id, u32 host_id, ulong ctx, u16 flags, u32 req_id, u64 tgt_id, u8 *lun, u8 tm_type) snic_itmf_init() argument [all...] |
/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | kthread.c | 46 struct ecryptfs_open_req *req; in ecryptfs_threadfn() local 58 req = list_first_entry(&ecryptfs_kthread_ctl.req_list, in ecryptfs_threadfn() 61 list_del(&req->kthread_ctl_list); in ecryptfs_threadfn() 62 *req->lower_file = dentry_open(&req->path, in ecryptfs_threadfn() 64 complete(&req->done); in ecryptfs_threadfn() 91 struct ecryptfs_open_req *req, *tmp; in ecryptfs_destroy_kthread() local 95 list_for_each_entry_safe(req, tmp, &ecryptfs_kthread_ctl.req_list, in ecryptfs_destroy_kthread() 97 list_del(&req->kthread_ctl_list); in ecryptfs_destroy_kthread() 98 *req in ecryptfs_destroy_kthread() 121 struct ecryptfs_open_req req; ecryptfs_privileged_open() local [all...] |
/kernel/linux/linux-6.6/fs/ecryptfs/ |
H A D | kthread.c | 46 struct ecryptfs_open_req *req; in ecryptfs_threadfn() local 58 req = list_first_entry(&ecryptfs_kthread_ctl.req_list, in ecryptfs_threadfn() 61 list_del(&req->kthread_ctl_list); in ecryptfs_threadfn() 62 *req->lower_file = dentry_open(&req->path, in ecryptfs_threadfn() 64 complete(&req->done); in ecryptfs_threadfn() 91 struct ecryptfs_open_req *req, *tmp; in ecryptfs_destroy_kthread() local 95 list_for_each_entry_safe(req, tmp, &ecryptfs_kthread_ctl.req_list, in ecryptfs_destroy_kthread() 97 list_del(&req->kthread_ctl_list); in ecryptfs_destroy_kthread() 98 *req in ecryptfs_destroy_kthread() 122 struct ecryptfs_open_req req; ecryptfs_privileged_open() local [all...] |