/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | mconsole_kern.c | 63 struct mconsole_entry *req; in mc_work_proc() local 68 req = list_entry(mc_requests.next, struct mconsole_entry, list); in mc_work_proc() 69 list_del(&req->list); in mc_work_proc() 71 req->request.cmd->handler(&req->request); in mc_work_proc() 72 kfree(req); in mc_work_proc() 83 static struct mc_request req; /* that's OK */ in mconsole_interrupt() local 86 while (mconsole_get_request(fd, &req)) { in mconsole_interrupt() 87 if (req.cmd->context == MCONSOLE_INTR) in mconsole_interrupt() 88 (*req in mconsole_interrupt() 105 mconsole_version(struct mc_request *req) mconsole_version() argument 115 mconsole_log(struct mc_request *req) mconsole_log() argument 127 mconsole_proc(struct mc_request *req) mconsole_proc() argument 197 mconsole_help(struct mc_request *req) mconsole_help() argument 202 mconsole_halt(struct mc_request *req) mconsole_halt() argument 208 mconsole_reboot(struct mc_request *req) mconsole_reboot() argument 214 mconsole_cad(struct mc_request *req) mconsole_cad() argument 220 mconsole_go(struct mc_request *req) mconsole_go() argument 225 mconsole_stop(struct mc_request *req) mconsole_stop() argument 430 mconsole_get_config(int (*get_config)(char *, char *, int, char **), struct mc_request *req, char *name) mconsole_get_config() argument 473 mconsole_config(struct mc_request *req) mconsole_config() argument 499 mconsole_remove(struct mc_request *req) mconsole_remove() argument 552 struct mc_request *req; global() member 596 with_console(struct mc_request *req, void (*proc)(void *), void *arg) with_console() argument 626 mconsole_sysrq(struct mc_request *req) mconsole_sysrq() argument 643 mconsole_sysrq(struct mc_request *req) mconsole_sysrq() argument 662 mconsole_stack(struct mc_request *req) mconsole_stack() argument [all...] |
/kernel/linux/linux-5.10/net/ceph/ |
H A D | mon_client.c | 512 struct ceph_mon_generic_request *req = in release_generic_request() local 515 dout("%s greq %p request %p reply %p\n", __func__, req, req->request, in release_generic_request() 516 req->reply); in release_generic_request() 517 WARN_ON(!RB_EMPTY_NODE(&req->node)); in release_generic_request() 519 if (req->reply) in release_generic_request() 520 ceph_msg_put(req->reply); in release_generic_request() 521 if (req->request) in release_generic_request() 522 ceph_msg_put(req->request); in release_generic_request() 524 kfree(req); in release_generic_request() 527 put_generic_request(struct ceph_mon_generic_request *req) put_generic_request() argument 533 get_generic_request(struct ceph_mon_generic_request *req) get_generic_request() argument 541 struct ceph_mon_generic_request *req; alloc_generic_request() local 556 register_generic_request(struct ceph_mon_generic_request *req) register_generic_request() argument 567 send_generic_request(struct ceph_mon_client *monc, struct ceph_mon_generic_request *req) send_generic_request() argument 577 __finish_generic_request(struct ceph_mon_generic_request *req) __finish_generic_request() argument 588 finish_generic_request(struct ceph_mon_generic_request *req) finish_generic_request() argument 594 complete_generic_request(struct ceph_mon_generic_request *req) complete_generic_request() argument 603 cancel_generic_request(struct ceph_mon_generic_request *req) cancel_generic_request() argument 621 wait_generic_request(struct ceph_mon_generic_request *req) wait_generic_request() argument 640 struct ceph_mon_generic_request *req; get_generic_reply() local 670 struct ceph_mon_generic_request *req; handle_statfs_reply() local 705 struct ceph_mon_generic_request *req; ceph_monc_do_statfs() local 748 struct ceph_mon_generic_request *req; handle_get_version_reply() local 785 struct ceph_mon_generic_request *req; __ceph_monc_get_version() local 833 struct ceph_mon_generic_request *req; ceph_monc_get_version() local 857 struct ceph_mon_generic_request *req; ceph_monc_get_version_async() local 871 struct ceph_mon_generic_request *req; handle_command_ack() local 905 struct ceph_mon_generic_request *req; do_mon_command_vargs() local 996 struct ceph_mon_generic_request *req; __resend_generic_request() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_scsi.c | 157 * @req: IO req structure. 163 csio_scsi_fcp_cmnd(struct csio_ioreq *req, void *addr) in csio_scsi_fcp_cmnd() argument 166 struct scsi_cmnd *scmnd = csio_scsi_cmnd(req); in csio_scsi_fcp_cmnd() 178 if (req->nsge) in csio_scsi_fcp_cmnd() 179 if (req->datadir == DMA_TO_DEVICE) in csio_scsi_fcp_cmnd() 194 * @req: IO req structure. 201 csio_scsi_init_cmd_wr(struct csio_ioreq *req, void *addr, uint32_t size) in csio_scsi_init_cmd_wr() argument 203 struct csio_hw *hw = req in csio_scsi_init_cmd_wr() 255 csio_scsi_cmd(struct csio_ioreq *req) csio_scsi_cmd() argument 290 csio_scsi_init_ultptx_dsgl(struct csio_hw *hw, struct csio_ioreq *req, struct ulptx_sgl *sgl) csio_scsi_init_ultptx_dsgl() argument 360 csio_scsi_init_read_wr(struct csio_ioreq *req, void *wrp, uint32_t size) csio_scsi_init_read_wr() argument 413 csio_scsi_init_write_wr(struct csio_ioreq *req, void *wrp, uint32_t size) csio_scsi_init_write_wr() argument 479 csio_scsi_read(struct csio_ioreq *req) csio_scsi_read() argument 516 csio_scsi_write(struct csio_ioreq *req) csio_scsi_write() argument 553 csio_setup_ddp(struct csio_scsim *scsim, struct csio_ioreq *req) csio_setup_ddp() argument 646 csio_scsi_init_abrt_cls_wr(struct csio_ioreq *req, void *addr, uint32_t size, bool abort) csio_scsi_init_abrt_cls_wr() argument 674 csio_scsi_abrt_cls(struct csio_ioreq *req, bool abort) csio_scsi_abrt_cls() argument 703 csio_scsis_uninit(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_uninit() argument 773 csio_scsis_io_active(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_io_active() argument 845 csio_scsis_tm_active(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_tm_active() argument 888 csio_scsis_aborting(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_aborting() argument 985 csio_scsis_closing(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_closing() argument 1049 csio_scsis_shost_cmpl_await(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_shost_cmpl_await() argument 1489 csio_scsi_copy_to_sgl(struct csio_hw *hw, struct csio_ioreq *req) csio_scsi_copy_to_sgl() argument 1558 csio_scsi_err_handler(struct csio_hw *hw, struct csio_ioreq *req) csio_scsi_err_handler() argument 1737 csio_scsi_cbfn(struct csio_hw *hw, struct csio_ioreq *req) csio_scsi_cbfn() argument 2013 csio_tm_cbfn(struct csio_hw *hw, struct csio_ioreq *req) csio_tm_cbfn() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_scsi.c | 157 * @req: IO req structure. 163 csio_scsi_fcp_cmnd(struct csio_ioreq *req, void *addr) in csio_scsi_fcp_cmnd() argument 166 struct scsi_cmnd *scmnd = csio_scsi_cmnd(req); in csio_scsi_fcp_cmnd() 178 if (req->nsge) in csio_scsi_fcp_cmnd() 179 if (req->datadir == DMA_TO_DEVICE) in csio_scsi_fcp_cmnd() 194 * @req: IO req structure. 201 csio_scsi_init_cmd_wr(struct csio_ioreq *req, void *addr, uint32_t size) in csio_scsi_init_cmd_wr() argument 203 struct csio_hw *hw = req in csio_scsi_init_cmd_wr() 255 csio_scsi_cmd(struct csio_ioreq *req) csio_scsi_cmd() argument 290 csio_scsi_init_ultptx_dsgl(struct csio_hw *hw, struct csio_ioreq *req, struct ulptx_sgl *sgl) csio_scsi_init_ultptx_dsgl() argument 360 csio_scsi_init_read_wr(struct csio_ioreq *req, void *wrp, uint32_t size) csio_scsi_init_read_wr() argument 413 csio_scsi_init_write_wr(struct csio_ioreq *req, void *wrp, uint32_t size) csio_scsi_init_write_wr() argument 479 csio_scsi_read(struct csio_ioreq *req) csio_scsi_read() argument 516 csio_scsi_write(struct csio_ioreq *req) csio_scsi_write() argument 553 csio_setup_ddp(struct csio_scsim *scsim, struct csio_ioreq *req) csio_setup_ddp() argument 646 csio_scsi_init_abrt_cls_wr(struct csio_ioreq *req, void *addr, uint32_t size, bool abort) csio_scsi_init_abrt_cls_wr() argument 674 csio_scsi_abrt_cls(struct csio_ioreq *req, bool abort) csio_scsi_abrt_cls() argument 703 csio_scsis_uninit(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_uninit() argument 773 csio_scsis_io_active(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_io_active() argument 845 csio_scsis_tm_active(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_tm_active() argument 888 csio_scsis_aborting(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_aborting() argument 985 csio_scsis_closing(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_closing() argument 1049 csio_scsis_shost_cmpl_await(struct csio_ioreq *req, enum csio_scsi_ev evt) csio_scsis_shost_cmpl_await() argument 1493 csio_scsi_copy_to_sgl(struct csio_hw *hw, struct csio_ioreq *req) csio_scsi_copy_to_sgl() argument 1562 csio_scsi_err_handler(struct csio_hw *hw, struct csio_ioreq *req) csio_scsi_err_handler() argument 1741 csio_scsi_cbfn(struct csio_hw *hw, struct csio_ioreq *req) csio_scsi_cbfn() argument 2017 csio_tm_cbfn(struct csio_hw *hw, struct csio_ioreq *req) csio_tm_cbfn() argument [all...] |
/kernel/linux/linux-5.10/sound/xen/ |
H A D | xen_snd_front.c | 29 struct xensnd_req *req; in be_stream_prepare_req() local 31 req = RING_GET_REQUEST(&evtchnl->u.req.ring, in be_stream_prepare_req() 32 evtchnl->u.req.ring.req_prod_pvt); in be_stream_prepare_req() 33 req->operation = operation; in be_stream_prepare_req() 34 req->id = evtchnl->evt_next_id++; in be_stream_prepare_req() 35 evtchnl->evt_id = req->id; in be_stream_prepare_req() 36 return req; in be_stream_prepare_req() 44 reinit_completion(&evtchnl->u.req.completion); in be_stream_do_io() 51 if (wait_for_completion_timeout(&evtchnl->u.req in be_stream_wait_io() 62 struct xensnd_req *req; xen_snd_front_stream_query_hw_param() local 90 struct xensnd_req *req; xen_snd_front_stream_prepare() local 117 __always_unused struct xensnd_req *req; xen_snd_front_stream_close() local 138 struct xensnd_req *req; xen_snd_front_stream_write() local 161 struct xensnd_req *req; xen_snd_front_stream_read() local 184 struct xensnd_req *req; xen_snd_front_stream_trigger() local [all...] |
/kernel/linux/linux-6.6/sound/xen/ |
H A D | xen_snd_front.c | 29 struct xensnd_req *req; in be_stream_prepare_req() local 31 req = RING_GET_REQUEST(&evtchnl->u.req.ring, in be_stream_prepare_req() 32 evtchnl->u.req.ring.req_prod_pvt); in be_stream_prepare_req() 33 req->operation = operation; in be_stream_prepare_req() 34 req->id = evtchnl->evt_next_id++; in be_stream_prepare_req() 35 evtchnl->evt_id = req->id; in be_stream_prepare_req() 36 return req; in be_stream_prepare_req() 44 reinit_completion(&evtchnl->u.req.completion); in be_stream_do_io() 51 if (wait_for_completion_timeout(&evtchnl->u.req in be_stream_wait_io() 62 struct xensnd_req *req; xen_snd_front_stream_query_hw_param() local 90 struct xensnd_req *req; xen_snd_front_stream_prepare() local 117 __always_unused struct xensnd_req *req; xen_snd_front_stream_close() local 138 struct xensnd_req *req; xen_snd_front_stream_write() local 161 struct xensnd_req *req; xen_snd_front_stream_read() local 184 struct xensnd_req *req; xen_snd_front_stream_trigger() local [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | write.c | 55 static void nfs_redirty_request(struct nfs_page *req); 60 static void nfs_inode_remove_request(struct nfs_page *req); 62 struct nfs_page *req); 150 nfs_page_set_inode_ref(struct nfs_page *req, struct inode *inode) in nfs_page_set_inode_ref() argument 152 if (!test_and_set_bit(PG_INODE_REF, &req->wb_flags)) { in nfs_page_set_inode_ref() 153 kref_get(&req->wb_kref); in nfs_page_set_inode_ref() 159 nfs_cancel_remove_inode(struct nfs_page *req, struct inode *inode) in nfs_cancel_remove_inode() argument 163 if (!test_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode() 165 ret = nfs_page_group_lock(req); in nfs_cancel_remove_inode() 168 if (test_and_clear_bit(PG_REMOVE, &req in nfs_cancel_remove_inode() 193 struct nfs_page *req; nfs_page_find_private_request() local 212 struct nfs_page *req = NULL; nfs_page_find_swap_request() local 235 struct nfs_page *req; nfs_page_find_head_request() local 246 struct nfs_page *req, *head; nfs_find_and_lock_page_request() local 337 struct nfs_page *req; nfs_page_group_search_locked() local 358 nfs_page_group_covers_page(struct nfs_page *req) nfs_page_group_covers_page() argument 380 nfs_mark_uptodate(struct nfs_page *req) nfs_mark_uptodate() argument 421 nfs_end_page_writeback(struct nfs_page *req) nfs_end_page_writeback() argument 594 nfs_write_error(struct nfs_page *req, int error) nfs_write_error() argument 610 struct nfs_page *req; nfs_page_async_flush() local 740 nfs_inode_add_request(struct inode *inode, struct nfs_page *req) nfs_inode_add_request() argument 776 nfs_inode_remove_request(struct nfs_page *req) nfs_inode_remove_request() argument 802 nfs_mark_request_dirty(struct nfs_page *req) nfs_mark_request_dirty() argument 854 nfs_request_add_commit_list_locked(struct nfs_page *req, struct list_head *dst, struct nfs_commit_info *cinfo) nfs_request_add_commit_list_locked() argument 876 nfs_request_add_commit_list(struct nfs_page *req, struct nfs_commit_info *cinfo) nfs_request_add_commit_list() argument 898 nfs_request_remove_commit_list(struct nfs_page *req, struct nfs_commit_info *cinfo) nfs_request_remove_commit_list() argument 933 nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, struct nfs_commit_info *cinfo, u32 ds_commit_idx) nfs_mark_request_commit() argument 950 nfs_clear_request_commit(struct nfs_commit_info *cinfo, struct nfs_page *req) nfs_clear_request_commit() argument 987 struct nfs_page *req = nfs_list_entry(hdr->pages.next); nfs_write_completion() local 1027 struct nfs_page *req, *tmp; nfs_scan_commit_list() local 1089 struct nfs_page *req; nfs_try_to_update_request() local 1144 struct nfs_page *req; nfs_setup_write_request() local 1160 struct nfs_page *req; nfs_writepage_setup() local 1178 struct nfs_page *req; nfs_flush_incompatible() local 1391 nfs_redirty_request(struct nfs_page *req) nfs_redirty_request() argument 1403 struct nfs_page *req; nfs_async_write_error() local 1702 struct nfs_page *req; nfs_get_lwb() local 1760 struct nfs_page *req; nfs_retry_commit() local 1774 nfs_commit_resched_write(struct nfs_commit_info *cinfo, struct nfs_page *req) nfs_commit_resched_write() argument 1823 struct nfs_page *req; nfs_commit_release_pages() local 2027 struct nfs_page *req; nfs_wb_page_cancel() local [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | authencesn.c | 43 static void authenc_esn_request_complete(struct aead_request *req, int err) in authenc_esn_request_complete() argument 46 aead_request_complete(req, err); in authenc_esn_request_complete() 86 static int crypto_authenc_esn_genicv_tail(struct aead_request *req, in crypto_authenc_esn_genicv_tail() argument 89 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv_tail() 91 struct authenc_esn_request_ctx *areq_ctx = aead_request_ctx(req); in crypto_authenc_esn_genicv_tail() 96 unsigned int assoclen = req->assoclen; in crypto_authenc_esn_genicv_tail() 97 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_genicv_tail() 98 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv_tail() 113 struct aead_request *req = areq->data; in authenc_esn_geniv_ahash_done() local 115 err = err ?: crypto_authenc_esn_genicv_tail(req, in authenc_esn_geniv_ahash_done() 119 crypto_authenc_esn_genicv(struct aead_request *req, unsigned int flags) crypto_authenc_esn_genicv() argument 156 crypto_authenc_esn_encrypt_done(struct crypto_async_request *req, int err) crypto_authenc_esn_encrypt_done() argument 167 crypto_authenc_esn_copy(struct aead_request *req, unsigned int len) crypto_authenc_esn_copy() argument 181 crypto_authenc_esn_encrypt(struct aead_request *req) crypto_authenc_esn_encrypt() argument 219 crypto_authenc_esn_decrypt_tail(struct aead_request *req, unsigned int flags) crypto_authenc_esn_decrypt_tail() argument 264 struct aead_request *req = areq->data; authenc_esn_verify_ahash_done() local 270 crypto_authenc_esn_decrypt(struct aead_request *req) crypto_authenc_esn_decrypt() argument [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | rsa-pkcs1pad.c | 174 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete() argument 176 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_encrypt_sign_complete() 178 struct pkcs1pad_request *req_ctx = akcipher_request_ctx(req); in pkcs1pad_encrypt_sign_complete() 198 sg_copy_to_buffer(req->dst, sg_nents_for_len(req->dst, len), in pkcs1pad_encrypt_sign_complete() 200 sg_copy_from_buffer(req->dst, in pkcs1pad_encrypt_sign_complete() 201 sg_nents_for_len(req->dst, ctx->key_size), in pkcs1pad_encrypt_sign_complete() 206 req->dst_len = ctx->key_size; in pkcs1pad_encrypt_sign_complete() 215 struct akcipher_request *req = data; in pkcs1pad_encrypt_sign_complete_cb() local 220 err = pkcs1pad_encrypt_sign_complete(req, er in pkcs1pad_encrypt_sign_complete_cb() 226 pkcs1pad_encrypt(struct akcipher_request *req) pkcs1pad_encrypt() argument 274 pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) pkcs1pad_decrypt_complete() argument 330 struct akcipher_request *req = data; pkcs1pad_decrypt_complete_cb() local 341 pkcs1pad_decrypt(struct akcipher_request *req) pkcs1pad_decrypt() argument 374 pkcs1pad_sign(struct akcipher_request *req) pkcs1pad_sign() argument 431 pkcs1pad_verify_complete(struct akcipher_request *req, int err) pkcs1pad_verify_complete() argument 509 struct akcipher_request *req = data; pkcs1pad_verify_complete_cb() local 528 pkcs1pad_verify(struct akcipher_request *req) pkcs1pad_verify() argument [all...] |
H A D | authencesn.c | 43 static void authenc_esn_request_complete(struct aead_request *req, int err) in authenc_esn_request_complete() argument 46 aead_request_complete(req, err); in authenc_esn_request_complete() 86 static int crypto_authenc_esn_genicv_tail(struct aead_request *req, in crypto_authenc_esn_genicv_tail() argument 89 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv_tail() 91 struct authenc_esn_request_ctx *areq_ctx = aead_request_ctx(req); in crypto_authenc_esn_genicv_tail() 96 unsigned int assoclen = req->assoclen; in crypto_authenc_esn_genicv_tail() 97 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_genicv_tail() 98 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv_tail() 112 struct aead_request *req = data; in authenc_esn_geniv_ahash_done() local 114 err = err ?: crypto_authenc_esn_genicv_tail(req, in authenc_esn_geniv_ahash_done() 118 crypto_authenc_esn_genicv(struct aead_request *req, unsigned int flags) crypto_authenc_esn_genicv() argument 165 crypto_authenc_esn_copy(struct aead_request *req, unsigned int len) crypto_authenc_esn_copy() argument 179 crypto_authenc_esn_encrypt(struct aead_request *req) crypto_authenc_esn_encrypt() argument 217 crypto_authenc_esn_decrypt_tail(struct aead_request *req, unsigned int flags) crypto_authenc_esn_decrypt_tail() argument 261 struct aead_request *req = data; authenc_esn_verify_ahash_done() local 267 crypto_authenc_esn_decrypt(struct aead_request *req) crypto_authenc_esn_decrypt() argument [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_request.h | 38 void hci_req_init(struct hci_request *req, struct hci_dev *hdev); 39 void hci_req_purge(struct hci_request *req); 41 int hci_req_run(struct hci_request *req, hci_req_complete_t complete); 42 int hci_req_run_skb(struct hci_request *req, hci_req_complete_skb_t complete); 43 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen, 45 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, 51 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, 54 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, 64 void __hci_req_write_fast_connectable(struct hci_request *req, boo [all...] |
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | adb-iop.c | 63 struct adb_request *req = current_req; in adb_iop_done() local 67 req->complete = 1; in adb_iop_done() 68 current_req = req->next; in adb_iop_done() 69 if (req->done) in adb_iop_done() 70 (*req->done)(req); in adb_iop_done() 123 struct adb_request *req = current_req; in adb_iop_listen() local 125 if (req->reply_expected) { in adb_iop_listen() 126 req->reply_len = amsg->count + 1; in adb_iop_listen() 127 memcpy(req in adb_iop_listen() 159 struct adb_request *req; adb_iop_start() local 202 adb_iop_send_request(struct adb_request *req, int sync) adb_iop_send_request() argument 217 adb_iop_write(struct adb_request *req) adb_iop_write() argument 287 struct adb_request req; adb_iop_reset_bus() local [all...] |
H A D | adb.c | 113 static void printADBreply(struct adb_request *req) 117 printk("adb reply (%d)", req->reply_len); 118 for(i = 0; i < req->reply_len; i++) 119 printk(" %x", req->reply[i]); 129 struct adb_request req; in adb_scan_bus() local 134 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus() 136 if (req.reply_len > 1) in adb_scan_bus() 153 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus() 160 adb_request(&req, NULL, ADBREQ_SYNC, 3, in adb_scan_bus() 168 adb_request(&req, NUL in adb_scan_bus() 412 adb_sync_req_done(struct adb_request *req) adb_sync_req_done() argument 420 adb_request(struct adb_request *req, void (*done)(struct adb_request *), int flags, int nbytes, ...) adb_request() argument 557 struct adb_request req; try_handler_change() local 614 adb_write_done(struct adb_request *req) adb_write_done() argument 644 do_adb_query(struct adb_request *req) do_adb_query() argument 719 struct adb_request *req; adb_read() local 777 struct adb_request *req; adb_write() local [all...] |
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | adb-iop.c | 63 struct adb_request *req = current_req; in adb_iop_done() local 67 req->complete = 1; in adb_iop_done() 68 current_req = req->next; in adb_iop_done() 69 if (req->done) in adb_iop_done() 70 (*req->done)(req); in adb_iop_done() 123 struct adb_request *req = current_req; in adb_iop_listen() local 125 if (req->reply_expected) { in adb_iop_listen() 126 req->reply_len = amsg->count + 1; in adb_iop_listen() 127 memcpy(req in adb_iop_listen() 159 struct adb_request *req; adb_iop_start() local 202 adb_iop_send_request(struct adb_request *req, int sync) adb_iop_send_request() argument 217 adb_iop_write(struct adb_request *req) adb_iop_write() argument 287 struct adb_request req; adb_iop_reset_bus() local [all...] |
H A D | adb.c | 113 static void printADBreply(struct adb_request *req) 117 printk("adb reply (%d)", req->reply_len); 118 for(i = 0; i < req->reply_len; i++) 119 printk(" %x", req->reply[i]); 129 struct adb_request req; in adb_scan_bus() local 134 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus() 136 if (req.reply_len > 1) in adb_scan_bus() 153 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus() 160 adb_request(&req, NULL, ADBREQ_SYNC, 3, in adb_scan_bus() 168 adb_request(&req, NUL in adb_scan_bus() 412 adb_sync_req_done(struct adb_request *req) adb_sync_req_done() argument 420 adb_request(struct adb_request *req, void (*done)(struct adb_request *), int flags, int nbytes, ...) adb_request() argument 557 struct adb_request req; try_handler_change() local 614 adb_write_done(struct adb_request *req) adb_write_done() argument 644 do_adb_query(struct adb_request *req) do_adb_query() argument 719 struct adb_request *req; adb_read() local 777 struct adb_request *req; adb_write() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | epn.c | 40 static void ast_vhub_epn_kick(struct ast_vhub_ep *ep, struct ast_vhub_req *req) in ast_vhub_epn_kick() argument 42 unsigned int act = req->req.actual; in ast_vhub_epn_kick() 43 unsigned int len = req->req.length; in ast_vhub_epn_kick() 47 WARN_ON(req->active); in ast_vhub_epn_kick() 53 else if ((chunk < ep->ep.maxpacket) || !req->req.zero) in ast_vhub_epn_kick() 54 req->last_desc = 1; in ast_vhub_epn_kick() 56 EPVDBG(ep, "kick req in ast_vhub_epn_kick() 84 struct ast_vhub_req *req; ast_vhub_epn_handle_ack() local 168 ast_vhub_epn_kick_desc(struct ast_vhub_ep *ep, struct ast_vhub_req *req) ast_vhub_epn_kick_desc() argument 250 struct ast_vhub_req *req; ast_vhub_epn_handle_ack_desc() local 338 struct ast_vhub_req *req = to_ast_req(u_req); ast_vhub_epn_queue() local 476 struct ast_vhub_req *req = NULL, *iter; ast_vhub_epn_dequeue() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_algs_send.c | 10 static int qat_alg_send_message_retry(struct qat_alg_req *req) in qat_alg_send_message_retry() argument 15 ret = adf_send_message(req->tx_ring, req->fw_req); in qat_alg_send_message_retry() 26 struct qat_alg_req *req, *tmp; in qat_alg_send_backlog() local 29 list_for_each_entry_safe(req, tmp, &backlog->list, list) { in qat_alg_send_backlog() 30 if (adf_send_message(req->tx_ring, req->fw_req)) { in qat_alg_send_backlog() 37 list_del(&req->list); in qat_alg_send_backlog() 38 crypto_request_complete(req->base, -EINPROGRESS); in qat_alg_send_backlog() 43 static bool qat_alg_try_enqueue(struct qat_alg_req *req) in qat_alg_try_enqueue() argument 65 qat_alg_send_message_maybacklog(struct qat_alg_req *req) qat_alg_send_message_maybacklog() argument 83 qat_alg_send_message(struct qat_alg_req *req) qat_alg_send_message() argument [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | hci_request.c | 35 void hci_req_init(struct hci_request *req, struct hci_dev *hdev) in hci_req_init() argument 37 skb_queue_head_init(&req->cmd_q); in hci_req_init() 38 req->hdev = hdev; in hci_req_init() 39 req->err = 0; in hci_req_init() 42 void hci_req_purge(struct hci_request *req) in hci_req_purge() argument 44 skb_queue_purge(&req->cmd_q); in hci_req_purge() 52 static int req_run(struct hci_request *req, hci_req_complete_t complete, in req_run() argument 55 struct hci_dev *hdev = req->hdev; in req_run() 59 bt_dev_dbg(hdev, "length %u", skb_queue_len(&req->cmd_q)); in req_run() 64 if (req in req_run() 90 hci_req_run(struct hci_request *req, hci_req_complete_t complete) hci_req_run() argument 95 hci_req_run_skb(struct hci_request *req, hci_req_complete_skb_t complete) hci_req_run_skb() argument 115 __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, unsigned long opt), unsigned long opt, u32 timeout, u8 *hci_status) __hci_req_sync() argument 119 struct hci_request req; __hci_req_sync() local 191 hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, unsigned long opt), unsigned long opt, u32 timeout, u8 *hci_status) hci_req_sync() argument 239 hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, const void *param, u8 event) hci_req_add_ev() argument 269 hci_req_add(struct hci_request *req, u16 opcode, u32 plen, const void *param) hci_req_add() argument 328 hci_req_add_le_scan_disable(struct hci_request *req, bool rpa_le_conn) hci_req_add_le_scan_disable() argument 360 del_from_accept_list(struct hci_request *req, bdaddr_t *bdaddr, u8 bdaddr_type) del_from_accept_list() argument 389 add_to_accept_list(struct hci_request *req, struct hci_conn_params *params, u8 *num_entries, bool allow_rpa) add_to_accept_list() argument 450 update_accept_list(struct hci_request *req) update_accept_list() argument 542 hci_req_start_scan(struct hci_request *req, u8 type, u16 interval, u16 window, u8 own_addr_type, u8 filter_policy, bool filter_dup, bool addr_resolv) hci_req_start_scan() argument 633 hci_update_random_address(struct hci_request *req, bool require_privacy, bool use_rpa, u8 *own_addr_type) hci_update_random_address() argument 726 hci_req_add_le_passive_scan(struct hci_request *req) hci_req_add_le_passive_scan() argument 811 hci_req_add_le_interleaved_scan(struct hci_request *req, unsigned long opt) hci_req_add_le_interleaved_scan() argument 867 set_random_addr(struct hci_request *req, bdaddr_t *rpa) set_random_addr() argument [all...] |
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | budget.c | 356 * @req: budgeting request 362 const struct ubifs_budget_req *req) in calc_idx_growth() 366 znodes = req->new_ino + (req->new_page << UBIFS_BLOCKS_PER_PAGE_SHIFT) + in calc_idx_growth() 367 req->new_dent; in calc_idx_growth() 375 * @req: budgeting request 378 const struct ubifs_budget_req *req) in calc_data_growth() 382 data_growth = req->new_ino ? c->bi.inode_budget : 0; in calc_data_growth() 383 if (req->new_page) in calc_data_growth() 385 if (req in calc_data_growth() 361 calc_idx_growth(const struct ubifs_info *c, const struct ubifs_budget_req *req) calc_idx_growth() argument 377 calc_data_growth(const struct ubifs_info *c, const struct ubifs_budget_req *req) calc_data_growth() argument 397 calc_dd_growth(const struct ubifs_info *c, const struct ubifs_budget_req *req) calc_dd_growth() argument 425 ubifs_budget_space(struct ubifs_info *c, struct ubifs_budget_req *req) ubifs_budget_space() argument 514 ubifs_release_budget(struct ubifs_info *c, struct ubifs_budget_req *req) ubifs_release_budget() argument 596 struct ubifs_budget_req req; ubifs_release_dirty_inode_budget() local [all...] |
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | budget.c | 353 * @req: budgeting request 359 const struct ubifs_budget_req *req) in calc_idx_growth() 363 znodes = req->new_ino + (req->new_page << UBIFS_BLOCKS_PER_PAGE_SHIFT) + in calc_idx_growth() 364 req->new_dent; in calc_idx_growth() 372 * @req: budgeting request 375 const struct ubifs_budget_req *req) in calc_data_growth() 379 data_growth = req->new_ino ? c->bi.inode_budget : 0; in calc_data_growth() 380 if (req->new_page) in calc_data_growth() 382 if (req in calc_data_growth() 358 calc_idx_growth(const struct ubifs_info *c, const struct ubifs_budget_req *req) calc_idx_growth() argument 374 calc_data_growth(const struct ubifs_info *c, const struct ubifs_budget_req *req) calc_data_growth() argument 394 calc_dd_growth(const struct ubifs_info *c, const struct ubifs_budget_req *req) calc_dd_growth() argument 422 ubifs_budget_space(struct ubifs_info *c, struct ubifs_budget_req *req) ubifs_budget_space() argument 511 ubifs_release_budget(struct ubifs_info *c, struct ubifs_budget_req *req) ubifs_release_budget() argument 593 struct ubifs_budget_req req; ubifs_release_dirty_inode_budget() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npa.c | 55 int rvu_npa_aq_enq_inst(struct rvu *rvu, struct npa_aq_enq_req *req, in rvu_npa_aq_enq_inst() argument 59 u16 pcifunc = req->hdr.pcifunc; in rvu_npa_aq_enq_inst() 69 if (!pfvf->aura_ctx || req->aura_id >= pfvf->aura_ctx->qsize) in rvu_npa_aq_enq_inst() 88 inst.cindex = req->aura_id; in rvu_npa_aq_enq_inst() 90 inst.ctype = req->ctype; in rvu_npa_aq_enq_inst() 91 inst.op = req->op; in rvu_npa_aq_enq_inst() 109 switch (req->op) { in rvu_npa_aq_enq_inst() 112 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst() 113 memcpy(mask, &req->aura_mask, in rvu_npa_aq_enq_inst() 115 memcpy(ctx, &req in rvu_npa_aq_enq_inst() 204 npa_lf_hwctx_disable(struct rvu *rvu, struct hwctx_disable_req *req) npa_lf_hwctx_disable() argument 252 npa_lf_hwctx_lockdown(struct rvu *rvu, struct npa_aq_enq_req *req) npa_lf_hwctx_lockdown() argument 275 rvu_mbox_handler_npa_aq_enq(struct rvu *rvu, struct npa_aq_enq_req *req, struct npa_aq_enq_rsp *rsp) rvu_mbox_handler_npa_aq_enq() argument 288 rvu_mbox_handler_npa_aq_enq(struct rvu *rvu, struct npa_aq_enq_req *req, struct npa_aq_enq_rsp *rsp) rvu_mbox_handler_npa_aq_enq() argument 296 rvu_mbox_handler_npa_hwctx_disable(struct rvu *rvu, struct hwctx_disable_req *req, struct msg_rsp *rsp) rvu_mbox_handler_npa_hwctx_disable() argument 321 rvu_mbox_handler_npa_lf_alloc(struct rvu *rvu, struct npa_lf_alloc_req *req, struct npa_lf_alloc_rsp *rsp) rvu_mbox_handler_npa_lf_alloc() argument 425 rvu_mbox_handler_npa_lf_free(struct rvu *rvu, struct msg_req *req, struct msg_rsp *rsp) rvu_mbox_handler_npa_lf_free() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npa.c | 61 int rvu_npa_aq_enq_inst(struct rvu *rvu, struct npa_aq_enq_req *req, in rvu_npa_aq_enq_inst() argument 65 u16 pcifunc = req->hdr.pcifunc; in rvu_npa_aq_enq_inst() 75 if (!pfvf->aura_ctx || req->aura_id >= pfvf->aura_ctx->qsize) in rvu_npa_aq_enq_inst() 94 inst.cindex = req->aura_id; in rvu_npa_aq_enq_inst() 96 inst.ctype = req->ctype; in rvu_npa_aq_enq_inst() 97 inst.op = req->op; in rvu_npa_aq_enq_inst() 115 switch (req->op) { in rvu_npa_aq_enq_inst() 118 if (req->ctype == NPA_AQ_CTYPE_AURA) { in rvu_npa_aq_enq_inst() 119 memcpy(mask, &req->aura_mask, in rvu_npa_aq_enq_inst() 121 memcpy(ctx, &req in rvu_npa_aq_enq_inst() 210 npa_lf_hwctx_disable(struct rvu *rvu, struct hwctx_disable_req *req) npa_lf_hwctx_disable() argument 258 npa_lf_hwctx_lockdown(struct rvu *rvu, struct npa_aq_enq_req *req) npa_lf_hwctx_lockdown() argument 281 rvu_mbox_handler_npa_aq_enq(struct rvu *rvu, struct npa_aq_enq_req *req, struct npa_aq_enq_rsp *rsp) rvu_mbox_handler_npa_aq_enq() argument 294 rvu_mbox_handler_npa_aq_enq(struct rvu *rvu, struct npa_aq_enq_req *req, struct npa_aq_enq_rsp *rsp) rvu_mbox_handler_npa_aq_enq() argument 302 rvu_mbox_handler_npa_hwctx_disable(struct rvu *rvu, struct hwctx_disable_req *req, struct msg_rsp *rsp) rvu_mbox_handler_npa_hwctx_disable() argument 327 rvu_mbox_handler_npa_lf_alloc(struct rvu *rvu, struct npa_lf_alloc_req *req, struct npa_lf_alloc_rsp *rsp) rvu_mbox_handler_npa_lf_alloc() argument 435 rvu_mbox_handler_npa_lf_free(struct rvu *rvu, struct msg_req *req, struct msg_rsp *rsp) rvu_mbox_handler_npa_lf_free() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_sp.c | 60 struct cmdq_query_version req; in bnxt_qplib_query_version() local 65 RCFW_CMD_PREP(req, QUERY_VERSION, cmd_flags); in bnxt_qplib_query_version() 67 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_query_version() 80 struct cmdq_query_func req; in bnxt_qplib_get_dev_attr() local 89 RCFW_CMD_PREP(req, QUERY_FUNC, cmd_flags); in bnxt_qplib_get_dev_attr() 99 req.resp_size = sizeof(*sb) / BNXT_QPLIB_CMDQE_UNITS; in bnxt_qplib_get_dev_attr() 100 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp, in bnxt_qplib_get_dev_attr() 175 struct cmdq_set_func_resources req; in bnxt_qplib_set_func_resources() local 180 RCFW_CMD_PREP(req, SET_FUNC_RESOURCES, cmd_flags); in bnxt_qplib_set_func_resources() 182 req in bnxt_qplib_set_func_resources() 246 struct cmdq_delete_gid req; bnxt_qplib_del_sgid() local 316 struct cmdq_add_gid req; bnxt_qplib_add_sgid() local 377 struct cmdq_modify_gid req; bnxt_qplib_update_sgid() local 497 struct cmdq_create_ah req; bnxt_qplib_create_ah() local 540 struct cmdq_destroy_ah req; bnxt_qplib_destroy_ah() local 557 struct cmdq_deallocate_key req; bnxt_qplib_free_mrw() local 593 struct cmdq_allocate_mrw req; bnxt_qplib_alloc_mrw() local 629 struct cmdq_deregister_mr req; bnxt_qplib_dereg_mrw() local 659 struct cmdq_register_mr req; bnxt_qplib_reg_mr() local 779 struct cmdq_map_tc_to_cos req; bnxt_qplib_map_tc2cos() local 794 struct cmdq_query_roce_stats req; bnxt_qplib_get_roce_stats() local [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | write.c | 56 static void nfs_redirty_request(struct nfs_page *req); 61 static void nfs_inode_remove_request(struct nfs_page *req); 63 struct nfs_page *req); 151 nfs_page_set_inode_ref(struct nfs_page *req, struct inode *inode) in nfs_page_set_inode_ref() argument 153 if (!test_and_set_bit(PG_INODE_REF, &req->wb_flags)) { in nfs_page_set_inode_ref() 154 kref_get(&req->wb_kref); in nfs_page_set_inode_ref() 160 nfs_cancel_remove_inode(struct nfs_page *req, struct inode *inode) in nfs_cancel_remove_inode() argument 164 if (!test_bit(PG_REMOVE, &req->wb_flags)) in nfs_cancel_remove_inode() 166 ret = nfs_page_group_lock(req); in nfs_cancel_remove_inode() 169 if (test_and_clear_bit(PG_REMOVE, &req in nfs_cancel_remove_inode() 191 struct nfs_page *req; nfs_folio_find_private_request() local 209 struct nfs_page *req = NULL; nfs_folio_find_swap_request() local 233 struct nfs_page *req; nfs_folio_find_head_request() local 244 struct nfs_page *req, *head; nfs_folio_find_and_lock_request() local 338 struct nfs_page *req; nfs_page_group_search_locked() local 359 nfs_page_group_covers_page(struct nfs_page *req) nfs_page_group_covers_page() argument 381 nfs_mark_uptodate(struct nfs_page *req) nfs_mark_uptodate() argument 430 nfs_page_end_writeback(struct nfs_page *req) nfs_page_end_writeback() argument 595 nfs_write_error(struct nfs_page *req, int error) nfs_write_error() argument 597 trace_nfs_write_error(nfs_page_to_inode(req), req, error); nfs_write_error() local 612 struct nfs_page *req; nfs_page_async_flush() local 757 nfs_inode_add_request(struct nfs_page *req) nfs_inode_add_request() argument 791 nfs_inode_remove_request(struct nfs_page *req) nfs_inode_remove_request() argument 814 nfs_mark_request_dirty(struct nfs_page *req) nfs_mark_request_dirty() argument 867 nfs_request_add_commit_list_locked(struct nfs_page *req, struct list_head *dst, struct nfs_commit_info *cinfo) nfs_request_add_commit_list_locked() argument 889 nfs_request_add_commit_list(struct nfs_page *req, struct nfs_commit_info *cinfo) nfs_request_add_commit_list() argument 910 nfs_request_remove_commit_list(struct nfs_page *req, struct nfs_commit_info *cinfo) nfs_request_remove_commit_list() argument 945 nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, struct nfs_commit_info *cinfo, u32 ds_commit_idx) nfs_mark_request_commit() argument 965 nfs_clear_request_commit(struct nfs_commit_info *cinfo, struct nfs_page *req) nfs_clear_request_commit() argument 1002 struct nfs_page *req = nfs_list_entry(hdr->pages.next); nfs_write_completion() local 1043 struct nfs_page *req, *tmp; nfs_scan_commit_list() local 1104 struct nfs_page *req; nfs_try_to_update_request() local 1160 struct nfs_page *req; nfs_setup_write_request() local 1177 struct nfs_page *req; nfs_writepage_setup() local 1195 struct nfs_page *req; nfs_flush_incompatible() local 1428 nfs_redirty_request(struct nfs_page *req) nfs_redirty_request() argument 1442 struct nfs_page *req; nfs_async_write_error() local 1730 struct nfs_page *req; nfs_get_lwb() local 1788 struct nfs_page *req; nfs_retry_commit() local 1800 nfs_commit_resched_write(struct nfs_commit_info *cinfo, struct nfs_page *req) nfs_commit_resched_write() argument 1852 struct nfs_page *req; nfs_commit_release_pages() local 2058 struct nfs_page *req; nfs_wb_folio_cancel() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | udp_diag.c | 18 const struct inet_diag_req_v2 *req, in sk_diag_dump() 24 return inet_sk_diag_fill(sk, NULL, skb, cb, req, NLM_F_MULTI, in sk_diag_dump() 30 const struct inet_diag_req_v2 *req) in udp_dump_one() 39 if (req->sdiag_family == AF_INET) in udp_dump_one() 42 req->id.idiag_src[0], req->id.idiag_sport, in udp_dump_one() 43 req->id.idiag_dst[0], req->id.idiag_dport, in udp_dump_one() 44 req->id.idiag_if, 0, tbl, NULL); in udp_dump_one() 46 else if (req in udp_dump_one() 16 sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *req, struct nlattr *bc, bool net_admin) sk_diag_dump() argument 28 udp_dump_one(struct udp_table *tbl, struct netlink_callback *cb, const struct inet_diag_req_v2 *req) udp_dump_one() argument 155 udp_diag_dump_one(struct netlink_callback *cb, const struct inet_diag_req_v2 *req) udp_diag_dump_one() argument 169 __udp_diag_destroy(struct sk_buff *in_skb, const struct inet_diag_req_v2 *req, struct udp_table *tbl) __udp_diag_destroy() argument 227 udp_diag_destroy(struct sk_buff *in_skb, const struct inet_diag_req_v2 *req) udp_diag_destroy() argument 233 udplite_diag_destroy(struct sk_buff *in_skb, const struct inet_diag_req_v2 *req) udplite_diag_destroy() argument 258 udplite_diag_dump_one(struct netlink_callback *cb, const struct inet_diag_req_v2 *req) udplite_diag_dump_one() argument [all...] |