Home
last modified time | relevance | path

Searched refs:req (Results 1 – 25 of 1846) sorted by relevance

12345678910>>...74

/linux-6.3-rc2/drivers/media/mc/
A Dmc-request.c76 kfree(req); in media_request_release()
277 return req; in media_request_get_by_fd()
302 req = kzalloc(sizeof(*req), GFP_KERNEL); in media_request_alloc()
303 if (!req) in media_request_alloc()
331 snprintf(req->debug_str, sizeof(req->debug_str), "%u:%d", in media_request_alloc()
346 kfree(req); in media_request_alloc()
355 struct media_request *req = obj->req; in media_request_object_release() local
396 obj->req = NULL; in media_request_object_init()
421 obj->req = req; in media_request_object_bind()
440 struct media_request *req = obj->req; in media_request_object_unbind() local
[all …]
/linux-6.3-rc2/drivers/s390/scsi/
A Dzfcp_fsf.c96 mempool_free(req->qtcb, req->adapter->pool.qtcb_pool); in zfcp_fsf_req_free()
97 mempool_free(req, req->pool); in zfcp_fsf_req_free()
103 kfree(req); in zfcp_fsf_req_free()
464 req->handler(req); in zfcp_fsf_req_complete()
810 req = kmalloc(sizeof(*req), GFP_ATOMIC); in zfcp_fsf_alloc()
815 memset(req, 0, sizeof(*req)); in zfcp_fsf_alloc()
817 return req; in zfcp_fsf_alloc()
868 req->qtcb->prefix.req_id = req->req_id; in zfcp_fsf_req_create()
872 req->qtcb->header.req_handle = req->req_id; in zfcp_fsf_req_create()
879 return req; in zfcp_fsf_req_create()
[all …]
/linux-6.3-rc2/drivers/staging/greybus/
A Daudio_apbridgea.c24 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_set_config()
45 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_register_cport()
62 ret = gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_unregister_cport()
80 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_set_tx_data_size()
93 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_prepare_tx()
107 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_start_tx()
119 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_stop_tx()
132 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_shutdown_tx()
146 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_set_rx_data_size()
159 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_prepare_rx()
[all …]
A Daudio_gb.c58 &req, sizeof(req), &resp, sizeof(resp)); in gb_audio_gb_get_control()
79 &req, sizeof(req), NULL, 0); in gb_audio_gb_set_control()
91 &req, sizeof(req), NULL, 0); in gb_audio_gb_enable_widget()
103 &req, sizeof(req), NULL, 0); in gb_audio_gb_disable_widget()
144 &req, sizeof(req), NULL, 0); in gb_audio_gb_set_pcm()
157 &req, sizeof(req), NULL, 0); in gb_audio_gb_set_tx_data_size()
169 &req, sizeof(req), NULL, 0); in gb_audio_gb_activate_tx()
181 &req, sizeof(req), NULL, 0); in gb_audio_gb_deactivate_tx()
194 &req, sizeof(req), NULL, 0); in gb_audio_gb_set_rx_data_size()
206 &req, sizeof(req), NULL, 0); in gb_audio_gb_activate_rx()
[all …]
/linux-6.3-rc2/drivers/nvme/target/
A Dio-cmd-file.c108 if (req->f.bvec != req->inline_bvec) { in nvmet_file_io_done()
112 mempool_free(req->f.bvec, req->ns->bvec_pool); in nvmet_file_io_done()
134 pos = le64_to_cpu(req->cmd->rw.slba) << req->ns->blksize_shift; in nvmet_file_execute_io()
135 if (unlikely(pos + req->transfer_len > req->ns->size)) { in nvmet_file_execute_io()
136 nvmet_req_complete(req, errno_to_nvme_status(req, -ENOSPC)); in nvmet_file_execute_io()
141 for_each_sg(req->sg, sg, req->sg_cnt, i) { in nvmet_file_execute_io()
222 if (!nvmet_check_transfer_len(req, nvmet_rw_data_len(req))) in nvmet_file_execute_rw()
234 req->f.bvec = req->inline_bvec; in nvmet_file_execute_rw()
238 req->f.bvec = mempool_alloc(req->ns->bvec_pool, GFP_KERNEL); in nvmet_file_execute_rw()
262 nvmet_req_complete(req, nvmet_file_flush(req)); in nvmet_file_flush_work()
[all …]
A Dfabrics-cmd-auth.c192 req->error_loc = in nvmet_execute_auth_send()
198 req->error_loc = in nvmet_execute_auth_send()
204 req->error_loc = in nvmet_execute_auth_send()
211 req->error_loc = in nvmet_execute_auth_send()
334 req->sq->dhchap_status, req->sq->dhchap_step); in nvmet_execute_auth_send()
390 __func__, ctrl->cntlid, req->sq->qid, req->sq->dhchap_s1, in nvmet_auth_challenge()
443 req->error_loc = in nvmet_execute_auth_receive()
449 req->error_loc = in nvmet_execute_auth_receive()
477 ctrl->cntlid, req->sq->qid, req->sq->dhchap_step); in nvmet_execute_auth_receive()
514 ctrl->cntlid, req->sq->qid, req->sq->dhchap_status); in nvmet_execute_auth_receive()
[all …]
A Dadmin-cmd.c45 nvmet_req_complete(req, nvmet_zero_sgl(req, 0, req->transfer_len)); in nvmet_execute_get_log_page_noop()
245 status = nvmet_zero_sgl(req, len, req->transfer_len - len); in nvmet_execute_get_log_changed_ns()
345 req->cmd->get_log_page.lid, req->sq->qid); in nvmet_execute_get_log_page()
518 nvmet_ns_changed(req->ns->subsys, req->ns->nsid); in nvmet_execute_identify_ns()
527 cpu_to_le64(req->ns->size >> req->ns->blksize_shift); in nvmet_execute_identify_ns()
528 switch (req->port->ana_state[req->ns->anagrpid]) { in nvmet_execute_identify_ns()
558 if (req->sq->ctrl->pi_support && nvmet_ns_has_pi(req->ns)) { in nvmet_execute_identify_ns()
642 if (memchr_inv(&req->ns->uuid, 0, sizeof(req->ns->uuid))) { in nvmet_execute_identify_desclist()
814 nvmet_set_result(req, req->sq->ctrl->kato); in nvmet_set_feat_kato()
900 nvmet_set_result(req, req->sq->ctrl->kato * 1000); in nvmet_get_feat_kato()
[all …]
A Dzns.c128 nvmet_ns_changed(req->ns->subsys, req->ns->nsid); in nvmet_execute_identify_cns_cs_ns()
158 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_bdev_validate_zone_mgmt_recv()
196 req->error_loc = in nvmet_bdev_validate_zone_mgmt_recv()
284 .req = req, in nvmet_bdev_zone_zmgmt_recv_work()
406 .req = req, in nvmet_bdev_zone_mgmt_emulate_all()
478 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zms.slba); in nvmet_bdev_zmgmt_send_work()
538 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->rw.slba); in nvmet_bdev_execute_zone_append()
547 if (!nvmet_check_transfer_len(req, nvmet_rw_data_len(req))) in nvmet_bdev_execute_zone_append()
569 bio_init(bio, req->ns->bdev, req->inline_bvec, in nvmet_bdev_execute_zone_append()
572 bio = bio_alloc(req->ns->bdev, req->sg_cnt, opf, GFP_KERNEL); in nvmet_bdev_execute_zone_append()
[all …]
A Dio-cmd-bdev.c167 req->error_slba = le64_to_cpu(req->cmd->rw.slba); in blk_to_nvme_status()
170 req->error_slba = in blk_to_nvme_status()
183 nvmet_req_complete(req, blk_to_nvme_status(req, bio->bi_status)); in nvmet_bio_done()
275 sector = nvmet_lba_to_sect(req->ns, req->cmd->rw.slba); in nvmet_bdev_execute_rw()
279 bio_init(bio, req->ns->bdev, req->inline_bvec, in nvmet_bdev_execute_rw()
294 for_each_sg(req->sg, sg, req->sg_cnt, i) { in nvmet_bdev_execute_rw()
344 bio_init(bio, req->ns->bdev, req->inline_bvec, in nvmet_bdev_execute_flush()
411 if (!nvmet_check_data_len_lte(req, nvmet_dsm_len(req))) in nvmet_bdev_execute_dsm()
449 nvmet_req_complete(req, errno_to_nvme_status(req, ret)); in nvmet_bdev_execute_write_zeroes()
459 if (req->sq->ctrl->pi_support && nvmet_ns_has_pi(req->ns)) in nvmet_bdev_parse_io_cmd()
[all …]
A Dfabrics-cmd.c18 if (req->cmd->prop_set.attrib & 1) { in nvmet_execute_prop_set()
19 req->error_loc = in nvmet_execute_prop_set()
30 req->error_loc = in nvmet_execute_prop_set()
35 nvmet_req_complete(req, status); in nvmet_execute_prop_set()
74 req->error_loc = in nvmet_execute_prop_get()
77 req->error_loc = in nvmet_execute_prop_get()
82 nvmet_req_complete(req, status); in nvmet_execute_prop_get()
180 req->sq->sqhd_disabled = true; in nvmet_install_queue()
197 req->sq->ctrl = NULL; in nvmet_install_queue()
229 req->cqe->result.u32 = 0; in nvmet_execute_admin_connect()
[all …]
/linux-6.3-rc2/drivers/block/drbd/
A Ddrbd_req.c29 if (!req) in drbd_req_new()
31 memset(req, 0, sizeof(*req)); in drbd_req_new()
55 return req; in drbd_req_new()
108 s, (unsigned long long)req->i.sector, req->i.size); in drbd_req_destroy()
247 bio_end_io_acct(req->master_bio, req->start_jif); in drbd_req_complete()
826 if (!(req->rq_state & RQ_WRITE) && !req->w.cb) { in __req_mod()
1044 req->i.sector, req->i.size)) { in do_remote_read()
1139 req->i.sector, req->i.size >> 9, flags); in drbd_process_discard_or_zeroes_req()
1221 req->private_bio->bi_private = req; in drbd_request_prepare()
1349 if (!do_remote_read(req) && !req->private_bio) in drbd_send_and_submit()
[all …]
/linux-6.3-rc2/io_uring/
A Dpoll.c34 struct io_kiocb *req; member
281 req->cqe.res = vfs_poll(req->file, &pt) & req->apoll_events; in io_poll_check_events()
303 if (!io_aux_cqe(req->ctx, *locked, req->cqe.user_data, in io_poll_check_events()
344 req->cqe.res = mangle_poll(req->cqe.res & poll->events); in io_poll_task_func()
353 io_req_set_res(req, req->cqe.res, 0); in io_poll_task_func()
483 struct io_kiocb *req = pt->req; in __io_queue_proc() local
579 ipt->req = req; in __io_arm_poll_handler()
804 return req; in io_poll_find()
833 return req; in io_poll_file_find()
842 if (!req) in io_poll_disarm()
[all …]
A Drw.c65 if (req->ctx->compat) in io_iov_buffer_select_prep()
266 req_set_fail(req); in __io_complete_rw_common()
293 req->cqe.flags |= io_put_kbuf(req, issue_flags); in io_req_rw_complete()
305 io_req_set_res(req, io_fixup_rw_res(req, res), 0); in io_complete_rw()
763 ret = rw_verify_area(READ, req->file, ppos, req->cqe.res); in io_read()
774 if (req->opcode == IORING_OP_READ && file_can_poll(req->file)) in io_read()
788 (req->flags & REQ_F_NOWAIT) || !need_complete_io(req)) { in io_read()
900 ret = rw_verify_area(WRITE, req->file, ppos, req->cqe.res); in io_write()
998 res = io_fixup_rw_res(req, req->cqe.res); in io_rw_fail()
999 io_req_set_res(req, res, req->cqe.flags); in io_rw_fail()
[all …]
A Dkbuf.h62 if (req->buf_list) { in io_kbuf_recycle_ring()
71 req->buf_list->head++; in io_kbuf_recycle_ring()
72 req->buf_list = NULL; in io_kbuf_recycle_ring()
74 req->buf_index = req->buf_list->bgid; in io_kbuf_recycle_ring()
92 io_kbuf_recycle_ring(req); in io_kbuf_recycle()
101 if (req->buf_list) { in __io_put_kbuf_list()
102 req->buf_index = req->buf_list->bgid; in __io_put_kbuf_list()
103 req->buf_list->head++; in __io_put_kbuf_list()
105 req->flags &= ~REQ_F_BUFFER_RING; in __io_put_kbuf_list()
107 req->buf_index = req->kbuf->bgid; in __io_put_kbuf_list()
[all …]
A Dtimeout.c48 io_free_req(req); in io_put_req()
138 link = req->link; in io_fail_links()
141 req->link = NULL; in io_fail_links()
200 struct io_kiocb *req = data->req; in io_timeout_fn() local
239 req = tmp; in io_timeout_extract()
242 if (!req) in io_timeout_extract()
250 return req; in io_timeout_extract()
297 struct io_kiocb *prev, *req = data->req; in io_link_timeout_fn() local
352 req = tmp; in io_linked_timeout_update()
356 if (!req) in io_linked_timeout_update()
[all …]
A During_cmd.c29 io_req_task_work_add(req); in io_uring_cmd_complete_in_task()
36 req->extra1 = extra1; in io_req_set_cqe32_extra()
37 req->extra2 = extra2; in io_req_set_cqe32_extra()
38 req->flags |= REQ_F_CQE32_INIT; in io_req_set_cqe32_extra()
50 req_set_fail(req); in io_uring_cmd_done()
52 io_req_set_res(req, ret, 0); in io_uring_cmd_done()
59 io_req_complete_post(req, 0); in io_uring_cmd_done()
126 req->iopoll_completed = 0; in io_uring_cmd()
130 if (req_has_async_data(req)) in io_uring_cmd()
145 req_set_fail(req); in io_uring_cmd()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Dmcs_rvu_if.c47 mcs_set_lmac_mode(mcs, req->lmac_id, req->mode); in rvu_mbox_handler_mcs_set_lmac_mode()
92 if (!req) in mcs_notify_pfvf()
189 mcs_reset_port(mcs, req->port_id, req->reset); in rvu_mbox_handler_mcs_port_reset()
210 mcs_clear_stats(mcs, req->type, req->id, req->dir); in rvu_mbox_handler_mcs_clear_stats()
290 mcs_get_sc_stats(mcs, rsp, req->id, req->dir); in rvu_mbox_handler_mcs_get_sc_stats()
447 mcs_ena_dis_flowid_entry(mcs, req->flow_id, req->dir, req->ena); in rvu_mbox_handler_mcs_flowid_ena_entry()
461 mcs_pn_table_write(mcs, req->pn_id, req->next_pn, req->dir); in rvu_mbox_handler_mcs_pn_table_write()
525 req->sa_index[i], req->dir); in rvu_mbox_handler_mcs_sa_plcy_write()
539 mcs_rx_sc_cam_write(mcs, req->sci, req->secy_id, req->sc_id); in rvu_mbox_handler_mcs_rx_sc_cam_write()
554 req->secy_id, req->dir); in rvu_mbox_handler_mcs_secy_plcy_write()
[all …]
/linux-6.3-rc2/net/sunrpc/
A Dbackchannel_rqst.c50 kfree(req); in xprt_free_allocation()
81 req = kzalloc(sizeof(*req), gfp_flags); in xprt_alloc_bc_req()
82 if (req == NULL) in xprt_alloc_bc_req()
85 req->rq_xprt = xprt; in xprt_alloc_bc_req()
100 return req; in xprt_alloc_bc_req()
255 memcpy(&req->rq_private_buf, &req->rq_rcv_buf, in xprt_get_bc_request()
261 return req; in xprt_get_bc_request()
298 req = NULL; in xprt_free_bc_rqst()
341 if (req != new) in xprt_lookup_bc_request()
344 } else if (req) in xprt_lookup_bc_request()
[all …]
/linux-6.3-rc2/drivers/peci/
A Drequest.c206 req = kzalloc(sizeof(*req), GFP_KERNEL); in peci_request_alloc()
207 if (!req) in peci_request_alloc()
214 return req; in peci_request_alloc()
224 kfree(req); in peci_request_free()
234 if (!req) in peci_xfer_get_dib()
245 return req; in peci_xfer_get_dib()
255 if (!req) in peci_xfer_get_temp()
277 if (!req) in __pkg_cfg_read()
308 if (!req) in __pci_cfg_local_read()
336 if (!req) in __ep_pci_cfg_read()
[all …]
/linux-6.3-rc2/crypto/
A Dchacha20poly1305.c77 err = cont(req); in async_done_continue()
136 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in chacha_decrypt()
138 if (req->src != req->dst) in chacha_decrypt()
139 dst = scatterwalk_ffwd(rctx->dst, req->dst, req->assoclen); in chacha_decrypt()
220 return poly_tail(req); in poly_cipherpad()
237 crypt = req->dst; in poly_cipher()
297 ahash_request_set_crypt(&preq->req, req->src, NULL, rctx->assoclen); in poly_ad()
329 return poly_ad(req); in poly_setkey()
412 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in chacha_encrypt()
414 if (req->src != req->dst) in chacha_encrypt()
[all …]
A Dseqiv.c65 info = req->iv; in seqiv_aead_encrypt()
67 if (req->src != req->dst) { in seqiv_aead_encrypt()
73 skcipher_request_set_crypt(nreq, req->src, req->dst, in seqiv_aead_encrypt()
74 req->assoclen + req->cryptlen, in seqiv_aead_encrypt()
84 info = kmemdup(req->iv, ivsize, req->base.flags & in seqiv_aead_encrypt()
91 data = req; in seqiv_aead_encrypt()
95 aead_request_set_crypt(subreq, req->dst, req->dst, in seqiv_aead_encrypt()
100 scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1); in seqiv_aead_encrypt()
126 aead_request_set_crypt(subreq, req->src, req->dst, in seqiv_aead_decrypt()
127 req->cryptlen - ivsize, req->iv); in seqiv_aead_decrypt()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Duser_sdma.c627 req->tids[req->tididx]) { in compute_data_length()
640 len = min(req->data_len - req->sent, (u32)req->info.fragsize); in compute_data_length()
788 tx->req = req; in user_sdma_send_pkts()
805 iovec = &req->iovs[req->iov_idx]; in user_sdma_send_pkts()
1185 tidval = req->tids[req->tididx]; in set_txreq_header()
1198 !req->tids[req->tididx]) { in set_txreq_header()
1201 tidval = req->tids[req->tididx]; in set_txreq_header()
1287 tidval = req->tids[req->tididx]; in set_txreq_header_ahg()
1301 !req->tids[req->tididx]) in set_txreq_header_ahg()
1303 tidval = req->tids[req->tididx]; in set_txreq_header_ahg()
[all …]
/linux-6.3-rc2/drivers/clk/sunxi/
A Dclk-sunxi.c137 req->n = freq_mhz * (req->m + 1) / ((req->k + 1) * parent_freq_mhz) in sun6i_a31_get_pll1_factors()
145 req->n = (req->n + 1) / 2 - 1; in sun6i_a31_get_pll1_factors()
146 req->m = (req->m + 1) / 2 - 1; in sun6i_a31_get_pll1_factors()
255 req->rate = req->parent_rate; in sun5i_a13_get_ahb_factors()
296 if (req->parent_rate && req->rate > req->parent_rate) in sun6i_get_ahb1_factors()
297 req->rate = req->parent_rate; in sun6i_get_ahb1_factors()
329 req->rate = req->parent_rate; in sun6i_ahb1_recalc()
333 req->rate /= req->m + 1; in sun6i_ahb1_recalc()
336 req->rate >>= req->p; in sun6i_ahb1_recalc()
351 req->rate = req->parent_rate; in sun4i_get_apb1_factors()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/52xx/
A Dmpc52xx_lpbfifo.c166 req->offset + req->pos); in mpc52xx_lpbfifo_kick()
241 req = lpbfifo.req; in mpc52xx_lpbfifo_irq()
285 if (req->size - req->pos) in mpc52xx_lpbfifo_irq()
307 req->last_byte = ((u8 *)req->data)[req->size - 1]; in mpc52xx_lpbfifo_irq()
322 req->callback(req); in mpc52xx_lpbfifo_irq()
346 req = lpbfifo.req; in mpc52xx_lpbfifo_bcom_irq()
367 req->last_byte = ((u8 *)req->data)[req->size - 1]; in mpc52xx_lpbfifo_bcom_irq()
379 req->callback(req); in mpc52xx_lpbfifo_bcom_irq()
425 lpbfifo.req = req; in mpc52xx_lpbfifo_submit()
459 if (lpbfifo.req && lpbfifo.req == req && in mpc52xx_lpbfifo_start_xfer()
[all …]
/linux-6.3-rc2/drivers/s390/cio/
A Dccwreq.c43 struct ccw_request *req = &cdev->private->req; in ccwreq_next_path() local
49 req->retries = req->maxretries; in ccwreq_next_path()
50 req->mask = lpm_adjust(req->mask >> 1, req->lpm); in ccwreq_next_path()
60 struct ccw_request *req = &cdev->private->req; in ccwreq_stop() local
69 req->callback(cdev, req->data, rc); in ccwreq_stop()
77 struct ccw_request *req = &cdev->private->req; in ccwreq_do() local
122 struct ccw_request *req = &cdev->private->req; in ccw_request_start() local
128 req->mask = req->lpm; in ccw_request_start()
130 req->retries = req->maxretries; in ccw_request_start()
131 req->mask = lpm_adjust(req->mask, req->lpm); in ccw_request_start()
[all …]

Completed in 76 milliseconds

12345678910>>...74